RESOLVED FIXED 173903
Web Replay: remove some unused code
https://bugs.webkit.org/show_bug.cgi?id=173903
Summary Web Replay: remove some unused code
Blaze Burg
Reported 2017-06-27 20:05:30 PDT
.
Attachments
Patch (623.39 KB, patch)
2017-06-27 20:08 PDT, Blaze Burg
no flags
Archive of layout-test-results from ews106 for mac-elcapitan-wk2 (1.24 MB, application/zip)
2017-06-27 21:39 PDT, Build Bot
no flags
Patch (643.92 KB, patch)
2017-06-29 11:30 PDT, Blaze Burg
no flags
Archive of layout-test-results from ews106 for mac-elcapitan-wk2 (1.70 MB, application/zip)
2017-06-29 12:57 PDT, Build Bot
no flags
Patch (643.31 KB, patch)
2017-06-29 15:44 PDT, Blaze Burg
no flags
Patch (643.83 KB, patch)
2017-06-30 09:55 PDT, Blaze Burg
no flags
Patch (643.82 KB, patch)
2017-06-30 15:33 PDT, Blaze Burg
no flags
Patch (643.68 KB, patch)
2017-07-03 16:17 PDT, Blaze Burg
no flags
Patch (644.03 KB, patch)
2017-07-03 16:50 PDT, Blaze Burg
no flags
Archive of layout-test-results from ews104 for mac-elcapitan-wk2 (1.09 MB, application/zip)
2017-07-03 18:17 PDT, Build Bot
no flags
For Landing (626.79 KB, patch)
2017-07-07 10:33 PDT, Blaze Burg
no flags
For Landing (625.52 KB, patch)
2017-07-07 13:10 PDT, Blaze Burg
joepeck: review+
Blaze Burg
Comment 1 2017-06-27 20:08:56 PDT
Build Bot
Comment 2 2017-06-27 20:13:31 PDT
Attachment 313978 [details] did not pass style-queue: ERROR: Source/WebCore/Configurations/FeatureDefines.xcconfig:0: Any changes made to FeatureDefines should be made to all of them (changed file does not match Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible. [featuredefines/equality] [5] ERROR: Source/WebCore/PAL/Configurations/FeatureDefines.xcconfig:0: Any changes made to FeatureDefines should be made to all of them (changed file does not match Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible. [featuredefines/equality] [5] ERROR: Source/WebKit/mac/Configurations/FeatureDefines.xcconfig:0: Any changes made to FeatureDefines should be made to all of them (changed file does not match Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible. [featuredefines/equality] [5] ERROR: Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig:0: Any changes made to FeatureDefines should be made to all of them (changed file does not match Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible. [featuredefines/equality] [5] ERROR: Source/WebKit2/Configurations/FeatureDefines.xcconfig:0: Any changes made to FeatureDefines should be made to all of them (changed file does not match Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible. [featuredefines/equality] [5] Total errors found: 5 in 21 files If any of these errors are false positives, please file a bug against check-webkit-style.
Joseph Pecoraro
Comment 3 2017-06-27 20:23:22 PDT
Comment on attachment 313978 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=313978&action=review rs=me > Source/JavaScriptCore/ChangeLog:9 > + * Configurations/FeatureDefines.xcconfig: This misses: TestWebKitAPI/Configurations/FeatureDefines.xcconfig > Source/WebCore/PlatformMac.cmake:-91 > - "${WEBCORE_DIR}/ForwardingHeaders/replay" You should be removing this directory as well. it contains: ./Source/WebCore/ForwardingHeaders/replay ./Source/WebCore/ForwardingHeaders/replay/EncodedValue.h ./Source/WebCore/ForwardingHeaders/replay/NondeterministicInput.h ./Source/WebCore/ForwardingHeaders/replay/InputCursor.h ./Source/WebCore/ForwardingHeaders/replay/EmptyInputCursor.h > LayoutTests/ChangeLog:13 > + * inspector/replay/window-navigator-plugins-memoized.html: Removed. TestExpectations: $ find-expectations 'inspector/replay' LayoutTests/TestExpectations:184:webkit.org/b/148036 http/tests/inspector/replay/ [ Skip ] LayoutTests/TestExpectations:201:webkit.org/b/137130 inspector/replay [ Skip ] LayoutTests/TestExpectations:210:webkit.org/b/131318 http/tests/inspector/replay/document-last-modified-fallback-value.html [ Skip ] Another directory of tests: http/tests/inspector/replay
Build Bot
Comment 4 2017-06-27 21:39:44 PDT
Comment on attachment 313978 [details] Patch Attachment 313978 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/4011187 New failing tests: fast/frames/iframe-window-focus.html fast/scrolling/scroll-animator-select-list-events.html fast/events/keyevent-iframe-removed-crash.html fast/scrolling/scroll-animator-basic-events.html fast/scrolling/scroll-animator-overlay-scrollbars-clicked.html fast/events/keydown-1.html fast/events/keypress-focus-change.html editing/input/option-page-up-down.html fast/events/recorded-keydown-event.html pageoverlay/overlay-small-frame-mouse-events.html editing/input/scroll-viewport-page-up-down.html fast/scrolling/scroll-animator-overlay-scrollbars-hovered.html fast/dom/access-key-iframe.html
Build Bot
Comment 5 2017-06-27 21:39:46 PDT
Created attachment 313986 [details] Archive of layout-test-results from ews106 for mac-elcapitan-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
Blaze Burg
Comment 6 2017-06-29 11:30:53 PDT
Build Bot
Comment 7 2017-06-29 12:57:39 PDT
Comment on attachment 314146 [details] Patch Attachment 314146 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/4020897 New failing tests: pageoverlay/overlay-small-frame-mouse-events.html fast/scrolling/scroll-animator-overlay-scrollbars-clicked.html fast/scrolling/scroll-animator-basic-events.html fast/scrolling/scroll-animator-select-list-events.html fast/scrolling/scroll-animator-overlay-scrollbars-hovered.html
Build Bot
Comment 8 2017-06-29 12:57:40 PDT
Created attachment 314155 [details] Archive of layout-test-results from ews106 for mac-elcapitan-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
Blaze Burg
Comment 9 2017-06-29 15:44:33 PDT
Joseph Pecoraro
Comment 10 2017-06-29 16:47:53 PDT
Bots are failing to build: > /usr/lib/ccache/c++ Source/WebCore/page/Page.cpp > /home/ews/ltilve-gtk-wk2-ews/WebKit/Source/WebCore/page/Page.cpp:105:29: fatal error: UserInputBridge.h: No such file or directory > #include "UserInputBridge.h" > ^ > compilation terminated.
Blaze Burg
Comment 11 2017-06-30 09:55:52 PDT
Joseph Pecoraro
Comment 12 2017-06-30 10:41:41 PDT
> Source/WebKit2/WebProcess/WebPage/WebPage.cpp:2399:72: error: 'class WebCore::EventHandler' has no member named 'handleKeyEvent'; did you mean 'handleWheelEvent'? > return page->focusController().focusedOrMainFrame().eventHandler().handleKeyEvent(platform(keyboardEvent)); > ^~~~~~~~~~~~~~
Blaze Burg
Comment 13 2017-06-30 15:33:35 PDT
Blaze Burg
Comment 14 2017-07-03 16:17:46 PDT
Blaze Burg
Comment 15 2017-07-03 16:50:32 PDT
Build Bot
Comment 16 2017-07-03 16:54:53 PDT
Attachment 314538 [details] did not pass style-queue: ERROR: Source/WebCore/Configurations/FeatureDefines.xcconfig:0: Any changes made to FeatureDefines should be made to all of them (changed file does not match Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible. [featuredefines/equality] [5] ERROR: Source/WebCore/PAL/Configurations/FeatureDefines.xcconfig:0: Any changes made to FeatureDefines should be made to all of them (changed file does not match Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible. [featuredefines/equality] [5] ERROR: Source/WebKit/mac/Configurations/FeatureDefines.xcconfig:0: Any changes made to FeatureDefines should be made to all of them (changed file does not match Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible. [featuredefines/equality] [5] ERROR: Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig:0: Any changes made to FeatureDefines should be made to all of them (changed file does not match Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible. [featuredefines/equality] [5] ERROR: Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig:0: Any changes made to FeatureDefines should be made to all of them (changed file does not match Source/WebKit2/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible. [featuredefines/equality] [5] Total errors found: 5 in 22 files If any of these errors are false positives, please file a bug against check-webkit-style.
Build Bot
Comment 17 2017-07-03 18:17:53 PDT
Comment on attachment 314538 [details] Patch Attachment 314538 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/4047777 New failing tests: pageoverlay/overlay-small-frame-mouse-events.html fast/scrolling/scroll-animator-overlay-scrollbars-clicked.html fast/scrolling/scroll-animator-basic-events.html fast/scrolling/scroll-animator-select-list-events.html fast/scrolling/scroll-animator-overlay-scrollbars-hovered.html
Build Bot
Comment 18 2017-07-03 18:17:55 PDT
Created attachment 314543 [details] Archive of layout-test-results from ews104 for mac-elcapitan-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews104 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
Joseph Pecoraro
Comment 19 2017-07-03 19:12:25 PDT
Comment on attachment 314538 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=314538&action=review > Source/WebKit2/WebProcess/WebPage/WebPage.cpp:2311 > - return page->corePage()->userInputBridge().handleMouseMoveOnScrollbarEvent(platformMouseEvent); > - return page->corePage()->userInputBridge().handleMouseMoveEvent(platformMouseEvent); > + return frame.eventHandler().passMouseMovedEventToScrollbars(platformMouseEvent); > + return frame.eventHandler().handleMouseMoveEvent(platformMouseEvent); Interesting that these are using `frame`. It looks like UserInputBridge would have used the equivalent of `page->mainFrame()` for some of these. Its possible that using the specific frame is correct, in which case maybe these few failing tests need to be updated.
Blaze Burg
Comment 20 2017-07-07 10:33:53 PDT
Created attachment 314853 [details] For Landing
Build Bot
Comment 21 2017-07-07 10:38:43 PDT
Attachment 314853 [details] did not pass style-queue: ERROR: Source/WebCore/Configurations/FeatureDefines.xcconfig:0: Any changes made to FeatureDefines should be made to all of them (changed file does not match Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible. [featuredefines/equality] [5] ERROR: Source/WebCore/PAL/Configurations/FeatureDefines.xcconfig:0: Any changes made to FeatureDefines should be made to all of them (changed file does not match Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible. [featuredefines/equality] [5] ERROR: Source/WebKit/mac/Configurations/FeatureDefines.xcconfig:0: Any changes made to FeatureDefines should be made to all of them (changed file does not match Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible. [featuredefines/equality] [5] ERROR: Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig:0: Any changes made to FeatureDefines should be made to all of them (changed file does not match Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible. [featuredefines/equality] [5] ERROR: Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig:0: Any changes made to FeatureDefines should be made to all of them (changed file does not match Source/WebKit2/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible. [featuredefines/equality] [5] Total errors found: 5 in 21 files If any of these errors are false positives, please file a bug against check-webkit-style.
Blaze Burg
Comment 22 2017-07-07 13:10:52 PDT
Created attachment 314866 [details] For Landing
Build Bot
Comment 23 2017-07-07 13:14:02 PDT
Attachment 314866 [details] did not pass style-queue: ERROR: Source/WebCore/Configurations/FeatureDefines.xcconfig:0: Any changes made to FeatureDefines should be made to all of them (changed file does not match Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible. [featuredefines/equality] [5] ERROR: Source/WebCore/PAL/Configurations/FeatureDefines.xcconfig:0: Any changes made to FeatureDefines should be made to all of them (changed file does not match Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible. [featuredefines/equality] [5] ERROR: Source/WebKit/mac/Configurations/FeatureDefines.xcconfig:0: Any changes made to FeatureDefines should be made to all of them (changed file does not match Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible. [featuredefines/equality] [5] ERROR: Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig:0: Any changes made to FeatureDefines should be made to all of them (changed file does not match Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible. [featuredefines/equality] [5] ERROR: Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig:0: Any changes made to FeatureDefines should be made to all of them (changed file does not match Source/WebKit2/Configurations/FeatureDefines.xcconfig). Use sync-feature-defines if possible. [featuredefines/equality] [5] Total errors found: 5 in 21 files If any of these errors are false positives, please file a bug against check-webkit-style.
Joseph Pecoraro
Comment 24 2017-07-07 14:15:47 PDT
Comment on attachment 314866 [details] For Landing rs=me. The style bot is complaining about mismatched xcconfigs, so we should resolve that.
Blaze Burg
Comment 25 2017-07-07 14:27:04 PDT
(In reply to Joseph Pecoraro from comment #24) > Comment on attachment 314866 [details] > For Landing > > rs=me. > > The style bot is complaining about mismatched xcconfigs, so we should > resolve that. ENABLE_WEB_REPLAY never got into that feature defines file, so it's confused.
Blaze Burg
Comment 26 2017-07-10 11:24:33 PDT
Note You need to log in before you can comment on or make changes to this bug.