css-display-none actions from WKContentRuleList should apply to pages loaded with loadData and loadHTMLString
Created attachment 427952 [details]
Comment on attachment 427952 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=427952&action=review
> + // 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.
That's a great comment suggestion. Taken.