Closed
Bug 935788
Opened 11 years ago
Closed 11 years ago
Pretty Print button breaks attempting to work on non-js files
Categories
(DevTools :: Debugger, defect, P2)
Tracking
(firefox25 unaffected, firefox26 unaffected, firefox27 fixed, firefox28 fixed)
RESOLVED
FIXED
Firefox 28
Tracking | Status | |
---|---|---|
firefox25 | --- | unaffected |
firefox26 | --- | unaffected |
firefox27 | --- | fixed |
firefox28 | --- | fixed |
People
(Reporter: canuckistani, Assigned: fitzgen)
Details
(Whiteboard: [qa-])
Attachments
(1 file)
3.65 KB,
patch
|
vporof
:
review+
bajaj
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
STR: * look at a json file, eg taps.json from http://canuckistani.github.io/st-beer/ * hit the pretty print button, there's a log message 'togglePrettyPrint threw an exception: Can't prettify non-javascript files.', but the button stays activated * only way to get it de-activated is toggle black box button on, then off
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → nfitzgerald
Priority: -- → P2
Assignee | ||
Comment 1•11 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=e3964c818177
Attachment #830505 -
Flags: review?(vporof)
Assignee | ||
Updated•11 years ago
|
status-firefox25:
--- → unaffected
status-firefox26:
--- → unaffected
status-firefox27:
--- → affected
status-firefox28:
--- → affected
Comment 2•11 years ago
|
||
Comment on attachment 830505 [details] [diff] [review] bug-935788-pp-non-js.patch Review of attachment 830505 [details] [diff] [review]: ----------------------------------------------------------------- Take my r+. TAKE IT! ::: browser/devtools/debugger/test/browser_dbg_pretty-print-12.js @@ +19,5 @@ > + gDebugger = gPanel.panelWin; > + gEditor = gDebugger.DebuggerView.editor; > + gSources = gDebugger.DebuggerView.Sources; > + > + waitForSourceShown(gPanel, "") You could use preferredValue here instead of this and the next then, but meh.
Attachment #830505 -
Flags: review?(vporof) → review+
Assignee | ||
Comment 3•11 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/77765853448f
Whiteboard: [fixed-in-fx-team]
Comment 4•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/77765853448f
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 28
Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 830505 [details] [diff] [review] bug-935788-pp-non-js.patch [Approval Request Comment] Bug caused by (feature/regressing bug #): Bug 916180 User impact if declined: It will appear as if you can pretty print non-js files (such as html files) in the debugger, but then won't pretty print the file, but the UI will still act like the file is pretty printed. Testing completed (on m-c, etc.): Patch has been on m-c for a few days with no hiccups. Risk to taking this patch (and alternatives if risky): Very little. Tiny patch that affects a developer-only facing feature. String or IDL/UUID changes made by this patch: None.
Attachment #830505 -
Flags: approval-mozilla-aurora?
Updated•11 years ago
|
Attachment #830505 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 6•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/c0c46ae54ed7
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•