Commit Graph

1303 Commits

Author SHA1 Message Date
Nicolas Chevobbe
862e2bbb0b Bug 1380709 - reps v0.11.0: update reps bundle from GitHub; r=bgrins
MozReview-Commit-ID: 4s5c1wyABS7

--HG--
extra : rebase_source : 0f0e0d7a62e4d6e62ef8eae86dd622c86528373f
2017-08-01 14:45:32 +02:00
Sebastian Hengst
82e3b22f18 Backed out changeset f85fbccf2c1f (bug 1380709) for failing devtools' browser_dynamic_tool_enabling.js on Windows 8 x64 debug with e10s. r=backout 2017-08-02 18:06:31 +02:00
Nicolas Chevobbe
bd22ff789d Bug 1380709 - reps v0.11.0: update reps bundle from GitHub; r=bgrins
MozReview-Commit-ID: 4s5c1wyABS7

--HG--
extra : rebase_source : 2beca009183f64ead0be0935cb6bb40fd64d7b92
2017-08-01 14:45:32 +02:00
ZER0
ba9681c84a Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8


--HG--
rename : devtools/shared/event-emitter.js => devtools/shared/old-event-emitter.js
2017-08-11 03:47:30 +02:00
Wes Kocher
db97e61fc7 Backed out changeset 58f678547059 (bug 1381542) for conflicting with the incoming m-c merge a=backout
MozReview-Commit-ID: 1wKVHbOAUdc

--HG--
rename : devtools/shared/old-event-emitter.js => devtools/shared/event-emitter.js
2017-08-10 18:23:14 -07:00
ZER0
93e1efc17d Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8


--HG--
rename : devtools/shared/event-emitter.js => devtools/shared/old-event-emitter.js
2017-08-11 02:43:47 +02:00
sole
1914870141 Bug 1378824 - Stop using sdk/util/uuid in DevTools. r=jdescottes
MozReview-Commit-ID: KdIK4Vlrp4s

--HG--
extra : rebase_source : 6f83f9afbfda464979a9dbccffc23c5a22eacadb
2017-07-28 14:36:33 +01:00
Sebastian Hengst
c2192ec889 Backed out changeset c0f919689e48 (bug 1378824) for failing eslint at devtools/client/inspector/webpack.config.js:166:3 with: Newline required at end of file but not found. r=backout on a CLOSED TREE 2017-07-27 18:34:21 +02:00
Sebastian Hengst
7ea64bd7aa merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-07-27 18:18:54 +02:00
Sebastian Hengst
205843f800 Backed out changeset 192d517219c1 (bug 1369801)
MozReview-Commit-ID: KeLy0a8hjVF
2017-07-27 18:14:38 +02:00
sole
8877005317 Bug 1378824 - Stop using sdk/util/uuid in DevTools. r=jdescottes
MozReview-Commit-ID: 18nh2NT5fEE

--HG--
extra : rebase_source : 090b83b70f158d291337abbf2dedb898ef941c84
2017-07-27 11:28:45 +01:00
Julian Descottes
df95b72117 Bug 1369801 - dt-addon-xpcshell: load devtools addon for xpcshell tests;r=bgrins
MozReview-Commit-ID: 4EyclGKca0t

--HG--
extra : rebase_source : 05d41abb69a34f0f5b8241c26684ed53a88b6df5
2017-07-11 12:30:22 +02:00
Nicolas Chevobbe
4d97701185 Bug 1380790 - devtools reps: update bundle to v0.10.0; r=bgrins
This also fixes a few tests that were failing due to changes
in how we now render arrays and objects in tiny mode.

MozReview-Commit-ID: 9JRjDQQ46FA

--HG--
extra : rebase_source : 7f482505647eedbe984f6e2c9efed8c26254fc07
2017-07-25 17:52:38 +02:00
Carsten "Tomcat" Book
679210723b merge mozilla-inbound to mozilla-central a=merge 2017-07-25 14:27:17 +02:00
Mike Park
ed40ba307a Bug 1282717 - Highlight CSS shapes points in the page from the rule-view and vice versa. r=pbro
MozReview-Commit-ID: 9pXkbAwgcXO
2017-07-05 10:57:42 -04:00
Mike Park
dc60e7a8cf Bug 1373339 - Add a button in the rules view to toggle the CSS shapes highlighter. r=gl
Requires pref "devtools.inspector.shapesHighlighter.enabled" to be true.

MozReview-Commit-ID: Ispw7ulV5o6
2017-06-20 11:23:32 -04:00
Julian Descottes
112b9f3ca9 Bug 1383006 - remove devtools shim for services.js;r=tromey
The services.js shim has been moved to devtools-core repo on GitHub
and should be removed from mozilla central.

MozReview-Commit-ID: 3uolLWuU6Lh

--HG--
extra : rebase_source : 98a0506be5df5be56ef03f98162effbf0b1142fb
2017-07-21 12:27:27 +02:00
Alexandre Poirot
b6c47816da Bug 1382661 - Stop injecting DeveloperToolbar on top level windows. r=jdescottes
MozReview-Commit-ID: L6k7SPf8czd

--HG--
extra : rebase_source : 8bece0542a4ad3d3c360745096975efd8906c587
2017-07-20 13:52:57 +02:00
Jan Odvarko
73dc18b974 Bug 1326937 - Patch react-dom to avoid double load r=bgrins
MozReview-Commit-ID: CEMsI7CvqHS

--HG--
extra : rebase_source : ae1115dbf5ed3e706cad731d0fb0f495f19203b5
2017-06-15 16:43:47 +02:00
Julian Descottes
c24947b916 Bug 1374555 - import all tooltip widgets stylesheets in tooltips.css;r=gl
Now that scoped stylesheets are no longer supported, it doesn't make sense to
include a specific copy of an HTMLTooltip stylesheet in the tooltip container.

Nothing guarantees that a given stylesheet won't be loaded more than once so
having a single one-shot import in tooltips.css is more appropriate.

MozReview-Commit-ID: 690pGNQdnwy

--HG--
extra : rebase_source : 7d7fadebf0fb20984508cbc7643998c505ec2ffd
2017-07-18 23:41:41 +02:00
Julian Descottes
310427becc Bug 1374555 - update HTMLTooltip stylesheets to use more specific selectors;r=gl
Scoped stylesheets will stop being supported for chrome content per Bug 1345702.
Update the selectors in the stylesheets so that they can easily be loaded without the
scope attribute.

MozReview-Commit-ID: FV4tWD4SlYA

--HG--
extra : rebase_source : 63f2fce76cb6f1e7052e6e421a256c0ea8f77852
2017-07-18 23:41:03 +02:00
Wes Kocher
b5bcc4905e Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: CBL7SUEUGKV
2017-07-19 17:29:56 -07:00
Towkir Ahmed
d4a1ddbd70 Bug 1304837 - Devtools notification box colors are now fixed for the texts to be readable. r=Honza 2017-07-18 16:13:00 -04:00
Jan Odvarko
14bb8750cb Bug 1378821 - Stop using sdk/window/utils in DevTools; r=zer0
MozReview-Commit-ID: BD3EGMWtDv1

--HG--
extra : rebase_source : 08a8a66b6926c24e834e79f81b9fe44c4b0be863
2017-07-10 10:55:40 +02:00
Jan Odvarko
f1266850f7 Bug 1378825 - Stop using sdk/stylesheet/utils in DevTools; r=zer0
MozReview-Commit-ID: F26gvdnTbhT

--HG--
extra : rebase_source : 59c4e20fbc8be3e674f5c7e69bd62ae184aee4ae
2017-07-10 11:10:55 +02:00
Sebastian Hengst
18609808d4 Backed out changeset 57701c371c8d (bug 1326937) 2017-07-17 20:47:46 +02:00
Jan Odvarko
cf194698ef Bug 1326937 - Patch react-dom to avoid double load r=bgrins
MozReview-Commit-ID: CEMsI7CvqHS

--HG--
extra : rebase_source : b270df65d77659c6a318ec13324d9bc5925f1df8
2017-06-15 16:43:47 +02:00
Mike Park
c7e8439a6c Bug 1363097 - Convert font inspector to React/Redux. r=gl
MozReview-Commit-ID: Du5ZqnnLaE1
2017-05-10 14:57:05 -04:00
Yoshi Huang
7363e22f81 Bug 1377523 - Part 4: fix devtools/client/shared/test. r=pbro
Move data: URIs in devtools/client/shared/test to seperate files.


