| Summary: | ASSERT_NOT_REACHED() under WebPageProxy::suspendCurrentPageIfPossible() | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||||
| Component: | WebKit2 | Assignee: | Chris Dumez <cdumez> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | achristensen, beidson, commit-queue, dbates, ews-watchlist, ggaren, japhet, simon.fraser, webkit-bug-importer, wilander, youennf | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Chris Dumez
2020-02-17 16:26:19 PST
Created attachment 391001 [details]
Patch
Comment on attachment 391001 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=391001&action=review See the one comment. > Source/WebCore/loader/HistoryController.cpp:554 > + bool needsPrivacy = page->usesEphemeralSession(); Privacy is such a broad term. I'd prefer to stick with ephemeral as the term because that's the only privacy promise it makes. Would isEphemeral work? Or just usesEphemeralSession? Comment on attachment 391001 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=391001&action=review >> Source/WebCore/loader/HistoryController.cpp:554 >> + bool needsPrivacy = page->usesEphemeralSession(); > > Privacy is such a broad term. I'd prefer to stick with ephemeral as the term because that's the only privacy promise it makes. Would isEphemeral work? Or just usesEphemeralSession? I chose this to be consistent with the rest of this class (see other uses of usesEphemeralSession in this class). What do you want me to do, rename all of them? (In reply to Chris Dumez from comment #4) > Comment on attachment 391001 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=391001&action=review > > >> Source/WebCore/loader/HistoryController.cpp:554 > >> + bool needsPrivacy = page->usesEphemeralSession(); > > > > Privacy is such a broad term. I'd prefer to stick with ephemeral as the term because that's the only privacy promise it makes. Would isEphemeral work? Or just usesEphemeralSession? > > I chose this to be consistent with the rest of this class (see other uses of > usesEphemeralSession in this class). What do you want me to do, rename all > of them? That's unfortunate. Then either way is fine with me, i.e. fix this one instance now or land it consistent with the rest. Created attachment 391046 [details]
Patch
Comment on attachment 391046 [details] Patch Clearing flags on attachment: 391046 Committed r256831: <https://trac.webkit.org/changeset/256831> All reviewed patches have been landed. Closing bug. |