Commit Graph
41 Commits
Author SHA1 Message Date
Christoph Kerschbaumer 5452a95b49 Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
J. Ryan Stinnett f2aabfe814 Bug 1358261 - Disable intermittent browser_responsiveui_touch.js. r=jryans
MozReview-Commit-ID: InLJuCKg6ko
2017-04-25 16:51:25 -05:00
Alexandre Poirot 06bea2fcdb Bug 1335419 - Lazy load and instanciate computed view, ruleview and font inspector. r=jdescottes
MozReview-Commit-ID: CtI8w6Ao35u
2017-01-31 16:26:40 +01:00
Jared Wein 5edec1c0d9 Bug 1315013 - part 1, remove unnecessary double-slash comments that don't add value and look out of place with the spaced-comment eslint rule. r=mossop
MozReview-Commit-ID: HIUTSdkXxbY
2016-11-03 14:42:06 -04:00
Mark Banner 233309fbe2 Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
MozReview-Commit-ID: JrbFxQ5rj6I
2016-10-18 08:38:10 +01:00
J. Ryan Stinnett f6d8d56e28 Bug 1296498 - Update style editor RDM usage for new RDM. r=ntim
This is done by making the RDM APIs used by the style editor and its test for
this feature the same across old and new RDM, so that the test will work with
either version.

MozReview-Commit-ID: CdM6qeZQqni
2016-09-28 13:49:30 -05:00
J. Ryan Stinnett aa6957335f Bug 1296498 - Enable new RDM UI for Nightly. r=ntim
MozReview-Commit-ID: Iiu9tf4o9Df
2016-09-26 15:19:15 -05:00
Alexandre Poirot c1cbbf4f49 Bug 1300822 - Fix tab load event wait in devtools test helpers. r=tromey
MozReview-Commit-ID: 8vSSaDloJND
2016-09-06 07:05:32 -07:00
Jarda Snajdr 99886dffb7 Bug 1239132 - Remove CPOW access from 'wait' function in shared-head.js r=pbro
MozReview-Commit-ID: 1oifs1zuPZw
2016-09-12 06:26:48 +02:00
James Long 24266d6355 Bug 1267365 - move various flags out of DevToolsUtils and don't depend on that module so much r=tromey 2016-08-05 17:41:01 -04:00
Gabriel Luong 48d32bdbbf Bug 1247729 - Move the box model panel into the computed styles panel r=jdescottes 2016-07-19 04:30:13 -04:00
Ryan VanderMeulen 9e3f87ab43 Bug 1277274 - Skip browser_responsiveui_window_close.js on Linux debug e10s for being permafail. 2016-07-15 12:55:26 -04:00
danhuang1202 99652824ff Bug 1274704 - Update Date.now() to performance.now() for getting accurate time diffence. r=jryans
MozReview-Commit-ID: LkdWbWCQDqb
2016-06-22 18:11:32 +08:00
Ben Kelly 0c641a9b46 Bug 1276271 P2 Verify responsive design UI does not leak when window is closed. r=jryans 2016-05-28 05:59:09 -07:00
danhuang1202 c0b7dae3d5 Bug 920956 - Suppress regular mouse events and emulate 300ms delay. r=jryans
MozReview-Commit-ID: JPaUdvdlXdS
2016-05-19 00:37:00 -04:00
J. Ryan Stinnett 530b903fcf Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.

To generate this patch, I ran:

./mach eslint devtools --no-ignore --fix

After this, I reverted any changes to third party files that we really do want
to ignore.

MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
Brian Grinstead 02f9ddbe39 Bug 1269763 - Convert instances of toolbox.frame.contentWindow to toolbox.win;r=jdescottes
MozReview-Commit-ID: 2jPa6K6io40
2016-05-03 15:46:24 -07:00
Chris Manchester a3478d13f6 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Alexandre Poirot 433e5b03a7 Bug 1248603 - Register devtools menuitems dynamically. r=gijs,jryans 2016-04-01 05:49:00 -07:00
Ryan VanderMeulen b005061a93 Bug 1252201 - Skip various leaky devtools tests on Linux debug as well. 2016-03-05 22:17:23 -05:00
Mike de Boer fd7fd89140 Bug 1241930: Part 3 - convert all assertion methods used inside content tasks to the Assert.* family in devtools tests. r=mconley 2016-03-04 14:32:27 +01:00
Ryan VanderMeulen 38841afbe3 Bug 1252201 - Skip some devtools tests that leak on OSX e10s. 2016-03-02 23:15:38 -05:00
Tim Nguyen 11d0bd5a48 Bug 828008 - Add test for responsive mode UA textbox. r=jryans
MozReview-Commit-ID: 7ZHxEICgIG6
2016-03-01 18:48:15 +01:00
Julien Wajsberg 74a3c19c3e Bug 1250691 - [Devtools][Responsive mode] The "touchend" event should not have the removed touch. r=jryans 2016-02-26 09:40:00 -05:00
Alexandre Poirot dd101c6942 Bug 1250833 - Stop using browser.xul globals specific to devtools. r=jryans 2016-02-27 04:51:11 -08:00
Patrick Brosset 26c939eaa3 Bug 1245420 - Sort devtools/client/framework tests and clean-up browser_toolbox_tabsswitch_shortcuts.js; r=ochameau 2016-02-04 22:47:15 +01:00
J. Ryan Stinnett d82e34986f Bug 1239562 - Use explicit events to fix test races in responsive design. r=ochameau 2016-02-01 19:29:43 -06:00
J. Ryan Stinnett cfdb85d2c2 Bug 1074835 - Enable responsive design tests on Windows with e10s. r=me 2016-02-01 19:29:43 -06:00
Gabriel Luong 545ea222c5 Bug 1238133 - Part 4: Make the computed view live inside the inspector panel frame r=bgrins 2016-01-26 11:17:48 -05:00
Tim Nguyen a47ccd9640 Bug 1235953 - Refactor responsive mode tests to use add_task to not use CPOWs and make sure they all wait for the off event. r=ochameau 2016-01-07 23:18:56 +01:00
Patrick Brosset 1e4fd4ece5 Bug 1222409 - Listen to window resize events on server and use this to refresh style-inspector; r=bgrins
1 - Make the LayoutChangesObserver also send "resize" events; r=bgrins
The LayoutChangesObserver was originally made to observe all kinds of
layout-related events. So far, it was only observing reflows though.
This adds the capability to also observe resize events on the content
window.

2 - Removed the non-e10s rule/computed-views refreshing mechanism; r=bgrins
When the window is resized, the styles shown in the rule-view and
computed-view need to be updated (media-queries may be at play).
This was done before using a local-only, non-e10s solution. The
inspector-panel would listen to the resize event on the linkedBrowser
in the current tab.
This, obviously, did not work with e10s or across a remote connection.
This change just removes all of the code involved with this.
This won't cause any regression or backwards-compatibility problems as
a new server-driven resize observer is being put in place in this bug.
Even if you connected to an older server, you wouldn't see a difference
because the refresh-on-resize didn't work over remote connections already.

3 - Refresh the style-inspector when the LayoutChangesObserver detects resize
The implementation is simple, the inspector actor uses the
LayoutChangesObserver to detect window resize, and when it does, it
forwards the event to its front.
This is similar to how we deal with reflow events, except that for
reflows, the inspector actor (walker in this case), first filters on
the server to see if the reflow would indeed impact known nodes.
For resize events, it seemed more complex to do this kind of server
side filtering as this would involve remembering which node is currently
selected and which style were applied, and then compare that with the
new styles.

4 - Tests for the style-inspector refresh on window resize
2015-11-26 12:18:17 +01:00
Jonathan Griffin 8c3b2615d4 Bug 1221499 - Disable tests that fail on e10s windows, r=jmaher 2015-11-05 07:36:09 -08:00
Brian Grinstead 1597df1ee8 Bug 1162848 - Use a single synthesizeKeyFromKeyTag helper for mochitest-devtools;r=jryans 2015-10-21 15:05:13 -07:00
J. Ryan Stinnett 687866dde2 Bug 1203159 - Rewrite DevTools resource URLs. r=ochameau 2015-10-21 12:48:53 -05:00
Carsten "Tomcat" Book 036e6d2fa3 Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Sebastian Hengst 190bccea7d Backed out changeset c6b267589d0d (bug 1202902) for Mulet Reftest, W3C Platform Test and other failures. r=backout a=backout on a CLOSED TREE 2015-10-07 13:36:26 +02:00
Shu-yu Guo a021cebc10 Bug 1202902 - Fix the world. (r=ato for marionette, rs=Mossop for rest) 2015-10-06 14:00:30 -07:00
J. Ryan Stinnett b17c143421 Bug 912121 - Update misc. DevTools paths and comments. rs=devtools 2015-09-21 12:07:31 -05:00
J. Ryan Stinnett 2dada8f365 Bug 912121 - Rewrite require / import to match source tree. rs=devtools
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location.  Here we rewrite all require and import calls to match the new
location that these files are installed to.
2015-09-21 12:04:18 -05:00
J. Ryan Stinnett b2383b2682 Bug 912121 - Adjust ESLint files. r=pbrosset
Move ESList files up to /devtools to represent the entire DevTools tree.

Various relative paths and ignore files are also updated.
2015-09-21 12:02:32 -05:00
J. Ryan Stinnett a3073e0420 Bug 912121 - Migrate major DevTools directories. rs=devtools
Move major DevTools files to new directories using the following steps:

hg mv browser/devtools devtools/client
hg mv toolkit/devtools/server devtools/server
hg mv toolkit/devtools devtools/shared

No other changes are made.
2015-09-21 12:02:24 -05:00