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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/webstorage/document-domain.html

Issue 2018873002: Fix testharness paths in imported/wpt/* except dom and html. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
1 <!doctype html> 1 <!doctype html>
2 <title>localStorage and document.domain</title> 2 <title>localStorage and document.domain</title>
3 <script src="../../../resources/testharness.js"></script> 3 <script src="/resources/testharness.js"></script>
4 <script src="../../../resources/testharnessreport.js"></script> 4 <script src="/resources/testharnessreport.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <div id="log"></div> 7 <div id="log"></div>
8 <iframe></iframe> 8 <iframe></iframe>
9 <script> 9 <script>
10 async_test(function(t) { 10 async_test(function(t) {
11 frames[0].addEventListener("storage", function(e) { 11 frames[0].addEventListener("storage", function(e) {
12 t.step(function() { 12 t.step(function() {
13 localStorage.clear() 13 localStorage.clear()
14 t.done() 14 t.done()
15 }) 15 })
16 }) 16 })
17 frames[0].document.domain = document.domain 17 frames[0].document.domain = document.domain
18 localStorage.setItem("test", "test") 18 localStorage.setItem("test", "test")
19 }) 19 })
20 </script> 20 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698