Closed
Bug 1339393
Opened 7 years ago
Closed 7 years ago
Remove IndexedDBPromptHelper dead code
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: florian, Assigned: florian)
References
Details
Attachments
(1 file)
12.42 KB,
patch
|
Details | Diff | Splinter Review |
This is dead code since bug 994190 removed the platform code sending the indexedDB-permissions-prompt notification. There's similar code using the same strings and the same notification anchor icon at http://searchfox.org/mozilla-central/rev/d3307f19d5dac31d7d36fc206b00b686de82eee4/browser/base/content/browser.js#6090 That code is used.
Assignee | ||
Comment 1•7 years ago
|
||
For mobile/ the equivalent code that's still in use is in mobile/android/chrome/content/OfflineApps.js
Attachment #8837107 -
Flags: review?(gijskruitbosch+bugs)
Assignee | ||
Comment 2•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=12077c61d682
Comment 3•7 years ago
|
||
Comment on attachment 8837107 [details] [diff] [review] Patch I don't think this is dead: https://dxr.mozilla.org/mozilla-central/source/dom/indexedDB/PermissionRequestBase.cpp#155-157 though tbh, that best be happening in the parent process or this doesn't work with e10s enabled.
Attachment #8837107 -
Flags: review?(gijskruitbosch+bugs)
Assignee | ||
Comment 4•7 years ago
|
||
This makes it really hard to find :-( #define IDB_PREFIX "indexedDB" #define TOPIC_PREFIX IDB_PREFIX "-permissions-" const char kPermissionPromptTopic[] = TOPIC_PREFIX "prompt"; Glad we have code review!
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Comment 5•7 years ago
|
||
(In reply to :Gijs from comment #3) > though tbh, that best be happening in the parent process or this doesn't > work with e10s enabled. The call-sites to PermissionRequestBase::PromptIfNeeded are gated on an XRE_IsParentProcess() check. If they're not already in the parent process, they do (IPC) TabChild::SendPIndexedDBPermissionRequestConstructor(...).
You need to log in
before you can comment on or make changes to this bug.
Description
•