Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(319)

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/dom/nodes/Document-URL.sub.html

Issue 2648173006: Import wpt@cf62b859e6b890abc34f8140d185ba91df95c5b6 (Closed)
Patch Set: Rebased Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2 <meta charset=utf-8>
3 <title>Document.URL with redirect</title>
4 <script src="/resources/testharness.js"></script>
5 <script src="/resources/testharnessreport.js"></script>
6 <div id=log></div>
7 <script>
8 async_test(function() {
9 var iframe = document.createElement("iframe");
10 iframe.src = "/common/redirect.py?location=/common/blank.html";
11 document.body.appendChild(iframe);
12 this.add_cleanup(function() { document.body.removeChild(iframe); });
13 iframe.onload = this.step_func_done(function() {
14 assert_equals(iframe.contentDocument.URL,
15 "http://{{host}}:{{ports[http][0]}}/common/blank.html");
16 });
17 })
18 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698