Closed Bug 1591400 Opened 5 years ago Closed 5 years ago

Testharness.js doesnt report errors if reason property not available.

Categories

(Testing :: web-platform-tests, defect)

Version 3
defect
Not set
normal

Tracking

(firefox72 fixed)

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: automatedtester, Assigned: automatedtester)

References

Details

Attachments

(1 file)

when wpt hit a XPCOM error when running the following error

0:15.54 pid:44228 JavaScript error: http://web-platform.test:8000/resources/testharness.js, line 3698: TypeError: e.reason is undefined
1:10 PM 0:15.54 pid:44228 JavaScript error: , line 0: uncaught exception: undefined

Pushed by dburns@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cb345f708bb2
Have Testharness.js handle errors that do not have a reason property. r=jgraham
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/19897 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Upstream PR was closed without merging
Backout by aciure@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/89f812b6366f
Backed out changeset cb345f708bb2 for causing default-reader.any.sharedworker.html wpt to permafail CLOSED TREE
Regressions: 1559028

Looks like this fixed a test so a metadata update is required.

Pushed by rmaries@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f9e3c13826e7
Have Testharness.js handle errors that do not have a reason property. r=jgraham
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
Assignee: nobody → dburns
Upstream PR merged by moz-wptsync-bot
Flags: needinfo?(dburns)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: