WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
233889
Allow WKContentRuleList to run regexes on current frame's URL, not just top frame's URL
https://bugs.webkit.org/show_bug.cgi?id=233889
Summary
Allow WKContentRuleList to run regexes on current frame's URL, not just top f...
Alex Christensen
Reported
2021-12-06 11:45:27 PST
Allow WKContentRuleList to run regexes on current frame's URL, not just top frame's URL
Attachments
Patch
(10.24 KB, patch)
2021-12-06 11:46 PST
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Patch
(36.34 KB, patch)
2021-12-09 14:31 PST
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Patch
(100.11 KB, patch)
2021-12-10 18:30 PST
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Patch
(110.83 KB, patch)
2021-12-13 15:29 PST
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Alex Christensen
Comment 1
2021-12-06 11:46:21 PST
Created
attachment 446063
[details]
Patch
Alex Christensen
Comment 2
2021-12-06 11:46:24 PST
<
rdar://problem/72203352
>
Alex Christensen
Comment 3
2021-12-09 14:31:09 PST
Created
attachment 446607
[details]
Patch
Alex Christensen
Comment 4
2021-12-09 21:17:03 PST
Comment on
attachment 446607
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=446607&action=review
> Source/WebCore/contentextensions/ContentExtensionsBackend.cpp:134 > + // FIXME: Do something with this. I might need another bit to indicate whether the conditions are top URL conditions or frameURL conditions, like IfConditionFlag but another bit.
No, I think instead the action needs to include whether it had a condition with if-top-url or if-frame-url. Right now we use separate state machines with/without conditions and we either need even more state machines and passes or this.
Alex Christensen
Comment 5
2021-12-10 18:30:24 PST
Created
attachment 446854
[details]
Patch
Alex Christensen
Comment 6
2021-12-10 18:30:42 PST
Comment on
attachment 446854
[details]
Patch Also not quite there, but getting quite close.
Alex Christensen
Comment 7
2021-12-13 15:29:07 PST
Created
attachment 447075
[details]
Patch
EWS
Comment 8
2021-12-13 20:27:46 PST
Committed
r287010
(
245215@main
): <
https://commits.webkit.org/245215@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 447075
[details]
.
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