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

Unified Diff: webkit/data/layout_tests/chrome/fast/dom/Window/window-lookup-precedence-2.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, 9 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 side-by-side diff with in-line comments
Download patch
Index: webkit/data/layout_tests/chrome/fast/dom/Window/window-lookup-precedence-2.html
===================================================================
--- webkit/data/layout_tests/chrome/fast/dom/Window/window-lookup-precedence-2.html (revision 12664)
+++ webkit/data/layout_tests/chrome/fast/dom/Window/window-lookup-precedence-2.html (working copy)
@@ -1,52 +0,0 @@
-<html>
-<script type="text/javascript" src="resources/window-properties.js"></script>
-
-<script>
-if (window.layoutTestController) {
- layoutTestController.dumpAsText();
- layoutTestController.waitUntilDone();
-}
-var my_input;
-var HTMLInputElement_func;
-
-var win = window.window;
-var doc = window.document;
-
-if (window.layoutTestController)
- layoutTestController.dumpAsText();
-
-function check(name) {
- try {
- var out = doc.getElementById("MYRESULT");
- var orig_v = win[name];
- my_input.setAttribute("id", name);
- var new_v = win[name];
- var r = (orig_v === new_v) ? 'PASS' : 'FAIL';
- out.innerHTML = out.innerHTML + "window." + name + " : " + r + "<br>";
- } catch (e) {
- win.alert(name + ' ' + e);
- }
-}
-
-function runTest() {
- my_input = window.MYINPUT; // this is the original HTMLInputElement
- HTMLInputElement_func = window.HTMLInputElement;
-
- for (var i = 0; i < properties.length; i++) {
- check(properties[i]);
- }
-
- if (window.layoutTestController)
- layoutTestController.notifyDone();
-}
-</script>
-
-<body onload="runTest()">
-<form>
-<input id="MYINPUT" value="mmm" name="qs" type="text"/>
-</form>
-<div id="MYRESULT"></div>
-
-</body>
-</html>
-

Powered by Google App Engine
This is Rietveld 408576698