Commit Graph
65 Commits
Author SHA1 Message Date
Patrick Brosset 4e7070445f Bug 1240778 - Fixed the unhandled promise rejection in browser_rules_add-property_01.js; r=ochameau 2016-01-19 16:58:00 +01:00
Brian Grinstead d820e101f9 Bug 1240860 - Escape attribute name before passing into querySelector;r=tromey 2016-01-19 15:30:46 -08:00
Gabriel Luong 8290f369a2 Bug 1235172 - Part 4: Extract RuleEditor and TextPropertyEditor to a view module r=pbro 2016-01-18 12:06:08 -05:00
Gabriel Luong 08b54fa153 Bug 1238133 - Part 2: Rename locale keys to avoid parsing conflict r=bgrins 2016-01-16 12:00:43 -08:00
Patrick Brosset 3ea3869c8d Bug 1181837 - 5 - Include inspector's head.js in layout-view's tests and remove code duplication; r=bgrins 2016-01-15 11:34:47 +01:00
Nigel Babu 0ff707edc3 Backed out changeset 09ab2331ee63 (bug 1181837) on request 2016-01-15 15:29:54 +05:30
Patrick Brosset f620433c4a Bug 1181837 - 5 - Include inspector's head.js in layout-view's tests and remove code duplication 2016-01-13 10:41:10 +01:00
Patrick Brosset ea6f3fd280 Bug 1181837 - 4 - Includes shared-head.js in inspector's tests and removes code duplication 2016-01-08 16:05:17 -08:00
Julian Descottes 2e2686f9f6 Bug 1157469 - use EventListenerService to update markupview event bubbles. r=bgrins
Inspector actor now uses EventListenerService:addListenerChangeListener to propagate
event listener changes as mutations with type 'events'.

