diff options
author | tkent@chromium.org <tkent@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2013-06-25 06:23:16 +0000 |
---|---|---|
committer | tkent@chromium.org <tkent@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2013-06-25 06:23:16 +0000 |
commit | 1221c8e17686f6105afe0212ccc3710050d28df7 (patch) | |
tree | 2ba547936c35e0ca015370c940f4a40bea3797f3 /third_party/WebKit/LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-crash-by-focus-on-unload-expected.txt | |
parent | 72a8ee7205d5f88a3f0ba4e330a3abda05b4c0bb (diff) | |
download | chromium_src-1221c8e17686f6105afe0212ccc3710050d28df7.zip chromium_src-1221c8e17686f6105afe0212ccc3710050d28df7.tar.gz chromium_src-1221c8e17686f6105afe0212ccc3710050d28df7.tar.bz2 |
Fix crash by focusing multiple-fields input types during a unload event.
ContainerNode::removeChildren:
We should remove focus after dispatching unload events. Document::
m_focusedNode could have an element not in the document tree.
Document::implicitOpen:
Confirm that removeChildren clears m_focusedNode.
BaseMultipleFieldsDateAndTimeInputType::didBlurFromControl:
Protect element() because it might loose the last reference by
setFocus(false).
BUG=249640
Review URL: https://chromiumcodereview.appspot.com/17577013
git-svn-id: svn://svn.chromium.org/blink/trunk@152990 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-crash-by-focus-on-unload-expected.txt')
-rw-r--r-- | third_party/WebKit/LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-crash-by-focus-on-unload-expected.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-crash-by-focus-on-unload-expected.txt b/third_party/WebKit/LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-crash-by-focus-on-unload-expected.txt new file mode 100644 index 0000000..fbfeed9 --- /dev/null +++ b/third_party/WebKit/LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-crash-by-focus-on-unload-expected.txt @@ -0,0 +1 @@ +PASS if not crashed. |