Commit Graph
934 Commits
Author SHA1 Message Date
Hernan Rodriguez Colmeiro 31215512f2 Bug 1081245 - Make the call tree text select and copy-able. r=nfitzgerald 2015-10-30 02:57:00 -03:00
Albert Juhé Lluveras e934d8b794 Bug 1100135 - DevTools Themes: Replace checkmark symbol with word 'Status' in Netmonitor header. r=vporof,ntim 2015-12-11 12:23:00 +01:00
Wes Kocher 534db8aad2 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 d94fbef9bd Bug 1200798 - refactor sources and breakpoints in debugger to use redux r=ejpbruel 2015-12-01 16:59:00 -05:00
Tom Tromey baf20b0486 Bug 1216234 - add inIDOMUtils.getCSSPseudoElementNames; r=heycam,pbrosset 2015-12-01 09:52:09 -07:00
Patrick Brosset bc85e3c3fa 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 0e4f218ef9 Merge mozilla-central to fx-team 2015-12-01 15:28:12 +01:00
Carsten "Tomcat" Book d1de4f682d merge mozilla-inbound to mozilla-central a=merge 2015-12-01 15:25:14 +01:00
Patrick Brosset 29a0a23ce6 Bug 1229000 - Adds separator borders in the timeline toolbar; r=miker 2015-11-30 15:00:33 +01:00
Jomy 21b0d64a63 Bug 1169884 - Clearing recordings no longer clears in progress console recordings. r=jsantell 2015-11-30 14:18:36 -08:00
Tim Nguyen 27ff4c8bd2 Bug 1227483 - Make filter presets icon blue when checked. r=bgrins 2015-11-30 12:11:10 -08:00
Carsten "Tomcat" Book 6c449ac928 Merge mozilla-central to fx-team 2015-11-30 13:46:30 +01:00
Carsten "Tomcat" Book 5b7e6446f3 merge mozilla-inbound to mozilla-central a=merge 2015-11-30 13:19:02 +01:00
Carsten "Tomcat" Book f3d45a4d77 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 bee3c47f76 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 56416bde3c Bug 1093593 - Order of attributes in markup view depends on input order. r=pbro 2015-11-26 04:44:00 +01:00
James Long 267225b263 Bug 1200798 - refactor sources and breakpoints in debugger to use redux r=ejpbruel 2015-11-29 14:40:51 -05:00
Eddy Bruel a62b8118f8 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 6715ea2022 Bug 1218817 - Implement RootActor.listServiceWorkerRegistrations;r=janx 2015-11-30 06:00:31 +01:00
Phil Ringnalda c82c1940e5 Back out 343223ce6b34 (bug 1228628) for Experiments xpcshell bustage
CLOSED TREE
2015-11-27 20:55:17 -08:00
Mark Banner 08204dfd4e 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 8ccbdf748e 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 51bf14ca54 merge mozilla-inbound to mozilla-central a=merge 2015-11-27 11:08:41 +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
Sami Jaktholm 9b359b65f1 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 ce981411e1 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 57c9176679 Bug 1197100 - 5 - Make time blocks selectable; r=tromey 2015-11-17 15:05:57 +01:00
Gijs Kruitbosch 7c40709723 Bug 1228032 - restore chrome://global/skin/ where chrome://browser/skin/ was removed, r=jryans 2015-11-25 22:22:19 +00:00
Phil Ringnalda 41c1de0d7d 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 bc08c20fd9 Bug 1200798 - refactor sources and breakpoints in debugger to use redux r=ejpbruel 2015-11-25 19:41:26 -05:00
Alexandre Poirot 08815ea8d6 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 7e64ff9782 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 ff2da7caec Bug 1221141 - Support installing addon from local directory in about:debugging. r=janx 2015-11-25 07:54:26 -08:00
Alexandre Poirot 5b48b0f323 Bug 1226185 - Ensure to unmount about:debugging components on tab close. r=janx 2015-11-25 07:54:25 -08:00
Alexandre Poirot 6c8e8b0f04 Bug 1226185 - Fix preferences listener leak in about:debugging. r=janx 2015-11-25 07:54:25 -08:00
Nigel Babu fe07d11867 Backed out changeset 57dbf05c9f5b (bug 951714) for devtools bustage on a CLOSED TREE 2015-11-25 16:34:45 +05:30
Albert Juhé Lluveras c4385a1e36 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 79d5400df7 Bug 1226217 - Use less verbose cycle collection macros for mozilla::devtools::HeapSnapshot; r=bz 2015-11-19 07:45:00 +01:00
Eddy Bruel 207703e34e Bug 1218817 - Implement ServiceWorkerRegistrationActorList;r=janx 2015-11-27 13:44:14 +01:00
Eddy Bruel 0ac1a6b212 Bug 1218817 - Implement ServiceWorkerRegistrationActor;r=janx 2015-11-27 13:43:40 +01:00
Mike Hommey f476a8aaab Bug 1229241 - Differentiate preprocessed and non-preprocessed JS pref files. r=gps 2015-12-01 13:57:52 +09:00
Wes Kocher 50075c7ca9 Merge m-c to inbound, a=merge 2015-11-30 17:47:00 -08:00
Nick Fitzgerald 11e4d4d183 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 e7f715f1d0 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 726fc3b7f0 Bug 1227394 - Disable an mdt-e10s test on Windows, a=test-only 2015-11-25 12:37:46 -08:00
Brian Grinstead 959fde217b 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 4ae9f94256 Bug 1084430 - fix styling of <return> and <exception> in variable view; r=vporof 2015-11-19 07:52:00 +01:00
Wes Kocher b1aadbe9a0 Merge m-c to fx-team, a=merge 2015-11-23 16:54:22 -08:00
Wes Kocher 41e0b9eedb Bug 1221499 - Skip some failing tests on the recently enabled e10s+windows combo a=me 2015-11-23 16:08:25 -08:00
Carsten "Tomcat" Book a01edd9af6 merge mozilla-inbound to mozilla-central a=merge 2015-11-23 14:08:50 +01:00