Status

defect
P3
normal
3 years ago
8 months ago

People

(Reporter: canuckistani, Unassigned)

Tracking

(Blocks 1 bug, {dev-doc-needed})

Trunk
Dependency tree / graph

Firefox Tracking Flags

(firefox52 wontfix)

Details

Firefox OS has been end-of-lifed and Web IDE has never been used by a lot of people. We should probably remove it timed with the mass-removal of other B2G-related code.
WebIDE is also our primary remote device connection UI at the moment.  I would think we should hold off until we've ported this feature set into about:debugging.

That work is tracked in bug 1212802.
Depends on: 1212802
Summary: Remove Web IDE → Remove WebIDE
(In reply to J. Ryan Stinnett [:jryans] (use ni?) from comment #1)
> WebIDE is also our primary remote device connection UI at the moment.  I
> would think we should hold off until we've ported this feature set into
> about:debugging.

Totally agree.
Priority: -- → P3
Blocks: 1350645
We're trying to stop using certain SDK APIs in bug 1350645, including sdk/system/child_process/subprocess which happens to be used in WebIDE. So removing WebIDE would help bug 1350645.

Now, if the blocking bug here (bug 1212802) takes too long to resolve and we want to remove sdk/system/child_process/subprocess before, then we'll need to figure something else and file another bug.
Confirmed on IRC in #devtools, WebIDE is the only way to do wifi debugging of web content on Firefox Android from desktop Firefox.

It would be a bummer to lose that ability.

What are the alternative APIs for sdk/system/child_process/subprocess?
The usages of child_process are for building apps (not important anymore) and running Firefox OS simulators (also not important).

So, we can remove these bits as needed without deleting WebIDE entirely.
This is also used by adbhelper to run adb/fastboot.
But I imagine we can bundle our copy of subprocess.js
Mass wontfix for bugs affecting firefox 52.
No longer blocks: 1350645
Alias: rm-webide

Comment 8

2 years ago
We should consider changing the WebIDE button to an about:debugging button.
(In reply to Tim Nguyen :ntim from comment #8)
> We should consider changing the WebIDE button to an about:debugging button.

If we keep the button, let's at least make sure we remove the strange "auto-insertion into main toolbar" behavior, which I think mostly just annoyed people.  (I believe this happens inside WebIDE itself.)
(In reply to Alexandre Poirot [:ochameau] from comment #6)
> This is also used by adbhelper to run adb/fastboot.
> But I imagine we can bundle our copy of subprocess.js

Please don't. That module has a mess of issues, which is why it was already removed from the SDK. You can use Subprocess.jsm directly instead.
Quick summary of the state of things here:

Currently, WebIDE is our only way to discover and connect to remote devices.
We want to remove it, but before we do this, we want to move this functionality to the about:debugging page instead.

For this, we need
1. Bug 1243329 - This will bring the host/port connect part. We already have (rebased) patches for this and might be able to land this in Q2 2017.
2. Bug 1212802 - To discover devices, connect over wifi, etc. For now, we have not planned this work.
Adding dev-doc-needed, so we can make sure to keep an eye on this and update docs when the time comes.
Keywords: dev-doc-needed

Updated

2 years ago
Blocks: 1383903
No longer blocks: 1383903

Updated

Last year
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.