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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/uievents/legacy-domevents-tests/approved/ProcessingInstruction.DOMCharacterDataModified.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 <html> 2 <html>
3 <head> 3 <head>
4 <title> ProcessingInstruction.data and DOMCharacterDataModified event </title> 4 <title> ProcessingInstruction.data and DOMCharacterDataModified event </title>
5 <script src="../../../../../resources/testharness.js"></script> 5 <script src="/resources/testharness.js"></script>
6 <script src="../../../../../resources/testharnessreport.js"></script> 6 <script src="/resources/testharnessreport.js"></script>
7 </head> 7 </head>
8 <body> 8 <body>
9 <div id=log></div> 9 <div id=log></div>
10 10
11 <iframe id="helper" style="display: none"></iframe> 11 <iframe id="helper" style="display: none"></iframe>
12 12
13 <script> 13 <script>
14 var description = "Test Description: " + 14 var description = "Test Description: " +
15 "DOMCharacterDataModified event fires after ProcessingInst ruction.data have been modified, " + 15 "DOMCharacterDataModified event fires after ProcessingInst ruction.data have been modified, " +
16 "but the node itself has not been inserted or deleted. The proximal event target of this " + 16 "but the node itself has not been inserted or deleted. The proximal event target of this " +
17 "event shall be the ProcessingInstruction node."; 17 "event shall be the ProcessingInstruction node.";
18 18
19 var t = async_test(description); 19 var t = async_test(description);
20 20
21 var HELPER = document.getElementById("helper"); 21 var HELPER = document.getElementById("helper");
22 22
23 HELPER.onload = t.step_func(function() 23 HELPER.onload = t.step_func(function()
24 { 24 {
25 assert_true(HELPER.contentWindow.TestResult); 25 assert_true(HELPER.contentWindow.TestResult);
26 t.done(); 26 t.done();
27 }); 27 });
28 28
29 HELPER.src = "./support/ProcessingInstruction.DOMCharacterDataModified.xml"; 29 HELPER.src = "./support/ProcessingInstruction.DOMCharacterDataModified.xml";
30 </script> 30 </script>
31 </body> 31 </body>
32 </html> 32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698