Граф коммитов

8583 Коммитов

Автор SHA1 Сообщение Дата
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
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
Jan Odvarko 42cbe8836c Bug 1433078 - Update readme file; r=jdescottes
MozReview-Commit-ID: HA2Fe9TlgEo

--HG--
extra : rebase_source : 3b54a8e8d09a2553dfec6249da830ec88dad498c
2018-01-25 12:08:32 +01:00
Alexandre Poirot 4f498d0a19 Bug 1432834 - Fix request list line height. r=Honza
MozReview-Commit-ID: ERoitGYBcjs

--HG--
extra : rebase_source : da34bb542d94f1ab756d567574ff3a5437b4dce9
2018-01-25 00:30:06 -08:00
Nicolas Chevobbe 91df6e3ebe Bug 1404888 - Enable browser_webconsole_insecure_passwords_web_console_warning.js in new console frontend; r=jdescottes.
The test needed to be rewritten as we can't have the 3 warning messages
at the same time (see https://hg.mozilla.org/mozilla-central/rev/084f217c4d49#l1.76
and https://hg.mozilla.org/mozilla-central/diff/817eb00ba702/toolkit/components/passwordmgr/InsecurePasswordUtils.jsm#l1.106).
This wasn't picked up by the old frontend test because it is disabled.
In order to test the different warning messages we open 3 different pages
which log the appropriate warning.

MozReview-Commit-ID: Gqa8GrMh8iR

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-iframe-762593-insecure-form-action.html => devtools/client/webconsole/new-console-output/test/mochitest/test-iframe-insecure-form-action.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-iframe-762593-insecure-frame.html => devtools/client/webconsole/new-console-output/test/mochitest/test-insecure-frame.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-762593-insecure-passwords-web-console-warning.html => devtools/client/webconsole/new-console-output/test/mochitest/test-insecure-passwords-web-console-warning.html
extra : rebase_source : 2afb77cb3dcf0f8df5116b7e7d85030a52bc0bc2
2018-01-23 11:39:09 +01:00
Tom Tromey 6dba28ecb2 Bug 1255378 - fix getCSSValuesForProperty for box-shadow and text-shadow; r=heycam,jryans
This fixes InspectorUtils.getCSSValuesForProperty to return the
correct values for box-shadow and text-shadow.  It also takes a small
step toward the goal of getting rid of
InspectorUtils.cpp:PropertySupportsVariant, in favor of having all
variants listed in nsCSSPropList.h.

MozReview-Commit-ID: Dwh5s0IvYTX

--HG--
extra : rebase_source : eba2d3e7337af63c264bf3d596740f311c4aa017
2018-01-17 10:34:34 -07:00
Nicolas Chevobbe 2b915e93ba Bug 1425577 - Do not clone the state for each message of a batch; r=bgrins.
Here, in the case of a MESSAGES_ADD action, we clone the state before
calling addMessage. Then, in addMessage, we can mutate the cloned state.
This saves a lot of time since we don't have to re-create a new state
for each message.

MozReview-Commit-ID: GDBFBytKp5u

--HG--
extra : rebase_source : bfa8252b3dc2e191fa83cd2ad8cb60ab8bb77366
2018-01-24 11:21:40 +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
Narcis Beleuzu 9279994eae Merge inbound to mozilla-central. a=merge 2018-01-24 23:56:14 +02:00
Jan Odvarko 0ba9a8102b Bug 1431912 - Test for timing columns; r=ochameau
MozReview-Commit-ID: 1nnMnLohQwN

--HG--
extra : rebase_source : 50eea4caf3bf71bbc02ec047740b9326afb33861
2018-01-24 19:29:08 +01:00
Jan Odvarko b83d2d2609 Bug 1431912 - Properly populate timing columns; r=ochameau
MozReview-Commit-ID: 9IfVhp1Cdg7

--HG--
extra : rebase_source : c1086a4151152ed01c53a9f06b4bc08aaf8ec3b2
2018-01-24 19:13:52 +01:00
Shuoyi Ma 17e44403a2 Bug 1432033 - Change the line dashes for the flexbox container. r=gl 2018-01-24 09:47:20 -05:00
Michael Hoffmann 49500a58ea Bug 1429763 - Show font preview when hovering on font names. r=pbro
--HG--
extra : rebase_source : 008150ca8dc9a3c1eec9405d8e0c230e91bb2614
2018-01-18 14:33:00 +02:00
Sebastian Hengst 78d2a3c1db Merge mozilla-central to mozilla-inbound 2018-01-24 14:24:05 +02: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 d4ee1cf494 Backed out changeset 0569381b5e5f (bug 1422635) for failing ESlint at /builds/worker/checkouts/gecko/devtools/client/shared/test/browser_inplace-editor_autocomplete_css_variable.js on a CLOSED TREE 2018-01-24 00:34:34 +02: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
Rajdeep Nanua 5d6360507a Bug 1422635: Implement CSS variable autocompletion. r=jdescottes
Initial support for CSS variable autocompletion in ruleview.

MozReview-Commit-ID: AlblDmyW4Iq

--HG--
extra : rebase_source : f19ea980e0d6f141ac5f0c766e37b04c92559e05
2017-12-12 01:47:59 -05: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
Andreea Pavel 7d8cbb2869 Backed out changeset b764ca8d82da (bug 1429824) for failing browser chrome devtools at devtools/client/netmonitor/test/browser_net_autoscroll.js on a CLOSED TREE 2018-01-23 22:34:51 +02:00
Brian Grinstead bf0919de04 Bug 1386523 - Make store debug logging into a shared helper function for webconsole mochitests;r=nchevobbe
MozReview-Commit-ID: FxDgYNr35o3

--HG--
extra : rebase_source : e6b33812c3b8f75d6cb00019cf49649e13b3a68b
2018-01-23 13:58:29 -08:00
Nicolas Chevobbe e850518bea Bug 1404884 - Enable browser_webconsole_insecure_passwords_about_blank_web_console_warning.js in new console frontend; r=jdescottes.
MozReview-Commit-ID: 7fQc3hOp8hT

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-762593-insecure-passwords-about-blank-web-console-warning.html => devtools/client/webconsole/new-console-output/test/mochitest/test-insecure-passwords-about-blank-web-console-warning.html
extra : rebase_source : 965de788e3f222560427ee682a33ccc5a48ea383
2018-01-23 09:50:56 +01:00
Nicolas Chevobbe 04c2cb7c19 Bug 1404883 - Enable browser_webconsole_ineffective_iframe_sandbox_warning.js in new console frontend; r=Honza.
MozReview-Commit-ID: 46OaPZHvJ7Z

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-752559-ineffective-iframe-sandbox-warning-inner.html => devtools/client/webconsole/new-console-output/test/mochitest/test-ineffective-iframe-sandbox-warning-inner.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-752559-ineffective-iframe-sandbox-warning-nested1.html => devtools/client/webconsole/new-console-output/test/mochitest/test-ineffective-iframe-sandbox-warning-nested1.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-752559-ineffective-iframe-sandbox-warning-nested2.html => devtools/client/webconsole/new-console-output/test/mochitest/test-ineffective-iframe-sandbox-warning-nested2.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-752559-ineffective-iframe-sandbox-warning0.html => devtools/client/webconsole/new-console-output/test/mochitest/test-ineffective-iframe-sandbox-warning0.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-752559-ineffective-iframe-sandbox-warning1.html => devtools/client/webconsole/new-console-output/test/mochitest/test-ineffective-iframe-sandbox-warning1.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-752559-ineffective-iframe-sandbox-warning2.html => devtools/client/webconsole/new-console-output/test/mochitest/test-ineffective-iframe-sandbox-warning2.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-752559-ineffective-iframe-sandbox-warning3.html => devtools/client/webconsole/new-console-output/test/mochitest/test-ineffective-iframe-sandbox-warning3.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-752559-ineffective-iframe-sandbox-warning4.html => devtools/client/webconsole/new-console-output/test/mochitest/test-ineffective-iframe-sandbox-warning4.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-752559-ineffective-iframe-sandbox-warning5.html => devtools/client/webconsole/new-console-output/test/mochitest/test-ineffective-iframe-sandbox-warning5.html
extra : rebase_source : 5b2f72670ec723669d5f682044e3e5e626053557
2018-01-22 16:01:31 +01:00
Alexandre Poirot 4537ac0430 Bug 1429824 - Prevent reflows related to scroll to bottom feature. r=Honza
MozReview-Commit-ID: Hnr5tIvTeUv

--HG--
extra : rebase_source : 287806d31bc4969dd2e67219f07bf21a231ed8ab
2018-01-11 07:05:20 -08:00
Dorel Luca c00b3bfa4c Merge mozilla-central to mozilla-inbound r=merge 2018-01-23 19:58:07 +02:00
Ben Kelly a0b2fbfab0 Bug 1231211 P19 Make DevToolsUtils.newChannelForURL() set the loadingNode so that the SW controller is set on the channel. r=jryans 2018-01-23 10:38:54 -05:00
Alexandre Poirot 3522ce42d1 Bug 1423517 - Helps tracking JS allocations when running DevTools tests. r=jdescottes
MozReview-Commit-ID: 7PWgsUyR54Q

--HG--
extra : rebase_source : d620f8b704e9da6e8ee7326715a21addeb08bd06
2017-12-06 01:36:51 -08:00
Alexandre Poirot 636bbf75fe Bug 1431132 - Prevent repainting the whole request list by sizing the request table manually. r=Honza
MozReview-Commit-ID: 79oGrCMANGy

--HG--
extra : rebase_source : c5e4d94a073d9b21e172b71b982029aec13a169e
2018-01-17 09:41:34 -08:00
Dorel Luca 4b9ccdb392 Merge mozilla-inbound to mozilla-central r=merge a=merge 2018-01-23 12:02:17 +02:00
Jason Laster a73c9b96eb Bug 1431127 - Fix TypeError: panel._selectors.getPause. r=jdescottes 2018-01-18 10:51:00 -05:00
Gurzau Raul 9801931bda Merge inbound to mozilla-central. a=merge 2018-01-23 02:21:47 +02:00
abhinav 3bdb37e019 Bug 1421208 - Add color-sheme background to HTTP status code in Netmonitor. r=nchevobbe
MozReview-Commit-ID: Kec4qq3ZTw6

--HG--
extra : rebase_source : aa72786a100dcec3e4ef40addf2deeec8922c378
2017-11-29 23:03:58 +05:30
Alexandre Poirot 3694b8f1fa Bug 1431395 - Set fixed size on all columns. r=Honza
MozReview-Commit-ID: KNdjHyc7abU

--HG--
extra : rebase_source : 0ff553a1d30822e9986872df6f45e3150bd28905
2018-01-17 14:34:52 -08:00
Jan Odvarko c59f2d5676 Bug 1311177 - Implement the devtools.network.getHAR API method; r=jdescottes,rickychien,rpl
MozReview-Commit-ID: gUtGjbr0FQ

--HG--
extra : rebase_source : 78f837101f83d5ad455fc7e2d1f53db054cec4cc
2018-01-22 18:30:46 +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
Jan Odvarko 06d3f8ffeb Bug 1431457 - Upgrade Netmonitor to the latest Launchpad version; r=ochameau
MozReview-Commit-ID: 6e0SVYxbh2K

--HG--
extra : rebase_source : d704ee7bd0daa25e272e4c6f464c43c8db0b15d2
2018-01-22 12:32:57 +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