| Summary: | [Content Extensions] Test interactions between multiple extensions and multiple domains. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Alex Christensen <achristensen> | ||||
| Component: | WebCore Misc. | Assignee: | Alex Christensen <achristensen> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | commit-queue | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Alex Christensen
2015-05-13 13:34:55 PDT
Created attachment 253054 [details]
Patch
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. (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. Comment on attachment 253054 [details] Patch Clearing flags on attachment: 253054 Committed r184314: <http://trac.webkit.org/changeset/184314> All reviewed patches have been landed. Closing bug. |