Closed Bug 1058594 Opened 11 years ago Closed 11 years ago

[e10s] 'Screengrab (fix version)' addon does not work

Categories

(Firefox :: Extension Compatibility, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
e10s + ---

People

(Reporter: renault.herve, Unassigned)

References

()

Details

(Keywords: addon-compat)

The Screengrab! addon is a screenshot utility. It does not work at all (nothing happens) when e10s is enabled as specified on https://groups.google.com/forum/#!msg/mozilla.dev.platform/XgIfiGmebLs/Hu-wFWTmhg0J
Link to the add-on on AMO, please.
Flags: needinfo?(renault.herve)
Renault: are you using "Screengrab (fix version)" (version 0.97.26c) add-on? That add-on is a fork of an older unsupported add-on also called "Screengrab". https://addons.mozilla.org/en-US/firefox/addon/screengrab-fix-version
Blocks: e10s-addons
tracking-e10s: --- → +
Component: General → Extension Compatibility
Keywords: addon-compat
Flags: needinfo?(renault.herve)
Summary: [e10s] The 'ScreenGrab!' addon does not work → [e10s] 'Screengrab (fix version)' addon does not work
The developer has been contacted through AMO.
I know about this problem and has already reported about her via: https://input.mozilla.org/en-US/feedback/firefox/36.0a1/?utm_source=tab&utm_campaign=e10sfeedback until the problem is solved in the current version of the file install.rdf I registered this: <em:multiprocessCompatible>false</em:multiprocessCompatible> about problem: test code: var canvas = document.createElementNS("http://www.w3.org/1999/xhtml", "html:canvas"); var context = canvas.getContext("2d"); var win = window.top.getBrowser().selectedBrowser.contentWindow; alert(win); // e10s disabled == [object Window]; e10s enabled == [object CPOW [object Window]] try { context.drawWindow(win, 0, 0, 100, 100, "#ffffff"); alert('ok'); } catch(e) { alert(e); } if e10s is enabled - Error: TypeError: Argument 1 of CanvasRenderingContext2D.drawWindow does not implement interface Window.
I solved this problem change: var canvas = document.createElementNS("http://www.w3.org/1999/xhtml", "html:canvas"); to: var canvas = win.document.createElementNS("http://www.w3.org/1999/xhtml", "html:canvas"); please update screengrab, version 0.98.04c https://addons.mozilla.org/addon/screengrab-fix-version/versions/ !!!!!!!!!!!!!!!!!!! but I've found a new problem in E10S !!!!!!!!!!!!!!!!!!! https://developer.mozilla.org/en-US/Add-ons/Code_snippets/Post_data_to_window post data not working when enabled E10S!
This add-on seems to be working correctly on Nightly now.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.