Closed Bug 1452314 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 10337 - Improve error message for exposure_set test

Categories

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

defect

Tracking

(firefox61 fixed)

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream error])

Sync web-platform-tests PR 10337 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/w3c/web-platform-tests/pull/10337
Details from upstream follow.

Luke Bjerring <lukebjerring@users.noreply.github.com> wrote:
>  Improve error message for exposure_set test
>  
>  `memberName` is undefined; error message is (was) `ReferenceError: memberName is not defined`.
>  Clearly supposed to be a check for duplication - `array.length < 0` was a really weird thing to see, though. Spec says it's always non-negative, so deleted that.
>  
>  Error I see now is 
>  
>      "Multiple 'Exposed' extended attributes on Navigator"
>  
>  
>
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/50b93b65b4b0
[wpt PR 10337] - Improve error message for exposure_set test, a=testonly
https://hg.mozilla.org/mozilla-central/rev/50b93b65b4b0
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.