Commit Graph

345 Commits

Author SHA1 Message Date
Andrew McCreight
5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Florian Quèze
2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Kris Maglione
19a956c2c6 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor

--HG--
extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf
extra : amend_source : 09a90b29837e339eec7bdf8504f86c28e74ca3dd
extra : intermediate-source : a1eca62826a1341ca24d4d2a93d4884d4fc7ad51
extra : histedit_source : eb26e73b531f9a34d3401d39f60b533b27b78540
2018-01-18 16:27:26 -08:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
e050496c59 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor

--HG--
extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf
extra : amend_source : d0515fe4eb13b59cc490ca9d964ad9ee15ef3cd3
extra : intermediate-source : 6e56f4c8843ed134b2dba34fb007298fd55be966
extra : histedit_source : 88abf9f4ea4e740a9391278625ef07395205c3f5%2Cc14bc7a71eb413fcb573ed0d030fd7f99a1468f0
2018-01-18 16:27:26 -08:00
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
e70d01a9e9 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor

--HG--
extra : rebase_source : 6286dcfd1a7c970272ac6befaccd3e47e90d2f6b
extra : intermediate-source : d48657228a0b84cf3a37a35227ca3b3d0bd2a017
extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf
2018-01-18 16:27:26 -08:00
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Pradeep
2223cb383b Bug 1420112 - Refresh event bubble design; r=nchevobbe.
Change the order of the icons so it makes more sense.
Use te same 'jump to debugger' icon as in the console.
Add expanded/collapsed icon on event listener definition.

MozReview-Commit-ID: 33tt7VX32NH

--HG--
extra : rebase_source : 58b2fd2e4dd140b886ce9e7dc5dd55485c8eacd4
2018-01-25 02:12:44 +05:30
Cameron McCormack
3c49d82e69 Bug 1427419 - Part 27: Remove inIDOMUtils. r=bz
And rename inDOMUtils.cpp to InspectorUtils.cpp.

MozReview-Commit-ID: IIqo25MHsQE

--HG--
rename : layout/inspector/inDOMUtils.cpp => layout/inspector/InspectorUtils.cpp
2018-01-11 12:38:01 +08:00
Julian Descottes
100cde3ae6 Bug 1349483 - fix colorpicker eyedropper when devtools are in a window host;r=pbro
MozReview-Commit-ID: CwfZaIsGoBW

--HG--
extra : rebase_source : 17eae1fea9b6552d67907d09a04d8c3eefb01aef
2018-01-09 19:30:11 +01:00
Julian Descottes
0aa5ebf407 Bug 1349483 - extract tooltip hidden callback from SwatchColorPickerTooltip;r=pbro
This allows subclasses to override the implementation,a nd avoids leaking ColorPicker
specific implementation details to the base class.

MozReview-Commit-ID: 6KHaFPd5xHt

--HG--
extra : rebase_source : d6bddd7d65d6c384b5a5c66d7b646110ca90c8c6
2018-01-09 19:28:21 +01:00
Vincent Lequertier
450fb4980c Bug 1393464 - Remove Heritage from devtools helper view-helpers.js; r=pbro
Calling "devtools/shared/extend" instead.

MozReview-Commit-ID: HbonI7vq8Be

--HG--
extra : rebase_source : 5c9f2ccd0f5cddfcdb1949354932fd492564cc93
2018-01-04 18:54:52 +01:00
Rajdeep Nanua
0b2ed65576 Bug 1102464 - Implement CSS variable tooltip. r=pbro
Initial support for CSS variable tooltip. Removed title attribute from
variables and added a new tooltip displaying the same content.

MozReview-Commit-ID: FeHmgiS7KQj
2017-11-08 00:22:24 -05:00
Coroiu Cristina
8209092aea Backed out changeset b5950ede2b76 (bug 1102464) for failing devtools on Windows 7 debug at devtools/client/shared/test/browser_outputparser.js r=backout on a CLOSED TREE 2017-12-07 01:36:22 +02:00
Rajdeep Nanua
48234431f4 Bug 1102464 - Implement CSS variable tooltip. r=pbro
Initial support for CSS variable tooltip. Removed title attribute from
variables and added a new tooltip displaying the same content.

MozReview-Commit-ID: FeHmgiS7KQj
2017-11-08 00:22:24 -05:00
Dorel Luca
2e81d28b54 Backed out changeset 1a9cbc25dd9d (bug 1102464) for failing ESlint devtools/client/shared/widgets/tooltip/VariableTooltipHelper.js r=backout on a CLOSED TREE
--HG--
extra : amend_source : 201818f92f479bcb2ae83bde1d2fe2d8827efe9f
2017-12-06 22:40:33 +02:00
Rajdeep Nanua
3fc4d89056 Bug 1102464 - Implement CSS variable tooltip. r=pbro
Initial support for CSS variable tooltip. Removed title attribute from
variables and added a new tooltip displaying the same content.

MozReview-Commit-ID: FeHmgiS7KQj
2017-11-08 00:22:24 -05:00
Julian Descottes
69c5043c50 Bug 1399886 - use fill from CSS to set the fill color of devtools icons;r=gl
MozReview-Commit-ID: D9A472N51DA

