Summary: | FileSystemHandle should be ContextDestructionObserver | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Sihui Liu <sihui_liu> | ||||||||
Component: | New Bugs | Assignee: | Sihui Liu <sihui_liu> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | cdumez, esprehn+autocc, ews-watchlist, kondapallykalyan, webkit-bug-importer, youennf | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | WebKit Nightly Build | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Bug Depends on: | |||||||||||
Bug Blocks: | 231706 | ||||||||||
Attachments: |
|
Description
Sihui Liu
2021-10-05 13:51:00 PDT
Created attachment 442383 [details]
Patch
Created attachment 442384 [details]
Patch
Comment on attachment 442384 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=442384&action=review > Source/WebCore/Modules/filesystemaccess/FileSystemHandle.h:57 > + FileSystemHandle(ScriptExecutionContext*, Kind, String&& name, FileSystemHandleIdentifier, Ref<FileSystemStorageConnection>&&); We usually go with ScriptExecutionContext& > Source/WebCore/Modules/storage/StorageManager.cpp:122 > + auto* context = weakNavgiator ? weakNavgiator->scriptExecutionContext() : nullptr; s/weakNavgiator/weakNavigator Created attachment 442528 [details]
Patch for landing
Committed r284900 (243577@main): <https://commits.webkit.org/243577@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 442528 [details]. |