Commit Graph
439 Commits
Author SHA1 Message Date
James Long 55efced504 Bug 1230299 - avoid fetching sources twice on navigation in debugger 2015-12-10 16:58:15 -05:00
Patrick Brosset d91087f2a0 Bug 1229859 - Use import-globals-from eslint rule to fix the most common no-undef offenders in devtools; r=Mossop 2015-12-03 15:36:44 +01:00
Patrick Brosset 8a2a7e2ad2 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 a55c60aca1 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
Patrick Brosset 99e1feb0ac Bug 1228005 - 2 - Tests for the keyframes and animated properties panel; r=tromey 2015-12-04 12:14:43 +01:00
Patrick Brosset 2a5da21495 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
Nicolas Chevobbe 07de4ad319 Bug 1225236 - Removed the 360 value limit for the hue-rotate field in the CSS filter popup. r=pbro 2015-12-04 22:26:15 +01:00
Albert Juhé Lluveras 134dd4655e 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 7957a159ec 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 5e431b29e9 Bug 1230556 - avoid blocking the debugger shutdown on pending requests r=me 2015-12-05 13:04:21 -05:00
James Long 7bec7802ae Bug 1229923 - fix the debugger flashing a paused state on startup 2015-12-03 20:21:31 -05:00
Tom Tromey e5375b5665 Bug 1035545 - show wrapped primitives specially in console and variable view; r=vporof,fitzgen 2015-12-03 13:09:48 -07:00
Brian Grinstead 026f3b0504 Bug 1207868 - Fix lexical scope autocomplete for global 'let' and 'const';r=past 2015-12-03 11:35:33 -08:00
Brian Grinstead 209365dbd5 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
Tom Tromey da127cdd68 Bug 1224121 - fall back to non-authored editing for CSSOM-created rules; r=pbrosset 2015-12-03 08:55:14 -07:00
Alexandre Poirot 8331360115 Bug 1229328 - Remove preprocessing from toolbox-window.xul. r=bgrins 2015-12-03 06:42:35 -08:00
Alexandre Poirot ec84ab89e1 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 d96d7929d7 Bug 1225473 - Support Service workers in child process. r=janx 2015-12-03 06:42:34 -08:00
Patrick Brosset ccb51e88c5 Bug 1225514 - Simple fix for searching with attribute selectors in the inspector; r=bgrins 2015-12-03 09:56:07 +01:00
Patrick Brosset e8c6ef2d78 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 955ee93f5b Bug 1216654 - Clean up SVGs in JSON viewer. r=honza 2015-11-26 11:19:36 +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 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
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
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 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
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
Jonathan Griffin 726fc3b7f0 Bug 1227394 - Disable an mdt-e10s test on Windows, a=test-only 2015-11-25 12:37:46 -08:00