--HG--
rename : devtools/client/shared/test/browser_layoutHelpers-getBoxQuads.html => devtools/client/shared/test/doc_layoutHelpers-getBoxQuads.html
rename : devtools/client/shared/test/browser_layoutHelpers.html => devtools/client/shared/test/doc_layoutHelpers.html
rename : devtools/client/shared/test/html-mdn-css-basic-testing.html => devtools/client/shared/test/doc_mdn-css-basic-testing.html
rename : devtools/client/shared/test/html-mdn-css-no-summary-or-syntax.html => devtools/client/shared/test/doc_mdn-css-no-summary-or-syntax.html
rename : devtools/client/shared/test/html-mdn-css-no-summary.html => devtools/client/shared/test/doc_mdn-css-no-summary.html
rename : devtools/client/shared/test/html-mdn-css-no-syntax.html => devtools/client/shared/test/doc_mdn-css-no-syntax.html
rename : devtools/client/shared/test/html-mdn-css-syntax-old-style.html => devtools/client/shared/test/doc_mdn-css-syntax-old-style.html
rename : devtools/client/shared/test/browser_templater_basic.html => devtools/client/shared/test/doc_templater_basic.html
rename : devtools/client/shared/test/browser_toolbar_basic.html => devtools/client/shared/test/doc_toolbar_basic.html
2017-07-13 12:27:52 +08:00
Tom Tromey
f3c29aa2eb Bug 1371852 - make Frame component listen for source-map pref changes; r=jryans
MozReview-Commit-ID: 51DTsRGogCh

--HG--
extra : rebase_source : fc40cb117e4d504066e11170c6cae546e419ab4f
2017-06-12 16:44:27 -06:00
Nicolas Chevobbe
2211712d27 Bug 1308566 - Remove reps mochitests. r=bgrins
Remove tests since they were all migrated to jest in Github and will only
lives there now.

MozReview-Commit-ID: 7N8Wuq6sD2I

--HG--
extra : rebase_source : 3f3dba033ed48302094c62ec5f092f7bbf89fa26
2017-07-07 13:51:24 +02:00
Nicolas Chevobbe
60f9e16d34 Bug 1308566 - Fix Reps README. r=bgrins
Change the URL of the repository to the devtools-core one.

MozReview-Commit-ID: J0WStbVAZ5Z

--HG--
extra : rebase_source : b3fa6f7ae371432b53ba7daad30aa1fae45aecbe
2017-07-07 13:48:55 +02:00
Nicolas Chevobbe
2248e83f19 Bug 1308566 - Update reps bundle to v0.9. r=bgrins,Honza
MozReview-Commit-ID: EzmGxg2gMxO

--HG--
extra : rebase_source : 9f152535ac3ecf195760f8da306c8e58e482c4b9
2017-07-11 16:51:22 +02:00
Frederik Braun
56838ddb04 Bug 1351608 - Disable warnings for existing violations to no-unsanitize rule r=Standard8.
MozReview-Commit-ID: 7cTNL5jMtRw
2017-07-03 20:07:02 +01:00
Carsten "Tomcat" Book
5f00ae3a8b merge mozilla-inbound to mozilla-central a=merge 2017-06-29 15:47:04 +02:00
Paolo Amadini
06de7cf6bf Bug 1374242 - Remove obsolete whitelisting of unhandled rejections. r=Mossop
The whitelisting function thisTestLeaksUncaughtRejectionsAndShouldBeFixed was replaced by expectUncaughtRejection, and existing calls did not take effect anymore.

MozReview-Commit-ID: 3uOxkgWYWEz

--HG--
extra : rebase_source : 6b27b77da78743880529adae7adf4ec2aa64dfea
extra : intermediate-source : 5809a30a0c4817509beb1078cf336d8367b8107a
extra : source : 6f0394b523a66dab444b8551deb8f3c6c81d8f31
2017-06-29 00:13:06 +01:00
Sebastian Hengst
5b82b79d9c Backed out changeset 1cd9e27f0fa1 (bug 1351608) 2017-06-29 01:01:15 +02:00
Michael Ratcliffe
08002f372f Bug 1374784 - Unable to use keyboard to navigate cookies r=miker
MozReview-Commit-ID: 8x2xCE6T3Ye

--HG--
extra : rebase_source : 27bf096fcaa7bcf89570104b21bfc94ea9dc7f12
2017-06-27 10:50:23 -07:00
Julian Descottes
f79231829a Bug 1372112 - Use encodeURI to set ImageTooltipHelper image source. r=pbro
MozReview-Commit-ID: D15x6pPaxVr
2017-06-12 12:00:21 +02:00
Frederik Braun
9c64aee8c8 Bug 1351608 - Comment out existing violations to no-unsanitize rule. r=standard8
--HG--
extra : rebase_source : 41eb119fb189c4577fe64b114821b75d8781ad99
2017-06-28 12:50:38 -07:00
Carsten "Tomcat" Book
5699be4b75 Backed out changeset ea5a5610ff7e (bug 1374784) for getting perma failures are merge 2017-06-26 15:10:13 +02:00
Wes Kocher
d0eddcaa44 Merge m-c to autoland a=merge
MozReview-Commit-ID: 5D2HzsGopzc
2017-06-21 18:13:41 -07:00
Wes Kocher
ac0fd2038c Merge inbound to m-c a=merge
MozReview-Commit-ID: 3LXFVwSoMvs
2017-06-21 17:58:17 -07:00
Michael Ratcliffe
71ef65cb4a Bug 1374784 - Unable to use keyboard to navigate cookies r=gl
Keyboard navigation was broken because we introduced private columns that are never displayed (for compound primary keys) and were not equipped to deal with hidden key columns.

This change gets the first visible column, whether it is private or not so that we no longer have to worry about hidden key columns.

The small change to the keyboard test ensures that the private column is hidden so the test will fail if this feature is broken again.

MozReview-Commit-ID: IB7efHsflGU

--HG--
extra : rebase_source : 06e3283447a7e91641f3d91058fd472d8ca29e8a
2017-06-20 21:37:07 +01:00
Michael Ratcliffe
a5660a9c4c Bug 1371568 - Add Chris O"Hara's validator.js library for string validation in the storage inspector r=pbro
MozReview-Commit-ID: 5HM5E8LBptT

--HG--
extra : rebase_source : 173e44be5ac3e5c2e5f5fc6a604427ddf4c41b9c
2017-06-06 13:31:48 +01:00
Brian Grinstead
1b86a2bfab Bug 1364150 - Introduce debounce middleware; r=bgrins
MozReview-Commit-ID: Hu3rQ3iJHzP

--HG--
extra : rebase_source : 1f3d8b079a930eca7e4e807d6833e60258ef2bcf
2017-05-11 12:40:20 -07:00
Wes Kocher
c0e1236f1a Merge autoland to m-c a=merge
MozReview-Commit-ID: LFtpTAueYrF
2017-06-20 18:24:29 -07:00
Oriol
dde8de6908 Bug 1370139 - Escape slashes in TreeView paths. r=Honza
--HG--
extra : rebase_source : 585f600997add696550b2b04ff562cc31b463f32
2017-06-20 05:27:00 -04:00
Paolo Amadini
10ee6a5c4e Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.

MozReview-Commit-ID: 1buqgX1EP4P

--HG--
extra : rebase_source : 3a9ea310d3e4a8642aabbc10636c04bfe2e77070
2017-06-19 11:32:37 +01:00
Yury Delendik
9dd7ee429d Bug 1364535 - Import wasmparser modules. r=jlast
MozReview-Commit-ID: LOtZPlLghJc

--HG--
extra : rebase_source : f798b46ec94c39c587caa9f94f94258666153976
2017-06-08 18:55:17 -05:00
Michael Ratcliffe
525a1bfa5f Bug 1280548 - Don't display storage-sidebar after deleting all cookies r=jdescottes
MozReview-Commit-ID: 6trAoFZtsTS

--HG--
extra : rebase_source : d92a756b0a3d431b8e86ddf9ea428816834c1fb1
2017-06-13 10:42:43 +01:00
Wes Kocher
47a595548e Merge m-c to inbound, a=merge
MozReview-Commit-ID: BYGylgZSbUu
2017-06-20 18:31:42 -07:00
Gabriel Luong
fe1128dd14 Bug 1373483 - Add telemetry for the grid inspector. r=pbro. data-r=bsmedberg 2017-06-20 16:32:18 -07:00
Wes Kocher
89c6584074 Backed out changeset 830b3b513bf1 (bug 1373483) for build failures in TelemetryHistogram.o a=backout
MozReview-Commit-ID: I5RRKMjXWKM
2017-06-20 15:03:04 -07:00
Gabriel Luong
0f9310447e Bug 1373483 - Add telemetry for the grid inspector. r=pbro. data-r=bsmedberg 2017-06-20 14:41:13 -07:00
Mike Park
920866c6b0 Bug 1368709 - Handle zoom and geometry-box options for CSS shapes highlighter. r=pbro
Also convert markers to SVG path to better handle zoom

