Closed Bug 871784 Opened 11 years ago Closed 11 years ago

b2g should specify its debug actors explicitly rather than using addBrowserActors

Categories

(DevTools :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 24

People

(Reporter: dcamp, Assigned: dcamp)

References

Details

(Whiteboard: [b2g])

Attachments

(1 file)

Attached patch v1Splinter Review
addBrowserActors has some gonk gunk in it.  If b2g/gaia have a different set of actors than the browser, it should just load them manually.
Attachment #749023 - Flags: review?(past)
Comment on attachment 749023 [details] [diff] [review]
v1

Panos, once you've had a look can you pass on to the relevant b2g reviewer please?
Attachment #749023 - Flags: review?(jimb)
Whiteboard: [b2g]
Comment on attachment 749023 [details] [diff] [review]
v1

Review of attachment 749023 [details] [diff] [review]:
-----------------------------------------------------------------

Nice cleanup. Fabrice, besides moving the b2g-related build hack inside b2g code instead of generic devtools code, this will allow us to radically improve the devtools development workflow by avoiding the build step for preprocessing the debugger server.
Attachment #749023 - Flags: review?(past)
Attachment #749023 - Flags: review?(fabrice)
Attachment #749023 - Flags: review+
Blocks: 872091
Comment on attachment 749023 [details] [diff] [review]
v1

Review of attachment 749023 [details] [diff] [review]:
-----------------------------------------------------------------

::: b2g/chrome/content/shell.js
@@ +1001,5 @@
> +#ifndef MOZ_WIDGET_GONK
> +      DebuggerServer.addActors("chrome://global/content/devtools/dbg-webconsole-actors.js");
> +      DebuggerServer.addActors("chrome://global/content/devtools/dbg-gcli-actors.js");
> +#endif
> +      if ("nsIProfiler" in Ci)

nit: { } even for single line if's
Attachment #749023 - Flags: review?(fabrice) → review+
Comment on attachment 749023 [details] [diff] [review]
v1

Review of attachment 749023 [details] [diff] [review]:
-----------------------------------------------------------------

Looks great!
Attachment #749023 - Flags: review?(jimb) → review+
https://hg.mozilla.org/integration/fx-team/rev/022074c03e7d
Whiteboard: [b2g] → [b2g][fixed-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/022074c03e7d
Assignee: nobody → dcamp
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [b2g][fixed-in-fx-team] → [b2g]
Target Milestone: --- → Firefox 24
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: