Closed Bug 1371548 Opened 8 years ago Closed 8 years ago

No Browser Toolbox

Categories

(DevTools :: General, defect, P1)

55 Branch
x86_64
Windows 10
defect

Tracking

(firefox53 unaffected, firefox54 unaffected, firefox55 fixed)

VERIFIED FIXED
Firefox 55
Tracking Status
firefox53 --- unaffected
firefox54 --- unaffected
firefox55 --- fixed

People

(Reporter: euthanasia_waltz, Assigned: kmag)

References

Details

Attachments

(1 file)

STR: 1. menu->Developer->Browser Toolbox AR Nothing happened. ER: Browser Toolbox window appears. mozregression says 6:09.02 INFO: Last good revision: 196bfa86b5a63c20f7f6fdf3e30d9ff3d8839de3 6:09.02 INFO: First bad revision: 0d16a08bbcfa181535789a43856ef176cc9829c8 6:09.02 INFO: Pushlog: https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=196bfa86b5a63c20f7f6fdf3e30d9ff3d8839de3&tochange=0d16a08bbcfa181535789a43856ef176cc9829c8 6:10.52 INFO: Looks like the following bug has the changes which introduced the regression: https://bugzilla.mozilla.org/show_bug.cgi?id=1370027 OS: Windows10 1703 (15063.296) Under the profile folder, "chrome_debugger_profile" is being created but there is "prefs.js" only.
Blocks: 1370027
I have confirmed this issue in Windows7 and 10. unaffected in Ubuntu and macOS.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Hi Kris, we have a merge day coming up (June 12) and I don't want the Browser Toolbox to break on windows beta. Would it be possible to either look into this prior to the merge or temporarily back out Bug 1370027 until we can make sure Windows is fixed?
Flags: needinfo?(kmaglione+bmo)
Priority: -- → P1
I'll look into it today. In the worst case we can back out part 2 of bug 1370027, or fallback to the old code on Windows 10.
Assignee: nobody → kmaglione+bmo
Flags: needinfo?(kmaglione+bmo)
OK, so apparently the problem here is that we're creating the new toolbox process without redirecting stderr, so it only works when running with -console, and there's a console to inherit stderr from.
Comment on attachment 8876451 [details] Bug 1371548: Accept invalid stderr handles when spawning subprocesses. https://reviewboard.mozilla.org/r/147790/#review152172 looks okay to me. what about adding a test? ::: toolkit/modules/subprocess/subprocess_worker_win.js:384 (Diff revision 1) > + if (String(srcHandle) == win32.INVALID_HANDLE_VALUE || > + String(srcHandle) == win32.NULL_HANDLE_VALUE) { I don't totally understand this, these constants were declared with ctypes but you're comparing them as strings? ::: toolkit/modules/subprocess/subprocess_worker_win.js:449 (Diff revision 1) > > return `"${escaped}"`; > } > > spawn(options) { > + debug(`SPAWN PROCESS ${uneval(options)}`); did you mean to leave this in?
Attachment #8876451 - Flags: review?(aswan) → review+
Comment on attachment 8876451 [details] Bug 1371548: Accept invalid stderr handles when spawning subprocesses. https://reviewboard.mozilla.org/r/147790/#review152172 We already have xpcshell tests for this, but they pass either way because they always have a console. I don't really want to add mochitests for this module. > I don't totally understand this, these constants were declared with ctypes but you're comparing them as strings? ctypes pointer comparisons need to be done as string comparisons, for complicated and stupid reasons. > did you mean to leave this in? Nope.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Can you please verify the fix on m-c or in the next Nightly?
Flags: needinfo?(magicp.jp)
I have verified this issue was solved in the latest Nightly build (20170612030208). Thanks!
Status: RESOLVED → VERIFIED
Flags: needinfo?(magicp.jp)
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: