Commit Graph
7430 Commits
Author SHA1 Message Date
Carsten "Tomcat" Book 4ece520ad9 Merge mozilla-central to fx-team 2016-02-04 12:08:00 +01:00
Alexandre Poirot 32285942b1 Bug 1188405 - Convert gDevTools/gDevToolsBrowser into modules. r=jryans
gDevTools.jsm isn't properly reloadable as JSM as meant to be long-lived singletons.
Also, it contains browser related code (gDevToolsBrowser) mixed with more generic one (gDevTools).
This move is going to help hot reloading devtools codebase while improve readability of
one of our core piece of code (devtools startup and browser hooks).
2016-02-04 02:20:56 -08:00
Alexandre Poirot 8206d4e65a Bug 1214352 - Add telemetry for Scratchpad as top level window. r=jryans,p=bsmedberg 2016-02-04 02:20:55 -08:00
Alexandre Poirot 10e241e049 Bug 1214352 - Enable scratchpad in tab toolboxes. r=jryans 2016-02-04 02:20:55 -08:00
Patrick Brosset 3bd944da4a Bug 1229913 - Prevent race conditions when there are many animation mutations; r=miker 2016-02-01 15:58:04 +01:00
Patrick Brosset 9de58e2ecc Bug 1245420 - Sort devtools/client/framework tests and clean-up browser_toolbox_tabsswitch_shortcuts.js; r=ochameau 2016-02-04 10:47:21 +01:00
Patrick Brosset 5b21ea9d1e Bug 1244120 - Enable browser_rules_content_02.js with e10s; r=bgrins
Extracted a shared helper to open the browser context menu and choose
the 'inspect element' item. This helper works with e10s.
Adapted it a little bit so it waits for the right events in order to
make sure the inspector is ready.

This also involved modifying inspectNode in nsContextMenu.js to make it
wait until the node was selected and the node was ready.

Used this in browser_inspector_initialization.js,
browser_rules_content_02.js and browser_markup_keybindings_04.js

Also removed a now useless inspector-updated event that was trigger from
the animation-inspector panel in some situation. This was left behind
from a long time ago but didn't serve any purpose anymore.
2016-02-03 18:52:02 +01:00
Nick Fitzgerald 309b02f2ff Bug 1245302 - Wait for the HeapAnalysesWorker to reply before considering deleting a snapshot done; r=jsantell 2016-02-02 15:09:00 +01:00
Nick Fitzgerald 904bc8d6fa Bug 1245301 - Alphabetize memory tool's browser tests and use consistent naming; r=jimb 2016-02-02 15:09:00 +01:00
Helen V. Holmes 8a5c4ee78f Bug 1234349 - Land high-level design docs. r=bgrinstead
Optimize images

Move illustrator + sketch information into main svg.md file, r=bgrins
2016-02-03 09:45:00 +01:00
Brian Grinstead b949f6120b Bug 1030318 - Enable devtools/framework tests with e10s - part 4;r=me 2016-01-20 11:52:02 -08:00
James Long c0b2b2dcd1 Bug 1243561 - fix pretty-printing cache in debugger under certain circumstances r=jryans 2016-02-02 11:39:38 -05:00
Alexandre Poirot 3a8c6a113f Bug 1003860 - Various tweaks to the storage inspector. r=mratcliffe 2016-02-02 01:31:34 -08:00
Alexandre Poirot 009e92abed Bug 1003860 - Service worker cache for storage actor. r=mratcliffe 2016-02-02 01:31:34 -08:00
Alexandre Poirot 3b0ae51e86 Bug 1003860 - Simplify storage setup tasks in storage inspector tests. r=mratcliffe 2016-02-02 01:31:33 -08:00
Patrick Brosset 63d5425819 Bug 1243749 - Enable 2 rule-view test with e10s and fix unhandled rejected promises; r=miker 2016-01-28 16:19:01 +01:00
Patrick Brosset f82e464c9a Bug 1243736 - Enable browser_rules_pseudo-element_02.js with e10s and make rule-view wait for updateSourceLink; r=bgrins 2016-02-02 09:56:48 +01:00
Sami Jaktholm c9e0fbe3ce Bug 1239208 - Fix intermittent browser_rules_edit-property-computed.js by waiting for the correct ruleview-changed event. r=pbro
The preview also causes a ruleview-changed event to be emitted. If the frame
script happened to detect the change fast enough, the test would continue to
commit the value and start to wait for a ruleview-changed event. If the event
triggered by the preview had not been emitted, the test would continue
immediately once the event triggered by the preview was received but before
the value was actually committed and reflected in the computed rule list.

The fix is to wait for the ruleview-changed triggered by the preview before
committing the change to avoid mixing these two events.
2016-01-30 15:19:59 +02:00
Nick Fitzgerald 800a70dfca Bug 1242763 - Add a bunch of tooltips to the devtools' memory panel; r=jsantell 2016-02-01 16:00:00 -08:00
J. Ryan Stinnett d82e34986f Bug 1239562 - Use explicit events to fix test races in responsive design. r=ochameau 2016-02-01 19:29:43 -06:00
J. Ryan Stinnett cfdb85d2c2 Bug 1074835 - Enable responsive design tests on Windows with e10s. r=me 2016-02-01 19:29:43 -06:00
Patrick Brosset f33c7167f6 Bug 1243691 - Tweak the general RDM layout to allow multiple viewports, center them and snap to top/left when needed; r=jryans 2016-02-01 14:57:31 +01:00
simplyblue 30e6a0c542 Bug 1209417 - The QR code dialog should hint at zooming the dialog in case it's too small r=jryans 2016-01-30 18:24:49 +05:30
Julian Descottes 949ed3bad3 Bug 1241126 - ruleview: no new-prop editor on prev. editor blur;r=gl
Add a flag to check if the ruleview was displaying an editor before creating
a newProperty editor. A new property editor is now only displayed if no other
editor was previously displayed.