markupview will now trigger an update when receiving a mutation of type 'event', and
the event bubble display will be updated
2016-01-06 15:01:24 -08:00
Gabriel Luong 3b9b2bdb20 Bug 1238133 - Part 1: Make only one instance of fonts.css and rules.css r=bgrins 2016-01-13 00:37:32 -08:00
Gabriel Luong c63ff3b56b Bug 1237441 - Move styleinspector directory into the shared inspector directory r=pbro 2016-01-12 09:52:12 -08:00
Wes Kocher 9329572311 Backed out changeset 29f184e43309 (bug 1237441) for eventual build bustage 2016-01-12 09:20:43 -08:00
Gabriel Luong b5d2cb9306 Bug 1237441 - Move styleinspector directory into the shared inspector directory r=pbro 2016-01-12 08:55:46 -08:00
Gabriel Luong 98b493b9ac Bug 1235172 - Part 3: Extract ElementStyle to a separate module r=pbro 2016-01-12 08:55:16 -08:00
Tom Tromey f2a9d1e347 Bug 1230491 - rewrite CssLogic.isContentStylesheet; r=bgrins 2016-01-12 09:50:43 -07:00
Alexandre Poirot f584357310 Bug 1227978 - Remove unecessary usages of promiseInvoke, rdpInvoke r=jlongster 2016-01-12 01:14:00 -08:00
Phil Ringnalda 229ab2d68b Merge m-c to f-t 2016-01-07 20:42:35 -08:00
Gabriel Luong d33ddd8630 Bug 1237335 - Move markup view into the Inspector directory r=pbro 2016-01-07 13:21:22 -08:00
Tom Tromey 37a1f12ce5 Bug 1227810 - split browser_ruleview_authored.js into three tests; r=pbrosset 2016-01-07 08:49:01 -07:00
Nigel Babu 42010ba230 Backed out changeset 9c6a36040f06 (bug 1237335) for widespread devtools bustage 2016-01-07 14:28:48 +05:30
Gabriel Luong 7b11e442cb Bug 1235172 - Part 2: Extract Rule to a separate module r=pbro 2016-01-06 22:26:54 -08:00
Gabriel Luong 4ba3efecec Bug 1235172 - Part 1: Extract TextProperty to a separate module r=pbro 2016-01-06 22:26:52 -08:00
Gabriel Luong bdb48545f4 Bug 1237335 - Move markup view into the Inspector directory r=pbro 2016-01-06 22:20:31 -08:00
James Long a72194673b Bug 1132501 - attach the thread on toolbox open instead of waiting for the debugger to initialize r=bgrins 2016-01-06 14:47:24 -05:00
Sami Jaktholm 8c1d14250e Bug 1209295 - Ensure browser_rules_add-property-cancel_02.js waits for the correct change notification. r=pbrosset 2015-12-22 21:58:16 +02:00
Tom Tromey 32f98da095 Bug 1211224 - request longer timeout in browser_ruleview_user-agent-styles.js 2016-01-06 08:23:05 -07:00
Gabriel Luong 982c3d3526 Bug 1237106 - Move the Font Inspector into the Inspector directory r=pbro 2016-01-05 21:06:53 -08:00
Gabriel Luong 5b57e27510 Bug 1237095 - Move the layout view into the Inspector directory r=pbro 2016-01-05 21:06:31 -08:00
Gabriel Luong ddd11c0a50 Bug 1235181 - Part 3: Rename the Rules Inspector tests r=pbro 2016-01-05 21:06:18 -08:00
Gabriel Luong c1ddc454f8 Bug 1235181 - Part 2: Move the Rules Inspector tests into the Inspector directory r=pbro 2016-01-05 21:06:12 -08:00
Gabriel Luong e6c832718b Bug 1235181 - Part 1: Move the Rules Inspector into the Inspector directory r=pbro 2016-01-05 21:05:57 -08:00
Gabriel Luong 4e8098bba9 Bug 1235178 - Part 3: Rename the Computed Styles Inspector tests r=pbro 2016-01-05 21:05:51 -08:00
Gabriel Luong 645c2a171a Bug 1235178 - Part 2: Move the Computed Styles Inspector tests into the Inspector directory r=pbro 2016-01-05 21:05:49 -08:00
Gabriel Luong c7b747ef58 Bug 1235178 - Part 1: Move the Computed Styles Inspector into the Inspector directory r=pbro 2016-01-05 21:05:46 -08:00
Ehsan Akhgari f1bd26481a Bug 1193047 - Increase the timeout of browser_inspector_highlighter-inline.js 2015-12-31 17:38:05 -05:00
Abdulla eee754ec70 Bug 1219920 - Iterate through classNames in the WalkerActor using classList; r=pbro 2015-12-09 15:44:00 +01: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 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
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
J. Ryan Stinnett 2f4c1fa22c Bug 1226570 - Remove chrome://browser/skin/ from DevTools. r=bgrins 2015-11-23 18:10:11 -06:00
Tom Tromey 569b6631ca Bug 1223452 - avoid Cu.importGlobalProperties; r=ochameau 2015-11-16 11:55:00 +01:00
Jonathan Griffin 8c3b2615d4 Bug 1221499 - Disable tests that fail on e10s windows, r=jmaher 2015-11-05 07:36:09 -08:00
Brian Grinstead 061eed57c9 Bug 835896 - Make inspector searchbox also provide results matching text or attributes in the page;r=pbrosset 2015-11-10 21:48:57 -08:00
J. Ryan Stinnett 1aca2c542b Bug 1182722 - Move DevTools l10n files. r=ochameau,glandium,Pike,bgrins
Move DevTools l10n files under /devtools/client and /devtools/shared.
A script is attached to the bug for l10n repos to migrate their strings.
2015-11-04 15:35:53 -06:00
J. Ryan Stinnett 4e51063c4a Bug 1207976 - Remove /themes from DevTools URLs. r=ochameau 2015-11-04 12:04:20 -06:00
Brian Grinstead bcbc317a74 Bug 1025778 - Save value as global variable in console;r=jlongster 2015-10-23 14:04:29 -07:00
J. Ryan Stinnett 687866dde2 Bug 1203159 - Rewrite DevTools resource URLs. r=ochameau 2015-10-21 12:48:53 -05:00
Grisha Pushkov ffda3f57bd Bug 994555 - Adds contextmenu items to edit add and delete attributes; r=pbro 2015-10-20 16:47:02 +02:00
Tim Nguyen d555239da3 Bug 1208864 - Tests for duplicate node context menu item in markup view. r=pbro 2015-10-18 14:30:00 +02:00
Tim Nguyen a78bac956a Bug 1208864 - Duplicate node context menu item in markup view. r=pbro 2015-10-19 14:04:00 +02:00