Commit Graph

554 Commits

Author SHA1 Message Date
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
Sami Jaktholm
44170164bf 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
7acd256f5e 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
e46cf982ce Bug 1197100 - 5 - Make time blocks selectable; r=tromey 2015-11-17 15:05:57 +01:00
Gijs Kruitbosch
cac4de4bc5 Bug 1228032 - restore chrome://global/skin/ where chrome://browser/skin/ was removed, r=jryans 2015-11-25 22:22:19 +00:00
Phil Ringnalda
66b5d7b6db 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
fca3432bfa Bug 1200798 - refactor sources and breakpoints in debugger to use redux r=ejpbruel 2015-11-25 19:41:26 -05:00
Alexandre Poirot
a8541bbb1c 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
cada5a5d40 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
48bbb8e78f Bug 1221141 - Support installing addon from local directory in about:debugging. r=janx 2015-11-25 07:54:26 -08:00
Alexandre Poirot
b096e3766a Bug 1226185 - Ensure to unmount about:debugging components on tab close. r=janx 2015-11-25 07:54:25 -08:00
Alexandre Poirot
e4307e0b73 Bug 1226185 - Fix preferences listener leak in about:debugging. r=janx 2015-11-25 07:54:25 -08:00
Nigel Babu
93bc7cdb03 Backed out changeset 57dbf05c9f5b (bug 951714) for devtools bustage on a CLOSED TREE 2015-11-25 16:34:45 +05:30
Albert Juhé Lluveras
c6adac8b39 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
d6d310be65 Bug 1226217 - Use less verbose cycle collection macros for mozilla::devtools::HeapSnapshot; r=bz 2015-11-19 07:45:00 +01:00
Brian Grinstead
1886307fef 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
5fabac07f9 Bug 1084430 - fix styling of <return> and <exception> in variable view; r=vporof 2015-11-19 07:52:00 +01:00
Wes Kocher
4545262219 Merge m-c to fx-team, a=merge 2015-11-23 16:54:22 -08:00
Wes Kocher
fee050837f 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
e8329a26bf merge mozilla-inbound to mozilla-central a=merge 2015-11-23 14:08:50 +01:00
J. Ryan Stinnett
bce4808019 Bug 1226661 - DevTools client JSM global tweak for B2G. r=ochameau 2015-11-23 18:10:11 -06:00
J. Ryan Stinnett
f7b1104084 Bug 1226570 - Remove chrome://browser/skin/ from DevTools. r=bgrins 2015-11-23 18:10:11 -06:00
Carsten "Tomcat" Book
1dfe835af9 Merge mozilla-central to fx-team 2015-11-23 14:35:03 +01:00
Hugo Arregui
2bf177ccb0 Bug 1198073 - Introduce a pref to set the max length of attributes or not truncat them; r=pbro 2015-11-20 18:24:00 +01:00
Jordan Santell
8a8664a90f Bug 1226319 - pt1 - Move react tree widget in memory tool to shared components. r=fitzgen 2015-11-20 17:50:31 -08:00
Wes Kocher
6a8dd55d0e Merge m-c to fx-team, a=merge 2015-11-20 14:45:33 -08:00
Wes Kocher
68e2152394 Merge fx-team to central, a=merge 2015-11-20 14:41:45 -08:00
Brian Grinstead
f8ed821d88 Bug 1201962 - Enable service worker logging in web console by default;r=ejpbruel 2015-11-20 13:22:11 -08:00
Brian Grinstead
895d285b94 Bug 1222617 - Filter out service worker messages that happened before a page load;r=bkelly 2015-11-20 06:52:32 -08:00
Carsten "Tomcat" Book
8b8a86d6a8 Merge mozilla-central to fx-team 2015-11-20 14:35:13 +01:00
Carsten "Tomcat" Book
c4fd231849 merge mozilla-inbound to mozilla-central a=merge 2015-11-20 13:13:07 +01:00
Carsten "Tomcat" Book
88b4499d0d Merge mozilla-central to mozilla-inbound 2015-11-20 14:34:24 +01:00
Jan Varga
7f6e383682 Bug 961049 - Part 3: Move PersistenceType serializer from indexedDB to quota module; r=baku 2015-11-22 10:43:34 +01:00
Wes Kocher
9e30e57059 Merge m-c to inbound, a=merge 2015-11-20 14:44:04 -08:00
Wes Kocher
816ae9ba55 Merge m-c to inbound, a=merge 2015-11-19 13:47:54 -08:00
Carsten "Tomcat" Book
13c0fba56a Backed out changeset ddb0ac65cba2 (bug 1168113) for possibly causing crashes on fx-team on a CLOSED TREE 2015-11-19 16:26:31 +01:00
Tim Nguyen
a3bf3fa915 Bug 1225967 - Fix stretched eyedropper icon in color tooltip. r=bgrins 2015-11-19 07:14:55 -08:00
Brian Grinstead
b8dd38a225 Bug 1225828 - Avoid 'Object in compartment marked as invisible to Debugger' exceptions in the Browser Console / Browser Toolbox;r=fitzgen 2015-11-19 07:11:56 -08:00
Carsten "Tomcat" Book
41ea3b20cb Merge mozilla-central to fx-team 2015-11-19 15:24:02 +01:00
Patrick Brosset
004173feed Bug 1214887 - Use a long animation in browser_animation_updatedState.js to avoid intermittents. r=ttromey 2015-11-18 14:19:43 +01:00
Matteo Ferretti
24accbeeb1 Bug 1168113 - Anonymous custom content container should use absolute position; r=pbrosset 2015-11-17 07:04:00 +01:00
simplyblue
963c1d0993 Bug 1222820 - Image preview tooltips still show up during drag and drop; r=pbro 2015-11-17 17:06:10 +05:30
J. Ryan Stinnett
1269e2aa91 Bug 1225906 - Correct GCLI staticRequire after repackaging. r=ochameau 2015-11-18 22:47:55 -06:00
J. Ryan Stinnett
7b4320560e Bug 1210031 - Only subtract scrollbars for window screenshots. r=zer0 2015-11-18 22:47:55 -06:00
Nick Fitzgerald
95712126f0 Bug 1226024 - Expose the root of the dominator tree to JavaScript; r=bz,sfink 2015-11-19 08:10:13 -08:00
Wes Kocher
ead1ad259f Backed out changeset e8c43ec095e3 (bug 1132501) for Gu permafail CLOSED TREEx 2015-11-18 14:34:38 -08:00
James Long
0acf00b73d Bug 1132501 - attach a debugging thread automatically when the toolbox opens r=jryans 2015-11-18 16:25:32 -05:00
Wes Kocher
48a7e02f05 Merge m-c to b2ginbound, a=merge 2015-11-17 13:23:33 -08:00
Wes Kocher
d4df41c66e Merge inbound to central, a=merge 2015-11-17 13:10:03 -08:00