Commit Graph
7430 Commits
Author SHA1 Message Date
Nick Fitzgerald 0c52d588d9 Bug 1277707 et al - Follow up: fix bad rebase conflict in moz.build file; r=me 2016-06-03 11:07:29 -07:00
Jarda Snajdr 8419b4520e Bug 1134073 - Part 3: Show network request cause and stacktrace in netmonitor - mochitests. r=ochameau 2016-06-03 16:26:35 +02:00
Jarda Snajdr f51ba0cd74 Bug 1134073 - Part 2: Show network request cause and stacktrace in netmonitor UI. r=ochameau 2016-06-03 16:26:35 +02:00
Jarda Snajdr eafc849594 Bug 1134073 - Part 1: Collect information about request cause and stacktrace in netmonitor backend. r=ochameau 2016-06-03 16:26:35 +02:00
Jaideep Bhoosreddy 5482e83b7d Bug 1266411 - Alphabetically sort devices in each type. r=jryans 2016-06-02 11:41:00 -04:00
Nick Fitzgerald b9dff3a9a7 Bug 1277707 - Decouple the fronts from the actors in the shader editor; r=ejpbruel 2016-06-03 10:45:10 -07:00
Nick Fitzgerald 9792c25f51 Bug 1265719 - Decouple the CanvasFront and FrameSnapshotFront from the CanvasActor and FrameSnapshotActor respectively; r=ejpbruel 2016-06-03 10:45:10 -07:00
Nick Fitzgerald 31ebc542b4 Bug 1265732 - Decouple the AudioNodeFront and WebAudioFront from the AudioNodeActor and WebAudioActor respectively; r=ejpbruel 2016-06-03 10:45:10 -07:00
Nick Fitzgerald 6783a8670c Bug 1277673 - Decouple the ActorActorFront and ActorRegistryFront from the ActorActor and ActorRegistryActor respectively; r=ejpbruel 2016-06-03 10:45:10 -07:00
Nick Fitzgerald f73f769f2f Bug 1277634 - Decouple the CallWatcherFront and FunctionCallFront from the CallWatcherActor and FunctionCallActor respectively; r=ejpbruel 2016-06-03 10:45:10 -07:00
Nick Fitzgerald 5eafdd48d6 Bug 1277622 - Use ActorClassWithSpec for the HeapSnapshotFileActor; r=ejpbruel
We don't have a HeapSnapshotFileFront, this actor is used under the covers in
the MemoryFront, but we should work towards all actors being defined in the
WithSpec way.
2016-06-03 10:45:10 -07:00
Matteo Ferretti 367a79dfff Bug 1260043 - removed doc.hidden check from markup/utils; r=ochameau
MozReview-Commit-ID: BN2P5dfqerK
2016-06-03 16:38:42 +02:00
Julian Descottes 33785e2ef3 Bug 1107658 - fix undo for delete node when next sibling is a pseudo element;r=pbro
Check that the stored sibling is a valid target for insertBefore, update existing
test to cover this use case.

MozReview-Commit-ID: 6yvLfSQMAJw
2016-06-02 22:27:24 +02:00
Julian Descottes 57e700921c Bug 1202458 - part4: update inspector actor&front tests after removing shortValue;r=pbro
Adapt existing tests checking for updates to shortValue and incompleteValue on
NodeFront instances. Instead we now check for mutations of inlineTextChild type
as well as for the inlineTextChild property of the parent front.

MozReview-Commit-ID: 1mujxwVfvvP
2016-06-02 16:25:56 +02:00
Julian Descottes 04c7b09780 Bug 1202458 - part3: rename ShortLongString to SimpleStringFront;r=pbro
The current name ShortLongString doesn't reflect the current usage of
this class. When looking at the few clients of this class, the reason
for using it is that the string is already accessible on the client
and does not need to be fetched from the server, while still keeping
the same interface as the LongStringFront.

MozReview-Commit-ID: 7MdgH8GzC7q
2016-05-31 16:51:27 +02:00
Julian Descottes bce6faa3ed Bug 1202458 - part2: fix eslint errors in string actor;r=pbro
MozReview-Commit-ID: 1nguzarA57L
2016-06-02 10:35:03 +02:00
Julian Descottes f53bd5b9dd Bug 1202458 - part1: inline text nodes in markupview only if they are short enough;r=pbro
The markup view will now inline a textnode in its container if and only if:
- the text node is the only child (pseudo elements included)
- the text node length is smaller than a predefined limit

