RESOLVED FIXED 198615
Remove Dashboard support
https://bugs.webkit.org/show_bug.cgi?id=198615
Summary Remove Dashboard support
Sam Weinig
Reported 2019-06-06 11:33:26 PDT
Remove Dashboard support
Attachments
Patch (242.96 KB, patch)
2019-06-06 11:39 PDT, Sam Weinig
no flags
Patch (242.95 KB, patch)
2019-06-06 11:44 PDT, Sam Weinig
no flags
Patch (242.96 KB, patch)
2019-06-06 16:37 PDT, Sam Weinig
no flags
Patch (242.81 KB, patch)
2019-06-06 16:58 PDT, Sam Weinig
no flags
Patch (243.37 KB, patch)
2019-06-06 17:27 PDT, Sam Weinig
ews-watchlist: commit-queue-
Archive of layout-test-results from ews101 for mac-highsierra (3.24 MB, application/zip)
2019-06-06 18:53 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews107 for mac-highsierra-wk2 (3.13 MB, application/zip)
2019-06-06 19:05 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews112 for mac-highsierra (3.04 MB, application/zip)
2019-06-06 19:32 PDT, EWS Watchlist
no flags
Patch (243.46 KB, patch)
2019-06-09 11:26 PDT, Sam Weinig
ews-watchlist: commit-queue-
Archive of layout-test-results from ews101 for mac-highsierra (3.22 MB, application/zip)
2019-06-09 12:57 PDT, EWS Watchlist
no flags
Archive of layout-test-results from ews112 for mac-highsierra (3.07 MB, application/zip)
2019-06-09 13:37 PDT, EWS Watchlist
no flags
Patch (243.36 KB, patch)
2019-06-09 16:36 PDT, Sam Weinig
rniwa: review+
rniwa: commit-queue-
For landing (243.38 KB, patch)
2019-06-10 14:32 PDT, Sam Weinig
no flags
Sam Weinig
Comment 1 2019-06-06 11:39:14 PDT Comment hidden (obsolete)
Sam Weinig
Comment 2 2019-06-06 11:44:37 PDT Comment hidden (obsolete)
Tim Horton
Comment 3 2019-06-06 15:42:29 PDT
Comment on attachment 371516 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=371516&action=review > Source/WebCore/css/CSSPrimitiveValue.h:114 > - CSS_UNICODE_RANGE = 102, > + CSS_UNICODE_RANGE = 101, Odd, are these all explicit numbers for a reason? > Source/WebCore/css/StyleResolver.cpp:-121 > -#if ENABLE(DASHBOARD_SUPPORT) > -#endif > - > -#if ENABLE(VIDEO_TRACK) > -#endif WTF > Tools/DumpRenderTree/mac/Configurations/Base.xcconfig:47 > GCC_PREPROCESSOR_DEFINITIONS = $(DEBUG_DEFINES) U_DISABLE_RENAMING=1 U_SHOW_CPLUSPLUS_API=0 $(GCC_PREPROCESSOR_DEFINITIONS_$(PLATFORM_NAME)); Do we need this anymore? > Tools/ImageDiff/cg/Configurations/Base.xcconfig:38 > GCC_PREPROCESSOR_DEFINITIONS = $(DEBUG_DEFINES) $(GCC_PREPROCESSOR_DEFINITIONS_$(PLATFORM_NAME)); Do we need this anymore?
Sam Weinig
Comment 4 2019-06-06 15:55:32 PDT
(In reply to Tim Horton from comment #3) > Comment on attachment 371516 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=371516&action=review > > > Source/WebCore/css/CSSPrimitiveValue.h:114 > > - CSS_UNICODE_RANGE = 102, > > + CSS_UNICODE_RANGE = 101, > > Odd, are these all explicit numbers for a reason? I was wondering that too. They also aren't IDL constants or anything, so they can probably not shout at us. I'll modernize it as a follow up. > > > Source/WebCore/css/StyleResolver.cpp:-121 > > -#if ENABLE(DASHBOARD_SUPPORT) > > -#endif > > - > > -#if ENABLE(VIDEO_TRACK) > > -#endif > > WTF > > > Tools/DumpRenderTree/mac/Configurations/Base.xcconfig:47 > > GCC_PREPROCESSOR_DEFINITIONS = $(DEBUG_DEFINES) U_DISABLE_RENAMING=1 U_SHOW_CPLUSPLUS_API=0 $(GCC_PREPROCESSOR_DEFINITIONS_$(PLATFORM_NAME)); > > Do we need this anymore? Nope, will fix. > > > Tools/ImageDiff/cg/Configurations/Base.xcconfig:38 > > GCC_PREPROCESSOR_DEFINITIONS = $(DEBUG_DEFINES) $(GCC_PREPROCESSOR_DEFINITIONS_$(PLATFORM_NAME)); > > Do we need this anymore? Nope, will fix.
Sam Weinig
Comment 5 2019-06-06 16:21:03 PDT
*** Bug 198624 has been marked as a duplicate of this bug. ***
Sam Weinig
Comment 6 2019-06-06 16:37:27 PDT Comment hidden (obsolete)
Sam Weinig
Comment 7 2019-06-06 16:56:01 PDT
Anyone know what's going on with the inability to apply the change? Failed to find the property value for the SVN property "svn:mergeinfo": "Deleted: svn:mime-type ". at /home/ews-gtk/WebKit/Tools/Scripts/VCSUtils.pm line 1546, <ARGV> line 4056.
Sam Weinig
Comment 8 2019-06-06 16:58:15 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 9 2019-06-06 17:01:39 PDT Comment hidden (obsolete)
Sam Weinig
Comment 10 2019-06-06 17:27:18 PDT
Sam Weinig
Comment 11 2019-06-06 17:31:39 PDT
(In reply to Sam Weinig from comment #7) > Anyone know what's going on with the inability to apply the change? > > Failed to find the property value for the SVN property "svn:mergeinfo": > "Deleted: svn:mime-type > ". at /home/ews-gtk/WebKit/Tools/Scripts/VCSUtils.pm line 1546, <ARGV> line > 4056. I just manually removed the svn:mergeinfo lines from the patch and it seems to work. Fun.
EWS Watchlist
Comment 12 2019-06-06 17:31:56 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 13 2019-06-06 18:53:45 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 14 2019-06-06 18:53:47 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 15 2019-06-06 19:05:52 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 16 2019-06-06 19:05:54 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 17 2019-06-06 19:32:23 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 18 2019-06-06 19:32:25 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 19 2019-06-06 20:03:25 PDT Comment hidden (obsolete)
Sam Weinig
Comment 20 2019-06-09 11:26:58 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 21 2019-06-09 12:57:51 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 22 2019-06-09 12:57:52 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 23 2019-06-09 13:37:38 PDT Comment hidden (obsolete)
EWS Watchlist
Comment 24 2019-06-09 13:37:39 PDT Comment hidden (obsolete)
Sam Weinig
Comment 25 2019-06-09 16:36:08 PDT
Ryosuke Niwa
Comment 26 2019-06-10 12:51:00 PDT
Windows failure: C:/cygwin/home/buildbot/WebKit/WebKitBuild/Release/lib32/TestNetscapePlugIn.exp c:\cygwin\home\buildbot\webkit\tools\dumprendertree\win\testrunnerwin.cpp(695): error C2039: 'setUseDashboardCompatibilityMode': is not a member of 'TestRunner'
Darin Adler
Comment 27 2019-06-10 13:39:27 PDT
Comment on attachment 371714 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=371714&action=review Exciting patch. Those "FIXME: Remove" comments are calling my name! > Source/WebKitLegacy/mac/WebView/WebClipView.mm:-187 > -- (void)scrollWheel:(NSEvent *)event > -{ > - NSView *docView = [self documentView]; > - if ([docView respondsToSelector:@selector(_webView)]) { > -#if ENABLE(DASHBOARD_SUPPORT) > - WebView *wv = [docView _webView]; > - if ([wv _dashboardBehavior:WebDashboardBehaviorAllowWheelScrolling]) { > - [super scrollWheel:event]; > - } > -#endif > - return; > - } > - [super scrollWheel:event]; > -} This is a behavior change. Before, this would just return and not call super if the documentView responds to the selector _webView. Is the behavior change an accident, or intentional?
Sam Weinig
Comment 28 2019-06-10 14:30:56 PDT
(In reply to Darin Adler from comment #27) > Comment on attachment 371714 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=371714&action=review > > Exciting patch. Those "FIXME: Remove" comments are calling my name! > > > Source/WebKitLegacy/mac/WebView/WebClipView.mm:-187 > > -- (void)scrollWheel:(NSEvent *)event > > -{ > > - NSView *docView = [self documentView]; > > - if ([docView respondsToSelector:@selector(_webView)]) { > > -#if ENABLE(DASHBOARD_SUPPORT) > > - WebView *wv = [docView _webView]; > > - if ([wv _dashboardBehavior:WebDashboardBehaviorAllowWheelScrolling]) { > > - [super scrollWheel:event]; > > - } > > -#endif > > - return; > > - } > > - [super scrollWheel:event]; > > -} > > This is a behavior change. Before, this would just return and not call super > if the documentView responds to the selector _webView. > > Is the behavior change an accident, or intentional? I actually don't think this is a behavior change since this method is only ever called in mac Legacy WebKit, where ENABLE(DASHBOARD_SUPPORT) was true, and [wv _dashboardBehavior:WebDashboardBehaviorAllowWheelScrolling] always returned true by default (this is due to the underlying value, dashboardBehaviorAllowWheelScrolling in WebViewData.mm being initialized to YES, unlike it's peers, that default initialize to NO).
Sam Weinig
Comment 29 2019-06-10 14:32:07 PDT
Created attachment 371776 [details] For landing
WebKit Commit Bot
Comment 30 2019-06-10 15:16:45 PDT
Comment on attachment 371776 [details] For landing Clearing flags on attachment: 371776 Committed r246285: <https://trac.webkit.org/changeset/246285>
Darin Adler
Comment 31 2019-06-10 15:53:19 PDT
Comment on attachment 371714 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=371714&action=review >>> Source/WebKitLegacy/mac/WebView/WebClipView.mm:-187 >>> -} >> >> This is a behavior change. Before, this would just return and not call super if the documentView responds to the selector _webView. >> >> Is the behavior change an accident, or intentional? > > I actually don't think this is a behavior change since this method is only ever called in mac Legacy WebKit, where ENABLE(DASHBOARD_SUPPORT) was true, and [wv _dashboardBehavior:WebDashboardBehaviorAllowWheelScrolling] always returned true by default (this is due to the underlying value, dashboardBehaviorAllowWheelScrolling in WebViewData.mm being initialized to YES, unlike it's peers, that default initialize to NO). Great! I’m relieved to hear that.
Radar WebKit Bug Importer
Comment 32 2019-06-10 18:13:25 PDT
Note You need to log in before you can comment on or make changes to this bug.