Changeset 155472 in webkit


Ignore:
Timestamp:
Sep 10, 2013 2:15:29 PM (11 years ago)
Author:
rniwa@webkit.org
Message:

Fix race in fast/loader/onunload-form-submit-crash.html
https://bugs.webkit.org/show_bug.cgi?id=121122

Reviewed by Alexey Proskuryakov.

Merge https://chromium.googlesource.com/chromium/blink/+/c7ab0900c147f9a2f4c69d62b6460f98abc5d796

The setTimeout was sometimes firing before the form was parsed, so document.myForm would be null.

  • fast/loader/onunload-form-submit-crash.html:
Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r155471 r155472  
     12013-09-10  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        Fix race in fast/loader/onunload-form-submit-crash.html
     4        https://bugs.webkit.org/show_bug.cgi?id=121122
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        Merge https://chromium.googlesource.com/chromium/blink/+/c7ab0900c147f9a2f4c69d62b6460f98abc5d796
     9
     10        The setTimeout was sometimes firing before the form was parsed, so document.myForm would be null.
     11
     12        * fast/loader/onunload-form-submit-crash.html:
     13
    1142013-09-10  Joseph Pecoraro  <pecoraro@apple.com>
    215
  • trunk/LayoutTests/fast/loader/onunload-form-submit-crash.html

    r122687 r155472  
    11<html>
    22    <body onUnload="document.myForm.submit()">
     3        <p>This is just a dummy page that loads the next page to see if we crash.</p>
     4        <form name="myForm" action="resources/onunload-form-submit-crash2.html"></form>
    35        <script>
    46            if (window.testRunner) {
     
    911            window.setTimeout("location.href='resources/onunload-form-submit-success.html'", 0);
    1012        </script>
    11         <p>This is just a dummy page that loads the next page to see if we crash.</p>
    12         <form name="myForm" action="resources/onunload-form-submit-crash2.html"></form>
    1313    </body>
    1414<html>
Note: See TracChangeset for help on using the changeset viewer.