Closed Bug 1601335 Opened 4 years ago Closed 4 years ago

Fix a couple of WPTs: Worker-location.sub.any.js and Worker-constructor-proto.any.js

Categories

(Core :: DOM: Workers, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: baku, Assigned: baku)

Details

Attachments

(1 file)

These tests fail because we have a different way to stringify functions and interfaces.

Instead of:

assert_equals(String(WorkerLocation), "function WorkerLocation() { [native code] }");

we need to have:

assert_equals(String(WorkerLocation).replace(/\n/g, " ").replace(/\s\s+/g, " "), "function WorkerLocation() { [native code] }");

Assignee: nobody → amarchesini
Pushed by amarchesini@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7e3751388d71
Fix a couple of WPTs: Worker-location.sub.any.js and Worker-constructor-proto.any.js, r=smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/20623 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: