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

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

Issue 2564853002: Import wpt@04b3b0d125436f3e502741522934cde57fd8c79f (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)
11 } 11 }
12 var nukedInterfaces = [ 12 var nukedInterfaces = [
13 "DOMConfiguration", 13 "DOMConfiguration",
14 "DOMError", 14 "DOMError",
15 "DOMErrorHandler", 15 "DOMErrorHandler",
16 "DOMImplementationList", 16 "DOMImplementationList",
17 "DOMImplementationSource", 17 "DOMImplementationSource",
18 "DOMLocator", 18 "DOMLocator",
19 "DOMObject", 19 "DOMObject",
20 "DOMSettableTokenList", 20 "DOMSettableTokenList",
21 "DOMStringList",
21 "DOMUserData", 22 "DOMUserData",
22 "Entity", 23 "Entity",
23 "EntityReference", 24 "EntityReference",
24 "EventException", // DOM Events 25 "EventException", // DOM Events
25 "NameList", 26 "NameList",
26 "Notation", 27 "Notation",
27 "TypeInfo", 28 "TypeInfo",
28 "UserDataHandler", 29 "UserDataHandler",
29 "RangeException" // DOM Range 30 "RangeException" // DOM Range
30 ] 31 ]
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 function isNukedFromWindow(name) { 124 function isNukedFromWindow(name) {
124 test(function() { 125 test(function() {
125 assert_equals(window[name], undefined) 126 assert_equals(window[name], undefined)
126 }, "Window member must be nuked: " + name) 127 }, "Window member must be nuked: " + name)
127 } 128 }
128 var windowNuked = [ 129 var windowNuked = [
129 "attachEvent" 130 "attachEvent"
130 ] 131 ]
131 windowNuked.forEach(isNukedFromWindow) 132 windowNuked.forEach(isNukedFromWindow)
132 </script> 133 </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