WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
174691
Hook up ITP quirks to the needsSiteSpecificQuirks setting
https://bugs.webkit.org/show_bug.cgi?id=174691
Summary
Hook up ITP quirks to the needsSiteSpecificQuirks setting
Chris Dumez
Reported
2017-07-20 14:10:49 PDT
Hook up ITP quirks to the needsSiteSpecificQuirks setting.
Attachments
Patch
(6.13 KB, patch)
2017-07-20 15:08 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(6.10 KB, patch)
2017-07-20 16:05 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(6.10 KB, patch)
2017-07-20 16:57 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2017-07-20 15:08:10 PDT
Created
attachment 316030
[details]
Patch
Chris Dumez
Comment 2
2017-07-20 16:05:01 PDT
Created
attachment 316036
[details]
Patch
Jeremy Jones
Comment 3
2017-07-20 16:41:55 PDT
Comment on
attachment 316036
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=316036&action=review
provisional r+
> Source/WebCore/ChangeLog:8 > + Hook up ITP quirks to the needsSiteSpecificQuirks setting to make it easier to
nit: easier for
Chris Dumez
Comment 4
2017-07-20 16:57:27 PDT
Created
attachment 316043
[details]
Patch
Darin Adler
Comment 5
2017-07-20 18:11:38 PDT
Comment on
attachment 316043
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=316043&action=review
> Source/WebCore/loader/ResourceLoadObserver.cpp:65 > +#if PLATFORM(IOS) > + UNUSED_PARAM(page); > + > + // There is currently no way to toggle the needsSiteSpecificQuirks setting on iOS so we always enable > + // the site-specific quirks on iOS. > + return true; > +#else
It is really strange that this logic is here rather than in Settings.
Chris Dumez
Comment 6
2017-07-20 18:18:51 PDT
(In reply to Darin Adler from
comment #5
)
> Comment on
attachment 316043
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=316043&action=review
> > > Source/WebCore/loader/ResourceLoadObserver.cpp:65 > > +#if PLATFORM(IOS) > > + UNUSED_PARAM(page); > > + > > + // There is currently no way to toggle the needsSiteSpecificQuirks setting on iOS so we always enable > > + // the site-specific quirks on iOS. > > + return true; > > +#else > > It is really strange that this logic is here rather than in Settings.
The setting is disabled on iOS. However, I need the ITP quirk on iOS as well. We could enable the setting on iOS but then it would enable other quirks than ITP on iOS, which would be risky at this point.
WebKit Commit Bot
Comment 7
2017-07-20 18:39:01 PDT
Comment on
attachment 316043
[details]
Patch Clearing flags on attachment: 316043 Committed
r219711
: <
http://trac.webkit.org/changeset/219711
>
WebKit Commit Bot
Comment 8
2017-07-20 18:39:04 PDT
All reviewed patches have been landed. Closing bug.
Darin Adler
Comment 9
2017-07-21 09:28:09 PDT
Comment on
attachment 316043
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=316043&action=review
>>> Source/WebCore/loader/ResourceLoadObserver.cpp:65 >>> +#else >> >> It is really strange that this logic is here rather than in Settings. > > The setting is disabled on iOS. However, I need the ITP quirk on iOS as well. We could enable the setting on iOS but then it would enable other quirks than ITP on iOS, which would be risky at this point.
Ah, so site-specific quirks have been non-iOS-only up until now. That seems sloppy and seems worth cleaning up when we have a chance.
Brent Fulgham
Comment 10
2017-10-24 09:04:20 PDT
<
rdar://problem/33465715
>
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