MozReview-Commit-ID: 8h9WWOLvFfG

--HG--
extra : rebase_source : 338155d2420183b17b9507b1fbedc7bda307d16b
2017-05-30 14:24:12 -04:00
Carsten "Tomcat" Book
865741ad85 Merge mozilla-central to autoland
--HG--
rename : third_party/rust/euclid/src/matrix2d.rs => third_party/rust/euclid-0.13.0/src/matrix2d.rs
rename : third_party/rust/euclid/src/matrix4d.rs => third_party/rust/euclid-0.13.0/src/matrix4d.rs
2017-06-14 14:51:37 +02:00
Gabriel Luong
8cda8dcb70 Bug 1348004 - Display a new! indicator and a promote message bar to the layout panel. r=jdescottes 2017-06-14 00:52:03 -04:00
Michael Ratcliffe
40736475a0 Bug 1257603 - Storage inspector search should ignore hidden columns r=nchevobbe
storage-search.html:
  - Switched  to use cookies.

browser_storage_search.js:
  - Use a little destructuring.
  - Hide all but name and value columns.
  - Run search tests with both columns visible.
  - Hide the value column.
  - Run search tests with only the name column visible.

MozReview-Commit-ID: JKeRLWfhpFb

--HG--
extra : rebase_source : f4e045f97dee8ad2470289eea69d208cedc79adb
2017-06-06 11:08:11 +01:00
Patrick Brosset
336f2049fa Bug 987877 - Add Copy XPath menu item to the inspector; r=miker
MozReview-Commit-ID: A5g0MmWovjk

--HG--
extra : rebase_source : c426b97a789847ba8a6c1a7d3f8cc81cd20a2fdc
2017-06-12 16:25:48 +02:00
Carsten "Tomcat" Book
d5a13ba05e merge mozilla-inbound to mozilla-central a=merge 2017-06-09 12:58:49 +02:00
Sebastian Hengst
05140da7d7 Backed out changeset 634b361b1b9d (bug 1364150) for scroll position failures in devtools' browser_webconsole_keyboard_accessibility.js. r=backout 2017-06-08 20:40:08 +02:00
J. Ryan Stinnett
583d917691 Bug 1361311 - Remove project editor from WebIDE. r=pbro
MozReview-Commit-ID: CKo4EruNTe4

--HG--
extra : rebase_source : c6fbe57d641140afb9ca98ac6be4b5e38cac630b
2017-06-07 15:25:52 -05:00
Carsten "Tomcat" Book
cb5ce9d807 Merge mozilla-central to autoland 2017-06-08 15:24:16 +02:00
Carsten "Tomcat" Book
b9d94b34d4 merge mozilla-inbound to mozilla-central a=merge 2017-06-08 14:43:56 +02:00
Ruturaj K. Vartak
58a62d7ade Bug 1364093 - After a space and character, autocomplete should be shown for all flags. r=ntim, jdescottes.
MozReview-Commit-ID: JTPvHLBzIB0
2017-06-07 21:51:00 +02:00
Brian Grinstead
865c58e29c Bug 1364150 - Introduce debounce middleware; r=bgrins
MozReview-Commit-ID: Hu3rQ3iJHzP

--HG--
extra : rebase_source : c623b48d0055f4b0fb516c04ff5a1ec58961e7c5
2017-05-11 12:40:20 -07:00
Oriol
09a26ed046 Bug 1365018 - Escape U+2028 and U+2029 when quoting a string in VariablesView. r=tromey 2017-06-06 20:25:00 -04:00
Joel Maher
b44356bc28 Bug 1368364 - backout bug 1242505 as it causes browser/modules/ intermittent failures. r=paolo 2017-06-03 10:34:14 +02:00
Tom Tromey
dd7a919116 Bug 1368695 - don't emit event when tooltip already destroyed; r=jdescottes
If a reply comes from source-map-url-service but the tooltip has already
been destroyed, don't try to emit the event-tooltip-source-map-ready
event.

MozReview-Commit-ID: EKrT7V4qLJq

--HG--
extra : rebase_source : e3c4e4cbebdb9adbc1b414c14b9df241abba009c
2017-05-30 08:08:18 -06:00
Greg Tatum
38fcc497b1 Bug 1265526 - Correctly categorize blob URLs and wasm frames as user content; r=julienw
asm.js and wasm frames were not being correctly identified as user
content in the perf devtool. This patch correctly finds blob urls that
were being mis-identified as platform content, and wasm frames, which do
not have any identifying information other than their function name
containing wasm-function.

MozReview-Commit-ID: 4DjqATCKBK0

--HG--
extra : rebase_source : 0c261074d0b786d99e0a6a4dbdd81e3606b66081
2017-05-26 18:07:56 -05:00
Wes Kocher
349517ef3c Backed out changeset aa7a23344ca4 (bug 1370139) for failures in browser_dom_array.js a=backout
MozReview-Commit-ID: F3Z6dIwwWrB
2017-06-13 10:52:35 -07:00
Oriol
d4593a2a0d Bug 1370139 - Escape slashes in TreeView paths. r=Honza 2017-06-05 20:31:00 -04:00
Alexandre Poirot
f131594dd6 Bug 1355994 - Stop flagging DevTools sandboxes with an Addon ID. r=kmag
MozReview-Commit-ID: 5aJ5osJIt5i

--HG--
extra : rebase_source : b37230366178f5dbaf10263dcedb55eec7a838f1
2017-04-24 11:38:13 +02:00
Tom Tromey
be41e1f185 Bug 1367836 - devtools-source-map v0.6.0: Update bundle from GitHub. r=jryans
MozReview-Commit-ID: 4r5TLSegA50

--HG--
extra : rebase_source : 3d30edf4b8256a21b11dde5ddc9164c285c14652
2017-05-25 12:53:40 -06:00
Paolo Amadini
30ea634bb0 Bug 1242505 - Part 5 - Remove obsolete whitelisting of unhandled rejections. r=Mossop
The whitelisting function thisTestLeaksUncaughtRejectionsAndShouldBeFixed was replaced by expectUncaughtRejection, and existing calls did not take effect anymore.

MozReview-Commit-ID: 3uOxkgWYWEz

--HG--
extra : rebase_source : 5a10a3ebbfe0ce2a801330041f95447c313a9a70
extra : source : 6f0394b523a66dab444b8551deb8f3c6c81d8f31
2017-05-25 15:00:49 +01:00
Sebastian Hengst
ea55cd0be2 Backed out changeset 6f0394b523a6 (bug 1242505) 2017-05-28 11:31:01 +02:00
Paolo Amadini
94c629ed8c Bug 1242505 - Part 5 - Remove obsolete whitelisting of unhandled rejections. r=Mossop
The whitelisting function thisTestLeaksUncaughtRejectionsAndShouldBeFixed was replaced by expectUncaughtRejection, and existing calls did not take effect anymore.

MozReview-Commit-ID: 3uOxkgWYWEz

--HG--
extra : rebase_source : 3a7720091180a770b32b595f8094c0d20170166d
2017-05-25 15:00:49 +01:00
Greg Tatum
fcd6f5d04b Bug 1350304 - Revert focusing behavior that causes tree view to jump; r=Honza
In the Bug 1335055, accessibility features were added for re-focusing on
a TreeNode when it was unmounted. Unfortunately this is incompatible
with how the Tree provides a virtualized view, where it only has DOM
nodes on the page that will be visibile when things are scrolled. So
when a view is scrolled down, the TreeNode components get unmounted.
The focused node is still technically focused, but the actual component
is no longer mounted and present on the page. This causes the focus to
incorrectly jump around as the user scrolls down the page.

MozReview-Commit-ID: 64hlwCax0Ej

--HG--
extra : rebase_source : 60ba0ac37fc61bb3fc874230cc54e6147bd1b13b
2017-05-25 20:40:48 -05:00
Bob Silverberg
eb974678e2 Bug 1349896 - Part 1: Expose devtools theme via gDevTools, r=ochameau
Added gDevTools.getTheme() to provide the theme name, and a gDevTools "theme-changed"
event to provide a notification when the theme is changed.

MozReview-Commit-ID: EeUAmtyPpUy

