WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
ASSIGNED
Bug 194515
[WKTR] Unify setup for content extensions tests among ports
https://bugs.webkit.org/show_bug.cgi?id=194515
Summary
[WKTR] Unify setup for content extensions tests among ports
Adrian Perez
Reported
2019-02-11 14:16:51 PST
After
bug #193622
the WPE and GTK ports both use the same code for configuring content extensions in WKTR, using the C API. Ideally the Cocoa port would use the same as well, and avoid needing to have its own implementation.
Attachments
Patch
(6.50 KB, patch)
2019-02-12 10:10 PST
,
Adrian Perez
mcatanzaro
: review-
ews-watchlist
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from ews107 for mac-highsierra-wk2
(560.76 KB, application/zip)
2019-02-12 11:01 PST
,
EWS Watchlist
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Michael Catanzaro
Comment 1
2019-02-11 15:40:46 PST
This might even come for free, now that you fixed that one refcounting issue.
Adrian Perez
Comment 2
2019-02-12 10:00:46 PST
(In reply to Michael Catanzaro from
comment #1
)
> This might even come for free, now that you fixed that one refcounting issue.
It may help, yes :)
Adrian Perez
Comment 3
2019-02-12 10:10:34 PST
Created
attachment 361804
[details]
Patch
Michael Catanzaro
Comment 4
2019-02-12 10:23:05 PST
Comment on
attachment 361804
[details]
Patch Wait for EWS before using cq+.
EWS Watchlist
Comment 5
2019-02-12 11:01:56 PST
Comment on
attachment 361804
[details]
Patch
Attachment 361804
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
https://webkit-queues.webkit.org/results/11123709
Number of test failures exceeded the failure limit.
EWS Watchlist
Comment 6
2019-02-12 11:01:58 PST
Created
attachment 361807
[details]
Archive of layout-test-results from ews107 for mac-highsierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews107 Port: mac-highsierra-wk2 Platform: Mac OS X 10.13.6
Adrian Perez
Comment 7
2019-02-12 14:23:58 PST
My suspicion here is that the static WKWebViewConfiguration globalWebViewConfiguration; inside “TestControllerCocoa.mm”, which contains a .userContentController property is what it gets used as page configuration, instead of what the generic TestController code configures -- which effectively results in the content extension configured by ::configureContentExtensionForTest() not being used at all because the WKPageConfigurationRef passed from the generic TestController code to Cocoa's ::platformCreateWebView() is just ignored. Maybe the least path of resistance is setting the .userContentController property for the global configuration (or, better: the one copied one from it, when WK_API_ENABLED is set).
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug