WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
149430
Reloading without content blockers doesn’t apply to resource loads after the main frame finishes
https://bugs.webkit.org/show_bug.cgi?id=149430
Summary
Reloading without content blockers doesn’t apply to resource loads after the ...
mitz
Reported
2015-09-21 16:25:35 PDT
It turns out that _userContentExtensionsEnabled SPI on WKWebView from
bug 146128
is not sufficient for performing a “reload without content blockers” operation, because clients can’t tell reliably when to set and reset that property (seem comments in that bug). A true _reloadWithoutContentBlockers SPI as originally proposed in
bug 146128
, perhaps implemented with a flag on DocumentLoader, is still needed.
Attachments
Patch
(17.34 KB, patch)
2015-09-29 11:28 PDT
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Patch
(17.47 KB, patch)
2015-09-29 11:29 PDT
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews104 for mac-mavericks-wk2
(657.85 KB, application/zip)
2015-09-29 12:11 PDT
,
Build Bot
no flags
Details
Patch
(17.47 KB, patch)
2015-09-29 12:19 PDT
,
Alex Christensen
ggaren
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
mitz
Comment 1
2015-09-21 16:26:16 PDT
<
rdar://problem/22697254
>
mitz
Comment 2
2015-09-21 16:27:36 PDT
Actually <
rdar://problem/22742222
>.
Alex Christensen
Comment 3
2015-09-29 11:28:30 PDT
Created
attachment 262081
[details]
Patch
Alex Christensen
Comment 4
2015-09-29 11:29:57 PDT
Created
attachment 262082
[details]
Patch
Build Bot
Comment 5
2015-09-29 12:11:25 PDT
Comment on
attachment 262082
[details]
Patch
Attachment 262082
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.webkit.org/results/224330
New failing tests: http/tests/contentextensions/disable-blocker.html
Build Bot
Comment 6
2015-09-29 12:11:29 PDT
Created
attachment 262088
[details]
Archive of layout-test-results from ews104 for mac-mavericks-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews104 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
Alex Christensen
Comment 7
2015-09-29 12:19:39 PDT
Created
attachment 262090
[details]
Patch
Geoffrey Garen
Comment 8
2015-10-01 18:13:55 PDT
Comment on
attachment 262090
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=262090&action=review
> Source/WebCore/ChangeLog:3 > + Reloading without content blockers doesnât apply to resource loads after the main frame finishes
Please to ASCII your apostrophe.
> Source/WebKit2/ChangeLog:3 > + Reloading without content blockers doesnât apply to resource loads after the main frame finishes
ASCII
> Tools/ChangeLog:3 > + Reloading without content blockers doesnât apply to resource loads after the main frame finishes
ASCII
> Tools/WebKitTestRunner/mac/TestControllerMac.mm:128 > + if (!test.urlContains("disable-blocker")) > + return;
This is a bit shady. Can you turn this into a function call in the test instead?
Alexey Proskuryakov
Comment 9
2015-10-01 23:23:54 PDT
Comment on
attachment 262090
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=262090&action=review
>> Tools/WebKitTestRunner/mac/TestControllerMac.mm:128 >> + return; > > This is a bit shady. Can you turn this into a function call in the test instead?
Or a test runner comment.
Alex Christensen
Comment 10
2015-10-02 10:48:21 PDT
(In reply to
comment #8
)
> Comment on
attachment 262090
[details]
> Patch > > Tools/WebKitTestRunner/mac/TestControllerMac.mm:128 > > + if (!test.urlContains("disable-blocker")) > > + return; > > This is a bit shady. Can you turn this into a function call in the test > instead?
I agree. I added comments. Committed
http://trac.webkit.org/changeset/190510
Alexey Proskuryakov
Comment 11
2015-10-02 11:21:27 PDT
As discussed in person, I was talking about triggering the custom behavior via a comment.
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