--HG--
extra : rebase_source : 38515c6fb4d4294aa20d862da0c1bb96f17cd99a
2017-05-09 13:03:19 -04:00
Ben Kelly
8382efc2b2 Bug 1277657 Fix a race condition in devtools test helper_inline_editor.js. r=jdescottes 2017-05-22 07:29:30 -07:00
Tom Tromey
ea788b5b50 Bug 1333352 - use client-side source map service in markup view event bubble; r=jdescottes
MozReview-Commit-ID: D8bF5kkHp2p

--HG--
extra : rebase_source : 88ff42bbedbd844dee3360c132f40ec8188aa692
2017-05-12 14:34:26 -06:00
Ruturaj K. Vartak
1ed19ed100 Bug 1364097 - Do not show the autocomplete popup when input is empty. r=jdescottes
MozReview-Commit-ID: JCE5eWPKu8l
2017-05-19 09:46:00 +01:00
Tom Tromey
9f4ebe5770 Bug 1317962 - use source maps in stack traces in the console; r=jryans
MozReview-Commit-ID: 9SPZDi50XZv

--HG--
extra : rebase_source : e8d9e5eaeb0de0f18b34eae13499d394df696f52
2017-05-02 12:51:51 -06:00
Carsten "Tomcat" Book
845d4f803d Merge mozilla-central to mozilla-inbound 2017-05-17 12:27:56 +02:00
Ruturaj K. Vartak
9c6adc0098 Bug 1364113 - Test cases for Network Monitor autocomplete. r=jdescottes, ntim
MozReview-Commit-ID: 3JcO3lR0TVR
2017-05-16 19:58:00 +01:00
Tim Nguyen
6ccd4f203e Backed out changeset f7b1a4643318
MozReview-Commit-ID: AvjGf1tcKbw
2017-05-17 08:40:56 +01:00
Ruturaj K. Vartak
9bf2258103 Bug 1354504 - Add test cases for SearchBox and AutocompletePopup react components. r=ntim, jdescottes.
[SearchBox]
- SearchBox setup
- initial empty value
- initially notFocussed
- setting value to inputbox
- checking for focus on the input
- onBlur
- ClearButton hidden initialized
- ClearButton shown on some value
KeyDown emptyAutoComplete return undefined
- ArrowDown
- ArrowUp
- PageDown
- PageUp
- Home
- End
- Tab
	- and hide box
- Backspace
	- reactivates popup
- Enter
	- and hide box
- Escape

[AutocompletePopup]
- initialy DOM invisibility
- focus on input and visibility
- List compare
- Initial selectedIndex = -1
- Blur hiding of autocomplete
- filtering of Values
- jumpToTop (by key events)
- jumpToBottom (by key events)
- jumpBy (by key events)
- select (by key events)
- Selection class
- MouseDown

MozReview-Commit-ID: 9PjGztW0PIy
2017-05-16 19:58:00 +01:00
Julian Descottes
9954280035 Bug 1365014 - support pref getters with default value in Services shim;r=tromey
nsIPrefBranch getters support an optional default parameter.
If provided, the getter should not throw in case the pref is not defined, but
instead should return the default value.

MozReview-Commit-ID: FfWPmOC6bFI

--HG--
extra : rebase_source : a18d53c897bb7483997ed9e2faa9e737b4c644e8
2017-05-15 21:49:35 +02:00
Tom Tromey
a38062c7e5 Bug 1364839 - devtools-source-map v0.5.0: Update bundle from GitHub; r=jdescottes
MozReview-Commit-ID: 7j2hOyipkkL

--HG--
extra : rebase_source : 73a07c2507497e41649213dcf43fb5ed13fc1b0b
2017-05-16 08:11:11 -06:00
Michael Ratcliffe
95bffc6b9c Bug 1194190 - Enable Storage Inspector by default r=tromey
MozReview-Commit-ID: nPUN4WVT9q

--HG--
extra : rebase_source : 563b1c6a5e7d663bae39a1e6a5fa575df536b2d4
2017-05-12 15:20:15 +01:00
Michael Ratcliffe
d8e30095b3 Bug 1231452 - Make it possible to add cookies to the storage inspector r=pbro
MozReview-Commit-ID: 9l9GBpxX7xv

--HG--
extra : rebase_source : ad7edb8e099dd5a14cc754e3e8d71f35518856c0
2017-03-31 23:28:55 +01:00
Ruturaj K. Vartak
eeb5e9e9e1 Bug 1354504 - Add autocomplete to network monitor search box. r=jdescottes, ntim
MozReview-Commit-ID: KojxbqOAJAQ
2017-05-11 04:25:00 +01:00
Iris Hsiao
140ea4f78b Backed out changeset d5d0e32f5904 (bug 1354504) for devtool perma-failing in browser_net_filter-flags.js. a=backout
--HG--
extra : amend_source : 150de2fdee4a5695703ad5937a5c1131929643c1
2017-05-12 10:13:19 +08:00
Wes Kocher
f1c0f35ea6 Merge inbound to m-c a=merge
MozReview-Commit-ID: HCapLqbD816
2017-05-11 17:30:41 -07:00
Mark Banner
2bf9485071 Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM

--HG--
extra : rebase_source : e462e84bf8f2ffd893d1fd6b5ea14bbc093168dd
2017-05-08 10:29:47 +01:00
Sebastian Hengst
95a418ca5b Backed out changeset e0f9c56c15f0 (bug 1362947) for linting failures, e.g. at accessible/tests/mochitest/jsat/doc_content_text.html:15. r=backout 2017-05-11 10:15:55 +02:00
Mark Banner
256aeb441c Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM

--HG--
extra : rebase_source : f1b9eeb1b2048b551ee8c0a596e6395d0031cc4d
2017-05-08 10:29:47 +01:00
Stoyan Dimitrov
83e9d59dd5 Bug 1360548 - Adapt dimension of broken image tooltip to content. r=jdescottes 2017-05-11 10:03:42 +02:00
Ruturaj K. Vartak
2495fc9d15 Bug 1354504 - Add autocomplete to network monitor search box. r=jdescottes, ntim
MozReview-Commit-ID: KsMFZtSEw6a
2017-05-11 04:25:00 +01:00
Carsten "Tomcat" Book
d66b9f27d5 merge mozilla-inbound to mozilla-central a=merge 2017-05-10 15:07:28 +02:00
Micah Tigley
6f4d9b105a Bug 1332085 - Add Color Name Field to Color Widget. r=gl
MozReview-Commit-ID: AYFulQcvBwv
2017-05-08 20:31:37 -06:00
nchevobbe
85bc4f9a33 Bug 1362037 - update bundle to v0.8.0. r=Honza
MozReview-Commit-ID: Z4sANLFH3R

--HG--
extra : rebase_source : 0df5c8d718dc2d98050faa55b021ce03217abdfa
2017-05-05 17:19:47 +02:00
Matt R
a0fbfb22de Bug 1352777 - Fix dropmarkers in JSON viewer not collapsing long string r=rickychien
MozReview-Commit-ID: BdixqPyi8x4

--HG--
extra : rebase_source : eea7c019e873f48dfb69fb0297d690919d75b9fd
2017-04-24 08:35:09 +01:00
Tom Tromey
7cf598b980 Bug 1359144 - use client-side source map service in console; r=jryans
MozReview-Commit-ID: Jn9fr1EoPg9

--HG--
extra : rebase_source : 533abb2bd654a3d6d9046862436f73be3fa64667
2017-04-28 10:12:57 -06:00
Julian Descottes
3ba9b0dd11 Bug 1328943 - a11y: focus should skip scope element in variablesview;r=bgrins
This changeset makes the classname variables-view-scope no longer able to
receive the focus. When tabbing through the variables view, going from the
variables-view-scope to the first variables-view-variable item has no
visual impact as their container occupy the same space.

Having to TAB twice without providing user feedback feels buggy.

MozReview-Commit-ID: It4EOV45A40

--HG--
extra : rebase_source : 5f865283613073fe72de98d012274a8d74dfe88f
2017-05-02 15:51:21 +02:00
Tom Tromey
f14b92c497 Bug 1360554 - devtools-source-map v0.4.0: Update bundle from GitHub; r=jryans
MozReview-Commit-ID: 7eYjx2QXM8P

--HG--
extra : rebase_source : 8af06aa3d44a028f34bfef2c826dd143ec0e822e
2017-04-28 10:43:41 -06:00
Phil Ringnalda
6ff93fd449 Backed out changeset 8ff81b6fdfb8 (bug 1317962) for frequent Windows failures in browser_console_copy_entire_message_context_menu.js
CLOSED TREE

