Commit Graph

1372 Commits

Author SHA1 Message Date
Boris Zbarsky
05b8447eb6 Bug 1434399 part 12. Remove JS uses of nsIDOMXULDocument. r=mystor
MozReview-Commit-ID: HUK8ahBwG0e
2018-01-31 14:49:28 -05:00
Sebastian Hengst
732cb1d98b merge mozilla-inbound to mozilla-central. r=merge a=merge 2018-01-31 00:22:27 +02: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
Boris Zbarsky
b9771573b3 Bug 1418085 part 4. Stop using nsIDOMHTMLElement in JS code. r=mystor
MozReview-Commit-ID: GsSnXNXGrHg
2018-01-30 00:25:36 -05:00
Boris Zbarsky
5d7b053f45 Bug 1418076 part 10. Get rid of JS uses of Ci.nsIDOMHTMLDocument. r=mystor
MozReview-Commit-ID: IT2OEbCODTX
2018-01-26 01:01:38 -05: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
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
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
Julian Descottes
27a469d6a8 Bug 1102240 - rename actors/inspector/inspector.js to inspector-actor.js;r=pbro
MozReview-Commit-ID: dfzTyhZXez

--HG--
rename : devtools/server/actors/inspector/inspector.js => devtools/server/actors/inspector/inspector-actor.js
extra : rebase_source : d316a0490cc68ac3ad342af5fbcb64f24f8d01dd
2018-01-26 13:15:06 +01:00
Julian Descottes
8cca58077e Bug 1102240 - split inspector actor in smaller files;r=ochameau,pbro
MozReview-Commit-ID: LgZav4dMQRR

--HG--
rename : devtools/server/actors/inspector/inspector.js => devtools/server/actors/inspector/document-walker.js
rename : devtools/server/actors/inspector/inspector.js => devtools/server/actors/inspector/node-actor.js
rename : devtools/server/actors/inspector/inspector.js => devtools/server/actors/inspector/utils.js
rename : devtools/server/actors/inspector/inspector.js => devtools/server/actors/inspector/walker-actor.js
extra : rebase_source : b57466d2e2dfb6f332dec3a38a03b12506eb4a30
2018-01-26 13:11:58 +01:00
Julian Descottes
8eb0574c63 Bug 1102240 - Move inspector actor to dedicated folder;r=pbro
MozReview-Commit-ID: LNgHweYJXcB

--HG--
rename : devtools/server/actors/inspector.js => devtools/server/actors/inspector/inspector.js
extra : rebase_source : 5f35db40dda61e7e476fae1153f10b3d580a6929
2018-01-26 11:49:48 +01:00
Patrick Brosset
a8606678b7 Bug 1424880 - Size the font for grid area names after the smallest dimension; r=gl
MozReview-Commit-ID: 7dWo8Fw6gwf

--HG--
extra : rebase_source : 6515bc23c1b4e80399ad5564aee525f76a3afc4d
2018-01-28 16:40:32 +01:00
Julian Descottes
226dd89197 Bug 1272774 - rename actor/childtab.js to actor/content.js to match ContentActor;r=ochameau
MozReview-Commit-ID: BJ8zjFeiZPD

--HG--
rename : devtools/server/actors/childtab.js => devtools/server/actors/content.js
extra : rebase_source : 27d016532666641adf1c20f639c9521636324f53
2018-01-05 10:11:04 +01:00
Julian Descottes
4c806e5378 Bug 1272774 - remove irrelevant cleanup comment;r=ochameau
MozReview-Commit-ID: KsULTBH9bGL

--HG--
extra : rebase_source : 46cabf890de277e28a33af9df709e547bd36bdb1
2018-01-05 10:06:58 +01:00
Julian Descottes
a649bddbb2 Bug 1272774 - remove unused update() method on tab actor;r=ochameau
MozReview-Commit-ID: FdrEAsIBsvj

--HG--
extra : rebase_source : 0e2166305f42b2487ce7558490a473eb9adec443
2018-01-05 09:57:03 +01:00
Julian Descottes
1d94b51b97 Bug 1272774 - allow listTabs to return favicon data from PlacesUtils;r=ochameau
MozReview-Commit-ID: 8bkn3mG6YkL

--HG--
extra : rebase_source : 9f514f1adbc4e79022c8c18c5195d3e1d1298062
2018-01-04 17:25:45 +01:00
Julian Descottes
f714f056d0 Bug 1272774 - migrate all listTabs() callers to use promise;r=ochameau
MozReview-Commit-ID: 9PtRZHG5GuF

--HG--
extra : rebase_source : f4c7cfd5f8338eb22fa44dc79a1e8b7840dc4e2d
2018-01-15 18:38:34 +01:00
Brian Grinstead
2b9ff4e762 Bug 1432851 - Remove IsInFeedSubscribeLine assertion when loading xul.css in BindToTree;r=bz
The feedreaderUI binding was removed in Bug 1109714, so there's no need for this anymore.

MozReview-Commit-ID: G38fuS0zqOQ

--HG--
extra : rebase_source : f16b102fff01a5d61495687773d2c275f5007634
2018-01-24 09:33:54 -08:00
Shuoyi Ma
17e44403a2 Bug 1432033 - Change the line dashes for the flexbox container. r=gl 2018-01-24 09:47:20 -05:00
Andrew McCreight
9ae6a7f57d Bug 1432578 - Remove B2G shared global isms from server/main.js. r=jryans
B2G used to do shared globals in a weird way which required this, but
that is no longer used.

MozReview-Commit-ID: 9NTQS1NCVtu

--HG--
extra : rebase_source : 000e544a4486fc96b8467be6adc0c22833a14eab
2018-01-23 10:38:40 -08:00
Andreea Pavel
41add5ae12 Backed out changeset 5bd1a3505e22 (bug 1432578) for failing ESlint at /builds/worker/checkouts/gecko/testing/xpcshell/dbg-actors.js on a CLOSED TREE 2018-01-24 00:33:07 +02:00
Andrew McCreight
0c8b131e24 Bug 1432578 - Remove B2G shared global isms from server/main.js. r=jryans
B2G used to do shared globals in a weird way which required this, but
that is no longer used.

MozReview-Commit-ID: 9NTQS1NCVtu

--HG--
extra : rebase_source : e9160920f965c6e37157e99a021f25662f68ec75
2018-01-23 10:38:40 -08:00
Julian Descottes
46f8ae7efd Bug 1431758 - do not use netmonitor data to fetch stylesheets over 1MB;r=jryans
MozReview-Commit-ID: Gz6dRLiLREm

--HG--
extra : rebase_source : dc25347c977b7890231b7434622d171d217f7bc6
2018-01-20 00:24:41 +01:00
Narcis Beleuzu
e449275782 Backed out changeset 41262016e149 (bug 1431758) for build bustage. on a CLOSED TREE 2018-01-22 18:42:13 +02:00
Julian Descottes
4fa078bd65 Bug 1431758 - do not use netmonitor data to fetch stylesheets over 1MB;r=jryans
MozReview-Commit-ID: Gz6dRLiLREm

--HG--
extra : rebase_source : 74d73ecd50cc1e56a66c6e45d43b1ca48f136cf2
2018-01-20 00:24:41 +01:00
Boris Zbarsky
e338b5f525 Bug 1431964 part 9. Stop using nsIDOMAttr in JS. r=mccr8
MozReview-Commit-ID: 59TspEgvNRF
2018-01-21 12:07:31 -05:00
Boris Zbarsky
e38dec29f4 Bug 1431964 part 8. Remove nsIDOMMozNamedAttrMap. r=mccr8
MozReview-Commit-ID: C7z0hcjC0Tg
2018-01-20 20:57:26 -05:00
Zhenghong Qian
1772747906 Bug 1431947 - Remove the edge around the flex basis highlight. r=gl
MozReview-Commit-ID: EnMtsAganyG
2018-01-20 15:18:30 -05:00
Zhenghong Qian
725baa56d3 Bug 1431941 - Highlight flex-basis in the flexbox highlighter. r=gl 2018-01-20 14:27:39 -05:00
Shuoyi Ma
2f3a366c07 Bug 1431841 - Show the flex lines in the flexbox highlighter. r=gl 2018-01-20 14:12:16 -05:00
Tooru Fujisawa
69535b850f Bug 1430383 - Wait for the next event tick after load event in devtools/server/tests/browser/browser_canvasframe_helper_04.js r=pbro 2018-01-20 20:40:11 +09:00
Brad Werth
cfa8c06eab Bug 1415940 Part 7: Change canSetRuleText() to test the sheet for modification by CSSOM. r=tromey
MozReview-Commit-ID: 2tCVgntiRHn

--HG--
extra : rebase_source : 99d17cfd55dd0819d8e7a8395a29fb854cd03e3b
2017-12-19 13:52:24 -08:00
J. Ryan Stinnett
076bf9b5db Bug 1430776 - Use better regex for finding CSS lines. r=tromey
For certain files, the regex DevTools uses to find line offsets can cause
exponential behavior that causes the page to hang.

Based on suggestion from contibutor Markus in the bug, adjusting the regex so
that it can stop matching earlier resolves the issue.

MozReview-Commit-ID: txRJEnkmaf

--HG--
extra : rebase_source : 043ee8d81cd0594dcefec751802ca0a2c1573a68
2018-01-19 12:38:56 -06:00
abhinav
b022aa1432 Bug 1430773 - The eyedropper should not copy colors as uppercase to the clipboard; r=pbro
MozReview-Commit-ID: 8ShdtDuTKfr

--HG--
extra : rebase_source : 87922827b6bcfd7adcede0fd91ecccadc72e8c4d
2018-01-18 07:44:56 +05:30
Alexandre Poirot
25665eee8e Bug 1422061 - Prevent performance actor from stopping profiler started by Talos. r=gregtatum
MozReview-Commit-ID: 7PrI9ZwUMtX

