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

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

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 <!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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 function isNukedFromWindow(name) { 124 function isNukedFromWindow(name) {
125 test(function() { 125 test(function() {
126 assert_equals(window[name], undefined) 126 assert_equals(window[name], undefined)
127 }, "Window member must be nuked: " + name) 127 }, "Window member must be nuked: " + name)
128 } 128 }
129 var windowNuked = [ 129 var windowNuked = [
130 "attachEvent" 130 "attachEvent"
131 ] 131 ]
132 windowNuked.forEach(isNukedFromWindow) 132 windowNuked.forEach(isNukedFromWindow)
133 </script> 133 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698