Closed
Bug 1349009
Opened 7 years ago
Closed 7 years ago
[ESLint] Clean up responsivedesign.jsm
Categories
(DevTools :: Responsive Design Mode, defect, P3)
DevTools
Responsive Design Mode
Tracking
(firefox55 fixed)
RESOLVED
FIXED
Firefox 55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: jryans, Assigned: jryans)
References
Details
Attachments
(1 file)
No description provided.
Assignee | ||
Updated•7 years ago
|
Blocks: devtools-eslint
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 3•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=95356a76f25251ac607ab646f2abb1479e93646e
Assignee | ||
Comment 4•7 years ago
|
||
This ended up finding the `flags` module that was never required here... This might fix some intermittent tests, since we weren't setting testing mode correctly.
Assignee | ||
Comment 5•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=9035846b292c47b8e83f9d9cf52d705aabc85d9e
Depends on: 1326100
Comment 6•7 years ago
|
||
mozreview-review |
Comment on attachment 8849329 [details] Bug 1349009 - Fix ESLint errors in responsivedesign.jsm. https://reviewboard.mozilla.org/r/122126/#review124474 Thank you. This looks good to me. ::: devtools/client/responsivedesign/responsivedesign.jsm:249 (Diff revision 2) > try { > if (Services.prefs.getBoolPref("devtools.responsiveUI.rotate")) { > this.rotate(); > + } > + } catch (e) { > + // Ignored If it can fail, should we log the failure?
Attachment #8849329 -
Flags: review?(ttromey) → review+
Assignee | ||
Comment 7•7 years ago
|
||
(In reply to J. Ryan Stinnett [:jryans] (use ni?) from comment #4) > This ended up finding the `flags` module that was never required here... > This might fix some intermittent tests, since we weren't setting testing > mode correctly. Oops, looks like `flags` was actually there before, I must have removed it by accident while editing... x_x Anyway, at least the linting told me about it...!
Assignee | ||
Comment 8•7 years ago
|
||
mozreview-review-reply |
Comment on attachment 8849329 [details] Bug 1349009 - Fix ESLint errors in responsivedesign.jsm. https://reviewboard.mozilla.org/r/122126/#review124474 > If it can fail, should we log the failure? It can fail since there's no default value for it, so failure is actually the default path... Since this code is hopefully removed soon anyway, I'll clarify the comment (rather than adding a default value).
Comment hidden (mozreview-request) |
Comment 10•7 years ago
|
||
Pushed by jryans@gmail.com: https://hg.mozilla.org/integration/autoland/rev/ef9b3cb0421e Fix ESLint errors in responsivedesign.jsm. r=tromey
Comment 11•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ef9b3cb0421e
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•