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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Document-createProcessingInstruction.js

Issue 1988983002: Move the dom directory from web-platform-tests/ to wpt/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 test(function() { 1 test(function() {
2 var invalid = [ 2 var invalid = [
3 ["A", "?>"], 3 ["A", "?>"],
4 ["\u00B7A", "x"], 4 ["\u00B7A", "x"],
5 ["\u00D7A", "x"], 5 ["\u00D7A", "x"],
6 ["A\u00D7", "x"], 6 ["A\u00D7", "x"],
7 ["\\A", "x"], 7 ["\\A", "x"],
8 ["\f", "x"], 8 ["\f", "x"],
9 [0, "x"], 9 [0, "x"],
10 ["0", "x"] 10 ["0", "x"]
(...skipping 19 matching lines...) Expand all
30 assert_equals(pi.target, valid[i][0]); 30 assert_equals(pi.target, valid[i][0]);
31 assert_equals(pi.data, valid[i][1]); 31 assert_equals(pi.data, valid[i][1]);
32 assert_equals(pi.ownerDocument, document); 32 assert_equals(pi.ownerDocument, document);
33 assert_true(pi instanceof ProcessingInstruction); 33 assert_true(pi instanceof ProcessingInstruction);
34 assert_true(pi instanceof Node); 34 assert_true(pi instanceof Node);
35 }, "Should get a ProcessingInstruction for target " + 35 }, "Should get a ProcessingInstruction for target " +
36 format_value(valid[i][0]) + " and data " + 36 format_value(valid[i][0]) + " and data " +
37 format_value(valid[i][1]) + ".") 37 format_value(valid[i][1]) + ".")
38 } 38 }
39 }) 39 })
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698