Closed Bug 1181834 Opened 9 years ago Closed 9 years ago

Migrate browser/devtools/fontinspector tests to shared-head.js

Categories

(DevTools :: Inspector, defect)

defect
Not set
normal

Tracking

(firefox42 fixed)

RESOLVED FIXED
Firefox 42
Tracking Status
firefox42 --- fixed

People

(Reporter: bgrins, Assigned: bgrins)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

We should import shared-head.js in fontinspector/test/head.js and remove any newly unnecessary code after that.
Bug 1181834 - Migrate browser/devtools/fontinspector tests to shared-head.js;r=jryans
Attachment #8631324 - Flags: review?(jryans)
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
Comment on attachment 8631324 [details]
MozReview Request: Bug 1181834 - Migrate browser/devtools/fontinspector tests to shared-head.js;r=jryans

https://reviewboard.mozilla.org/r/12877/#review11469

::: browser/devtools/framework/test/shared-head.js:15
(Diff revision 1)
>  const DevToolsUtils = devtools.require("devtools/toolkit/DevToolsUtils");

Change to just `require`

::: browser/devtools/framework/test/shared-head.js:10
(Diff revision 1)
>  const {Promise: promise} = Cu.import("resource://gre/modules/Promise.jsm", {});

Can we change this to require("promise")?
Attachment #8631324 - Flags: review?(jryans) → review+
Updated the reviewboard push to update the comments.  Here's a try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=887ddf8d7a7c
Keywords: checkin-needed
remote:   https://hg.mozilla.org/integration/fx-team/rev/5d5c0e5eca9f
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/5d5c0e5eca9f
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 42
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: