| Summary: | Web Inspector: user gesture toggle should also force user interaction flag | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Devin Rousso <hi> | ||||||||||||||
| Component: | Web Inspector | Assignee: | Devin Rousso <hi> | ||||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||||
| Severity: | Normal | CC: | commit-queue, dino, ews-watchlist, hi, inspector-bugzilla-changes, joepeck, rniwa, webkit-bug-importer, wenson_hsieh | ||||||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||||||
| Version: | WebKit Nightly Build | ||||||||||||||||
| Hardware: | All | ||||||||||||||||
| OS: | All | ||||||||||||||||
| Bug Depends on: | 194725 | ||||||||||||||||
| Bug Blocks: | |||||||||||||||||
| Attachments: |
|
||||||||||||||||
|
Description
Devin Rousso
2019-04-24 20:35:59 PDT
Created attachment 368209 [details]
Patch
Attachment 368209 [details] did not pass style-queue:
ERROR: Source/WebCore/page/ChromeClient.h:506: Inline functions should not be in classes annotated with WEBCORE_EXPORT. Remove the macro from the class and apply it to each appropriate method, or move the inline function definition out-of-line. [build/webcore_export] [4]
ERROR: Source/WebCore/page/ChromeClient.h:507: Inline functions should not be in classes annotated with WEBCORE_EXPORT. Remove the macro from the class and apply it to each appropriate method, or move the inline function definition out-of-line. [build/webcore_export] [4]
Total errors found: 2 in 12 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 368209 [details] Patch Attachment 368209 [details] did not pass mac-ews (mac): Output: https://webkit-queues.webkit.org/results/11992081 New failing tests: inspector/runtime/evaluate-userGestureEmulation.html Created attachment 368214 [details]
Archive of layout-test-results from ews102 for mac-highsierra
The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews102 Port: mac-highsierra Platform: Mac OS X 10.13.6
Comment on attachment 368209 [details] Patch Attachment 368209 [details] did not pass mac-debug-ews (mac): Output: https://webkit-queues.webkit.org/results/11992126 New failing tests: inspector/runtime/evaluate-userGestureEmulation.html Created attachment 368216 [details]
Archive of layout-test-results from ews117 for mac-highsierra
The attached test failures were seen while running run-webkit-tests on the mac-debug-ews.
Bot: ews117 Port: mac-highsierra Platform: Mac OS X 10.13.6
Created attachment 368362 [details]
Patch
Attachment 368362 [details] did not pass style-queue:
ERROR: Source/WebCore/page/ChromeClient.h:506: Inline functions should not be in classes annotated with WEBCORE_EXPORT. Remove the macro from the class and apply it to each appropriate method, or move the inline function definition out-of-line. [build/webcore_export] [4]
ERROR: Source/WebCore/page/ChromeClient.h:507: Inline functions should not be in classes annotated with WEBCORE_EXPORT. Remove the macro from the class and apply it to each appropriate method, or move the inline function definition out-of-line. [build/webcore_export] [4]
Total errors found: 2 in 15 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 368362 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=368362&action=review > Source/WebCore/page/ChromeClient.h:507 > + virtual void setUserIsInteracting(bool /* userIsInteracting */) { } The comment doesn't seem useful over just a `(bool)`. > LayoutTests/inspector/runtime/evaluate-userGestureEmulation-userIsInteracting-expected.txt:6 > +-- Running test case: EvaluateWithoutEmulatingUserGesture.userIsInteracting > +User is interacting Seems this line should be `User is not Interacting`. That is what this change is trying to address, right? > LayoutTests/inspector/runtime/evaluate-userGestureEmulation-userIsInteracting.html:12 > + TestPage.addResult(window.internals.userIsInteracting() ? "User is interacting" : "User is not Interacting"); Nit: Keep the case the same. Maybe: User is Interacting User is NOT Interacting Comment on attachment 368362 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=368362&action=review > Source/WebCore/inspector/agents/page/PageRuntimeAgent.cpp:172 > + bool userWasInteracting = pageChromeClient.userIsInteracting(); > + if (!userWasInteracting) Seems this condition should probably be: if (!userWasInteracting && emulateUserGesture) Otherwise it will always setting interaction even if `emulateUserGesture` was not true. Created attachment 369037 [details]
Patch
Attachment 369037 [details] did not pass style-queue:
ERROR: Source/WebCore/page/ChromeClient.h:506: Inline functions should not be in classes annotated with WEBCORE_EXPORT. Remove the macro from the class and apply it to each appropriate method, or move the inline function definition out-of-line. [build/webcore_export] [4]
ERROR: Source/WebCore/page/ChromeClient.h:507: Inline functions should not be in classes annotated with WEBCORE_EXPORT. Remove the macro from the class and apply it to each appropriate method, or move the inline function definition out-of-line. [build/webcore_export] [4]
Total errors found: 2 in 15 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 369037 [details] Patch Attachment 369037 [details] did not pass win-ews (win): Output: https://webkit-queues.webkit.org/results/12095765 New failing tests: http/tests/css/filters-on-iframes.html Created attachment 369046 [details]
Archive of layout-test-results from ews215 for win-future
The attached test failures were seen while running run-webkit-tests on the win-ews.
Bot: ews215 Port: win-future Platform: CYGWIN_NT-10.0-17763-3.0.5-338.x86_64-x86_64-64bit
Comment on attachment 369037 [details]
Patch
r=me
Comment on attachment 369037 [details] Patch Clearing flags on attachment: 369037 Committed r245366: <https://trac.webkit.org/changeset/245366> All reviewed patches have been landed. Closing bug. |