-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1794375 [wpt PR 36367] - Test that History is associated with Doc…
…ument, not Window, a=testonly Automatic update from web-platform-tests Test that History is associated with Document, not Window This is done by expanding the object-association.js helper and using it. We can also remove an outdated workaround in that file for extra load events, since no modern browsers suffer from that. See whatwg/html#2566. -- wpt-commits: 09427933ac4883cb6cbe756eaa9c980eb8b76b1d wpt-pr: 36367
- Loading branch information
1 parent
a849ab1
commit b27f630
Showing
2 changed files
with
43 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
...ts/html/browsers/history/the-history-interface/history-associated-with-document.window.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// META: title=the History object must be associated with the Document object, not the Window object | ||
// META: script=/common/object-association.js | ||
|
||
// See https://github.com/whatwg/html/issues/2566. | ||
|
||
testIsPerDocument("history"); |