Skip to content

Commit 0af1eb3

Browse files
Atila Butkovitsmoz-wptsync-bot
authored andcommitted
Revert "Bug 1360870, Bug 1995558, Bug 1990925, Bug 1989386: Test changes." for causing failures at browser_dbg-browser-toolbox-workers.js.
This reverts commit 5308d85d1342b4ce4721100a319bec1cd2d03ef0. Revert "Bug 1995558: Service worker module registration should be rejected in case of any evaluation errors.r=edenchuang,dom-worker-reviewers" This reverts commit 262e9c7f2213b5884baaeea39cd01e12041337f3. Revert "Bug 1990925: Module service workers should be able to load json modules.r=edenchuang,dom-worker-reviewers" This reverts commit 5e00fd86aaa0f57938bdc58e57daaaae80995a2f. Revert "Bug 1989386: Correctly update serviceworker type on re-registration.r=edenchuang,dom-worker-reviewers" This reverts commit 137e22f4402eb7939b30724ca7271664f59a1ed0. Revert "Bug 1360870: on-disk schema changes to persist new serviceworker type parameter.r=edenchuang,dom-worker-reviewers" This reverts commit bf551670f43fd2576802584a37bd4d66cb6eee7f. Revert "Bug 1360870: Some source code plumbing and refactorings to support new serviceworker type.r=edenchuang,dom-worker-reviewers" This reverts commit 040663a23b2fd939acff1c4bb1cf1a86519221ee. Revert "Bug 1360870: idl changes to support module service workers.r=asuth,edenchuang,webidl,smaug,dom-worker-reviewers" This reverts commit c8854f0a27252c5a22df63ffee8d8efb327f6e9c. gecko-commit: 254ce923c1e5e7c8c431340e57520f419c104d2d gecko-reviewers: edenchuang, dom-worker-reviewers
1 parent 8a35b8e commit 0af1eb3

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

infrastructure/metadata/infrastructure/server/context.any.js.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
if product == "epiphany" or product == "webkit": FAIL # https://bugs.webkit.org/show_bug.cgi?id=200815
55

66
[context.any.serviceworker-module.html]
7-
[context]
8-
expected:
9-
if product == "epiphany" or product == "webkit": FAIL # https://bugs.webkit.org/show_bug.cgi?id=200815
7+
expected:
8+
if product == "firefox": ERROR
9+
if product == "firefox_android": ERROR
1010

1111
[context.any.worker-module.html]
1212

service-workers/service-worker/resources/registration-tests-script.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,21 @@ function registration_tests_script(register_method, type) {
3030

3131
promise_test(function(t) {
3232
var script = 'resources/malformed-worker.py?undefined-error';
33-
var scope = `resources/scope/undefined-error/${type}`;
33+
var scope = 'resources/scope/undefined-error';
3434
return promise_rejects_js(t,
3535
TypeError,
3636
register_method(script, {scope: scope}),
3737
'Registration of script including undefined error should fail.');
38-
}, `Registering script including undefined error: ${type}`);
38+
}, 'Registering script including undefined error');
3939

4040
promise_test(function(t) {
4141
var script = 'resources/malformed-worker.py?uncaught-exception';
42-
var scope = `resources/scope/uncaught-exception/${type}`;
42+
var scope = 'resources/scope/uncaught-exception';
4343
return promise_rejects_js(t,
4444
TypeError,
4545
register_method(script, {scope: scope}),
4646
'Registration of script including uncaught exception should fail.');
47-
}, `Registering script including uncaught exception: ${type}`);
47+
}, 'Registering script including uncaught exception');
4848

4949
if (type === 'classic') {
5050
promise_test(function(t) {

0 commit comments

Comments
 (0)