[Webkit-unassigned] [Bug 95672] [EFL][WK2] Add javascript popup api.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 11 18:36:24 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=95672
--- Comment #28 from Ryuan Choi <ryuan.choi at samsung.com> 2012-09-11 18:36:47 PST ---
(From update of attachment 163486)
View in context: https://bugs.webkit.org/attachment.cgi?id=163486&action=review
> Source/WebKit2/ChangeLog:22
> + * UIProcess/API/efl/tests/test_ewk2_view.cpp:
Could you mention that you added tests?
> Source/WebKit2/UIProcess/API/efl/ewk_view.cpp:672
> + api->run_javascript_alert = 0;
> + api->run_javascript_confirm = 0;
> + api->run_javascript_prompt = 0;
IMO, there are not necessary.
> Source/WebKit2/UIProcess/API/efl/ewk_view.cpp:1645
> + EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
priv looks not used.
> Source/WebKit2/UIProcess/API/efl/ewk_view.cpp:1656
> + EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, WKEinaSharedString());
ditto.
> Source/WebKit2/UIProcess/API/efl/ewk_view.h:119
> + // - All string should be guaranteed to be stringshared.
strings?
> Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_view.cpp:410
> + ewkViewClass()->run_javascript_alert = checkConfirmResultTrue;
> + ewkViewClass()->run_javascript_confirm = checkConfirmMessageAndReturnTrue;
This is not important. but why don't you use title instead of alert?
It looks better to understand test.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list