Investigate whether we can remove the browser-element-api:call JS sync IPC
Categories
(Core :: DOM: Core & HTML, enhancement, P3)
Tracking
()
| Performance Impact | low |
People
(Reporter: ehsan.akhgari, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: perf)
Comment 1•9 years ago
|
||
| Reporter | ||
Comment 2•9 years ago
|
||
Updated•9 years ago
|
Comment 3•9 years ago
|
||
Updated•8 years ago
|
| Assignee | ||
Updated•7 years ago
|
Comment 4•7 years ago
|
||
BrowserElement API is still used by devtools if I remember correctly. Would be great if somebody from that team can check the priority of this bug and fix/resolve it somehow. Honza, can you help here?
Comment 5•7 years ago
|
||
Patrick, another thing related to the current RDM implementation, can you please have a look?
Here is quick search for BrowserElement API
https://searchfox.org/mozilla-central/search?q=BrowserElement+API&path=
Honza
Comment 6•7 years ago
|
||
Yes RDM is the sole consumer of this API (in fact of the <iframe mozbrowser> element).
Its current architecture depends on this entirely and removing it would break RDM which is a very important tool in light of our GeckoView efforts (since many (all?) web developers building for mobile do need RDM to test on desktop first).
The current plan is to investigate how feasible it would be to get rid of this by merging the RDM UI into browser.xul instead and using the content <browser remote> as the viewport area that RDM displays, instead of the <iframe mozbrowser>.
This is something we are investigating in bug 1549775 right now. And our plan is to have enough of this figured out before the start of H2 so we can jump into implementation phase then.
Updated•4 years ago
|
Updated•3 years ago
|
Description
•