Commit Graph

8630 Commits

Author SHA1 Message Date
Gabriel Luong
aa4c03aafa Bug 1434514 - Move the rule property expander next to the property value. r=pbro 2018-01-31 10:06:55 -05:00
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
Andreea Pavel
7c471ab23e Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-01-31 19:43:15 +02:00
Julian Descottes
ebc768d323 Bug 1403902 - migrate browser_webconsole_bug_580454_timestamp_l10n to xpcshell test;r=nchevobbe
MozReview-Commit-ID: 6uMMrzMSJB6

--HG--
rename : devtools/client/webconsole/test/browser_webconsole_bug_580454_timestamp_l10n.js => devtools/client/webconsole/new-console-output/test/unit/test_webconsole_l10n.js
extra : rebase_source : d299dc9973edea6ce1fc3899b3c8a1cc13bf47f3
2018-01-31 08:56:21 +01:00
Jason Laster
ae8b90234b Bug 1434025 - Update Debugger Frontend v12. r=jdescottes
MozReview-Commit-ID: H7ti3ZopbZC

--HG--
rename : devtools/client/debugger/new/test/mochitest/examples/reload/doc_reload.html => devtools/client/debugger/new/test/mochitest/examples/reload/doc-reload.html
extra : rebase_source : 2c79781fa31664ccc793b14c097411d12335f6dc
2018-01-31 16:32:18 +01:00
Sebastian Hengst
732cb1d98b merge mozilla-inbound to mozilla-central. r=merge a=merge 2018-01-31 00:22:27 +02: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
Kris Maglione
6425ff4f8d Bug 1431533: Part 4 - Add ESLint support for ChromeUtils import methods. r=florian
This adds support for detecting globals created by these helpers, as well as a
rule to enforce their use over the older XPConnect variants.

The latter rule also supports fixing code to use the newer variants, and will
be used in the next part to rewrite in-tree ESLint-enabled code that fails it.

MozReview-Commit-ID: 6Bgo6ohQA5j

--HG--
extra : source : fbef09c3e8af1653f270db589f73f2786c23ddc2
extra : intermediate-source : e2674287e57fbf6835729f42b8491359c2c4bfd5
2018-01-18 12:53:01 -08:00
Csoregi Natalia
c56f656feb Merge inbound to mozilla-central. a=merge 2018-01-30 18:18:04 +02:00
Jason Laster
766822476f Bug 1433117 - Update Debugger Frontend v11. r=jdescottes
MozReview-Commit-ID: AONFm7SSUSr
2018-01-30 09:44:38 +01: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
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
Kris Maglione
43040e2d2f Bug 1431533: Part 4 - Add ESLint support for ChromeUtils import methods. r=florian
This adds support for detecting globals created by these helpers, as well as a
rule to enforce their use over the older XPConnect variants.

The latter rule also supports fixing code to use the newer variants, and will
be used in the next part to rewrite in-tree ESLint-enabled code that fails it.

MozReview-Commit-ID: 6Bgo6ohQA5j

--HG--
extra : source : fbef09c3e8af1653f270db589f73f2786c23ddc2
extra : intermediate-source : 8e4dcdb0f429003100e2727dad4108ab57087da2
2018-01-18 12:53:01 -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
Brindusan Cristian
d423a1aef8 Backed out changeset 8e4dcdb0f429 (bug 1431533) for ESlint failure on test-no-single-arg-cu-import.js on a CLOSED TREE 2018-01-30 02:05:25 +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
Kris Maglione
66060a27cc Bug 1431533: Part 4 - Add ESLint support for ChromeUtils import methods. r=florian
This adds support for detecting globals created by these helpers, as well as a
rule to enforce their use over the older XPConnect variants.

The latter rule also supports fixing code to use the newer variants, and will
be used in the next part to rewrite in-tree ESLint-enabled code that fails it.

MozReview-Commit-ID: 6Bgo6ohQA5j

--HG--
extra : rebase_source : 4be020e5c28d8e72ff0aa9e66051fe493bfcce7c
extra : source : fbef09c3e8af1653f270db589f73f2786c23ddc2
2018-01-18 12:53:01 -08:00
Gabriel Luong
49de74e595 Bug 1407347 - Prevent iframes in the inspector sidebar from rerendering when a sidebar tab is removed. r=Honza 2018-01-29 13:01:54 -05: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
abhinav
f60bc551a5 Bug 1413314 - Change precise increment to Ctrl instead of Alt for Linux compat; r=jryans
MozReview-Commit-ID: ErTw1XnmWV5

--HG--
extra : rebase_source : 536e23ebbe54a4d5649c26d703b8b7f86a956af9
2018-01-26 23:36:21 +05:30
Csoregi Natalia
32df3a47a8 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-30 18:22:51 +02:00
Tom Tromey
3728debffe Bug 1255379 - fix getCSSValuesForProperty for clip and clip-path; r=xidorn
This fixes getCSSValuesForProperty for clip and clip-path.

Although clip is deprecated, it seemed harmless to fix it as well;
when it is removed this code will also be readily found and removed.

It wasn't clear to me if setting the keyword table for clip-path in
nsCSSPropList.h would be ok, so I added a special case in
InspectorUtils.

MozReview-Commit-ID: Ghawr17HjKk

--HG--
extra : rebase_source : 29c094afd678019b4f3f49ac55493ef0d7d6848f
2018-01-22 13:26:14 -07:00
abhinav
b4415868a6 Bug 1428996 - Fix text wrap of boxmodel-editable; r=pbro
MozReview-Commit-ID: I9TDulHyxMY

