Commit Graph

610 Commits

Author SHA1 Message Date
Patrick Brosset
b89a27598b Bug 1229859 - Introduce new import-globals-from eslint rule to import globals from other modules; r=Mossop 2015-12-04 11:21:21 +01:00
Patrick Brosset
3a25a5d01b Bug 1229859 - Massively reduce the number of eslint errors in devtools by ignoring lib files, adding missing .eslintrc files and making some rules be warnings; r=Mossop 2015-12-10 15:46:32 -05:00
Carsten "Tomcat" Book
69d7e4d6b5 merge mozilla-inbound to mozilla-central a=merge 2015-12-10 12:05:03 +01:00
Andrea Marchesini
f0f60b7dff Bug 1231100 - Get rid of nsIDOMFileReader - patch 2, r=sicking 2015-12-09 15:52:38 -05:00
Andrea Marchesini
3cdcfba987 Bug 1231100 - Get rid of nsIDOMFileReader - patch 1, r=sicking 2015-12-09 15:52:15 -05:00
Albert Juhé Lluveras
09df6bfafc Bug 951714 - DevTools Themes: Update network panel table headers to match new theme. r=vporof 2015-12-05 08:14:00 +01:00
Ahri MAERTEN
7d09a1872c Bug 1108042 - No autoblackboxing of minified sources when they've been already checked. r=ejpbruel 2015-11-26 18:26:01 +01:00
James Long
1dfbe14fa8 Bug 1230556 - avoid blocking the debugger shutdown on pending requests r=me 2015-12-05 13:04:21 -05:00
James Long
a27899d0cb Bug 1229923 - fix the debugger flashing a paused state on startup 2015-12-03 20:21:31 -05:00
Tom Tromey
c729a636bd Bug 1035545 - show wrapped primitives specially in console and variable view; r=vporof,fitzgen 2015-12-03 13:09:48 -07:00
Brian Grinstead
fe5e85731d Bug 1207868 - Fix lexical scope autocomplete for global 'let' and 'const';r=past 2015-12-03 11:35:33 -08:00
Brian Grinstead
3821dedcec Bug 1220011 - Yield on 'console close' command in test (fixes permafail with bug 1224294 applied); r=jwalker 2015-12-03 10:02:37 -05:00
Patrick Brosset
2c7f2d2f7d Bug 1230093 - Make the import-headjs-globals rule store variables correctly; r=Mossop 2015-12-03 11:17:02 +01:00
Nick Fitzgerald
ba0deaa3cd Bug 1229960 - Add support for computing and traversing dominator trees to HeapAnalysisWorker; r=jsantell
This commit defines `DominatorTreeNode`, a JS class representing a node in a
heap snapshot's dominator tree. Three heap analysis client/worker
request/responses request and create these `DominatorTreeNode`s. Unlike
censuses, dominator trees are too big to practically mirror in memory as JS
object structures. Instead, we have one request to get a partial/shallow
representation of the tree starting from the root, and another to get subsequent
children and siblings in the tree. This allows for incremental, lazy, and
bounded mirroring of the dominator tree as `DominatorTreeNode`s.
2015-12-03 09:15:13 -08:00
Patrick Brosset
22e72d6a95 Bug 1228005 - 2 - Tests for the keyframes and animated properties panel; r=tromey 2015-12-04 12:14:43 +01:00
Patrick Brosset
6da9f4b579 Bug 1228005 - 1 - Display animated property list with keyframes when an animation is selected; r=tromey r=bgrins 2015-12-09 09:49:23 -05:00
Tom Tromey
3e85cf8dd6 Bug 1224121 - fall back to non-authored editing for CSSOM-created rules; r=pbrosset 2015-12-03 08:55:14 -07:00
Alexandre Poirot
43d19c030e Bug 1229328 - Remove preprocessing from toolbox-window.xul. r=bgrins 2015-12-03 06:42:35 -08:00
Alexandre Poirot
65c61d2ff0 Bug 1225473 - Cleanup DebuggerClient on about:debugging close and fetch only the target of the currently opened tab. r=janx 2015-12-03 06:42:35 -08:00
Alexandre Poirot
fcfa56f4be Bug 1225473 - Support Service workers in child process. r=janx 2015-12-03 06:42:34 -08:00
Alexandre Poirot
49a26cab90 Bug 1225477 - Support listening for processes creation. r=jryans 2015-12-03 06:42:34 -08:00
Alexandre Poirot
98fb41e16b Bug 1227474 - Promisify all client methods. r=jryans 2015-12-03 06:42:34 -08:00
Patrick Brosset
624eb132d2 Bug 1225514 - Simple fix for searching with attribute selectors in the inspector; r=bgrins 2015-12-03 09:56:07 +01:00
Brian Grinstead
61c8097340 Bug 1218455 - Special case 'this' to include in console autocompletion;r=fitzgen 2015-12-02 09:24:16 -08:00
Tom Tromey
5ffe2d7544 Bug 1225192 - remove leading whitespace before prettifying css; r=pbrosset 2015-12-02 08:27:26 -07:00
Tom Tromey
a3d9bef546 Bug 1225192 - fix eslint complaints about css-logic.js; r=pbrosset 2015-12-02 08:27:25 -07:00
Patrick Brosset
94da3f401c Bug 1171863 - Define all positions and sizes in percentage for auto-resize; r=tromey
Instead of having the various positions and sizes of elements of the timeline
defined in pixels, this defines them in % of the total width.
This way the animations, scrubber, etc... adapt as you resize the panel.
The only complex thing here is resizing the header and background. Both of
them are generated via javascript. To do this, they are now positioned and sized
in % too, so they resize when the window is resized, and after a debounced
delay, they get re-generated too.
2015-12-02 13:52:15 +01:00
SJW
d52411379d Bug 1216654 - Clean up SVGs in JSON viewer. r=honza 2015-11-26 11:19:36 +01:00
Wes Kocher
6f8cb5e2e8 Backed out changeset d821c903bd2b (bug 1171863) for frequent failures in browser_animation_timeline_pause_button.js 2015-12-01 15:55:26 -08:00
James Long
3ba353efbd Bug 1200798 - refactor sources and breakpoints in debugger to use redux r=ejpbruel 2015-12-01 16:59:00 -05:00
Tom Tromey
4e510252ba Bug 1216234 - add inIDOMUtils.getCSSPseudoElementNames; r=heycam,pbrosset 2015-12-01 09:52:09 -07:00
Patrick Brosset
0df50fb2bf Bug 1171863 - Define all positions and sizes in percentage for auto-resize; r=tromey
Instead of having the various positions and sizes of elements of the timeline
defined in pixels, this defines them in % of the total width.
This way the animations, scrubber, etc... adapt as you resize the panel.
The only complex thing here is resizing the header and background. Both of
them are generated via javascript. To do this, they are now positioned and sized
in % too, so they resize when the window is resized, and after a debounced
delay, they get re-generated too.
2015-11-25 22:49:49 +01:00
Carsten "Tomcat" Book
73fc6f987c Merge mozilla-central to fx-team 2015-12-01 15:28:12 +01:00
Carsten "Tomcat" Book
eb309737df merge mozilla-inbound to mozilla-central a=merge 2015-12-01 15:25:14 +01:00
Patrick Brosset
56c7815f3e Bug 1229000 - Adds separator borders in the timeline toolbar; r=miker 2015-11-30 15:00:33 +01:00
Jomy
9752e77309 Bug 1169884 - Clearing recordings no longer clears in progress console recordings. r=jsantell 2015-11-30 14:18:36 -08:00
Tim Nguyen
6378da174b Bug 1227483 - Make filter presets icon blue when checked. r=bgrins 2015-11-30 12:11:10 -08:00
Carsten "Tomcat" Book
52b1025e4e Merge mozilla-central to fx-team 2015-11-30 13:46:30 +01:00
Carsten "Tomcat" Book
f607ed0a72 merge mozilla-inbound to mozilla-central a=merge 2015-11-30 13:19:02 +01:00
Carsten "Tomcat" Book
da90353384 Backed out changeset 258cff340229 (bug 1200798) for new intermittent test failures in browser_dbg_breakpoints-button-02.js 2015-11-30 12:45:12 +01:00
Mark Banner
b1da94ea1d Bug 1228628 - Add a minimal .eslintrc configuration for browser and start linting a few browser files with basic rules. r=Mossop 2015-11-30 11:42:25 +00:00
Grisha Pushkov
21b579b935 Bug 1093593 - Order of attributes in markup view depends on input order. r=pbro 2015-11-26 04:44:00 +01:00
James Long
1d6bdd413f Bug 1200798 - refactor sources and breakpoints in debugger to use redux r=ejpbruel 2015-11-29 14:40:51 -05:00
Eddy Bruel
c5376f5357 Bug 1220741 - We should not be able to interact with a detached BrowserTabActor;r=janx 2015-11-30 06:05:35 +01:00
Eddy Bruel
6d12bc20d2 Bug 1218817 - Implement RootActor.listServiceWorkerRegistrations;r=janx 2015-11-30 06:00:31 +01:00
Phil Ringnalda
490fc101a5 Back out 343223ce6b34 (bug 1228628) for Experiments xpcshell bustage
CLOSED TREE
2015-11-27 20:55:17 -08:00
Mark Banner
c2c03779e5 Bug 1228628 - Add a minimal .eslintrc configuration for browser and start linting a few browser files with basic rules. r=Mossop 2015-11-27 22:37:38 +00:00
Dave Townsend
8735758c91 Bug 1228628: Move all eslintignore rules to the top-level of the tree. r=mconley 2015-11-27 09:39:59 -08:00
Carsten "Tomcat" Book
fc7a8f3f45 merge mozilla-inbound to mozilla-central a=merge 2015-11-27 11:08:41 +01:00
Patrick Brosset
0b57fca422 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