Commit Graph

8601 Commits

Author SHA1 Message Date
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
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
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
Rajdeep Nanua
e40b85a8a3 Bug 1422635 - Implement CSS variable autocompletion. r=jdescottes
Initial support for CSS variable autocompletion in ruleview.

MozReview-Commit-ID: AlblDmyW4Iq
2017-12-12 01:47:59 -05:00
arthur.iakab
151be917cb Merge mozilla-central to mozilla-inbound 2018-01-26 02:35:29 +02:00
Julian Descottes
ca7cee6c2a Bug 1432842 - duplicate waitUntil() in browser toolbox test;r=jlast
MozReview-Commit-ID: 7ceTbl7DGgy

--HG--
extra : rebase_source : 21dcfc4d67a669af62777e78a1fa153d07e19b74
2018-01-25 10:40:33 +01:00
Jason Laster
281d369f23 Bug 1432842 - Update Debugger Frontend v10. r=jdescottes
MozReview-Commit-ID: Fna0tYoykHr

--HG--
extra : rebase_source : 89b3aa1e785b30028c586d491ab78f03992285c8
2018-01-25 21:34:19 +01:00
Tooru Fujisawa
ba70229dec Bug 1430442 - Part 2: Wait for the next event tick after node-highlight event to leave MicroTask checkpoint for the mouse event in devtools/client/inspector/boxmodel/test/browser_boxmodel_guides.js r=pbro 2018-01-26 07:30:14 +09:00
Tooru Fujisawa
11ec00c3b5 Bug 1430442 - Part 1: Use Async Function in devtools/client/inspector/boxmodel/test/browser_boxmodel_guides.js r=pbro 2018-01-26 07:30:06 +09: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