Closed Bug 1467400 Opened 6 years ago Closed 6 years ago

Disable JavaScript should not be available in the browser toolbox

Categories

(DevTools :: General, defect, P3)

61 Branch
defect

Tracking

(firefox60 wontfix, firefox61 wontfix, firefox62 wontfix, firefox63 verified)

VERIFIED FIXED
Firefox 63
Tracking Status
firefox60 --- wontfix
firefox61 --- wontfix
firefox62 --- wontfix
firefox63 --- verified

People

(Reporter: zstimi, Assigned: miker)

Details

Attachments

(2 files)

[Affected versions]: 
- Firefox 61.0b3
- Firefox 60, Fx55, Fx52

[Affected platforms]:
- Windows 8.1 x64
- Mac OS X 10.13
- Ubuntu 14.04 x64.

[Steps to reproduce]:

1. Open Firefox. 
2. Open some websites in different tabs.
3. Open the Inspector by pressing F12. 
4. Click on the Meatball Menu then on settings menu item.
5. From Advanced settings section enable "Enable browser chrome and add-on debugging toolboxes" and "Enable remote debugging"
6. Go to Tools -> Web Developer -> Browser Toolbox to display the Developer Tools window.
7. Click on the Meatball Menu/Settings then from Advanced settings section check Disable JavaScript checkbox.

[Actual result]:
All the opened tabs were closed. After restarting Firefox all tabs reopened.

[Expected result]:
I'm not sure what should happened, but on Inspector page checking the Disable JavaScript checkbox no tabs were closed.

[Regression range]:
- This is not a recent regression, it reproduces back to Fx 52.
Product: Firefox → DevTools
Thanks for filing. I also do not know what should happen exactly tbh. Let me ping Mike who should be able to clarify the wanted behavior.
Flags: needinfo?(mratcliffe)
Priority: -- → P3
So here we are disabling JavaScript inside the browser itself and reloading the UI, which fails because there is no JS.

Disabling JS shouldn't be available from the browser debugger because it is applied to the tab containing the toolbox.
Flags: needinfo?(mratcliffe)
Assignee: nobody → mratcliffe
Status: NEW → ASSIGNED
Summary: [Dev Tools] Checking Disable JavaScript checkbox from Browser Toolbox closes all the opened tabs → Disable JavaScript should not be available in the browser toolbox
Comment on attachment 9003829 [details]
Bug 1467400 - Disable JavaScript should not be available in the browser toolbox

A one liner to disable the disable JS option in the options panel when inside the browser toolbox.
Attachment #9003829 - Flags: review?(gl)
Comment on attachment 9003829 [details]
Bug 1467400 - Disable JavaScript should not be available in the browser toolbox

Gabriel [:gl] (ΦωΦ) has approved the revision.
Attachment #9003829 - Flags: review+
Attachment #9003829 - Flags: review?(gl)
Pushed by mratcliffe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4b410bf97457
Disable JavaScript should not be available in the browser toolbox r=gl
https://hg.mozilla.org/mozilla-central/rev/4b410bf97457
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
I can confirm this issue is fixed, I verified using Firefox 63.0a1 on Win 8.1 x64, Mac OS X 10.13 and Ubuntu 18.04 x64.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: