Commit Graph

586 Commits

Author SHA1 Message Date
Brian Grinstead
5f1a24b878 Bug 1218455 - Special case 'this' to include in console autocompletion;r=fitzgen 2015-12-02 09:24:16 -08:00
Tom Tromey
b25d8399f4 Bug 1225192 - remove leading whitespace before prettifying css; r=pbrosset 2015-12-02 08:27:26 -07:00
Tom Tromey
26c96bf4e5 Bug 1225192 - fix eslint complaints about css-logic.js; r=pbrosset 2015-12-02 08:27:25 -07:00
Patrick Brosset
cc9fdc2169 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
e4f77ad2cd Bug 1216654 - Clean up SVGs in JSON viewer. r=honza 2015-11-26 11:19:36 +01:00
Wes Kocher
3f688d23a8 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
516a2e9356 Bug 1200798 - refactor sources and breakpoints in debugger to use redux r=ejpbruel 2015-12-01 16:59:00 -05:00
Tom Tromey
4379b935bc Bug 1216234 - add inIDOMUtils.getCSSPseudoElementNames; r=heycam,pbrosset 2015-12-01 09:52:09 -07:00
Patrick Brosset
03221eed24 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
81c50d96fe Merge mozilla-central to fx-team 2015-12-01 15:28:12 +01:00
Carsten "Tomcat" Book
c78dfb0a34 merge mozilla-inbound to mozilla-central a=merge 2015-12-01 15:25:14 +01:00
Patrick Brosset
4e84be082d Bug 1229000 - Adds separator borders in the timeline toolbar; r=miker 2015-11-30 15:00:33 +01:00
Jomy
9eec0d79f9 Bug 1169884 - Clearing recordings no longer clears in progress console recordings. r=jsantell 2015-11-30 14:18:36 -08:00
Tim Nguyen
acbca25c37 Bug 1227483 - Make filter presets icon blue when checked. r=bgrins 2015-11-30 12:11:10 -08:00
Carsten "Tomcat" Book
77dfa13ff4 Merge mozilla-central to fx-team 2015-11-30 13:46:30 +01:00
Carsten "Tomcat" Book
d572383d8b merge mozilla-inbound to mozilla-central a=merge 2015-11-30 13:19:02 +01:00
Carsten "Tomcat" Book
7dec450c54 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
a2902cbee3 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
c0c14230e3 Bug 1093593 - Order of attributes in markup view depends on input order. r=pbro 2015-11-26 04:44:00 +01:00
James Long
a2a7c97727 Bug 1200798 - refactor sources and breakpoints in debugger to use redux r=ejpbruel 2015-11-29 14:40:51 -05:00
Eddy Bruel
03570807c3 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
4cac41d983 Bug 1218817 - Implement RootActor.listServiceWorkerRegistrations;r=janx 2015-11-30 06:00:31 +01:00
Phil Ringnalda
19851ebadb Back out 343223ce6b34 (bug 1228628) for Experiments xpcshell bustage
CLOSED TREE
2015-11-27 20:55:17 -08:00
Mark Banner
70f59040f6 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
67b6efe88d 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
7ee93cdf5d merge mozilla-inbound to mozilla-central a=merge 2015-11-27 11:08:41 +01:00
Patrick Brosset
247a257a7a 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
Sami Jaktholm
8cf567376b Bug 1219953 - Consider Markup View autoscroll finished only if the view has not scrolled for 30 consecutive frames. r=pbrosset
Waiting for 50ms and checking if the scrollTop has changed does not
necessarily mean that the scrolling has stopped (or even started). It
might also mean that a GC has blocked the autoscroll interval from
running and the scrolling will happen in a few moments. If the view
hasn't even started to scroll, the assertion that the view has scrolled
fails. If the view has started to scroll, the next call to
waitForViewScroll() might resolve when before the direction of the
scrolling is reversed causing the assertions that the direction has
changed to fail.

Instead of relying on intervals to detect if scrolling has stopped, the
test could wait for a certain number of frames during which the view
has not scrolled to determine if the scrolling has ended. This method has
successfully been used in layout/base/tests/test_scroll_snapping.html
to detect when scrolling has stopped.

These changes make browser_markupview_dragdrop_autoscroll.js to use the
previously presented method to detect the end of markup-view autoscroll.
The code used in the layout test has been included in the test and
modified to yield and use promises when waiting for a frame.
2015-11-21 21:43:33 +02:00
Pablo
1b6feadbee Bug 770156 - GCLI needs a command to return the number of matches for a specified CSS selector. r=miker 2015-11-14 15:15:00 +01:00
Patrick Brosset
e8ff27b299 Bug 1197100 - 5 - Make time blocks selectable; r=tromey 2015-11-17 15:05:57 +01:00
Gijs Kruitbosch
261d2811d9 Bug 1228032 - restore chrome://global/skin/ where chrome://browser/skin/ was removed, r=jryans 2015-11-25 22:22:19 +00:00
Phil Ringnalda
af044bdf0c Back out 34c9087517ea (bug 1200798) for e10s bustage in browser_dbg_reload-same-script.js
CLOSED TREE
2015-11-25 21:39:05 -08:00
James Long
781d79a70c Bug 1200798 - refactor sources and breakpoints in debugger to use redux r=ejpbruel 2015-11-25 19:41:26 -05:00
Alexandre Poirot
3c90c84df9 Bug 1221141 - Specify absolute path to each about:debugging test file to please Windows. r=me for bustage fix on CLOSED TREE 2015-11-25 21:31:28 +01:00
Alexandre Poirot
e4a83f8b2f Bug 1227139 - Fix the webconsole for addon and browser content toolbox by handling a missing performance property on this.window. r=bgrins 2015-11-25 07:54:26 -08:00
Alexandre Poirot
6d95e1287e Bug 1221141 - Support installing addon from local directory in about:debugging. r=janx 2015-11-25 07:54:26 -08:00
Alexandre Poirot
d004eb7e0d Bug 1226185 - Ensure to unmount about:debugging components on tab close. r=janx 2015-11-25 07:54:25 -08:00
Alexandre Poirot
e5669aa242 Bug 1226185 - Fix preferences listener leak in about:debugging. r=janx 2015-11-25 07:54:25 -08:00
Nigel Babu
6b66e9c7da Backed out changeset 57dbf05c9f5b (bug 951714) for devtools bustage on a CLOSED TREE 2015-11-25 16:34:45 +05:30
Albert Juhé Lluveras
ec39f0985a Bug 951714 - DevTools Themes: Update network panel table headers to match new theme. r=vporof 2015-11-24 10:49:00 +01:00
Nick Fitzgerald
4d4e2d4b7a Bug 1226217 - Use less verbose cycle collection macros for mozilla::devtools::HeapSnapshot; r=bz 2015-11-19 07:45:00 +01:00
Eddy Bruel
1f9c61bfe5 Bug 1218817 - Implement ServiceWorkerRegistrationActorList;r=janx 2015-11-27 13:44:14 +01:00
Eddy Bruel
3bbc61f570 Bug 1218817 - Implement ServiceWorkerRegistrationActor;r=janx 2015-11-27 13:43:40 +01:00
Mike Hommey
488bd1361b Bug 1229241 - Differentiate preprocessed and non-preprocessed JS pref files. r=gps 2015-12-01 13:57:52 +09:00
Wes Kocher
d2cd12e602 Merge m-c to inbound, a=merge 2015-11-30 17:47:00 -08:00
Nick Fitzgerald
fc1e123cbe Bug 1226440 - Expose a method to get a node's immediate dominator; r=bz,sfink
This commit adds the `getImmediateDominator` method to `DominatorTree` which
returns the id of the immediate dominator of the node associated with the given
id. This enables walking the dominator tree from leaves up parents all the way
to the root of the tree.
2015-11-30 17:38:06 -08:00
Nick Fitzgerald
2aace9ce67 Bug 1226416 - Expose a method to get a node's set of immediately dominated nodes in the dominator tree; r=bz,sfink
This adds the `getImmediatelyDominated` method to `DominatorTree` which takes a
node id and returns the set of each node ids for every node that is immediately
dominated by the node with the given id. The results are sorted by greatest to
least retained size. In conjunction with the `root` attribute, this can be used
to traverse the whole dominator tree.
2015-11-30 17:38:06 -08:00
Jonathan Griffin
337d067e49 Bug 1227394 - Disable an mdt-e10s test on Windows, a=test-only 2015-11-25 12:37:46 -08:00
Brian Grinstead
f619a77c55 Bug 1226744 - Add a command line flag to auto open devtools when the browser starts up;r=jryans 2015-11-24 12:35:12 -08:00
Tom Tromey
769042f046 Bug 1084430 - fix styling of <return> and <exception> in variable view; r=vporof 2015-11-19 07:52:00 +01:00