Closed Bug 1601335 Opened 2 months ago Closed 2 months 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

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: 2 months 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.