Commit Graph

6 Commits

Author SHA1 Message Date
Brian Grinstead
899b355eb7 Bug 1181834 - Migrate browser/devtools/fontinspector tests to shared-head.js;r=jryans 2015-07-09 16:18:11 -07:00
J. Ryan Stinnett
7e2158acc2 Bug 1178851 - Move testing flag to DevToolsUtils. r=ochameau 2015-07-02 04:56:57 -05:00
Sami Jaktholm
2f8c652774 Bug 1158634 - Tests for editable font previews. r=pbrosset
This adds two tests:
1. browser_fontinspector_edit-previews.js checks that
   * if the text is changed, the preview images should change
   * if the text field is empty, the initial previews should be shown

   It doesn't check the exact preview images because they are drawn on a canvas
   causing them to vary between systems, platforms and software versions.

2. browser_fontinspector_edit-previews-show-all.js checks that the 'Show all'
   mode is remembered if the preview text is edited after the button is clicked.
2015-05-21 19:21:43 +03:00
Sami Jaktholm
b3f47703b6 Bug 1158634 - Modify font-inspector tests for better code sharing. r=pbrosset
This patch adds a new method openFontInspectorForURL to the head.js file which
a) opens a new tab with the given URL
b) opens inspector for the tab
c) selects font-inspector and waits for it to initialize

Previously the only font-inspector test was doing all that inside the test but
as new tests require the similar functionality it's better to reside in
head.js.
2015-05-14 14:21:53 +03:00
Patrick Brosset
bb9603f20a Bug 1075319 - Use native add_task in devtools mochitests rather than custom asyncTest. r=miker 2014-12-15 03:37:00 -05:00
Heather Arthur
daf196bce6 Bug 886041 - Make the font inspector remotable; r=bgrins 2014-11-25 07:36:44 -08:00