If a container is expanded, its text nodes will now always be rendered in full,
no longer as a short version with an ellipsis. When selecting or navigating on
a textnode, the layout will no longer be modified on the fly.

MozReview-Commit-ID: HcDMqjbOesN
2016-06-02 10:41:49 +02:00
James Long d86f63cef0 Bug 1265854 - replace uses of nsiDOMNode constants in devtools frontend r=tromey 2016-06-03 09:47:58 -04:00
Jan Odvarko 7e3fed4e81 Bug 1276873 - Wait for a tick to avoid unexpected popuphidden event; r=jryans 2016-06-02 13:33:14 +02:00
Kumar McMillan ccb419f4dd Bug 1277054 - Handle exited add-on actors after reload. r=ochameau
MozReview-Commit-ID: 6WFI51GJ3ea
2016-05-31 15:40:19 -05:00
Alexandre Poirot 986827aaa0 Bug 1271988 - Convert computed view to use key-shortcuts module. r=bgrins 2016-06-03 02:24:31 -07:00
Alexandre Poirot cebe930459 Bug 1271988 - Support targeting a specific element on key shortcut module. r=bgrins 2016-06-03 02:24:31 -07:00
Alexandre Poirot 04b5779d6c Bug 1271988 - Convert rule view to use key-shortcuts module. r=bgrins 2016-06-03 02:24:31 -07:00
Patrick Brosset b7d7e335bc Bug 1273624 - Really check for existence of parsed declarations in StyleRuleActor's form for compatibility; r=jryans
MozReview-Commit-ID: 3EBW8nTzWiH
2016-06-02 18:02:11 +02:00
Julian Descottes 2c3b0d3082 Bug 1276876 - ruleview: migrate font&image preview tooltips to HTMLTooltips;r=tromey
Migrate the previewTooltip used in the ruleview (& computedview) to use a
HTMLTooltip instance.

Helper methods from Tooltip.js have been removed, migrated to HTML and are
now in style-inspector-overlays.js (not used by any other client). Tests
have been updated to be compatible with HTML Image preview tooltips.

The behavior should be the same as before, so no new test has been added.

MozReview-Commit-ID: HuFatuPi5VM
2016-06-01 17:07:09 +02:00
Gabriel Luong d962139842 Bug 1277070 - Upgrade to CodeMirror 5.15.2 r=bgrins 2016-06-02 20:05:30 -07:00
Julian Descottes c778afb7c0 Bug 1254070 - inspector: trigger autocomplete if nextchar is not a word character;r=gl
For the style attribute CSS autocompletion, suggestions will now be provided
when the character after the caret is a non-word character. As opposed to the
current behavior where suggestions would only be displayed if the next character
was the end of the input or a space.

This allows to show suggestions when the user's caret is next to ";" or '"', which
can frequently happen when editing style attributes.

MozReview-Commit-ID: Bvz6koikbqR
2016-03-08 19:27:25 +01:00
Julian Descottes bef2a31093 Bug 1271899 - inspector box-model: add div wrapper to close editors on click;r=gl
The XUL tabpanel can no longer receive userfocus to avoid scrollbars
stealing the focus. Editors are using the blur event to destroy
themselves, which was no longer working if a user click ended up on
the tabpanel element.

Add a wrapper inside the layout view panel taking
100% width and height to make sure clicks performed outside of the layout
container will trigger a blur event on a focused editor.

MozReview-Commit-ID: JmZluQ6LzFl
2016-05-30 13:30:06 +02:00
Weyland Joyner 820ed848fe Bug 1275242 - fixed typo in validator.nonExistingFolder for App Manager. r=jryans
MozReview-Commit-ID: LYBlOgUbEB4
2016-05-30 15:26:34 -04:00
Alexandre Poirot 6c0a0b737b Bug 1273311 - Prevent DevToolsUtils.fetch from throwing when no policy is given. r=ejpbruel 2016-05-31 03:54:05 -07:00
Jan Odvarko 49335be54f Bug 1266419 - Fixing tests; r=bgrins, poirot.alex 2016-05-26 14:51:28 +02:00
Jan Odvarko 0f3d787d68 Bug 1266419 - Fix toggle side bar button and text in search box for the Inspector panel; r=bgrins 2016-05-19 11:01:21 +02:00
Jan Odvarko 6028bc0832 Bug 1266419 - HTML replacement for Toolbars and Toolbar buttons; r=bgrins, ntim 2016-05-04 20:58:49 +02:00
Jan Odvarko 3b3023063f Bug 1266419 - Use HTML API for frames menu; r=bgrins, poirot.alex 2016-05-20 14:46:13 +02:00
Patrick Brosset da47581473 Bug 1237885 - Renamed all add-rule tests to make intent clearer and avoid duplication; r=jdescottes
MozReview-Commit-ID: HiNSRx2a4Bi
2016-05-30 13:02:32 +02:00
Patrick Brosset 6d3a5434f8 Bug 1237885 - Remove browser_rules_add-rule_05.js; r=jdescottes
This test is now useless if you consider
browser_rules_add-rule_01.js and
browser_rules_add-rule-and-property.js

