Bug 88614 - Use CUSTOM_SCHEME_HANDLER flag rather than REGISTER_PROTOCOL_HANDLER.
Summary: Use CUSTOM_SCHEME_HANDLER flag rather than REGISTER_PROTOCOL_HANDLER.
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other Linux
: P2 Normal
Assignee: Dongwoo Joshua Im (dwim)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-07 21:34 PDT by Dongwoo Joshua Im (dwim)
Modified: 2019-06-05 23:29 PDT (History)
11 users (show)

See Also:


Attachments
WIP Patch (43.59 KB, application/octet-stream)
2012-06-08 03:16 PDT, Dongwoo Joshua Im (dwim)
no flags Details
WIP Patch (43.59 KB, patch)
2012-06-08 03:18 PDT, Dongwoo Joshua Im (dwim)
gyuyoung.kim: commit-queue-
Details | Formatted Diff | Diff
Archive of layout-test-results from ec2-cr-linux-04 (494.83 KB, application/zip)
2012-06-08 09:55 PDT, WebKit Review Bot
no flags Details
Patch (56.67 KB, patch)
2012-06-15 00:28 PDT, Dongwoo Joshua Im (dwim)
no flags Details | Formatted Diff | Diff
Patch (56.67 KB, patch)
2012-06-15 00:39 PDT, Dongwoo Joshua Im (dwim)
no flags Details | Formatted Diff | Diff
Patch (56.70 KB, patch)
2012-06-15 00:49 PDT, Dongwoo Joshua Im (dwim)
abarth: review-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dongwoo Joshua Im (dwim) 2012-06-07 21:34:51 PDT
Now, two new APIs are added into the Custom Scheme Handler spec,
and I implemented those functions in WebCore behind the CUSTOM_SCHEME_HANDLER flag.

How about use only CUSTOM_SCHEME_HANDLER rather than use both flags?

I think I can move 'registerProtocolHandler' function behind the CUSTOM_SCHEME_HANDLER flag.
Comment 1 Dongwoo Joshua Im (dwim) 2012-06-08 01:11:27 PDT
If everyone feels ok about this,
I will make the patch.
Comment 2 Dongwoo Joshua Im (dwim) 2012-06-08 03:16:36 PDT
Created attachment 146531 [details]
WIP Patch

Patch would be look like this WIP patch.
Comment 3 Dongwoo Joshua Im (dwim) 2012-06-08 03:18:42 PDT
Created attachment 146532 [details]
WIP Patch

To make it easy to look at the WIP patch,
I upload this as a "patch".

I believe one of ews will deny this "WIP" patch.
Comment 4 Gyuyoung Kim 2012-06-08 09:04:34 PDT
Comment on attachment 146532 [details]
WIP Patch

Attachment 146532 [details] did not pass efl-ews (efl):
Output: http://queues.webkit.org/results/12921543
Comment 5 WebKit Review Bot 2012-06-08 09:55:27 PDT
Comment on attachment 146532 [details]
WIP Patch

Attachment 146532 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/12922535

New failing tests:
fast/dom/register-protocol-handler.html
fast/dom/navigator-detached-no-crash.html
Comment 6 WebKit Review Bot 2012-06-08 09:55:32 PDT
Created attachment 146588 [details]
Archive of layout-test-results from ec2-cr-linux-04

The attached test failures were seen while running run-webkit-tests on the chromium-ews.
Bot: ec2-cr-linux-04  Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'>  Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Comment 7 Dongwoo Joshua Im (dwim) 2012-06-15 00:28:14 PDT
Created attachment 147758 [details]
Patch
Comment 8 WebKit Review Bot 2012-06-15 00:32:40 PDT
Attachment 147758 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'ChangeLog', u'LayoutTests/ChangeLog', u'La..." exit_code: 1
Source/WebCore/ChangeLog:8:  You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible.  [changelog/nonewtests] [5]
Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.h:222:  Tab found; better to use spaces  [whitespace/tab] [1]
Total errors found: 2 in 34 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 9 Dongwoo Joshua Im (dwim) 2012-06-15 00:39:56 PDT
Created attachment 147761 [details]
Patch
Comment 10 WebKit Review Bot 2012-06-15 00:42:10 PDT
Attachment 147761 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'ChangeLog', u'LayoutTests/ChangeLog', u'La..." exit_code: 1
Source/WebCore/ChangeLog:8:  You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible.  [changelog/nonewtests] [5]
Total errors found: 1 in 34 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 11 Dongwoo Joshua Im (dwim) 2012-06-15 00:49:42 PDT
Created attachment 147764 [details]
Patch
Comment 12 Adam Barth 2012-06-28 08:07:10 PDT
Comment on attachment 147764 [details]
Patch

As discussed on webkit-dev, Chromium currently sets these flags to different values.  Please don't combine them until everyone sets them to the same value as each other.