Closed
Bug 1129187
Opened 10 years ago
Closed 10 years ago
JavaScript error: Graphs.jsm, line 754: InvalidStateError after bug 1122639 when devtools.performance.ui.enable-memory is false
Categories
(DevTools :: Performance Tools (Profiler/Timeline), defect)
DevTools
Performance Tools (Profiler/Timeline)
Tracking
(firefox38 fixed)
RESOLVED
FIXED
Firefox 38
Tracking | Status | |
---|---|---|
firefox38 | --- | fixed |
People
(Reporter: vporof, Assigned: vporof)
References
Details
Attachments
(1 file, 2 obsolete files)
63.77 KB,
patch
|
vporof
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Updated•10 years ago
|
Blocks: 1122639, perf-tool-v2
Assignee | ||
Updated•10 years ago
|
Summary: JavaScript error: Graphs.jsm, line 754: InvalidStateError after bug 1122639 → JavaScript error: Graphs.jsm, line 754: InvalidStateError after bug 1122639 when devtools.performance.ui.enable-memory is false
Assignee | ||
Updated•10 years ago
|
Blocks: enable-perf-tool
Assignee | ||
Comment 1•10 years ago
|
||
Apparently doing canvas stuff inside a hidden node is sad. This patch makes everything load lazily when the containers become visible.
Assignee | ||
Comment 2•10 years ago
|
||
Removed some accidental changes.
Attachment #8560144 -
Attachment is obsolete: true
Attachment #8560144 -
Flags: review?(jsantell)
Assignee | ||
Updated•10 years ago
|
Attachment #8560145 -
Flags: review?(jsantell)
Comment 3•10 years ago
|
||
Comment on attachment 8560145 [details] [diff] [review]
v1
Review of attachment 8560145 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/devtools/performance/test/browser_perf-overview-render-01.js
@@ +1,5 @@
> /* Any copyright is dedicated to the Public Domain.
> http://creativecommons.org/publicdomain/zero/1.0/ */
>
> +const FRAMERATE_PREF = "devtools.performance.ui.enable-framerate";
> +const MEMORY_PREF = "devtools.performance.ui.enable-memory";
These are defined in head.js once bug 1128859 lands
::: browser/devtools/performance/test/browser_perf-overview-selection-02.js
@@ +2,5 @@
> http://creativecommons.org/publicdomain/zero/1.0/ */
>
> +const FRAMERATE_PREF = "devtools.performance.ui.enable-framerate";
> +const MEMORY_PREF = "devtools.performance.ui.enable-memory";
> +
ditto
::: browser/devtools/performance/test/browser_perf-overview-selection-03.js
@@ +2,5 @@
> http://creativecommons.org/publicdomain/zero/1.0/ */
>
> +const FRAMERATE_PREF = "devtools.performance.ui.enable-framerate";
> +const MEMORY_PREF = "devtools.performance.ui.enable-memory";
> +
blap
::: browser/devtools/performance/test/browser_perf-recording-selected-04.js
@@ +3,5 @@
> http://creativecommons.org/publicdomain/zero/1.0/ */
>
> +const FRAMERATE_PREF = "devtools.performance.ui.enable-framerate";
> +const MEMORY_PREF = "devtools.performance.ui.enable-memory";
> +
!
::: browser/devtools/performance/test/browser_perf-states.js
@@ +1,5 @@
> +/* Any copyright is dedicated to the Public Domain.
> + http://creativecommons.org/publicdomain/zero/1.0/ */
> +
> +const FRAMERATE_PREF = "devtools.performance.ui.enable-framerate";
> +const MEMORY_PREF = "devtools.performance.ui.enable-memory";
!
Attachment #8560145 -
Flags: review?(jsantell) → review+
Assignee | ||
Comment 4•10 years ago
|
||
(In reply to Jordan Santell [:jsantell] [@jsantell] from comment #3)
> These are defined in head.js once bug 1128859 lands
Ok, making bug 1128859 block this one. Land away!
Depends on: 1128859
Assignee | ||
Comment 5•10 years ago
|
||
Rebased and fixed some tests.
Attachment #8560145 -
Attachment is obsolete: true
Attachment #8560586 -
Flags: review+
Assignee | ||
Comment 6•10 years ago
|
||
Whiteboard: [fixed-in-fx-team]
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox38:
--- → fixed
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 38
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•