RESOLVED FIXED 189162
Make <input type=color> a runtime enabled (on-by-default) feature
https://bugs.webkit.org/show_bug.cgi?id=189162
Summary Make <input type=color> a runtime enabled (on-by-default) feature
Aditya Keerthi
Reported 2018-08-30 11:06:28 PDT
...
Attachments
Patch (90.28 KB, patch)
2018-08-30 11:10 PDT, Aditya Keerthi
no flags
Archive of layout-test-results from ews122 for ios-simulator-wk2 (2.33 MB, application/zip)
2018-08-30 13:25 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews126 for ios-simulator-wk2 (10.09 MB, application/zip)
2018-08-30 15:23 PDT, EWS Watchlist
no flags
Patch (91.37 KB, patch)
2018-08-30 16:41 PDT, Aditya Keerthi
no flags
Patch (91.36 KB, patch)
2018-08-30 16:46 PDT, Aditya Keerthi
no flags
Patch (91.67 KB, patch)
2018-08-31 09:36 PDT, Aditya Keerthi
no flags
Rebase on trunk (93.09 KB, patch)
2018-10-08 13:45 PDT, Wenson Hsieh
no flags
Patch for landing (93.21 KB, patch)
2018-10-08 14:30 PDT, Wenson Hsieh
no flags
Patch for landing (1.34 KB, patch)
2018-10-08 16:34 PDT, Wenson Hsieh
no flags
Aditya Keerthi
Comment 1 2018-08-30 11:10:43 PDT
EWS Watchlist
Comment 2 2018-08-30 13:25:11 PDT
Comment on attachment 348513 [details] Patch Attachment 348513 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: https://webkit-queues.webkit.org/results/9037344 New failing tests: imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-elements-filter.html fast/forms/color/input-appearance-color.html
EWS Watchlist
Comment 3 2018-08-30 13:25:13 PDT
Created attachment 348536 [details] Archive of layout-test-results from ews122 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews122 Port: ios-simulator-wk2 Platform: Mac OS X 10.13.4
EWS Watchlist
Comment 4 2018-08-30 15:23:39 PDT
Comment on attachment 348513 [details] Patch Attachment 348513 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: https://webkit-queues.webkit.org/results/9039230 New failing tests: imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-elements-filter.html fast/forms/color/input-appearance-color.html
EWS Watchlist
Comment 5 2018-08-30 15:23:41 PDT
Created attachment 348557 [details] Archive of layout-test-results from ews126 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews126 Port: ios-simulator-wk2 Platform: Mac OS X 10.13.4
Aditya Keerthi
Comment 6 2018-08-30 16:41:19 PDT
EWS Watchlist
Comment 7 2018-08-30 16:43:16 PDT
Attachment 348566 [details] did not pass style-queue: ERROR: Source/WebKit/UIProcess/mac/WebColorPickerMac.mm:135: Should not have spaces around = in property synthesis. [whitespace/property] [4] Total errors found: 1 in 37 files If any of these errors are false positives, please file a bug against check-webkit-style.
Aditya Keerthi
Comment 8 2018-08-30 16:46:38 PDT
Aditya Keerthi
Comment 9 2018-08-31 09:36:43 PDT
Wenson Hsieh
Comment 10 2018-10-01 18:58:15 PDT
Comment on attachment 348642 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=348642&action=review > Source/WebKit/UIProcess/mac/WebColorPickerMac.mm:56 > + __weak id<WKPopoverColorWellDelegate> _webDelegate; I think we typically use WeakObjCPtr for this.
Wenson Hsieh
Comment 11 2018-10-01 19:01:46 PDT
Comment on attachment 348642 [details] Patch We should also make this an experimental feature (by updating WebPreferences.yaml)
Wenson Hsieh
Comment 12 2018-10-08 13:45:06 PDT
Created attachment 351810 [details] Rebase on trunk
Tim Horton
Comment 13 2018-10-08 13:52:22 PDT
Comment on attachment 351810 [details] Rebase on trunk View in context: https://bugs.webkit.org/attachment.cgi?id=351810&action=review > Source/WebKit/Shared/WebPreferences.yaml:1393 > + humanReadableName: "Input type color" This is not a good name for the menu > Source/WebKit/UIProcess/mac/WebColorPickerMac.mm:158 > + return _webDelegate.get().get(); I think this should be getAutoreleased.
Wenson Hsieh
Comment 14 2018-10-08 13:59:15 PDT
Comment on attachment 351810 [details] Rebase on trunk View in context: https://bugs.webkit.org/attachment.cgi?id=351810&action=review >> Source/WebKit/Shared/WebPreferences.yaml:1393 >> + humanReadableName: "Input type color" > > This is not a good name for the menu => "Color Inputs" >> Source/WebKit/UIProcess/mac/WebColorPickerMac.mm:158 >> + return _webDelegate.get().get(); > > I think this should be getAutoreleased. 👍
Wenson Hsieh
Comment 15 2018-10-08 14:30:51 PDT
Created attachment 351815 [details] Patch for landing
WebKit Commit Bot
Comment 16 2018-10-08 15:08:49 PDT
Comment on attachment 351815 [details] Patch for landing Clearing flags on attachment: 351815 Committed r236942: <https://trac.webkit.org/changeset/236942>
WebKit Commit Bot
Comment 17 2018-10-08 15:08:51 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 18 2018-10-08 15:09:40 PDT
Wenson Hsieh
Comment 19 2018-10-08 16:34:04 PDT
Reopening to attach new patch.
Wenson Hsieh
Comment 20 2018-10-08 16:34:06 PDT
Created attachment 351833 [details] Patch for landing
Truitt Savell
Comment 21 2018-10-08 16:39:00 PDT
Looks like this revision: https://trac.webkit.org/changeset/236942/webkit May have caused an API failure. Example: https://build.webkit.org/builders/Apple%20Sierra%20Release%20WK1%20(Tests)/builds/13298 Output: https://build.webkit.org/builders/Apple%20Sierra%20Release%20WK1%20%28Tests%29/builds/13298/steps/run-api-tests/logs/stdio Excerpt: Failed TestWebKitAPI.DragAndDropTests.DropColor /Volumes/Data/slave/sierra-release/build/Tools/TestWebKitAPI/Tests/mac/DragAndDropTestsMac.mm:89 Expected equality of these values: @"#ff0000" Which is: "#ff0000" [webView stringByEvaluatingJavaScript:@"document.querySelector(\"input\").value"] Which is: "#ff2600" Failure seems to be flaky.
Wenson Hsieh
Comment 22 2018-10-08 16:39:58 PDT
(In reply to Truitt Savell from comment #21) > Looks like this revision: https://trac.webkit.org/changeset/236942/webkit > > May have caused an API failure. > > Example: > https://build.webkit.org/builders/Apple%20Sierra%20Release%20WK1%20(Tests)/ > builds/13298 > > Output: > https://build.webkit.org/builders/ > Apple%20Sierra%20Release%20WK1%20%28Tests%29/builds/13298/steps/run-api- > tests/logs/stdio > > Excerpt: > Failed > > TestWebKitAPI.DragAndDropTests.DropColor > > > /Volumes/Data/slave/sierra-release/build/Tools/TestWebKitAPI/Tests/mac/ > DragAndDropTestsMac.mm:89 > Expected equality of these values: > @"#ff0000" > Which is: "#ff0000" > [webView > stringByEvaluatingJavaScript:@"document.querySelector(\"input\").value"] > Which is: "#ff2600" > > Failure seems to be flaky. Ok! Taking a look now...
WebKit Commit Bot
Comment 23 2018-10-08 17:12:01 PDT
Comment on attachment 351833 [details] Patch for landing Clearing flags on attachment: 351833 Committed r236951: <https://trac.webkit.org/changeset/236951>
WebKit Commit Bot
Comment 24 2018-10-08 17:12:03 PDT
All reviewed patches have been landed. Closing bug.
Wenson Hsieh
Comment 25 2018-10-08 18:00:25 PDT
(In reply to Wenson Hsieh from comment #22) > (In reply to Truitt Savell from comment #21) > > Looks like this revision: https://trac.webkit.org/changeset/236942/webkit > > > > May have caused an API failure. > > > > Example: > > https://build.webkit.org/builders/Apple%20Sierra%20Release%20WK1%20(Tests)/ > > builds/13298 > > > > Output: > > https://build.webkit.org/builders/ > > Apple%20Sierra%20Release%20WK1%20%28Tests%29/builds/13298/steps/run-api- > > tests/logs/stdio > > > > Excerpt: > > Failed > > > > TestWebKitAPI.DragAndDropTests.DropColor > > > > > > /Volumes/Data/slave/sierra-release/build/Tools/TestWebKitAPI/Tests/mac/ > > DragAndDropTestsMac.mm:89 > > Expected equality of these values: > > @"#ff0000" > > Which is: "#ff0000" > > [webView > > stringByEvaluatingJavaScript:@"document.querySelector(\"input\").value"] > > Which is: "#ff2600" > > > > Failure seems to be flaky. > > Ok! Taking a look now... Fixing this in <https://bugs.webkit.org/show_bug.cgi?id=190386>.
Note You need to log in before you can comment on or make changes to this bug.