Re: New chrome-only API to inject content on top of the page

2014-10-29 Thread Neil
Patrick Brosset wrote: The discussion [2] that led to the bug was about finding a solution to display the devtools highlighter (the box-model overlay you see when inspecting a page with the devtools) in a way that would work on anything that runs gecko (indeed, prior to this bug, the devtools

Re: New chrome-only API to inject content on top of the page

2014-10-29 Thread Patrick Brosset
On 10/29/14, 12:29 PM, Neil wrote: Patrick Brosset wrote: The discussion [2] that led to the bug was about finding a solution to display the devtools highlighter (the box-model overlay you see when inspecting a page with the devtools) in a way that would work on anything that runs gecko

New chrome-only API to inject content on top of the page

2014-10-28 Thread Patrick Brosset
(cross posting to b2g as this might be an interesting api for on-device tools). I have just landed the patches for bug 1020244 [1]. These patches introduce a new (chrome-only) API at document level that can be used to insert custom DOM elements into the root container of the page (the canvas