Skip to content

Commit cf53186

Browse files
committed
Update WebExtension to 1.1.1 to fix id & error handling
1 parent 9b9bd61 commit cf53186

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

overrides/webextension/build/background.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18680,6 +18680,7 @@
1868018680
mockPeerPromise = getDeferred();
1868118681
isActive = void 0;
1868218682
while (isActive === void 0) {
18683+
yield new Promise((resolve) => setTimeout(resolve, 500));
1868318684
yield updateMockRTCPeerConnection();
1868418685
}
1868518686
});

overrides/webextension/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"48": "icon-48.png",
77
"128": "icon-128.png"
88
},
9-
"key": "jggocihfdfgogbofcmdlfbakdkgdkdoe",
10-
"version": "1.1.0",
9+
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyP7cZAF3QssK5iB59HYUdKPCf+hSqlY8M6UXIhemXvmpTKQE1gfPFLACSKP9wB+oWJnJChq/IkpgC3nlKbLbcKO8lGVyU5ecvq3A5v/znovmeVs4FKZOkq+tKnYdRCD7nIH9ycAksKPXqM3aBopOPVvoQFfDp3MFlHeW5TpxVaRj02IW7say4jOvNLRBoekczQTHUXw8NpYrpJPC9YqahMaB5tz4l9SGFiXNf/ga611jzzlFcQGhqtJAXQ6EmnQUoBtt/35qiTdL3VlBxqSdVTfdU23zKgEIJ5Uf6x0SOe6vdO0jAPvx8maKbw0ZRd2fvxOQ2qgxP2NcDsXjoGll4wIDAQAB",
10+
"version": "1.1.1",
1111
"manifest_version": 3,
1212
"background": {
1313
"service_worker": "build/background.js"

src/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const MOCKTTP_ALLOWED_ORIGINS = [
2828
...ALLOWED_ORIGINS,
2929
// The Chromium webextension is allowed to make requests from the
3030
// browser directly into the Mockttp admin API (but not into our API server).
31-
'chrome-extension://jggocihfdfgogbofcmdlfbakdkgdkdoe'
31+
'chrome-extension://oeehdgfohghfelggpifolochpnkdmpog'
3232
];
3333

3434
// The range of ports that should be used by invisible ephemeral services, such as Firefox's

0 commit comments

Comments
 (0)