Closed Bug 893669 (gaia-devtools) Opened 7 years ago Closed 4 years ago

[devtools] Make gaia developers happy

Categories

(DevTools :: General, defect)

x86
All
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: paul, Unassigned)

References

(Depends on 7 open bugs)

Details

Some Gaia developers don't use our developer tools. Let's make sure we fix the bugs that block them.
Depends on: 758011, 745489
Depends on: 893677
Some developers only work on device and almost never run Gaia on desktop,
so bug 817580 is the most blocking one for them.

Otherwise, an obvious painfull limitation when running Gaia in a Firefox tab is the lack of iframe selection support.
When we open Gaia in a tab, the top level document is the system app,
you will only see system app console messages and it is quite challenging to reach the current app window object to evaluate something against it.
Also the inspector, debugger and style inspector are going to list all apps resources. That's a cool thing, as it allows you to target your app, but that's also painfull as you end up with very long list of resources.

We can work around this in the gaia helper addon, but that may be something we want to make builtin into firefox. Is there a bug for iframe support?
Depends on: 817580
> Otherwise, an obvious painfull limitation when running Gaia in a Firefox tab is the lack of iframe selection support.

You mean, limiting the devtools to only one iframe? So we could imagine a way to lock the tools to one iframe, and forbid inner/outer-window inspection/debug/logs.
There is bug 784112 for the debugger, bug 609872 for the web console and possibly others for the other tools. I have explicitly added this as a discussion topic for the next work week.

One parting thought: Gaia suffers a lot from this problem, due to the app == iframe design. However, I'm not so sure we would want to solve the generic issue of debugging, say a blog with embedded widgets, the same way as we want to treat debugging a Firefox OS device.
(In reply to Panos Astithas [:past] from comment #3)
> One parting thought: Gaia suffers a lot from this problem, due to the app ==
> iframe design. However, I'm not so sure we would want to solve the generic
> issue of debugging, say a blog with embedded widgets, the same way as we
> want to treat debugging a Firefox OS device.

+1. I tend to think there is common low level issues, like being able to switch the target of a given toolbox and handle iframes nicely in each tool. But we would most likely have a b2g specific behavior/ui via the gaia helper addon.
I'll try to resurect my gaia branch that provide toolbox per app. That's dirty and not necessary the best way to go as it automagically show a toolbox for the foreground app. When you switch from one app to another you get a new toolbox. We end up loosing the toolbox for the system app.
Depends on: 896523
Depends on: 896526
Depends on: 897960
Depends on: 694019
Alias: gaia-devtools
No longer depends on: 916870
Depends on: 892562
No longer blocks: 835274
Depends on: 835274
No longer blocks: 890286
Depends on: 890286
Depends on: 725235
Depends on: 609872
Depends on: 922707
Depends on: 929061
Depends on: 928137
Depends on: 932754
Depends on: 932758
Depends on: 933716
Depends on: 939840
Depends on: 940275
Depends on: 940296
Depends on: 940314
Depends on: 940333
Depends on: 940950
Depends on: 943200
Depends on: 943202
Depends on: 943251
Depends on: 944318
Depends on: 961032
Depends on: 965099
I can't find `screenshot` button in 2/17 nightly, is it moved to else where?
Depends on: 973879
Depends on: 977043
Depends on: 945432
Depends on: 991662
Depends on: 997628
Depends on: 1002463
Depends on: 1010161
Depends on: 1042140
Depends on: 949629
Depends on: 787975
Depends on: 1045616
Depends on: 1046082
Depends on: 1030811
Depends on: 1053175
Depends on: 1069420
Depends on: 1102890
Depends on: 1129486
Depends on: 1129488
Depends on: 1143742
Depends on: 1145527
Given changes in org priorities with Firefox OS, DevTools is unlikely to focus specifically on Gaia needs moving forward, so I believe it's time to close this meta-bug.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.