Remove Blob URL screenshot support from Activity Stream code
Categories
(Firefox :: New Tab Page, task, P3)
Tracking
()
People
(Reporter: mconley, Unassigned)
References
Details
Blobs and Blob URLs were originally used for screenshots to avoid sending huge data URLs over IPC. Now that moz-page-thumb support exists in the privileged about content process, we've been using that, and the old Blob and Blob URL support is probably not needed anymore.
This bug is for removing that stuff, which would probably simplify a few things.
Comment hidden (obsolete) |
Reporter | ||
Comment 2•4 years ago
|
||
Okay, I've dug into this more, and I don't actually think the Blob URL stuff is what's causing the flash. It would probably be good to get rid of the Blob URL support at some point to reduce complexity, anyhow.
Comment 3•4 years ago
|
||
Bug 1436615 added blobs for and bug 1467485 handled blob state changes and those all should be removable with bug 1184701 assuming privileged content process. Yeah a lot of this screenshot stuff could be simplified when browser.tabs.remote.separatePrivilegedContentProcess
goes away / is always true.
Comment 4•4 years ago
•
|
||
Hi, Hector from Beijing office here.
In case you're not aware, we're shipping a web hosted fork of activity-stream with a privileged signed extension as the newtab experience in Fx China repack.
We're actually flipping the browser.tabs.remote.separatePrivilegedContentProcess
pref to keep the screenshots working in our fork. I guess I'm not always using the code as originally intended, but would you please give me some advice on how best to mitigate this removal, other than moving all those logic into our extension?
Thanks!
Updated•4 years ago
|
Updated•4 years ago
|
Comment 5•4 years ago
|
||
(In reply to Hector Zhao [:hectorz] from comment #4)
We're actually flipping the
browser.tabs.remote.separatePrivilegedContentProcess
pref [3] to keep the screenshots working in our fork. I guess I'm not always using the code as originally intended, but would you please give me some advice on how best to mitigate this removal, other than moving all those logic into our extension?
With bug 1513680 landed in Fx 86, we can no longer flip the pref. I'm working on a fix/workaround in our extension.
Description
•