MozReview-Commit-ID: ADIiRxXlKs1
2017-05-04 20:56:39 -07:00
Tom Tromey
cdba52c5a8 Bug 1317962 - use source maps in stack traces in the console; r=jryans
MozReview-Commit-ID: 9SPZDi50XZv

--HG--
extra : rebase_source : 86ba1dbdc32a02d3ac46e3fc0f1cf2063b2a2291
2017-05-02 12:51:51 -06:00
Julian Descottes
e5195aed19 Bug 1359090 - load devtools-browser.css dynamically when starting devtools;r=ochameau
This changeset modifies devtools-browser.css to import:
- commandline-browser.css (needed for GCLI)
- responsivedesign.css (needed for the old RDM)

These files are no longer included in the main browser.css files.

devtools-browser.css is also no longer loaded by browser.xul.
Instead it is dynamically loaded when devtools need the browser stylesheet:
- when creating a side or bottom host (need the splitter)
- when opening gcli
- when opening the old responsive design

devtools-browser.js keeps track of the browser stylesheets loaded in the
various tracked windows and will remove the stylesheet when the window is unloaded.

MozReview-Commit-ID: AL3CxS7mvdO

--HG--
rename : devtools/client/themes/commandline.inc.css => devtools/client/themes/commandline-browser.css
rename : devtools/client/themes/responsivedesign.inc.css => devtools/client/themes/responsivedesign.css
extra : rebase_source : a4a1e993657ff3abcc975249812723ab46bc84a8
2017-04-27 16:05:31 +02:00
Julian Descottes
50a0db7113 Bug 1359090 - extract appendStyleSheet util from theme-switching to dedicated util;r=ochameau
MozReview-Commit-ID: 4MaGKbkyuZ9

--HG--
extra : rebase_source : 622115120ac1349b63175b6de088269e9f17e1ed
2017-04-27 15:26:38 +02:00
nchevobbe
4bb4c97c9c Bug 1359338 - Update reps bundle to 0.7.0. r=Honza
MozReview-Commit-ID: IomllBwp21b

--HG--
extra : rebase_source : 0df02efe6b26a56e2a87467e7a48281b3bf7d1e3
2017-04-28 14:04:36 +02:00
Dragana Damjanovic
ac4b67b516 Bug 1334776 - ResponseHeader Visitor will get original header casing. We need to fix it at some places in devtools. 2017-04-27 16:48:43 +02:00
Kit Cambridge
c32b6bb66b Bug 1359290 - Fix "notifiction" typos. r=markh
MozReview-Commit-ID: 1d9QQUQckQW

--HG--
extra : rebase_source : 2c24a54476f0e970db8d18afae7c4232206b8bd2
2017-04-24 18:51:45 -07:00
Michael Ratcliffe
0a6c15a02a Bug 1073967 - Storage Inspector columns should use natural sort r=nchevobbe
Changlist:
  - Added Jim Palmer's well proven natural sort algorithm.
  - Added natural sort license (MIT).
  - Use natural sort everywhere inside TableWidget.js wherever we use .sort()
  - Changed browser_storage_overflow.js so that the test is faster and more maintainable. The test now also tests column sorting (ascending and descending).
  - Use natural sort everywhere inside storage.js wherever we need to slice the array. Without natural sort here we get e.g. row-1, row-10, row-100, row-2 etc.

MozReview-Commit-ID: FUY7pcLIYml

--HG--
extra : rebase_source : 6e25cc962a7ab89aeb361e4036af90dcecd24b02
2017-04-10 18:04:25 +01:00
Wes Kocher
5ce5528fb1 Merge inbound to m-c a=merge
MozReview-Commit-ID: DQDuEiYLWCO
2017-04-20 15:30:43 -07:00
Julian Descottes
7f9cac248f Bug 1354672 - update debugger frontend 04/18/17;r=jdescottes
MozReview-Commit-ID: HI2NymoCLYR

--HG--
extra : rebase_source : 7b7f29e68b5c73246de73ee73bdfbcce7de4e594
extra : source : 26825d7a225d98a9b29def0e0871ed7d8d3cb62f
2017-04-20 14:49:44 +02:00
Carsten "Tomcat" Book
0ede18d72a Backed out changeset 26825d7a225d (bug 1354672) on developers request 2017-04-20 09:28:11 +02:00
Wes Kocher
cb8ce82cca Merge inbound to m-c a=merge 2017-04-19 17:10:04 -07:00
Tom Tromey
e4a467e282 Bug 1355233 - quote unmatched open paren in function tokens correctly; r=gl
When rewriting in the rule view, the rewriter quotes unmatched open
parens to avoid some edits affecting the rest of the style sheet.  This
was bug 1321970.  However, that change didn't correctly handle the case
of a function token, where the paren in question appears at the end, not
the start, of the token.

MozReview-Commit-ID: GjA40M2KsvX

--HG--
extra : rebase_source : 0dec92ca958d20f02da5c7c4163ad971b2529920
2017-04-17 08:00:58 -06:00
Julian Descottes
ef9a9e80c9 Bug 1354672 - update debugger frontend 04/18/17;r=jdescottes
MozReview-Commit-ID: HI2NymoCLYR

--HG--
extra : rebase_source : 76cd533614d04771319f484cf8eb642d5f966e75
2017-04-18 10:25:19 +02:00
Carsten "Tomcat" Book
87edaf78ee Merge mozilla-central to autoland
--HG--
extra : rebase_source : 46bdde97ce6567ce8a06b1609de547ef11b24c2a
2017-04-20 13:06:52 +02:00
nchevobbe
eb02505b4c Bug 1357341 - Reps 0.6.0: update reps bundle from Github; r=jdescottes
MozReview-Commit-ID: BW0DPLf8dXf

--HG--
extra : rebase_source : b674cd7b3bb493abe1130485b4e3b388b11fdec6
2017-04-20 10:43:32 +02:00
Michael Ratcliffe
5f606637f1 Bug 1352115 - Add scalars for toolbareyedropper, copyuniquecssselector and copyfullcssselector r=bsmedberg,pbro
MozReview-Commit-ID: CeqtJ22GM6M

--HG--
extra : rebase_source : d80264c6bb990b754ce96dbcb7010b8de6096701
2017-04-19 13:04:12 +01:00
Michael Ratcliffe
faf7c1b49c Bug 1356223 - Support scalar telemetry probe types in Telemetry.js r=pbro
MozReview-Commit-ID: A2SMdvjy4jp

--HG--
extra : rebase_source : 002e47280d926c913150dd1b1286a7730855a024
2017-04-19 12:44:54 +01:00
Daisuke Akatsuka
9a2f64b9e1 Bug 1210796 - Part 2: Visualize each properties. r=pbro
MozReview-Commit-ID: Hjb1QyOMNZR

--HG--
extra : rebase_source : 8ee1a7249453ed701f40c5f0a8fc0118cee8dd39
2017-04-18 12:15:54 +09:00
Sebastian Hengst
8bd051237a merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JpAhOPjgvkF
2017-04-15 19:59:24 +02:00
Florian Queze
4c6a68d1c9 Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Ricky Chien
ddbb541e5d Bug 1356766 - Support HTMLTooltop when running launchpad on Chrome r=ntim
MozReview-Commit-ID: KNeN8hrJjdl

--HG--
extra : rebase_source : ddb241b2f8d2106eab6d315f987b09fbd200e3af
2017-04-15 15:28:29 +08:00
Ricky Chien
415ebfe75e Bug 1356146 - Link webpack alias to m-c shared r=Honza
MozReview-Commit-ID: 8vFpxH1FdHy

--HG--
extra : rebase_source : 2f1959e7e044231cdaceba3fd973609b17eaecdd
2017-04-13 14:26:47 +08:00
Alexandre Poirot
acdbbd6e15 Bug 1320939 - Lazy load all tooltip widgets until each is really used. r=jdescottes
MozReview-Commit-ID: 9P93GocdLm8

--HG--
extra : rebase_source : e57883d36c2cbcfa895a3217dea9e82df87874ec
2017-01-31 15:31:37 +01:00
Florian Queze
f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
nchevobbe
80058a000e Bug 1355454 - Move "createFactories" function from Reps to a shared util. r=jdescottes
MozReview-Commit-ID: LmGBg2HSzOC

--HG--
extra : rebase_source : 3168ac7cf313a117ec62ce0a5f59e0edb3ac92d7
2017-04-12 08:33:37 +02:00
Julian Descottes
050157c89a Bug 1355755 - cleanup hardcoded colors in tabs.css;r=pbro
MozReview-Commit-ID: Lgtsl4XVBhe

