WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
184270
Make SessionStorage work with process swapping
https://bugs.webkit.org/show_bug.cgi?id=184270
Summary
Make SessionStorage work with process swapping
Brady Eidson
Reported
2018-04-03 10:38:16 PDT
Make SessionStorage work with process swapping
Attachments
Patch
(11.22 KB, patch)
2018-04-03 11:05 PDT
,
Brady Eidson
no flags
Details
Formatted Diff
Diff
Patch
(11.16 KB, patch)
2018-04-03 11:26 PDT
,
Brady Eidson
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Brady Eidson
Comment 1
2018-04-03 10:38:27 PDT
<
rdar://problem/38773193
>
Brady Eidson
Comment 2
2018-04-03 11:05:37 PDT
Created
attachment 337090
[details]
Patch
EWS Watchlist
Comment 3
2018-04-03 11:08:30 PDT
Attachment 337090
[details]
did not pass style-queue: ERROR: Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:613: Multi-line string ("...") found. This lint script doesn't do well with such strings, and may give bogus warnings. They're ugly and unnecessary, and you should use concatenation instead". [readability/multiline_string] [5] ERROR: Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:622: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:629: Multi-line string ("...") found. This lint script doesn't do well with such strings, and may give bogus warnings. They're ugly and unnecessary, and you should use concatenation instead". [readability/multiline_string] [5] Total errors found: 3 in 9 files If any of these errors are false positives, please file a bug against check-webkit-style.
Andy Estes
Comment 4
2018-04-03 11:17:10 PDT
Comment on
attachment 337090
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=337090&action=review
> Source/WebKit/ChangeLog:8 > + Do to a minor process accounting error, WebPageProxys weren't always being reconnected with their
"do to"
> Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:634 > + processPoolConfiguration.get().processSwapsOnNavigation = YES;
I think we prefer [processPoolConfiguration setProcessSwapsOnNavigation:YES] (to avoid the ugly .get())
> Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:640 > + RetainPtr<PSONScheme> handler1 = adoptNS([[PSONScheme alloc] initWithBytes:sessionStorageTestBytes]); > + RetainPtr<PSONScheme> handler2 = adoptNS([[PSONScheme alloc] init]);
auto
> Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:644 > + RetainPtr<PSONMessageHandler> messageHandler = adoptNS([[PSONMessageHandler alloc] init]);
auto
Brady Eidson
Comment 5
2018-04-03 11:26:06 PDT
Created
attachment 337098
[details]
Patch
Brady Eidson
Comment 6
2018-04-03 11:26:28 PDT
Comment on
attachment 337098
[details]
Patch Waiting for EWS
EWS Watchlist
Comment 7
2018-04-03 11:37:21 PDT
Attachment 337098
[details]
did not pass style-queue: ERROR: Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:613: Multi-line string ("...") found. This lint script doesn't do well with such strings, and may give bogus warnings. They're ugly and unnecessary, and you should use concatenation instead". [readability/multiline_string] [5] ERROR: Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:622: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:629: Multi-line string ("...") found. This lint script doesn't do well with such strings, and may give bogus warnings. They're ugly and unnecessary, and you should use concatenation instead". [readability/multiline_string] [5] Total errors found: 3 in 9 files If any of these errors are false positives, please file a bug against check-webkit-style.
WebKit Commit Bot
Comment 8
2018-04-03 13:01:31 PDT
Comment on
attachment 337098
[details]
Patch Clearing flags on attachment: 337098 Committed
r230219
: <
https://trac.webkit.org/changeset/230219
>
WebKit Commit Bot
Comment 9
2018-04-03 13:01:33 PDT
All reviewed patches have been landed. Closing bug.
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