| Summary: | [macOS] Add managed preference to allow synchronous XHR during page dismissal | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||||
| Component: | WebKit2 | Assignee: | Chris Dumez <cdumez> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | achristensen, beidson, dbates, ews-watchlist, ggaren, japhet, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=206944 | ||||||||
| Attachments: |
|
||||||||
|
Description
Chris Dumez
2020-01-21 09:41:45 PST
Created attachment 388311 [details]
Patch
Comment on attachment 388311 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=388311&action=review r=me > Source/WebKit/Shared/WebPreferencesDefaultValues.cpp:67 > +bool defaultDisallowSyncXHRDuringPageDismissalEnabled() To avoid double negatives, could we rename this to defaultAllow... Same with the preference name. > Source/WebKit/Shared/WebPreferencesDefaultValues.cpp:75 > + return true; We should put a FIXME with a radar for iOS. Created attachment 388338 [details]
Patch
Comment on attachment 388338 [details]
Patch
The changed proposed by Alex does not work because WebKitTestRunner turns ON all experimental features.
Committed r254880: <https://trac.webkit.org/changeset/254880> |