Added new mochitest to check this use case.
2016-01-20 18:55:39 +01:00
Julian Descottes 0faffbed4e Bug 1241126 - ruleview property: open editor for prop. name on click on ":";r=gl
When clicking on the ":" next to the name of a property, the editor is now opened
for the name of the property instead of the value,

Added a test to check this behaviour as well.
2016-01-22 10:30:36 +01:00
Wes Kocher c8dce5079f Backed out changeset e8148cda7d85 (bug 989960) for xpcshell bustage 2016-02-01 08:25:19 -08:00
Patrick Brosset 99d6f4e487 Bug 1237986 - Avoid timeouts when the inspector opens in devtools mochitests; r=miker 2016-02-01 17:06:53 +01:00
Julian Descottes 3144f2f827 Bug 1059312 - Fix highlighter offset after switching iframe context;r=pbro
The auto-refresh highlighter base class was getting a reference to the window
object to use for highlighting at instanciation time.
This reference should be updated if a navigation of the highlight environment
occurs.

This commit maps the "win" property to a getter, so that win is always in sync
with the current highlight environment.
2016-01-31 10:19:31 +01:00
Julian Descottes ca3de3874d Bug 1214177 - Allow focus inside HTML docs of inspector.xul; r=gl
After Bug 1238133, HTML documents are directly loaded inside XUL elements.

They inherit a -moz-user-focus: ignore; coming from minimal-xul.css.
Usually this is overridden by xul.css, which restores -moz-user-focus: normal;
on iframe, browser and some other elements.

This commit adds a new class to all inspector tab panel elements including html,
and a new CSS rule to override the default -moz-user-focus.

Also added a new test case dedicated to this.
2016-01-28 01:44:36 +01:00
Fabien Casters 58cdb0cf95 Bug 1224660 - New icon for snapshot diff view button. r=ntim 2016-02-01 01:59:00 +01:00
CuriousLearner f6499fc6de Bug 1221494 - Fix the playback rate selector size on Linux; r=pbro 2016-02-01 17:39:28 +05:30
Paolo Amadini 743e1ad1ea Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric 2016-01-30 18:53:56 +00:00
Nicolas Chevobbe f0a8a23dbd Bug 1219611 - When animations end in the timeline, make sure the time-label shows the right time; r=pbro 2016-01-28 22:52:33 +01:00
Lin Clark 88f7d57327 Bug 1243567 - Revert license change on webconsole tests. r=bgrins 2016-01-27 18:55:00 +01:00
Lin Clark 3304d86d2f Bug 1243243 - Use standard license boilerplate in debugger js files. r=jlongster 2016-01-27 14:46:00 +01:00
Hallvord R. M. Steen 2312a5ae83 Bug 967853 - hide variable tooltip when stepping in devtools debugger, bug 967853. r=jlongster 2016-01-27 14:40:13 +01:00
Phil Ringnalda d5d65e5083 Merge m-i to m-c, a=merge 2016-01-30 09:28:35 -08:00
Tim Nguyen c7ff480d13 Bug 762979 - Update toggle breakpoints icon to match new gutter style. r=bgrins 2016-01-29 23:42:41 -05:00
Tim Nguyen c76feaac84 Bug 762979 - Implement conditional breakpoint gutter style. r=jlongster 2016-01-29 23:42:27 -05:00
Tim Nguyen d038bab028 Bug 762979 - Implement shorlander's line gutter mockup for the source editor. r=vporof, bgrins 2016-01-29 23:42:09 -05:00
Phil Ringnalda 2f2864cc29 Back out 3958782fe187 (bug 989960) for Android crashes in test_watchdog_default.js 2016-01-29 20:12:44 -08:00
James Long 4ff3e0347c Bug 1243490 - fix leak in devtools hot reloading code r=jryans 2016-01-29 22:53:29 -05:00
AJ Kerrigan da562235be Bug 1243764 - Remove named function syntax from webconsole.js methods;r=linclark
This change eliminates a class of ESLint errors (camelcase), while
also bringing the method definitions in line with MDN Coding Style
guidelines.
2016-01-29 12:45:57 -05:00
simplyblue 2c066fb148 Bug 1241646 - remove unused token arguments from nsIX509CertDB r=keeler 2016-01-30 13:50:58 +05:30
Christoph Kerschbaumer e3ae115ea5 Bug 1243936 - Convert remaining callsites within devtools/ and toolkit/ to use channel.open2() 2016-01-29 09:16:13 -08:00
Paolo Amadini 4aac6813ea Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric 2016-01-29 13:19:53 +00:00
Tom Tromey 7f266698b4 Bug 1240183 - make styleeditor eslint-clean; r=pbro 2016-01-29 08:25:26 -07:00
Carsten "Tomcat" Book a51d281ea7 Merge mozilla-central to fx-team 2016-01-29 11:49:02 +01:00
Carsten "Tomcat" Book 5ae8dc1b6d merge fx-team to mozilla-central a=merge 2016-01-29 11:47:23 +01:00
Greg Tatum c48f3b3e73 Bug 1164252 - Profiler should be able to parse evaluated location sites. r=jsantell 2016-01-28 08:29:00 -05:00