RESOLVED FIXED 144967
[Content Extensions] Test interactions between multiple extensions and multiple domains.
https://bugs.webkit.org/show_bug.cgi?id=144967
Summary [Content Extensions] Test interactions between multiple extensions and multip...
Alex Christensen
Reported 2015-05-13 13:34:55 PDT
More tests help me sleep at night.
Attachments
Patch (7.27 KB, patch)
2015-05-13 13:37 PDT, Alex Christensen
no flags
Alex Christensen
Comment 1 2015-05-13 13:37:38 PDT
Benjamin Poulain
Comment 2 2015-05-13 14:31:54 PDT
Comment on attachment 253054 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=253054&action=review > Tools/TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:499 > + testRequest(backend, mainDocumentRequest("http://webkit.org"), { ContentExtensions::ActionType::CSSDisplayNoneStyleSheet }); I am confused by this result and the comment above. Why would you have an action ContentExtensions::ActionType::CSSDisplayNoneStyleSheet? You don't define any stylesheet in the rules above.
Alex Christensen
Comment 3 2015-05-13 14:39:25 PDT
(In reply to comment #2) > Comment on attachment 253054 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=253054&action=review > > > Tools/TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:499 > > + testRequest(backend, mainDocumentRequest("http://webkit.org"), { ContentExtensions::ActionType::CSSDisplayNoneStyleSheet }); > > I am confused by this result and the comment above. Why would you have an > action ContentExtensions::ActionType::CSSDisplayNoneStyleSheet? You don't > define any stylesheet in the rules above. There are two display-none stylesheet actions, one from each extension. Each extension that does not hit an ignore-previous-rules appends a display-none stylesheet action to tell WebCore the name of the extension from which the display-none stylesheet came. This is behaving correctly, but it could be cleaned up a bit later.
WebKit Commit Bot
Comment 4 2015-05-13 15:29:05 PDT
Comment on attachment 253054 [details] Patch Clearing flags on attachment: 253054 Committed r184314: <http://trac.webkit.org/changeset/184314>
WebKit Commit Bot
Comment 5 2015-05-13 15:29:08 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.