Bug 101376

Summary: Enable REQUEST_AUTOCOMPLETE for chromium port
Product: WebKit Reporter: Dan Beam <dbeam>
Component: FormsAssignee: Dan Beam <dbeam>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, dglazkov, esprehn, estade, fishd, isherman, jamesr, mifenton, ojan, tkent, tkent+wkapi, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 100560    
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

Description Dan Beam 2012-11-06 11:03:34 PST
This bug is to enable the feature flag REQUEST_AUTOCOMPLETE for the chromium port of WebKit and adjust the test expectations for this platform.
Comment 1 Dan Beam 2012-11-06 14:40:05 PST
Created attachment 172655 [details]
Patch
Comment 2 Adam Barth 2012-11-06 14:52:44 PST
Comment on attachment 172655 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=172655&action=review

> Source/WebKit/chromium/ChangeLog:9
> +        This patch enables the feature flag REQUEST_AUTOCOMPLETE in WebKit/chromium only to allow web authors to start to use
> +        HTMLFormElement#requestAutocomplete as the chrome-side work progresses further.

Is there a runtime switch hide this feature from the web while it is in development?
Comment 3 Adam Barth 2012-11-06 15:03:35 PST
Comment on attachment 172655 [details]
Patch

Dan is going to add a runtime switch to control this function via V8EnabledAtRuntime.
Comment 4 Dan Beam 2012-11-06 18:40:16 PST
Created attachment 172691 [details]
Patch
Comment 5 WebKit Review Bot 2012-11-06 18:43:08 PST
Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.
Comment 6 Dan Beam 2012-11-06 18:44:28 PST
Comment on attachment 172655 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=172655&action=review

>> Source/WebKit/chromium/ChangeLog:9
>> +        HTMLFormElement#requestAutocomplete as the chrome-side work progresses further.
> 
> Is there a runtime switch hide this feature from the web while it is in development?

There will be a runtime switch that must be enabled in Chrome to use this feature, yes.
Comment 7 Adam Barth 2012-11-06 19:03:09 PST
Comment on attachment 172691 [details]
Patch

Looks great.
Comment 8 WebKit Review Bot 2012-11-06 19:49:21 PST
Comment on attachment 172691 [details]
Patch

Rejecting attachment 172691 [details] from commit-queue.

Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2

Last 500 characters of output:
webkit-commit-queue/Source/WebKit/chromium/webkit --revision 166220 --non-interactive --force --accept theirs-conflict --ignore-externals' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium'
51>At revision 166220.

________ running '/usr/bin/python tools/clang/scripts/update.py --mac-only' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium'

________ running '/usr/bin/python gyp_webkit' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium'
Updating webkit projects from gyp files...

Full output: http://queues.webkit.org/results/14759190
Comment 9 Adam Barth 2012-11-06 19:50:32 PST
Comment on attachment 172691 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=172691&action=review

> Source/WebCore/ChangeLog:10
> +        No new tests (OOPS!).

This line is causing the commit-queue to be sad.  We should either list the tests that you're modifying or remove it.
Comment 10 Dan Beam 2012-11-06 20:07:29 PST
Created attachment 172708 [details]
Patch
Comment 11 Dan Beam 2012-11-06 20:07:42 PST
Comment on attachment 172691 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=172691&action=review

>> Source/WebCore/ChangeLog:10
>> +        No new tests (OOPS!).
> 
> This line is causing the commit-queue to be sad.  We should either list the tests that you're modifying or remove it.

Removed.
Comment 12 WebKit Review Bot 2012-11-06 21:05:53 PST
Comment on attachment 172708 [details]
Patch

Clearing flags on attachment: 172708

Committed r133720: <http://trac.webkit.org/changeset/133720>
Comment 13 WebKit Review Bot 2012-11-06 21:05:59 PST
All reviewed patches have been landed.  Closing bug.