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

Unified Diff: LayoutTests/fast/forms/dangling-form-element-crash.html

Issue 6508002: Revert 78166 - Merge r77114 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/597/
Patch Set: Created 9 years, 10 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
« no previous file with comments | « LayoutTests/ChangeLog ('k') | LayoutTests/fast/forms/dangling-form-element-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/forms/dangling-form-element-crash.html
===================================================================
--- LayoutTests/fast/forms/dangling-form-element-crash.html (revision 78370)
+++ LayoutTests/fast/forms/dangling-form-element-crash.html (working copy)
@@ -1,36 +0,0 @@
-<html>
- <script>
- if (window.layoutTestController) {
- layoutTestController.dumpAsText();
- layoutTestController.waitUntilDone();
- }
-
- function gc() {
- if (window.GCController)
- return GCController.collect();
- for (var i = 0; i < 10000; ++i)
- var s = new String("foo");
- }
-
- function resetFormOwner() {
- gc();
- var form = document.createElement('form');
- form.id = 'foo';
- document.body.appendChild(form);
- document.body.innerHTML += 'PASS';
- if (window.layoutTestController)
- layoutTestController.notifyDone();
- }
-
- function test() {
- var div = document.createElement('div');
- var input = document.createElement('input');
- input.setAttribute('form', 'foo');
- div.appendChild(input);
- setTimeout(resetFormOwner, 0);
- }
- </script>
-<body onload="test()">
-<p>Checks dangling form associated elements doesn't cause crash. WebKit should not crash when this page is loaded.</p>
-</body>
-</html>
« no previous file with comments | « LayoutTests/ChangeLog ('k') | LayoutTests/fast/forms/dangling-form-element-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698