--HG--
extra : rebase_source : ea112949c363a216fe51df196524a1b00c8c8ad1
2018-01-16 08:26:30 -08:00
Micah Tigley
9b58cdf110 Bug 1396666 - Flip the grid line box's number position if there is not enough space along the container edge. r=pbro
MozReview-Commit-ID: 22UyufRUIhH

--HG--
extra : transplant_source : %BA%D0%AB%926%AE7%22%CDa%E0%129%94A%E9%D5%CA%83%1E
2018-01-04 20:53:28 -07:00
J. Ryan Stinnett
50f195f322 Bug 1303171 - Adjust highlighters to account for writing mode and text dir. r=gl
The `getCurrentMatrix` function is used by grid and other highlighters to
account for the element's position, transforms, etc.  Here we extend it with
extra logic to account for the element's writing mode and text direction.

MozReview-Commit-ID: AZT4cJySLwk

--HG--
extra : rebase_source : 55504705fba929f6209ac8c76a000fd26cd8dd3e
2017-12-08 22:18:21 -06:00
Jessica Jong
4bee56a645 Bug 1428685 - Use dom.webcomponents.shadowdom.enabled pref for Shadow DOM. r=smaug
Most of the Shadow DOM related code are behind "dom.webcomponents.enabled" and
this pref is only used by Shadow DOM right now, so we should rename it to
"dom.webcomponents.shadowdom.enabled"

MozReview-Commit-ID: er1c7AsSSW
2018-01-16 17:16:30 +01:00
Brad Werth
72542e6f81 Bug 1430329: Make StyleSheetActor.update only emit ruleCount change events when necessary. r=tromey
MozReview-Commit-ID: 6rwEo1mCFgG

--HG--
extra : rebase_source : 110a037dd7d4e8de62e1b1f6d74a4ad8138e8c9a
2018-01-12 16:45:51 -08:00
Ricky Chien
f127cbaff3 Bug 1430117 - Checking NS_BINDING_ABORTED to avoid dispatching navigate event r=ochameau
MozReview-Commit-ID: hMLQS7Sfhg

--HG--
extra : rebase_source : 3b91bcefb582a2373c74958cd1dafa33704cabcf
2018-01-12 22:37:33 +08:00
Ricky Chien
73a4eebfe6 Bug 1409705 - Adding Cu.isDeadWrapper(window) to avoid accessing dead object r=Honza
MozReview-Commit-ID: 1Qpb6p2Jwnz

--HG--
extra : rebase_source : 1ac0307ffdefe8f231a7b2af8efe5eeb59abecca
2018-01-11 18:03:48 +08:00
Noemi Erli
adbfbaab81 Merge inbound to mozilla-central r=merge a=merge 2018-01-11 23:54:07 +02:00
Shounak
7aacf7d50e Bug 1210632 - Move the pointer to (0,0) with the New Measure Tool r=pbro
MozReview-Commit-ID: 7XhSGD1QbiA

--HG--
extra : rebase_source : a06e65205e6bf58bb37c0c46f508148ab1e09c82
2017-12-30 21:41:53 +05:30
Cameron McCormack
ce7231c196 Bug 1427419 - Part 25: Move inIDOMUtils.parseStyleSheet to InspectorUtils. r=bz
MozReview-Commit-ID: FQlNRP8ycY3
2018-01-11 12:38:01 +08:00
Cameron McCormack
afa1299635 Bug 1427419 - Part 24: Move pseudo-class lock methods from inIDOMUtils to InspectorUtils. r=bz
MozReview-Commit-ID: ItruGMmf5Ih
2018-01-11 12:38:01 +08:00
Cameron McCormack
3f17a89ba7 Bug 1427419 - Part 23: Move inIDOMUtils.getCSSPseudoElementNames to InspectorUtils. r=bz
MozReview-Commit-ID: A6FhXc2mJm1
2018-01-11 12:38:01 +08:00
Cameron McCormack
c4663ea0f0 Bug 1427419 - Part 22: Move inIDOMUtils.getUsedFontFaces to InspectorUtils. r=bz
This also changes the function to return a sequence (JS Array) instead of
an nsFontFaceList object, and converts nsFontFace/nsIDOMFontFace into a
Web IDL implemented object too.

MozReview-Commit-ID: 1iAW3DYe5kO

--HG--
rename : layout/inspector/nsFontFace.cpp => layout/inspector/InspectorFontFace.cpp
2018-01-11 12:38:01 +08:00
Cameron McCormack
0c66b23322 Bug 1427419 - Part 16: Move inIDOMUtils.cssPropertySupportsType to InspectorUtils. r=bz
MozReview-Commit-ID: AfNA6g5lTec
2018-01-11 12:38:00 +08:00
Cameron McCormack
060b4a5e4f Bug 1427419 - Part 15: Move inIDOMUtils.cssPropertyIsShorthand to InspectorUtils. r=bz
MozReview-Commit-ID: LphGIXzOlDB
2018-01-11 12:38:00 +08:00