DescriptionMerge 144894
> Crash during middle mouse click when page is removed
> https://bugs.webkit.org/show_bug.cgi?id=111489
>
> Reviewed by Hajime Morrita.
>
> Source/WebCore:
>
> Check for a null page that can happen if we remove the document from the DOM.
> The other methods in EventHandler also check for a null page.
>
> Test: editing/pasteboard/selection-paste-crash.html
>
> * page/EventHandler.cpp:
> (WebCore::EventHandler::handlePasteGlobalSelection):
>
> LayoutTests:
>
> * editing/pasteboard/resources/selection-paste-crash.html: Added.
> * editing/pasteboard/selection-paste-crash-expected.txt: Added.
> * editing/pasteboard/selection-paste-crash.html: Added.
>
TBR=tony@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=145237
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|