[Webkit-unassigned] [Bug 73039] [Web Intents] Flagged-off implementation of an intent tag for registration.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Nov 23 12:35:13 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=73039
Darin Fisher (:fishd, Google) <fishd at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #116390|review? |review-
Flag| |
--- Comment #3 from Darin Fisher (:fishd, Google) <fishd at chromium.org> 2011-11-23 12:35:13 PST ---
(From update of attachment 116390)
View in context: https://bugs.webkit.org/attachment.cgi?id=116390&action=review
> Source/WebCore/html/HTMLIntentElement.cpp:51
> + document()->frame()->loader()->client()->registerIntentService(
given a Document, the frame() method can return null. however, i'm not sure if it can really be null in this case. i see other insertedIntoDocument() implementations checking frame() though.
> Source/WebKit/chromium/src/FrameLoaderClientImpl.cpp:1630
> + WebCore::KURL serviceURL(baseURL, href); // need TextEncoding?
I think you should be using {Web}Document::completeURL() for this instead.
> Source/WebKit/chromium/src/FrameLoaderClientImpl.cpp:1634
> + m_webFrame->client()->registerIntentService(webFrame(), service);
nit: use m_webFrame instead of webFrame()
> Source/WebKit/chromium/src/FrameLoaderClientImpl.h:211
> + virtual void registerIntentService(
when you are inside the implementation of WebKit, you don't need the WTF:: prefix on WTF types.
> Source/WebKit/chromium/src/WebIntentServiceInfo.cpp:36
> +WebIntentServiceInfo::WebIntentServiceInfo(const WebString& action,
This class is also defined in the patch from https://bugs.webkit.org/show_bug.cgi?id=73036.
--
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