--HG--
extra : rebase_source : a2fdd921fd3f7ec37751fba4d68e5f8b7f6cc102
2017-04-12 11:17:11 +02:00
Stefan Yohansson
18fa48d27c Bug 1353535 - Fix "copy as curl" POST request without json data. r=gasolin
--HG--
extra : rebase_source : 35d42a108df7e2241f8b0740a6ca8bc3997bdf13
2017-04-04 18:35:29 -03:00
Tim Nguyen
fc37fb23db Bug 1353389 - Fix network monitor sidebar panel scrollbars. r=Honza
MozReview-Commit-ID: AYAaFNTAw1N

--HG--
extra : rebase_source : 755052c137434b10b5bc5bd6017e6399d49d6921
2017-04-05 11:38:38 +02:00
Michael Ratcliffe
579c548c22 Bug 1347517 - Add telemetry for GCLI commands used r=miker
MozReview-Commit-ID: FBBsZeZkPEt

--HG--
extra : rebase_source : ce8068ff1e644fa857357f76801072012cd8bfce
2017-03-15 18:33:52 +01:00
Wes Kocher
53dde6a1d2 Merge inbound to central, a=merge 2017-04-03 14:50:18 -07:00
Stefan Yohansson
9bbee44013 Bug 1349520 - disable checkered background for font preview tooltips;r=jdescottes
Added flag hideCheckeredBackground to hide checkered background if pass true.

MozReview-Commit-ID: FOQO59xqGvt

--HG--
extra : rebase_source : 839fdba629d3eac77ea37509bb049a233c72a163
2017-03-28 17:28:54 -03:00
Tim Nguyen
749b78d5ae Bug 1350234 - Clean up network monitor CSS. r=Honza
MozReview-Commit-ID: 6wTU8sg54oe

--HG--
extra : rebase_source : 48a6fc820a5b14b2d6eb10286a9365515cde956c
2017-04-03 18:04:29 +02:00
Rahul Chaudhary
dd5683bd4f Bug 1332090 - Added a contrast ratio component to the Color Widget. r=pbro
MozReview-Commit-ID: 9FA0h9ST62E
2017-02-20 22:27:22 -05:00
Wes Kocher
8e0bc97954 Merge inbound to central, a=merge 2017-03-29 15:41:57 -07:00
Sebastian Hengst
95d52e6546 Backed out changeset e4ecf720b3a1 (bug 713680) for crashing in dom/tests/mochitest/chrome/test_xray_event_constructor.xul on Windows 7 debug. r=backout 2017-03-29 21:51:05 +02:00
J. Ryan Stinnett
1cb189a564 Bug 1351537 - devtools-source-map v0.3.0: Update bundle from GitHub. r=jdescottes
MozReview-Commit-ID: 1W9OXHs5pHq

--HG--
extra : rebase_source : a3bc710a0d57816f6a07303c232361d4c60ceac6
2017-03-28 23:07:17 -05:00
Julian Descottes
4d76300445 Bug 1351565 - update reps to v0.5.0;r=nchevobbe
MozReview-Commit-ID: 2Q7isM1jF2P

--HG--
extra : rebase_source : 45c6cef6b04c6e1d8a299e3c624e0301612d43cd
2017-03-29 10:05:14 +02:00
Chris Peterson
9a7117b6ae Bug 713680 - Change default Windows monospace font from Courier New to Consolas. r=jfkthame r=masayuki
MozReview-Commit-ID: 6WPOOCcF43M

--HG--
extra : rebase_source : 83a416e89a479c25281128630935b0ec19dd915f
extra : histedit_source : cea4b90eb46eeac04fd2de120d1044576405aa2f%2C0dc86ac28399a3af673ebd40d11a75c57ef04f4b
2017-03-08 00:20:41 -08:00
ffxbld
9ad80a7a2d Bug 1335192 - improving accessibility of tree-view component (keyboard and semantics). r=Honza
MozReview-Commit-ID: BXWZLaAlSuK
2017-03-28 12:53:45 -04:00
Stanford Lockhart
ab5866a609 Bug 1345119 - Part 5: Test browser_boxmodel_offsetparent.js to test front end box model. r=gl
MozReview-Commit-ID: E2PtkTEvqQo
2017-03-25 13:43:49 -03:00
Wes Kocher
6d0b00069c Merge inbound to central, a=merge
MozReview-Commit-ID: JGfQoBJy2jt
2017-03-24 17:17:27 -07:00
sole
e7aab5cc93 Bug 1349165 - DevTools: complete documentation gaps for how to add telemetry to panels. r=jryans,pbro
MozReview-Commit-ID: Aw1cDT7WfTM

--HG--
extra : rebase_source : 9a36c09e0229eb6afcda32d86447851987101706
2017-03-23 15:52:48 +00:00
Stefan Yohansson
a640d7ed0e Bug 1031956 - "Copy as cURL" is building GET when it should be POST. r=gasolin
- Added POST to create post data conditional;
- Added test to check "--data" on curl generated command.

--HG--
extra : rebase_source : 04c3519fa8788a7d196161fea719e363734cb25a
2017-03-18 11:39:37 -03:00
J. Ryan Stinnett
a3745962af Bug 1349360 - Add source-map to browser-based list. r=ochameau
`devtools-source-map` uses `Worker` which needs a window, so it seems reasonable
to mark it as browser-based.

MozReview-Commit-ID: 93dCLoj0HDu

--HG--
extra : rebase_source : 510cdf3813b737b732c543abbcade193886b907e
2017-03-21 16:11:13 -05:00
Zibi Braniecki
3d91da8726 Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.

This allows us to remove a lot of calls for the app locale.

The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.

MozReview-Commit-ID: DzmFEUvMq3N

--HG--
extra : rebase_source : 513ed31d995864939aa893e73c81ffdf591a6617
2017-03-14 16:09:54 -07:00
Sebastian Hengst
0a04f3b9e2 Backed out changeset cc308a73ad05 (bug 1347314) for eslint failure in test_device.html. r=backout 2017-03-22 18:20:26 +01:00
Zibi Braniecki
c2cd68a689 Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.

This allows us to remove a lot of calls for the app locale.

The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.

MozReview-Commit-ID: DzmFEUvMq3N

--HG--
extra : rebase_source : 13fa4c397ba4c79303a2cd76684b5b8c4bd17331
2017-03-14 16:09:54 -07:00
Wes Kocher
3c092e1002 Merge m-c to inbound, a=merge
MozReview-Commit-ID: GjXiiENYBmx
2017-03-21 16:20:08 -07:00
Matteo Ferretti
ee8552f865 Bug 1342928 - Keep the commands / buttons state in sync; r=jwalker
This was a regression given by bug 1320149; in order to keep the performance
gain I created a lightweight object (`CommandState`) that is required from both
gcli's command and toolbox so that the last one doesn't need to be strong
coupled with the first one.

MozReview-Commit-ID: 3NcTt6i4ezx

--HG--
extra : rebase_source : 2c67d1c8fb90551298d8254e0f05bfcb5705d2f6
2017-03-20 14:54:03 +01:00
Gabriel Luong
1870ffbc60 Bug 1347552 - Add telemetry for the Layout panel. r=sole, bsmedberg 2017-03-21 15:06:44 -04:00
Tom Tromey
57e5c3f0e1 Bug 1321970 - escape unmatched parens in property rewriter; r=gl
MozReview-Commit-ID: 2rs07e8O0ab

--HG--
extra : rebase_source : 78c24247bfed6450cb2ce487280da57039c20bc0
2017-03-16 07:46:53 +01:00
J. Ryan Stinnett
c26a6274cc Bug 1326100 - Restore notable inline comments in DevTools. r=tromey
MozReview-Commit-ID: 6cLDkoCt0al

--HG--
extra : rebase_source : 26e95a9320998085675a1f14bfa4442f4bbc38dc
2017-03-20 16:22:55 -05:00
Dão Gottwald
d7e6cc08c3 Bug 1347928 - Remove legacy information-*.png icons. r=jaws
MozReview-Commit-ID: 47FAxEjg4KG

