WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
180679
Storage Access API: Implement frame-specific access in the network storage session layer
https://bugs.webkit.org/show_bug.cgi?id=180679
Summary
Storage Access API: Implement frame-specific access in the network storage se...
John Wilander
Reported
2017-12-11 16:34:58 PST
This is part 1 of making Storage Access API frame-specific.
Attachments
Patch
(92.35 KB, patch)
2017-12-11 18:49 PST
,
John Wilander
no flags
Details
Formatted Diff
Diff
Patch for landing
(91.95 KB, patch)
2017-12-12 16:48 PST
,
John Wilander
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2017-12-11 16:35:47 PST
<
rdar://problem/35982116
>
John Wilander
Comment 2
2017-12-11 18:49:13 PST
Created
attachment 329076
[details]
Patch
John Wilander
Comment 3
2017-12-11 18:50:44 PST
Style errors are of the "Extra space before ( in function call" variety.
EWS Watchlist
Comment 4
2017-12-11 18:51:26 PST
Attachment 329076
[details]
did not pass style-queue: ERROR: Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.h:85: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp:1414: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.cpp:271: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.h:353: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/page/ChromeClient.h:471: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebKit/WebProcess/WebPage/WebPage.cpp:5824: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.h:148: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebKit/WebProcess/WebPage/WebPage.h:1028: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp:1264: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 9 in 35 files If any of these errors are false positives, please file a bug against check-webkit-style.
Alex Christensen
Comment 5
2017-12-12 16:08:34 PST
Comment on
attachment 329076
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=329076&action=review
> Source/WebCore/platform/network/cf/NetworkStorageSessionCFNet.cpp:288 > + WTFLogAlways("ResourceLoadLog | NetworkStorageSession::isStorageAccessGranted(), resourceDomain: %s, firstPartyDomain: %s, frameID: %llu, pageID: %llu.", resourceDomain.utf8().data(), firstPartyDomain.utf8().data(), frameID, pageID);
Let's not add a WTFLogAlways here.
> Source/WebCore/platform/network/cf/NetworkStorageSessionCFNet.cpp:302 > + WTFLogAlways("ResourceLoadLog | NetworkStorageSession::setStorageAccessGranted(), resourceDomain: %s, firstPartyDomain: %s, frameID: %llu, pageID: %llu.", resourceDomain.utf8().data(), firstPartyDomain.utf8().data(), frameID, pageID);
Also remove this log.
> Source/WebKit/UIProcess/Network/NetworkProcessProxy.cpp:413 > + // Dummy
Remove.
> LayoutTests/http/tests/storageAccess/request-and-grant-storage-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-non-recent-user-interaction-and-try-access-from-right-frame-expected.txt:19 > +Client-side document.cookie: partitionedCookie=value
Once CookieJarMac is updated, this result will change.
John Wilander
Comment 6
2017-12-12 16:48:15 PST
Created
attachment 329179
[details]
Patch for landing
John Wilander
Comment 7
2017-12-12 16:49:22 PST
Fixed the stray log calls and the dummy comment. Thanks, Alex!
WebKit Commit Bot
Comment 8
2017-12-12 17:20:12 PST
Comment on
attachment 329179
[details]
Patch for landing Clearing flags on attachment: 329179 Committed
r225827
: <
https://trac.webkit.org/changeset/225827
>
WebKit Commit Bot
Comment 9
2017-12-12 17:20:13 PST
All reviewed patches have been landed. Closing bug.
Konstantin Tokarev
Comment 10
2017-12-14 04:11:29 PST
Could you consider renaming test files to make their names more concise? Linux users with eCryptfs cannot work with file names longer than 143 characters. Also, such long names may create troubles on Windows, where total path length is limited by 260 characters or so
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