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

Unified Diff: webkit/data/layout_tests/chrome/fast/forms/var-name-conflict-in-form-event-handler.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/forms/var-name-conflict-in-form-event-handler.html
===================================================================
--- webkit/data/layout_tests/chrome/fast/forms/var-name-conflict-in-form-event-handler.html (revision 12362)
+++ webkit/data/layout_tests/chrome/fast/forms/var-name-conflict-in-form-event-handler.html (working copy)
@@ -1,28 +0,0 @@
-<html>
-<body>
-<p>This tests that a locally scoped variable in an event handler of a form
-takes precedence over items of form.
-
-<form>
-<select onChange="var value = this.value;this.options[0].selected=true; if(value=='C') document.getElementById('sourceViewDiv').innerHTML='This test: PASSED!'">
-<option value="A">A</option>
-<option value="B">B</option>
-<option value="C">C</option>
-</select>
-
-<div id='sourceViewDiv'>This test: FAILED</div>
-
-<script>
-if (window.layoutTestController)
- layoutTestController.dumpAsText();
-
-var x=document.getElementsByTagName('select')[0];
-x.options[2].selected=true;
-var evt = document.createEvent("HTMLEvents");
-evt.initEvent("change", true, true);
-x.dispatchEvent(evt);
-</script>
-</form>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698