MozReview-Commit-ID: IlqDhEHUK1m
2016-05-30 12:50:08 +02:00
Patrick Brosset c8915ca589 Bug 1237885 - Remove code duplication in new rule checks in ruleview tests; r=jdescottes
MozReview-Commit-ID: 6Qd9AsWWSKQ
2016-05-30 12:38:28 +02:00
Patrick Brosset 23fb1591d2 Bug 1237885 - Remove duplicated addNewRule code from ruleview tests; r=jdescottes
MozReview-Commit-ID: HqUaFFWiTym
2016-05-30 12:04:31 +02:00
Patrick Brosset 5eee9a03d7 Bug 1237885 - Make browser_rules_add-rule_01.js faster by doing less; r=jdescottes
MozReview-Commit-ID: FlFVrnBrvDi
2016-05-27 21:17:53 +02:00
Carsten "Tomcat" Book 3a9cae6c4f Merge mozilla-central to fx-team 2016-05-30 15:31:42 +02:00
Carsten "Tomcat" Book 68d9ffe05e merge mozilla-inbound to mozilla-central a=merge 2016-05-30 15:29:19 +02:00
gasolin a20ff3de03 Bug 1266415 - display a warning on about:debugging if service workers are disabled; r=jdescottes
MozReview-Commit-ID: 5OipoBx7LH2
2016-05-29 19:18:11 -07:00
Wes Kocher 38d3e2b889 Merge fx-team to central, a=merge 2016-05-27 14:41:36 -07:00
Greg Tatum a8e55a89a4 Bug 1265798 - Implement CSS database to query css properties r=pbro
MozReview-Commit-ID: CAUh2GyeA2o
2016-05-26 08:48:00 -07:00
Ryan VanderMeulen c30b32a25e Merge inbound to m-c. a=merge 2016-05-26 21:45:18 -04:00
Ryan VanderMeulen 587186d659 Backed out changeset 75bb440d7525 (bug 1275637) for browser_se_first-run.js failures.
CLOSED TREE
2016-05-26 19:51:33 -04:00
Julian Descottes 6b7d986d94 Bug 1275081 - Part 2: Add inplace editor tests using mocked CSS property/values suggestions. r=tromey
In order to keep testing indexes & total number of displayed suggestions,
added two tests relying on mocked suggetions list.

The inplace-editor API has been modified to allow mocking the suggestions.

Helper methods in devtools/client/shared/test have been moved to a new
test helper helper_inplace_editor.js, loaded by all inplace-editor
tests of this test suite.

CLOSED TREE

MozReview-Commit-ID: LuXelKF0kY
2016-05-25 23:24:28 +02:00
Julian Descottes a2e76f9acf Bug 1275081 - Part 1: Remove hardcoded number of "displayed" suggestions in devtools tests. r=tromey
Several devtools autocomplete tests are checking that the popup
displays an exact number of suggestion, and that the selected
suggestion is exactly at the expected index.

Since devtools do not control the list of CSS properties used for the
autocomplete, we should not assert anything based on it in tests.

MozReview-Commit-ID: H4Azyx0UgpX
2016-05-26 18:15:12 +02:00
moby c5cefa5d4b Bug 1256830 - Fix ESLint issues in devtools/client/webconsole/test/browser_webconsole_bug_587617_output_copy.js. r=bgrins 2016-05-26 15:02:00 -04:00
Brian Grinstead 5e553d163a Bug 1250778 - Fix eslint errors in browser_webconsole_bug_600183_charset.js. r=me
MozReview-Commit-ID: 3Aa7SEq0tj7
2016-05-26 14:57:29 -07:00