RESOLVED FIXED 183166
[Win][DRT] Implement setSpatialNavigationEnabled.
https://bugs.webkit.org/show_bug.cgi?id=183166
Summary [Win][DRT] Implement setSpatialNavigationEnabled.
Ross Kirsling
Reported 2018-02-27 11:42:20 PST
[WinCairo][DRT] Implement setSpatialNavigationEnabled.
Attachments
Patch (10.44 KB, patch)
2018-02-27 11:46 PST, Ross Kirsling
no flags
Patch (11.31 KB, patch)
2018-02-27 13:16 PST, Ross Kirsling
no flags
Archive of layout-test-results from ews202 for win-future (11.59 MB, application/zip)
2018-02-27 14:55 PST, EWS Watchlist
no flags
Patch (12.50 KB, patch)
2018-02-27 15:06 PST, Ross Kirsling
no flags
Patch (12.27 KB, patch)
2018-02-28 11:33 PST, Ross Kirsling
no flags
Patch (12.27 KB, patch)
2018-02-28 13:53 PST, Ross Kirsling
no flags
Patch (12.26 KB, patch)
2018-03-01 11:22 PST, Ross Kirsling
no flags
Ross Kirsling
Comment 1 2018-02-27 11:46:36 PST
Ross Kirsling
Comment 2 2018-02-27 11:54:53 PST
I'm just focusing on WinCairo here, but let me know if you'd like me to remove the Skip line from AppleWin TestExpectations as well: https://github.com/WebKit/webkit/blob/master/LayoutTests/platform/win/TestExpectations#L228-L229
Ross Kirsling
Comment 3 2018-02-27 13:16:31 PST
Ross Kirsling
Comment 4 2018-02-27 13:17:12 PST
Comment on attachment 334704 [details] Patch ...figured if I was going to bother to mention it, I should just go ahead and do it.
Ross Kirsling
Comment 5 2018-02-27 14:08:43 PST
The WinCairo failure here is a CMake fluke (no code was changed from the previous patch); I've made a bug for it here: https://bugs.webkit.org/show_bug.cgi?id=183177
EWS Watchlist
Comment 6 2018-02-27 14:55:14 PST
Comment on attachment 334704 [details] Patch Attachment 334704 [details] did not pass win-ews (win): Output: http://webkit-queues.webkit.org/results/6695928 New failing tests: fast/spatial-navigation/snav-multiple-select-focusring.html
EWS Watchlist
Comment 7 2018-02-27 14:55:24 PST
Created attachment 334707 [details] Archive of layout-test-results from ews202 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews202 Port: win-future Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
Ross Kirsling
Comment 8 2018-02-27 15:06:02 PST
Per Arne Vollan
Comment 9 2018-02-28 10:57:32 PST
Comment on attachment 334708 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=334708&action=review > Source/WebKitLegacy/win/Interfaces/IWebPreferencesPrivate.idl:123 > + HRESULT isSpatialNavigationEnabled([out, retval] BOOL *enabled); > + HRESULT setSpatialNavigationEnabled([in] BOOL enabled); I think you need to add this to the end of IWebPreferencesPrivate6, or create IWebPreferencesPrivate7, and add these methods there.
Ross Kirsling
Comment 10 2018-02-28 11:33:00 PST
Ross Kirsling
Comment 11 2018-02-28 13:53:16 PST
Ross Kirsling
Comment 12 2018-02-28 15:02:29 PST
Thanks, I think this should be correct now.
Per Arne Vollan
Comment 13 2018-03-01 10:24:29 PST
Comment on attachment 334765 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=334765&action=review > Source/WebKitLegacy/win/Interfaces/IWebPreferencesPrivate.idl:224 > + HRESULT isSpatialNavigationEnabled([out, retval] BOOL *enabled); I think we usually would use 'spatialNavigationEnabled()' here.
Ross Kirsling
Comment 14 2018-03-01 10:28:22 PST
(In reply to Per Arne Vollan from comment #13) > Comment on attachment 334765 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=334765&action=review > > > Source/WebKitLegacy/win/Interfaces/IWebPreferencesPrivate.idl:224 > > + HRESULT isSpatialNavigationEnabled([out, retval] BOOL *enabled); > > I think we usually would use 'spatialNavigationEnabled()' here. I was just mimicking "isXSSAuditorEnabled", but I'm happy to do either.
Ross Kirsling
Comment 15 2018-03-01 11:22:17 PST
Per Arne Vollan
Comment 16 2018-03-01 11:26:10 PST
Comment on attachment 334828 [details] Patch R=me as long as ews is green.
Don Olmstead
Comment 17 2018-03-01 12:43:28 PST
(In reply to Per Arne Vollan from comment #16) > Comment on attachment 334828 [details] > Patch > > R=me as long as ews is green. On WinCairo we seem to be hitting https://bugs.webkit.org/show_bug.cgi?id=183177 with this patch. We're fine with landing it as is.
WebKit Commit Bot
Comment 18 2018-03-01 13:50:46 PST
Comment on attachment 334828 [details] Patch Clearing flags on attachment: 334828 Committed r229143: <https://trac.webkit.org/changeset/229143>
WebKit Commit Bot
Comment 19 2018-03-01 13:50:48 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 20 2018-03-01 13:52:09 PST
Note You need to log in before you can comment on or make changes to this bug.