--HG--
extra : rebase_source : 6b67778d0129752867b4f1d5933e016464a398c9
2017-03-16 15:11:05 +01:00
Wes Kocher
b58db2c9cb Merge m-c to autoland, a=merge
MozReview-Commit-ID: Ccc8rDMJMfn
2017-03-17 11:13:53 -07:00
Wes Kocher
ee28f4ee71 Merge inbound to central, a=merge
MozReview-Commit-ID: Fq7B78wD7Wv
2017-03-17 11:03:59 -07:00
Carsten "Tomcat" Book
3e0a5441c6 Merge mozilla-central to mozilla-inbound 2017-03-17 14:55:15 +01:00
Gabriel Luong
479beb9ed0 Bug 1346378 - Grid inspector toggle should appear for display: [inline-]grid !important declarations. r=jdescottes 2017-03-17 13:55:50 +01:00
Julian Descottes
f39e97fbef Bug 1348271 - attach eyedropper click event to the proper element;r=gl
MozReview-Commit-ID: GNb6WED0CiP

--HG--
extra : rebase_source : 2681b65a2c0911398c16058b991ab0c948d10208
2017-03-17 12:50:28 +01:00
J. Ryan Stinnett
6513a20684 Bug 1348112 - devtools-source-map v0.2.1: Initial landing from GitHub. r=jdescottes
MozReview-Commit-ID: tOXDvHEZEs

--HG--
extra : rebase_source : b5874297f0313f9b68e039ebef5c6b461514450d
2017-03-16 16:17:25 -05:00
Sebastian Hengst
d5074b513a Backed out changeset 5057a244f6b5 (bug 1348112) for eslint failures. r=backout 2017-03-17 17:53:15 +01:00
J. Ryan Stinnett
1ef6a5cfb9 Bug 1348112 - devtools-source-map v0.2.1: Initial landing from GitHub. r=jdescottes
MozReview-Commit-ID: tOXDvHEZEs

--HG--
extra : rebase_source : f734a397695a793e42dad0377a0437f351c8e426
2017-03-16 16:17:25 -05:00
Tom Tromey
1cefb9fb2f Bug 1347961 - use #f06, not #f0c, in devtools tests; r=pbro
MozReview-Commit-ID: Li0s9X82YQC

--HG--
extra : rebase_source : 0c9d9deeced8d07f29f39912785d2c6fd60db314
2017-03-16 16:40:10 +01:00
Yura Zenevich
10b8780ba0 Bug 1335055 - improving accessibility of a tree component (keyboard and semantics). r=Honza
MozReview-Commit-ID: 1ffA4VjuyUZ
2017-03-16 23:01:04 -04:00
Michael Ratcliffe
24d69f8745 Bug 1264585 - Add sidebar toggle button to storage panel r=pbro
Fixed devtools/client/storage/test/browser_storage_sidebar.js

MozReview-Commit-ID: 8zKnUPJ0118

--HG--
extra : rebase_source : ee8f816a75ce07a1beab13c7f7b3c600b3b4183e
2017-03-10 17:44:01 +00:00
Carsten "Tomcat" Book
fb74131fe7 Merge mozilla-central to mozilla-inbound 2017-03-14 14:26:07 +01:00
Carsten "Tomcat" Book
dba578960e merge mozilla-inbound to mozilla-central a=merge 2017-03-14 14:23:03 +01:00
Sheldon Roddick
ad70ec2061 Bug 1307481 - Part 4: Implements the Inline Tooltip widget. r=jdescottes 2017-03-04 01:59:35 -08:00
sole
bf1f324872 Bug 1343501 - Log telemetry for devtools DOM panel. r=Honza 2017-03-03 14:49:25 +00:00
Matteo Ferretti
bec7538bbf Bug 1255351 - box model highlighter: all the guidelines now are overlap the node; r=gl
This patch is fixing the issue mostly for 1dppx / 1dpi display.
For higher dpi a follow-up bug will be made once bug 1345917 and bug 1151421
are fixed; and it will be part of bug 1187970.

MozReview-Commit-ID: 7XuED9ydGvB

--HG--
extra : rebase_source : 3d47ee5c7c7a60f712fe23072bb8686eac0b8dc8
2017-03-10 02:32:09 +01:00
Stefan Yohansson
b7941e38ab Bug 1067999 - Fixed 'Images in background-image tooltips aren't always easy to see' by adding a repeating image for the tooltip widget. r=ntim
--HG--
extra : rebase_source : 0845ba330509dd42ad9e34279e5af33b8b639c24
2017-03-10 11:38:30 -03:00
Vera Sipicki
14999e4cbf Bug 1342706 - Disabled text selection for learn-more-link in order to prettify copied header responses; r=Honza 2017-03-03 05:37:17 -05:00
Florian Quèze
9d62681259 Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
Julian Descottes
855c64b0d5 Bug 1344156 - reps v0.4.0: update reps bundle from GitHub;r=tromey
MozReview-Commit-ID: 4vQozULRsrP

--HG--
extra : rebase_source : be7a35bd3a0adcd802c5a9d6873676070ca15a65
2017-03-03 10:28:32 +01:00
Matteo Ferretti
556346ac75 Bug 1340553 - The rulers are not dismiss if using the 'rulers' command in Developer Toolbar; r=jwalker
- Fixed the developer-toolbar's show method to avoid re-creating new objects
  and listeners every call.

MozReview-Commit-ID: CX5tEIIWm

--HG--
extra : rebase_source : 14cc537432ef85b5d2ba758e8e48dff02bb4805f
2017-03-04 12:27:08 +01:00
Ricky Chien
876f7acea1 Bug 1344155 - Remove toolbox in netmonitor r=Honza
MozReview-Commit-ID: BM0RoiuRaPh

--HG--
extra : rebase_source : 81933234fd44c7940133540b25e5c8682a1c168d
2017-03-02 22:59:56 +08:00
Nick
2a7202a0c1 Bug 1312687 - devtools-side-splitter now moves the correct direction in RTL locales r=ntim
MozReview-Commit-ID: CpSZwZSstgX

--HG--
extra : rebase_source : 28974307e4e225748c2e866ac6ac8a93af3a50b1
2017-03-02 13:03:41 -05:00
Ricky Chien
80ce5bc82e Bug 1340368 - Rewrite har-exporter and use WebAPIs instead r=Honza
MozReview-Commit-ID: 5mm4mr8qT79

--HG--
extra : rebase_source : 2b05dee30957752a8df1609f632341badf0db2cf
2017-02-17 14:57:14 +08:00
Wes Kocher
9746f81e53 Merge m-c to autoland, a=merge
MozReview-Commit-ID: FzykkWPQCrq

--HG--
rename : browser/modules/test/browser_UsageTelemetry_content.js => browser/modules/test/browser/browser_UsageTelemetry_content.js
rename : browser/modules/test/browser_UsageTelemetry_content_aboutHome.js => browser/modules/test/browser/browser_UsageTelemetry_content_aboutHome.js
rename : browser/modules/test/browser_UsageTelemetry_searchbar.js => browser/modules/test/browser/browser_UsageTelemetry_searchbar.js
rename : browser/modules/test/browser_UsageTelemetry_urlbar.js => browser/modules/test/browser/browser_UsageTelemetry_urlbar.js
2017-03-01 17:48:44 -08:00
Gabriel Luong
d7d3158d2b Bug 1342305 - Refactor grid inspector into its own grids folder. r=jdescottes
--HG--
rename : devtools/client/inspector/layout/actions/grids.js => devtools/client/inspector/grids/actions/grids.js
rename : devtools/client/inspector/layout/actions/highlighter-settings.js => devtools/client/inspector/grids/actions/highlighter-settings.js
rename : devtools/client/inspector/layout/actions/index.js => devtools/client/inspector/grids/actions/index.js
rename : devtools/client/inspector/layout/actions/moz.build => devtools/client/inspector/grids/actions/moz.build
rename : devtools/client/inspector/layout/components/Grid.js => devtools/client/inspector/grids/components/Grid.js
rename : devtools/client/inspector/layout/components/GridDisplaySettings.js => devtools/client/inspector/grids/components/GridDisplaySettings.js
rename : devtools/client/inspector/layout/components/GridItem.js => devtools/client/inspector/grids/components/GridItem.js
rename : devtools/client/inspector/layout/components/GridList.js => devtools/client/inspector/grids/components/GridList.js
rename : devtools/client/inspector/layout/components/GridOutline.js => devtools/client/inspector/grids/components/GridOutline.js
rename : devtools/client/inspector/layout/reducers/grids.js => devtools/client/inspector/grids/reducers/grids.js
rename : devtools/client/inspector/layout/reducers/highlighter-settings.js => devtools/client/inspector/grids/reducers/highlighter-settings.js
rename : devtools/client/inspector/layout/reducers/moz.build => devtools/client/inspector/grids/reducers/moz.build
rename : devtools/client/inspector/layout/types.js => devtools/client/inspector/grids/types.js
rename : devtools/client/inspector/layout/utils/l10n.js => devtools/client/inspector/grids/utils/l10n.js
rename : devtools/client/inspector/layout/utils/moz.build => devtools/client/inspector/grids/utils/moz.build
2017-02-24 14:14:04 -05:00
Masatoshi Kimura
7be7b11a1c Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg

