Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
if product == "epiphany" or product == "webkit": FAIL # https://bugs.webkit.org/show_bug.cgi?id=200815

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

[context.any.worker-module.html]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,21 @@ function registration_tests_script(register_method, type) {

promise_test(function(t) {
var script = 'resources/malformed-worker.py?undefined-error';
var scope = 'resources/scope/undefined-error';
var scope = `resources/scope/undefined-error/${type}`;
return promise_rejects_js(t,
TypeError,
register_method(script, {scope: scope}),
'Registration of script including undefined error should fail.');
}, 'Registering script including undefined error');
}, `Registering script including undefined error: ${type}`);

promise_test(function(t) {
var script = 'resources/malformed-worker.py?uncaught-exception';
var scope = 'resources/scope/uncaught-exception';
var scope = `resources/scope/uncaught-exception/${type}`;
return promise_rejects_js(t,
TypeError,
register_method(script, {scope: scope}),
'Registration of script including uncaught exception should fail.');
}, 'Registering script including uncaught exception');
}, `Registering script including uncaught exception: ${type}`);

if (type === 'classic') {
promise_test(function(t) {
Expand Down
Loading