Bug 88614

Summary: Use CUSTOM_SCHEME_HANDLER flag rather than REGISTER_PROTOCOL_HANDLER.
Product: WebKit Reporter: Dongwoo Joshua Im (dwim) <dw.im>
Component: WebCore Misc.Assignee: Dongwoo Joshua Im (dwim) <dw.im>
Status: RESOLVED WONTFIX    
Severity: Normal CC: abarth, dglazkov, japhet, jochen, kling, koz, p.jacquemart, rakuco, rniwa, vestbo, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: Linux   
Attachments:
Description Flags
WIP Patch
none
WIP Patch
gyuyoung.kim: commit-queue-
Archive of layout-test-results from ec2-cr-linux-04
none
Patch
none
Patch
none
Patch abarth: review-

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.