--HG--
extra : rebase_source : 7f6e4e49cb54d525813833f4e236a09e2b63afbd
2018-01-26 22:13:23 +05:30
Nicolas Chevobbe
ed239179da Bug 1432771 - Clear queues in dispatchMessagesClear; r=bgrins.
In the console, to batch messages addition, we use queues which are
then consumed once every 50ms. But if a message is pushed to a queue,
and dispatchMessagesClear is called before the 50ms interval, the message
would still be added to the output.
This is happening for example when calling the `clear` helper from jsterm.
Clearing the queues when calling dispatchMessagesClear fixes the issue.
A mochitest is added to make sure we don't regress this.

MozReview-Commit-ID: 2CI0yIGSrT

--HG--
extra : rebase_source : ae243cff56ddf605e9656cd79c356688406e45e8
2018-01-24 15:37:09 +01:00
Kentaro Teramoto
df454ec391 Bug 1421395 - change focus ring in console from gray dotted line to blue, change active input caret color to toolbar-checked-color. r=nchevobbe
MozReview-Commit-ID: 6fUAi4199Yb

--HG--
extra : rebase_source : a129539d28833ab097aa260615ab60698f7d1d80
2018-01-27 08:33:33 +09: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
Coroiu Cristina
11d0ff9f36 Merge inbound to mozilla-central. a=merge 2018-01-28 12:40:33 +02:00
Gabriel Luong
c84d4c1cac Bug 1428170 - Update Codemirror to 5.33.0. r=bgrins 2018-01-28 00:04:37 -05:00
abhinav
87198841b1 Bug 1412066 - Fix for count of requests in Network pane being undefined for the 3rd plural form in Czech; r=Pike
MozReview-Commit-ID: L1GuupfPLzq

--HG--
extra : rebase_source : 305acd27ae248d47efc61815c902c863c8448b81
2018-01-26 01:51:01 +05:30
abhinav
6bb0cfd19c Bug 1431306 - Return the MDN status list URL in getHTTPStatusCodeURL when statusCode does not have a dedicated page; r=nchevobbe
MozReview-Commit-ID: 5FWYgChM5le

--HG--
extra : rebase_source : a23168b7f92c5de6b717b1ce2a3e8ff540943c0a
2018-01-20 23:31:44 +05:30
abhinav
5bb7f4be73 Bug 1432865 - Clean up show and hideColumn test API. r=Honza
MozReview-Commit-ID: EGL5wC3UPa2

--HG--
extra : rebase_source : 15f871aa04e3afab719ab9687d51b68b16b9f66a
2018-01-25 16:45:34 +05:30
Ciure Andrei
0732ef3648 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-26 12:10:28 +02:00
Dorel Luca
5985aa72cc Merge mozilla-central to mozilla-inbound r=merge 2018-01-26 05:50:11 +02: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
Brian Grinstead
9f4fa59cb7 Bug 1424095 - Force off flexbox emulation in the Browser Toolbox;r=jryans
While this feature is still being worked on, it's nice if the BT is rendered
properly (there are currently issues with iframe sizing that make it hard to
use the inspector).

MozReview-Commit-ID: AULRq2N6Miv

--HG--
extra : rebase_source : b7596abe13bb8c0f5a3ea488dc84c8736614885d
2018-01-25 15:09:27 -08:00
arthur.iakab
39d63fc827 Merge mozilla-central to autoland 2018-01-26 02:31:18 +02:00
arthur.iakab
94ab855658 Merge inbound to mozilla-central. a=merge 2018-01-26 02:21:47 +02:00
Kris Maglione
b3cac601f6 Bug 1432966: Sanitize HTML fragments created for chrome-privileged documents. r=bz f=gijs
This is a short-term solution to our inability to apply CSP to
chrome-privileged documents.

Ideally, we should be preventing all inline script execution in
chrome-privileged documents, since the reprecussions of XSS in chrome
documents are much worse than in content documents. Unfortunately, that's not
possible in the near term because a) we don't support CSP in system principal
documents at all, and b) we rely heavily on inline JS in our static XUL.

This stop-gap solution at least prevents some of the most common vectors of
XSS attack, by automatically sanitizing any HTML fragment created for a
chrome-privileged document.

MozReview-Commit-ID: 5w17celRFr

--HG--
extra : rebase_source : 1c0a1448a06d5b65e548d9f5362d06cc6d865dbe
extra : amend_source : 7184593019f238b86fd1e261941d8e8286fa4006
2018-01-24 14:56:48 -08:00
Gurzau Raul
ea1ff80377 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-25 19:08:48 +02:00
abhinav
6a8687a571 Bug 1421225 - Clicking on a console.group Message should toggle the group. r=nchevobbe
MozReview-Commit-ID: IuK0R1Ebv8o

--HG--
extra : rebase_source : 224bcfa41da64bf7c745da807ef6a396c152e51e
2018-01-23 09:28:15 +05:30
Ruturaj K. Vartak
574662922f Bug 1398149 - Waterfall timing is broken. r=Honza
- Removed flex based CSS for .requests-list-timings
- Added 20px buffer for .requests-list-timings-total
2018-01-25 06:14:00 -05:00
Nicolas Chevobbe
1467be06f3 Bug 1433123 - Fix console launchpad; r=Honza.
Updating to latest devtools-launchpad add adding the
disablePostCSS option fixes the postCSS errors.
Remove the netmonitor from babelExclude and add the
rewrite-lazy-getter loader fixes the issues about the use
of the object spread operator.

MozReview-Commit-ID: 4wRHuR4q7fz

--HG--
extra : rebase_source : c94063664063ba18d2bb466e99519e701707d6e6
2018-01-25 15:27:25 +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