Disable registerProtocolHandler on Android
Created attachment 172300 [details] Patch
Comment on attachment 172300 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=172300&action=review Thanks for the patch, Miguel! Please find two nits in-line. You may also want to consider requesting commit-queue, which is useful as you're not a committer yet yourself. You can do this in the patch' Details section, or by supplying the "--request-commit" argument to webkit-patch upload. > Source/WebKit/chromium/ChangeLog:3 > + Disable registerProtocolHandler on Android Since this patch only touches Chromium-specific code, it's best to prefix the bug title with "[Chromium]", especially since there is no more Android port in WebKit. > Source/WebKit/chromium/ChangeLog:8 > + Additional information of the change such as approach, rationale. Please add per-function descriptions below (OOPS!). Any line with "(OOPS!)" will make presubmit unhappy. The only exception here is the "Reviewed by NOBODY (OOPS!)" line, which will be filled in automatically by the tools. In this case, it's important for the reviewer and other members of the Chromium project to understand why registerProtocolHandler is being disabled for Android. A bit of rationale can help here, so something like the following text would be clearer: "Chromium for Android has been exposing registerProtocolHandler, but the feature wasn't actually wired up internally. Disable the feature to avoid breaking feature detection until we can implement it properly."
Created attachment 172304 [details] Patch
(In reply to comment #3) > Created an attachment (id=172304) [details] > Patch Thanks for the comments Peter! Uploaded a new patch with your suggestions
Comment on attachment 172304 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=172304&action=review LGTM, Adam is usually your man for such changes but it is simple enough. > Source/WebKit/chromium/ChangeLog:8 > + Disalble registerProtocolHandler since it is not properly implemented (yet) and could confuse developers trying to use it in android. Typo: disalble. Also let's be precise! Peter's phrasing was more accurate from this perspective as it mentioned that it is a platform issue (reading your wording I thought it was an issue in the feature).
Created attachment 172317 [details] Patch
Thanks for the quick review! Changed to use Peter's wording instead. (In reply to comment #6) > Created an attachment (id=172317) [details] > Patch
Created attachment 172322 [details] Patch
Comment on attachment 172322 [details] Patch Thank you Miguel! Setting cq+.
Comment on attachment 172322 [details] Patch Clearing flags on attachment: 172322 Committed r133465: <http://trac.webkit.org/changeset/133465>
All reviewed patches have been landed. Closing bug.