WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
201364
DocumentStorageAccess::hasStorageAccess() / requestStorageAccess() don't need to know about pageID / frameID
https://bugs.webkit.org/show_bug.cgi?id=201364
Summary
DocumentStorageAccess::hasStorageAccess() / requestStorageAccess() don't need...
Chris Dumez
Reported
2019-08-30 16:12:30 PDT
DocumentStorageAccess::hasStorageAccess() / requestStorageAccess() don't need to know about pageID / frameID. pageID is redundant since it is being ignored by the callee. For the frame, simply pass the frame object in.
Attachments
Patch
(17.26 KB, patch)
2019-08-30 16:21 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(17.52 KB, patch)
2019-08-30 16:48 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2019-08-30 16:21:52 PDT
Created
attachment 377764
[details]
Patch
John Wilander
Comment 2
2019-08-30 16:47:02 PDT
Comment on
attachment 377764
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=377764&action=review
LGTM. See nit.
> Source/WebCore/page/ChromeClient.h:-491 > - virtual void requestStorageAccess(RegistrableDomain&& /*subFrameDomain*/, RegistrableDomain&& /*topFrameDomain*/, FrameIdentifier, PageIdentifier, WTF::CompletionHandler<void(StorageAccessWasGranted, StorageAccessPromptWasShown)>&& completionHandler) { completionHandler(StorageAccessWasGranted::No, StorageAccessPromptWasShown::No); }
Now you can remove #include "FrameIdentifier.h"
Chris Dumez
Comment 3
2019-08-30 16:48:45 PDT
Created
attachment 377771
[details]
Patch
WebKit Commit Bot
Comment 4
2019-08-31 00:52:26 PDT
Comment on
attachment 377771
[details]
Patch Clearing flags on attachment: 377771 Committed
r249359
: <
https://trac.webkit.org/changeset/249359
>
WebKit Commit Bot
Comment 5
2019-08-31 00:52:27 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 6
2019-08-31 00:53:17 PDT
<
rdar://problem/54911112
>
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