Closed Bug 1612756 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 21540 - Add some tests for Node IDL members on Attr objects

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Timothy Gu <timothygu99@gmail.com> wrote:

Add some tests for Node IDL members on Attr objects

The "For attributes unassigned to element, baseURI should be document URL" currently fails on Firefox. This is since Firefox doesn't treat attributes unassigned to elements as having a node document for purposes of the baseURI attribute, in contrary to the spec.

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 3 tests and 9 subtests

Status Summary

Firefox

OK : 3
PASS: 151
FAIL: 2

Chrome

OK : 3
PASS: 153

Safari

OK : 3
PASS: 152
FAIL: 1

Links

GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/dom/nodes/Node-baseURI.html
For attributes unassigned to element, baseURI should be document URL: FAIL

New Tests That Don't Pass

/dom/nodes/Node-baseURI.html
For attributes unassigned to element, baseURI should be document URL: FAIL (Chrome: PASS, Safari: PASS)
/dom/nodes/Node-cloneNode.html
createElement(dialog): FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f59e1e5519e1
[wpt PR 21540] - Add some tests for Node IDL members on Attr objects, a=testonly
https://hg.mozilla.org/integration/autoland/rev/7cdea43049a5
[wpt PR 21540] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.