Frame flattening: crash when child iframe is removed during beforeload.
https://bugs.webkit.org/show_bug.cgi?id=116220

Patch by Zalan Bujtas <zalan@apple.com> on 2013-06-07
Reviewed by Antti Koivisto.

FrameView can get destroyed in updateWidget(). Normally, it is protected by layout()
but with frame flattening on, it can also be called asynchronously through the
post layout timer.

Source/WebCore:

Test: fast/frames/flattening/crash-remove-iframe-during-object-beforeload.html

* page/FrameView.cpp:
(WebCore::FrameView::performPostLayoutTasks):

LayoutTests:

* fast/frames/flattening/crash-remove-iframe-during-object-beforeload-expected.txt: Added.
* fast/frames/flattening/crash-remove-iframe-during-object-beforeload.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151312 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][WK2] Implement customContextMenuItemSelected
https://bugs.webkit.org/show_bug.cgi?id=117298

Patch by Michał Pakuła vel Rutka <m.pakula@samsung.com> on 2013-06-07
Reviewed by Christophe Dumez.

When custom context menu item is selected using ewk API, the feedback is not
sent back to application, as customContextMenuItemSelected was unimplemented in
contextMenuClientEfl.

* UIProcess/API/efl/EwkView.cpp:
(EwkView::customContextMenuItemSelected):
* UIProcess/API/efl/EwkView.h:
* UIProcess/API/efl/ewk_view.h: added custom_item_selected callback.
* UIProcess/efl/ContextMenuClientEfl.cpp:
(customContextMenuItemSelected):
(ContextMenuClientEfl::ContextMenuClientEfl):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151313 268f45cc-cd09-0410-ab3c-d52691b4dbfc