RESOLVED FIXED 187050
Remove quarantine for Webex plugin
https://bugs.webkit.org/show_bug.cgi?id=187050
Summary Remove quarantine for Webex plugin
youenn fablet
Reported 2018-06-26 09:55:09 PDT
Remove quarantine for Webex plugin
Attachments
Patch (4.78 KB, patch)
2018-06-26 09:58 PDT, youenn fablet
no flags
Patch for landing (4.83 KB, patch)
2018-06-26 17:13 PDT, youenn fablet
no flags
Using qtn_proc_init if qtn_proc_init_with_self fails (6.61 KB, patch)
2018-07-03 16:22 PDT, youenn fablet
no flags
youenn fablet
Comment 1 2018-06-26 09:58:57 PDT
Brent Fulgham
Comment 2 2018-06-26 10:26:23 PDT
Comment on attachment 343613 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=343613&action=review r=me > Source/WebKit/ChangeLog:4 > + https://bugs.webkit.org/show_bug.cgi?id=187050 Radar, please! :-)
Radar WebKit Bug Importer
Comment 3 2018-06-26 10:27:08 PDT
youenn fablet
Comment 4 2018-06-26 17:13:56 PDT
Created attachment 343662 [details] Patch for landing
youenn fablet
Comment 5 2018-06-26 17:14:21 PDT
(In reply to Brent Fulgham from comment #2) > Comment on attachment 343613 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=343613&action=review > > r=me > > > Source/WebKit/ChangeLog:4 > > + https://bugs.webkit.org/show_bug.cgi?id=187050 > > Radar, please! :-) Thanks for the review, added radar link.
WebKit Commit Bot
Comment 6 2018-06-26 17:31:50 PDT
Comment on attachment 343662 [details] Patch for landing Clearing flags on attachment: 343662 Committed r233232: <https://trac.webkit.org/changeset/233232>
WebKit Commit Bot
Comment 7 2018-06-26 17:31:51 PDT
All reviewed patches have been landed. Closing bug.
WebKit Commit Bot
Comment 8 2018-06-26 21:33:40 PDT
Re-opened since this is blocked by bug 187081
youenn fablet
Comment 9 2018-07-03 16:22:10 PDT
Created attachment 344237 [details] Using qtn_proc_init if qtn_proc_init_with_self fails
EWS Watchlist
Comment 10 2018-07-03 16:23:22 PDT
Attachment 344237 [details] did not pass style-queue: ERROR: Source/WebKit/Platform/spi/mac/QuarantineSPI.h:54: qtn_proc_init is incorrectly named. Don't use underscores in your identifier names. [readability/naming/underscores] [4] Total errors found: 1 in 7 files If any of these errors are false positives, please file a bug against check-webkit-style.
Brent Fulgham
Comment 11 2018-07-03 16:52:49 PDT
Comment on attachment 344237 [details] Using qtn_proc_init if qtn_proc_init_with_self fails View in context: https://bugs.webkit.org/attachment.cgi?id=344237&action=review > Source/WebKit/PluginProcess/PluginProcess.h:78 > + bool shouldOverrideQuarantine() final; I feel like this would be better named "shouldEnableQuarantine()" rather than override. This really is the default case (we only "Don't Override" for WebEx). > Source/WebKit/PluginProcess/mac/PluginProcessMac.mm:697 > + return m_pluginBundleIdentifier != "com.cisco.webex.plugin.gpc64"; Is there a 32-bit version we need to worry about?
youenn fablet
Comment 12 2018-07-03 20:03:59 PDT
(In reply to Brent Fulgham from comment #11) > Comment on attachment 344237 [details] > Using qtn_proc_init if qtn_proc_init_with_self fails > > View in context: > https://bugs.webkit.org/attachment.cgi?id=344237&action=review > > > Source/WebKit/PluginProcess/PluginProcess.h:78 > > + bool shouldOverrideQuarantine() final; > > I feel like this would be better named "shouldEnableQuarantine()" rather > than override. This really is the default case (we only "Don't Override" for > WebEx). I was initially ok with the renaming but looking further in the code, overriding seems the right term. There is a default value in Info.plist for WebContent/Network/Storage/Plugin processes and we sometimes override it. Given the current Info.plist, we do not really need to 'override' the value fo WebContent/Network/Storage processes since LSFileQuarantineEnabled is already set to true for all of them. > > Source/WebKit/PluginProcess/mac/PluginProcessMac.mm:697 > > + return m_pluginBundleIdentifier != "com.cisco.webex.plugin.gpc64"; > > Is there a 32-bit version we need to worry about? I only encountered this one so we should be good there.
WebKit Commit Bot
Comment 13 2018-07-03 20:32:12 PDT
Comment on attachment 344237 [details] Using qtn_proc_init if qtn_proc_init_with_self fails Clearing flags on attachment: 344237 Committed r233497: <https://trac.webkit.org/changeset/233497>
WebKit Commit Bot
Comment 14 2018-07-03 20:32:14 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.