Skip to content

Commit

Permalink
Bug 1485856 [wpt PR 12662] - HTML: review followup, a=testonly
Browse files Browse the repository at this point in the history
Automatic update from web-platform-testsHTML: review followup (#12662)

Follow up to review comments in
web-platform-tests/wpt#12636.
--

wpt-commits: a63935ce4574b32d850cf0063f6ea508ad517986
wpt-pr: 12662

UltraBlame original commit: a496daf666ea48b0fa47d87702e6d3c021d95925
  • Loading branch information
marco-c committed Oct 3, 2019
1 parent a9fdeef commit b213a00
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion testing/web-platform/meta/MANIFEST.json
Original file line number Diff line number Diff line change
Expand Up @@ -607230,7 +607230,7 @@
"testharness"
],
"html/webappapis/dynamic-markup-insertion/opening-the-input-stream/url.window.js": [
"282e58e9c380fc214365522163c8bc09a67afc3b",
"4e7c649f4533958112e6bd1dd59537619d7cc62d",
"testharness"
],
"html/webappapis/microtask-queuing/queue-microtask-exceptions.any.js": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ test(t => {
t.add_cleanup(() => frame.remove());
assert_equals(frame.contentDocument.URL, "about:blank");
assert_equals(frame.contentWindow.location.href, "about:blank");
frame.contentDocument.open();
assert_equals(frame.contentDocument.open(), frame.contentDocument);
assert_equals(frame.contentDocument.URL, document.URL);
assert_equals(frame.contentWindow.location.href, document.URL);
}, "document.open() changes document's URL (fully active document)");
Expand All @@ -26,7 +26,7 @@ async_test(t => {

frame.onload = t.step_func_done(() => {

childDoc.open();
assert_equals(childDoc.open(), childDoc);
assert_equals(childDoc.URL, blankURL);
assert_equals(childWin.location.href, blankURL);
});
Expand All @@ -41,6 +41,9 @@ test(t => {
const doc = frame.contentDocument;





assert_equals(doc.URL, "about:blank");

frame.remove();
Expand All @@ -55,6 +58,9 @@ async_test(t => {
const frame = document.createElement("iframe");
t.add_cleanup(() => frame.remove());




frame.onload = t.step_func(() => {
const doc = frame.contentDocument;

Expand Down

0 comments on commit b213a00

Please sign in to comment.