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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/form-removed-from-document.html

Issue 2261393002: Fixed the behaviour of form submit to Firefox: form does not submit once it has been removed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove form stats Created 4 years, 3 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
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script>
4 <body>
5 <form action="javascript: redirect()"></form>
6 </body>
7 <script>
8 var form = document.forms[0];
9
10 test(function() {
11 form.parentNode.removeChild(form);
12 form.submit();
13 }, 'Submitting a form that has been removed.');
14
15 function redirect() { assert_true(false); }
16
17 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698