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

Side by Side Diff: webkit/data/layout_tests/chrome/fast/dom/Window/window-lookup-precedence.html

Issue 55025: Remove tests that have been upstreamed. Update test_expectations list... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 8 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <script type="text/javascript" src="resources/window-properties.js"></script>
3
4 <script>
5 if (window.layoutTestController) {
6 layoutTestController.dumpAsText();
7 layoutTestController.waitUntilDone();
8 }
9
10 var win = window.window;
11 var doc = window.document;
12
13 if (window.layoutTestController)
14 layoutTestController.dumpAsText();
15
16 function check(name) {
17 var subframe = win.frames[0];
18 subframe.name = name;
19 var out = doc.getElementById("console");
20 var v = win[name];
21 if (typeof v == 'number') {
22 v = 'Number'; // cannonicalize numbers.
23 } else if (/window-lookup-precedence.html/.test(v)) {
24 v = 'Location'; // cannonicalize current location.
25 }
26 out.innerHTML = out.innerHTML + "window."+name + " IS " + v + "<br>";
27
28 }
29
30 function runTest() {
31 for (var i = 0; i < properties.length; i++) {
32 check(properties[i]);
33 }
34
35 if (window.layoutTestController)
36 layoutTestController.notifyDone();
37 }
38 </script>
39
40 <body onload="runTest()">
41 <iframe src="about:blank"></iframe>
42
43 <div id="console"></div>
44
45 </body>
46 </html>
47
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698