WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 225493
css-display-none actions from WKContentRuleList should apply to pages loaded with loadData and loadHTMLString
https://bugs.webkit.org/show_bug.cgi?id=225493
Summary
css-display-none actions from WKContentRuleList should apply to pages loaded ...
Alex Christensen
Reported
2021-05-06 16:30:14 PDT
css-display-none actions from WKContentRuleList should apply to pages loaded with loadData and loadHTMLString
Attachments
Patch
(6.47 KB, patch)
2021-05-06 16:32 PDT
,
Alex Christensen
darin
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Alex Christensen
Comment 1
2021-05-06 16:32:05 PDT
Created
attachment 427952
[details]
Patch
Alex Christensen
Comment 2
2021-05-06 16:32:08 PDT
<
rdar://problem/77331789
>
Darin Adler
Comment 3
2021-05-08 22:00:58 PDT
Comment on
attachment 427952
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=427952&action=review
> Source/WebCore/loader/DocumentLoader.cpp:528 > + // We want the CSS but not the blocking or upgrading for substitute data.
Based on your change log comment I would write something more like: "We want the CSS to be loaded for us, but we ignore any attempt to block or upgrade the connection since there is no connection." Not sure my sentence was accurate, but I think it’s easier to understand than "[don’t want] the blocking or upgrading" and instead of saying "for substitute data" which is already said by the name of the function we are in, we can point out *why* we ignore attempts to block or upgrade.
Alex Christensen
Comment 4
2021-05-10 09:56:28 PDT
That's a great comment suggestion. Taken.
r277268
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