--HG--
extra : rebase_source : 30c743c409c9178278aa5875644501310163ef4d
2017-10-02 16:47:24 +02:00
Towkir Ahmed
1d9469d0b7 Bug 1382171 - Remove MDN Docs widget. r=jdescottes 2017-10-03 09:13:00 -04:00
Bharat Raghunathan
ab8f04191a Bug 1393453 - Moves Tooltips to ES6 classes retaining decorators r=zer0
MozReview-Commit-ID: 98kX9zA0Lka

--HG--
extra : rebase_source : 58885e96c4318106691cf038da4dc4bb206fdb7e
2017-09-20 09:42:50 +05:30
Julian Descottes
ecb3f51df2 Bug 1331167 - fix TooltipToggle to hide tooltip when leaving target;r=Honza
MozReview-Commit-ID: 3pTi5DfEEPd

--HG--
extra : rebase_source : ebae2ff583feb8063459029e1a7f3cbb3d6c8fff
2016-12-08 07:41:49 +01:00
Sebastian Hengst
a1a7652547 Backed out changeset 7c952d1beaaf (bug 1331167) for failures in devtools' tooltip tests, e.g. devtools/client/inspector/shared/test/browser_styleinspector_tooltip-background-image.js. r=backout 2017-09-26 11:47:26 +02:00
Julian Descottes
9dc4c7045d Bug 1331167 - fix TooltipToggle to hide tooltip when leaving target;r=Honza
MozReview-Commit-ID: 3pTi5DfEEPd

--HG--
extra : rebase_source : d7ac7125d3fe8ee8e10affb34d3323518d357534
2016-12-08 07:41:49 +01:00
abhinav
7bf168d4cd Bug 1377513 - Cancel element-picker on selecting eye-dropper if element-picker is already selected. r=pbro
MozReview-Commit-ID: 7Sn45ENzqel

--HG--
extra : rebase_source : 2f32b6d837d0d77cafe1a17fd0e5dee2331464e7
2017-09-14 08:40:40 +05:30
Julian Descottes
11b0b881e3 Bug 1399841 - use themed SVG filter for all DevTools active icons;r=pbro
MozReview-Commit-ID: L8vApFvHLGo

--HG--
extra : rebase_source : be02a82209d7bb098e2d84ea7e16233f26ee3832
2017-09-14 16:18:55 +02:00
Julian Descottes
49e3e1453f Bug 1399028 - photon update - devtools icon, tab and accordion colors;r=gl
Updated colors and styles for toolbox toolbar tabs as well as sidebar tabs.
For icon color changes created special filters that match the expected photon colors.
The normal, selected and checked states of icons in both dark and light theme are now
always set using filters.

MozReview-Commit-ID: 4MTAxHnyI7a
2017-09-11 23:56:33 +02:00
Aastha Gupta
f6eafe1022 Bug 1336207 - Add tooltip to say what "ev" means in the Inspector. r=miker
1. Added a tooltip to the ev button.
2. Removed the tooltips from the DOM0 and DOM2 tags.
3. Localized the tooltips for Capturing and Bubbling.
2017-09-10 11:06:22 +05:30
Gabriel Luong
1b014ccabc Bug 1391003 - Use the new photon line selection and hover background colors in devtool. r=bgrins 2017-09-01 10:47:11 -04:00
Tom Tromey
dffd9ec2a9 Bug 1395262 - use plain console.error in devtools promise catches; r=bgrins
MozReview-Commit-ID: C8IhVPckQJ7

--HG--
extra : rebase_source : bd5f46a0bdff992cc0334250a16557eb710af5de
2017-08-30 12:05:41 -06:00
ZER0
c3c1fc66d4 Bug 1378847 - Replaced SDK extend with DevTools extend; r=jdescottes
MozReview-Commit-ID: 2OMlzrez6w1
2017-08-25 17:48:16 +02:00
Matteo Ferretti
f9820e9498 Bug 1365053 - called _onEyeDropperDone once the color is selected; r=jdescottes
MozReview-Commit-ID: JUppfvNYmTJ
2017-06-12 10:00:05 +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
Alexandre Poirot
dbebe3ebb7 Bug 1386299 - Stop importing event-emitter as a JSM. r=jdescottes
MozReview-Commit-ID: FnIRJbILIxj

--HG--
extra : rebase_source : e34b781a628a8085bdeb8eba090d5d8102d50c76
2017-07-25 18:30:59 +02:00
Sebastian Hengst
38d95114f2 Backed out changeset c7f4ecbc3658 (bug 1386299) for failing toolkit/components/extensions/test/browser/browser_ext_management_themes.js. r=backout 2017-08-03 12:36:46 +02:00
Alexandre Poirot
6ebb3b93e8 Bug 1386299 - Stop importing event-emitter as a JSM. r=jdescottes
MozReview-Commit-ID: FnIRJbILIxj

--HG--
extra : rebase_source : dee867ac4fa7378e55d6e51e804953fdc051de3d
2017-07-25 18:30:59 +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
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
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
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
Carsten "Tomcat" Book
5699be4b75 Backed out changeset ea5a5610ff7e (bug 1374784) for getting perma failures are merge 2017-06-26 15:10:13 +02: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
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
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