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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/historical.html

Issue 2565143003: Import wpt@3ba5d5327015d8555070c2f2fc794249d58b5b93 (Closed)
Patch Set: Modify TestExpectations or download new baselines for tests. Created 4 years 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/imported/wpt/dom/historical-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <title>Historical DOM features must be removed</title> 2 <title>Historical DOM features must be removed</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 <div id=log></div> 5 <div id=log></div>
6 <script> 6 <script>
7 function isInterfaceNuked(name) { 7 function isInterfaceNuked(name) {
8 test(function() { 8 test(function() {
9 assert_equals(window[name], undefined) 9 assert_equals(window[name], undefined)
10 }, "Historical DOM features must be removed: " + name) 10 }, "Historical DOM features must be removed: " + name)
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 }, "Historical DOM features must be removed: " + name) 65 }, "Historical DOM features must be removed: " + name)
66 } 66 }
67 var elementNuked = [ 67 var elementNuked = [
68 "schemaTypeInfo", 68 "schemaTypeInfo",
69 "setIdAttribute", 69 "setIdAttribute",
70 "setIdAttributeNS", 70 "setIdAttributeNS",
71 "setIdAttributeNode" 71 "setIdAttributeNode"
72 ] 72 ]
73 elementNuked.forEach(isNukedFromElement) 73 elementNuked.forEach(isNukedFromElement)
74 74
75 function isNukedFromAttr(name) {
76 test(function() {
77 var attr = document.createAttribute("test")
78 assert_equals(attr[name], undefined)
79 }, "Attr member must be nuked: " + name)
80 }
81 var attrNuked = [
82 "schemaTypeInfo",
83 "isId"
84 ]
85 attrNuked.forEach(isNukedFromAttr)
86
75 function isNukedFromDoctype(name) { 87 function isNukedFromDoctype(name) {
76 test(function() { 88 test(function() {
77 var doctype = document.implementation.createDocumentType("test", "", "") 89 var doctype = document.implementation.createDocumentType("test", "", "")
78 assert_equals(doctype[name], undefined) 90 assert_equals(doctype[name], undefined)
79 }, "DocumentType member must be nuked: " + name) 91 }, "DocumentType member must be nuked: " + name)
80 } 92 }
81 var doctypeNuked = [ 93 var doctypeNuked = [
82 "entities", 94 "entities",
83 "notations", 95 "notations",
84 "internalSubset" 96 "internalSubset"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 function isNukedFromWindow(name) { 136 function isNukedFromWindow(name) {
125 test(function() { 137 test(function() {
126 assert_equals(window[name], undefined) 138 assert_equals(window[name], undefined)
127 }, "Window member must be nuked: " + name) 139 }, "Window member must be nuked: " + name)
128 } 140 }
129 var windowNuked = [ 141 var windowNuked = [
130 "attachEvent" 142 "attachEvent"
131 ] 143 ]
132 windowNuked.forEach(isNukedFromWindow) 144 windowNuked.forEach(isNukedFromWindow)
133 </script> 145 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/imported/wpt/dom/historical-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698