mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Implement HTMLDocument API (#38433)
This updates the pull request from here https://github.com/servo/servo/pull/32553 that looks to be dormant. The main change is that I've switched out `reflector` with `document` based off this suggestion https://github.com/servo/servo/pull/32553#issuecomment-2179568743, and the `GetLocation` and `SupportedPropertyNames` methods pass through the values from `Document`. The implementation details are otherwise the same as the original PR Testing: I don't see any WPT tests for this feature, I could make a custom test if desired Fixes: https://github.com/servo/servo/issues/32536 --------- Signed-off-by: Leo Ring <leoring03@gmail.com>
This commit is contained in:
parent
f0eb6c2b97
commit
79a45c7da3
9 changed files with 52 additions and 13 deletions
|
@ -1,3 +0,0 @@
|
|||
[historical.html]
|
||||
[ondragexit must not be present on the GlobalEventHandlers locations]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[contextmenu-historical.html]
|
||||
[onshow must not be present on the GlobalEventHandlers locations]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[interface-prototype-constructor-set-receiver.html]
|
||||
[Direct [[Set\]\] preserves [[Enumerable\]\]: false property attribute]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[invalid-this-value-cross-realm.html]
|
||||
[Cross-realm operation throws when called on incompatible object]
|
||||
expected: FAIL
|
2
tests/wpt/mozilla/meta/MANIFEST.json
vendored
2
tests/wpt/mozilla/meta/MANIFEST.json
vendored
|
@ -13725,7 +13725,7 @@
|
|||
]
|
||||
],
|
||||
"interfaces.https.html": [
|
||||
"efb780c382456b1fda514b33fe5b317c447fa09e",
|
||||
"05ead2c3e2c362586506be77c8093c8bc4f0fb53",
|
||||
[
|
||||
null,
|
||||
{}
|
||||
|
|
|
@ -164,6 +164,7 @@ test_interfaces([
|
|||
"HTMLDirectoryElement",
|
||||
"HTMLDivElement",
|
||||
"HTMLDListElement",
|
||||
"HTMLDocument",
|
||||
"HTMLElement",
|
||||
"HTMLEmbedElement",
|
||||
"HTMLFieldSetElement",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue