In order to show beforeunload confirm panel when closing web page which contains beforeunload event, we should call tryClose.
Created attachment 264375 [details] Patch
Comment on attachment 264375 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=264375&action=review LGTM except for trivial nits. > Source/WebKit2/ChangeLog:9 > + except on termination. s/except on/instead of/g ? > Source/WebKit2/UIProcess/API/efl/ewk_view.cpp:129 > +void ewk_view_try_close(Evas_Object* ewkView) Add *const* keyword.
Created attachment 264776 [details] Patch
(In reply to comment #2) > Comment on attachment 264375 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=264375&action=review > > LGTM except for trivial nits. > > > Source/WebKit2/ChangeLog:9 > > + except on termination. > > s/except on/instead of/g ? > I removed this confusing sentence. > > Source/WebKit2/UIProcess/API/efl/ewk_view.cpp:129 > > +void ewk_view_try_close(Evas_Object* ewkView) > > Add *const* keyword. I am not sure, this api has a behavior which calls popup or close callback.
Comment on attachment 264776 [details] Patch Clearing flags on attachment: 264776 Committed r192053: <http://trac.webkit.org/changeset/192053>
All reviewed patches have been landed. Closing bug.