Closed Bug 1021202 Opened 10 years ago Closed 10 years ago

Turn @media sidebar on by default

Categories

(DevTools :: Style Editor, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 33

People

(Reporter: harth, Assigned: harth)

Details

Attachments

(1 file, 1 obsolete file)

It's useful and doesn't show up for sources w/o @media rules.
Assignee: nobody → fayearthur
Attachment #8435925 - Flags: review?(bgrinstead)
Comment on attachment 8435925 [details] [diff] [review]
Set pref to true and update tests

Review of attachment 8435925 [details] [diff] [review]:
-----------------------------------------------------------------

Happy with enabling this by default

::: browser/devtools/styleeditor/test/browser_styleeditor_media_sidebar.js
@@ -4,4 @@
>  
>  // https rather than chrome to improve coverage
>  const TESTCASE_URI = TEST_BASE_HTTPS + "media-rules.html";
> -const PREF = "devtools.styleeditor.showMediaSidebar";

You may want to actually keep this pref around so that you can add a check that the sidebar gets hidden when the pref gets flipped to false
Attachment #8435925 - Flags: review?(bgrinstead) → review+
Attached patch To check inSplinter Review
Added a test for hiding the sidebar on pref flip.

Try:
https://tbpl.mozilla.org/?tree=Try&rev=d84a2e9109f7
Attachment #8435925 - Attachment is obsolete: true
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/729f6c1413c7
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 33
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: