Closed Bug 1047654 Opened 10 years ago Closed 7 years ago

"Turn Off the Lights" add-on's fade out animation is very slow with e10s enabled

Categories

(Firefox :: Extension Compatibility, defect, P3)

34 Branch
defect

Tracking

()

RESOLVED INCOMPLETE
Tracking Status
e10s + ---

People

(Reporter: stefan.vd01, Unassigned, Mentored, NeedInfo)

References

(Blocks 1 open bug)

Details

(Keywords: addon-compat, Whiteboard: animation, triaged)

Turn Off the Lights Firefox addon is slow:
https://addons.mozilla.org/en-US/firefox/addon/turn-off-the-lights/


And receive this message in my browser console log:
mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create main.js:431
Summary: add-on does not work with e10s → turn off the lights add-on does not work with e10s
Stefan: other than the log message about "mutating the [[Prototype]]", did the Ambient Aurea addon behave as expected? The "[[Prototype]]" message is just a warning and should not have any effect on the addon's functionality.
Blocks: e10s-addons
tracking-e10s: --- → +
Flags: needinfo?(stefan.vd01)
Keywords: addon-compat
Summary: turn off the lights add-on does not work with e10s → "Turn Off the Lights" add-on does not work with e10s
This is the "Turn Off the Lights" bug report. Because the whole extension is slow in that Firefox nightly.
It takes almost 5 seconds, to do the "lights off".
I can reproduce this problem, too. Without e10s, "Turn Off the Lights" dims the page in ~500 milliseconds (as expected). With e10s, "Turn Off the Lights" dims the page in 2–3 seconds.

* billm: do you know why this page dimming extension would take longer with e10s? This bug was filed by Stefan vd, the extension's author.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(stefan.vd01) → needinfo?(wmccloskey)
When I tested Turn Off The Lights with e10s yesterday (comment 3), I could reproduce the ~3 second fade problem. But now that I have updated to the new Turn Off The Lights version 3.0.0.12, I now see a black flash followed by the following error message in the Browser Console:

> NotFoundError: Node was not found

and sometimes followed by an UrgentMessageCheck crash.
Depends on: 1042587
Keywords: crash
Flags: needinfo?(wmccloskey)
Keywords: crash
OS: Windows 8.1 → All
Hardware: x86_64 → All
Summary: "Turn Off the Lights" add-on does not work with e10s → "Turn Off the Lights" add-on's fade out animation is very slow with e10s enabled
Blocks: e10s-perf
I tested on the latest nightly and I still see a significant delay when toggling the lights off mode. This didn't happen in Dev Edition.
It's taking ~1 second here in Dev 41.0a2, and I doubt it's my machine.
I'm now not seeing any speed issue in 42.0a2 Are you still seeing any delay Jorge?
Flags: needinfo?(jorge)
I am, but it could be because I'm using an old computer and video card. If this isn't happening to anyone else, I think it's okay to close this bug.
Flags: needinfo?(jorge)
43.0a1 - I'm still seeing delay. Windows 10. This didn't happen when I used Firefox 39.0.
Flags: needinfo?(Rolandassu)
I'm seeing delays in 43.0a1, but again, only about a second. Definitely confusing to me.
The fade happens in less than a second for me.  Seems to be a bit of a delay in fade off vs fade on.  But this certainly isn't "very slow" as reported.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
I don't know who report this as closed. But here on my Mac on Firefox 46.0.a1 it takes 6 seconds (with the spinning Mac loading icon) and then it dims the page.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Whiteboard: animation
will need to test, just saw the webextensions version land yesterday.  looks like a cool add-on i would use anyway, and i'm on a mac.  need info'd myself to get to later this week and close if works.
Flags: needinfo?(sescalante)
Whiteboard: animation → animation, triaged
Still seeing  a delay when e10s is enabled on initial access, the more I toggle the faster it appears. Also when e10s is disabled I see the same.
Turn Off the Lights 3.3.0.0
Version 	51.0a2
Build ID 	20161005004013
User Agent 	Mozilla/5.0 (X11; Linux i686; rv:51.0) Gecko/20100101 Firefox/51.0
Flags: needinfo?(sescalante)
Priority: -- → P3
With Firefox 57 only WebExtensions are permitted and are, by default, e10s compatible.
Status: REOPENED → RESOLVED
Closed: 9 years ago7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.