--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Ricky Chien
6e4a52bd8a Bug 1341159 - Use commonLibRequire trick to reuse already loaded libraries r=Honza
MozReview-Commit-ID: 5OHpu6fqF6J

--HG--
extra : rebase_source : 8dd462dac95345a1ff35b08ca04a44c3bdeac006
2017-02-21 10:54:30 +08:00
Carsten "Tomcat" Book
7256146318 merge mozilla-inbound to mozilla-central a=merge 2017-02-24 11:46:38 +01:00
Gabriel Luong
febfd604f0 Bug 1336198 - Part 8: Use the react/redux box model in the computed view. r=jdescottes 2017-02-24 01:37:51 -05:00
Gabriel Luong
05191ee10e Bug 1336198 - Part 7: Refactor box model logic into box-model.js. r=jdescottes 2017-02-24 01:37:47 -05:00
Gabriel Luong
995c625b88 Backed out 9 changesets (bug 1336198). r=backout
Backed out changeset fd85a5aafa9f (bug 1336198)
Backed out changeset e1624f6a8087 (bug 1336198)
Backed out changeset a174ae51463a (bug 1336198)
Backed out changeset a7e1c96ccf87 (bug 1336198)
Backed out changeset c0df0213c72b (bug 1336198)
Backed out changeset e7d3c4bfc729 (bug 1336198)
Backed out changeset 3c88ae1e9508 (bug 1336198)
Backed out changeset 0461bc95ee7f (bug 1336198)
Backed out changeset f6710bb42058 (bug 1336198)

--HG--
rename : devtools/client/inspector/boxmodel/test/.eslintrc.js => devtools/client/inspector/components/test/.eslintrc.js
rename : devtools/client/inspector/boxmodel/test/browser.ini => devtools/client/inspector/components/test/browser.ini
rename : devtools/client/inspector/boxmodel/test/browser_boxmodel.js => devtools/client/inspector/components/test/browser_boxmodel.js
rename : devtools/client/inspector/boxmodel/test/browser_boxmodel_editablemodel.js => devtools/client/inspector/components/test/browser_boxmodel_editablemodel.js
rename : devtools/client/inspector/boxmodel/test/browser_boxmodel_editablemodel_allproperties.js => devtools/client/inspector/components/test/browser_boxmodel_editablemodel_allproperties.js
rename : devtools/client/inspector/boxmodel/test/browser_boxmodel_editablemodel_bluronclick.js => devtools/client/inspector/components/test/browser_boxmodel_editablemodel_bluronclick.js
rename : devtools/client/inspector/boxmodel/test/browser_boxmodel_editablemodel_border.js => devtools/client/inspector/components/test/browser_boxmodel_editablemodel_border.js
rename : devtools/client/inspector/boxmodel/test/browser_boxmodel_editablemodel_stylerules.js => devtools/client/inspector/components/test/browser_boxmodel_editablemodel_stylerules.js
rename : devtools/client/inspector/boxmodel/test/browser_boxmodel_guides.js => devtools/client/inspector/components/test/browser_boxmodel_guides.js
rename : devtools/client/inspector/boxmodel/test/browser_boxmodel_navigation.js => devtools/client/inspector/components/test/browser_boxmodel_navigation.js
rename : devtools/client/inspector/boxmodel/test/browser_boxmodel_rotate-labels-on-sides.js => devtools/client/inspector/components/test/browser_boxmodel_rotate-labels-on-sides.js
rename : devtools/client/inspector/boxmodel/test/browser_boxmodel_sync.js => devtools/client/inspector/components/test/browser_boxmodel_sync.js
rename : devtools/client/inspector/boxmodel/test/browser_boxmodel_tooltips.js => devtools/client/inspector/components/test/browser_boxmodel_tooltips.js
rename : devtools/client/inspector/boxmodel/test/browser_boxmodel_update-after-navigation.js => devtools/client/inspector/components/test/browser_boxmodel_update-after-navigation.js
rename : devtools/client/inspector/boxmodel/test/browser_boxmodel_update-after-reload.js => devtools/client/inspector/components/test/browser_boxmodel_update-after-reload.js
rename : devtools/client/inspector/boxmodel/test/browser_boxmodel_update-in-iframes.js => devtools/client/inspector/components/test/browser_boxmodel_update-in-iframes.js
rename : devtools/client/inspector/boxmodel/test/doc_boxmodel_iframe1.html => devtools/client/inspector/components/test/doc_boxmodel_iframe1.html
rename : devtools/client/inspector/boxmodel/test/doc_boxmodel_iframe2.html => devtools/client/inspector/components/test/doc_boxmodel_iframe2.html
rename : devtools/client/inspector/boxmodel/test/head.js => devtools/client/inspector/components/test/head.js
rename : devtools/client/inspector/boxmodel/actions/box-model.js => devtools/client/inspector/layout/actions/box-model.js
rename : devtools/client/inspector/boxmodel/components/BoxModel.js => devtools/client/inspector/layout/components/BoxModel.js
rename : devtools/client/inspector/boxmodel/components/BoxModelEditable.js => devtools/client/inspector/layout/components/BoxModelEditable.js
rename : devtools/client/inspector/boxmodel/components/BoxModelInfo.js => devtools/client/inspector/layout/components/BoxModelInfo.js
rename : devtools/client/inspector/boxmodel/components/BoxModelMain.js => devtools/client/inspector/layout/components/BoxModelMain.js
rename : devtools/client/inspector/boxmodel/components/BoxModelProperties.js => devtools/client/inspector/layout/components/BoxModelProperties.js
rename : devtools/client/inspector/boxmodel/components/ComputedProperty.js => devtools/client/inspector/layout/components/ComputedProperty.js
rename : devtools/client/inspector/boxmodel/reducers/box-model.js => devtools/client/inspector/layout/reducers/box-model.js
rename : devtools/client/inspector/boxmodel/utils/editing-session.js => devtools/client/inspector/layout/utils/editing-session.js
2017-02-24 01:12:28 -05:00
Gabriel Luong
a311b37417 Bug 1336198 - Part 8: Use the react/redux box model in the computed view. r=jdescottes
MozReview-Commit-ID: 8D53vJG3zda

--HG--
extra : rebase_source : 3af751344d2ef4efbb23ef4dadf65515b2b8844b
extra : histedit_source : f8998f66d6404951fda38b48555bd24f50bbdad3
2017-02-16 15:50:59 +01:00
Gabriel Luong
63afbc1c3f Bug 1336198 - Part 7: Refactor box model logic into box-model.js. r=jdescottes
MozReview-Commit-ID: C4DMNTYoTU

--HG--
extra : rebase_source : 24fcf00201158b1a1da55011b36c8c52f6b3d6aa
extra : histedit_source : f87234b379fc4421c78fed309fd85d0ead1b759a%2Cb28bca3e9ca8757b2b6dc02315c2d0ab71ee3fd5
2017-02-24 00:45:24 +01:00
Julian Descottes
596f377474 Bug 1339783 - use theme-toolbar-hover for accordion header background on hover;r=gl
Move toolbar only variable toolbar-tab-hover to variables.css and reuse it in
accordion.

MozReview-Commit-ID: KgBLlYIYlrr
2017-02-22 16:55:05 +01:00
Julian Descottes
71381bb50e Bug 1341635 - reps v0.3.0: update reps bundle from GitHub;r=nchevobbe
MozReview-Commit-ID: B1HPjgbVyJq

--HG--
extra : rebase_source : f48ebd47e03fbe3f990387d66440781b9d5b06f1
2017-02-23 18:47:03 +01:00
Julian Descottes
f3a300b816 Bug 1340475 - reps v0.2.1: update reps bundle from GitHub;r=nchevobbe
MozReview-Commit-ID: 1lCdEeDK36K

--HG--
extra : rebase_source : 42680f471268d49f1ad2746ce3c3febdc207aef8
2017-02-17 18:30:45 +01:00
Julian Descottes
9625acc354 Bug 1335608 - add a button to select hidden tools when toolbox toolbar overflows;r=gregtatum
MozReview-Commit-ID: HgfSteV6WXy

--HG--
extra : rebase_source : c1cee0df53fa3e2efc579823a833609cd5d2bc44
2017-03-01 17:32:55 +01:00