Commit Graph

6626 Commits

Author SHA1 Message Date
Julian Descottes
cfef7be9a1 Bug 1386979 - register about-devtools-toolbox on browser startup;r=ochameau
MozReview-Commit-ID: GUBEyzg2qCw

--HG--
rename : devtools/client/framework/about-devtools-toolbox.js => devtools/shim/aboutdevtoolstoolbox-registration.js
extra : rebase_source : 77cf2036dae59c6119b0c0d2dd1ed821ace0f07d
2017-11-21 20:32:51 +01:00
Michael Ratcliffe
d0a661eea9 Bug 1419487 - Remaing DevTools components to ES6 Classes, prop-types and react-dom-factories r=gl
MozReview-Commit-ID: HjglFjui6XJ

--HG--
extra : rebase_source : 9529c18f141246f3d67f0cf7d5d3e82f54e5bbed
2017-11-22 12:15:43 +00:00
Nicolas Chevobbe
9420ee9d33 Bug 1419787 - Pass onViewSourceInDebugger prop to the ObjectInspector; r=bgrins.
Test will be enabled in Bug 1406038. This requires some Reps work.

MozReview-Commit-ID: CpU25kiXiR1

--HG--
extra : rebase_source : d0c0f7c04f5c507b9ec17d6358b07cc30179b384
2017-11-22 18:03:48 +01:00
Fred Lin
8083de770a Bug 1404929 - Security info should be loaded lazily;r=Honza
MozReview-Commit-ID: JIwepd7qdOB

--HG--
extra : rebase_source : 9fa7971412798e1f2f580a44543f1dd4e946d823
2017-11-15 12:50:47 +08:00
shindli
82254ca1cf Merge inbound to mozilla-central r=merge a=merge 2017-11-22 23:29:44 +02:00
Oriol Brufau
87ad2bcd7e Bug 1419416 - Remove UTF-16 support in JSON Viewer. r=tromey
MozReview-Commit-ID: GIE3Q5j3wZm

--HG--
extra : rebase_source : 50afde4502aaf247d931d2cab1f6f75a2db768a9
2017-11-21 15:09:14 +01:00
Andreea Pavel
c717a7b707 Backed out 1 changesets (bug 1405252) for failing devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_filters.js r=backout on a CLOSED TREE
Backed out changeset aa2c49a11df2 (bug 1405252)
2017-11-22 19:07:02 +02:00
Mike Park
f129b7e706 Bug 1419075 - Create a button that open a sidebar in the console. r=nchevobbe
MozReview-Commit-ID: AjSMnPJktU9

--HG--
extra : rebase_source : 5b38e997b3e4527ef26dc88eb827abcc3fd55159
2017-11-20 16:00:31 -05:00
Patrick Brosset
4017828894 Bug 1408944 - Rewrite and enable browser_webconsole_network_requests_from_chrome.js; r=nchevobbe
MozReview-Commit-ID: EPzTQhqhVFE

--HG--
extra : rebase_source : 8d11053f774e9465c4fb3c454f497aa3fba9534e
2017-11-22 16:16:03 +01:00
Nicolas Chevobbe
a27c77aad7 Bug 1405252 - Enable browser_webconsole_console_logging_workers_api.js in the new frontend; r=Honza.
MozReview-Commit-ID: I7b45uLfNkw

--HG--
extra : rebase_source : 2f8925e7036bcc523801cc1ca12626ddf530e326
2017-11-21 09:23:31 +01:00
Vincent Lequertier
7f2dd1b6fa Bug 1381648 - Add non blocking time to the statistics panel of netmonitor; r=Honza
MozReview-Commit-ID: Anw4hTlpPjH

--HG--
extra : rebase_source : 307fd2f966578b9774274c510e5f809ad16e5840
2017-10-06 15:11:18 +02:00
Nicolas Chevobbe
a58483784a Bug 1408401 - Release: Bump up devtools-reps bundle to 0.15.0; r=miker
MozReview-Commit-ID: ISudQK3C20A

--HG--
extra : rebase_source : 4c613dba3b0a2b0786cb6987c0681f84aa10de79
2017-11-21 18:44:04 +01:00
Ricky Chien
3d23b15dec Bug 1419665 - Support babel object-rest-spread syntax for launchpad r=Honza
MozReview-Commit-ID: JC6vWNMp3a7

--HG--
extra : rebase_source : 9d15c7a134e042a69ad4dfa7dfa0a4d0e01b8b38
2017-11-22 15:00:48 +08:00
Ciure Andrei
c7cf019289 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-22 12:20:25 +02:00
Coroiu Cristina
9eb4f34b0a Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-22 01:50:20 +02:00
Coroiu Cristina
b1140e3113 Backed out changeset f10d05c0b3d2 (bug 1408708) for failing devtools at devtools/client/styleeditor/test/browser_styleeditor_bug_1405342_serviceworker_iframes.js on a CLOSED TREE 2017-11-22 00:37:27 +02:00
Alexandre Poirot
89cc513122 Bug 1408182 - Replace ImmutableJS by plain JS code; r=rickychien
MozReview-Commit-ID: FFUNk97n4zS

--HG--
extra : rebase_source : af2847e867f7a5a2fa453d6f81ca46f7e8775f35
2017-10-11 17:35:09 +02:00
Oriol Brufau
3b6b25c474 Bug 1418808 - Call QueryInterface when instantiating a JSON Viewer XPCOM class. r=Honza
MozReview-Commit-ID: 9kyPAjv7MCV

--HG--
extra : rebase_source : 7c41e153b72fa2925c615e30bf6b6f6692368c10
2017-11-17 17:07:19 +01:00
Alexandre Poirot
3d64658419 Bug 1399242 - Prevent console react updates while console isn't visible. r=nchevobbe
MozReview-Commit-ID: A6NGLbiuyTE

--HG--
extra : rebase_source : 9f58d6e2ed6be3fb31de276e536158efa4cdd5ce
2017-10-09 20:14:34 +02:00
Alexandre Poirot
fb08f4c098 Bug 1399242 - Ensure firing visibilitychange event and set document.visibiltyState attribute when hidding devtools panels. r=gregtatum
MozReview-Commit-ID: Gh6jp4KEZkX

--HG--
extra : rebase_source : 2125a8ceb5e235b1db525cfec9bc3268e1edce54
2017-10-09 20:16:01 +02:00
Alexandre Poirot
e8f24cc6ab Bug 1411889 - Record netmonitor reload time. r=Honza
MozReview-Commit-ID: EwXuODxvm8B

--HG--
extra : rebase_source : 5e9d82f268f1c0f7423e6839d051766c3adb6702
2017-11-16 01:37:46 -08:00
Patrick Brosset
827ce5b328 Bug 1405288 - Remove pickColorFromPage actor method check from then inspector r=ochameau
This method was added in bug 1262439 last year, and shipped with FF50.
We support all the way back to the latest ESR (52 now).
So let's remove the backward compat code for this method.

MozReview-Commit-ID: LUL7FFWWC5M

--HG--
extra : rebase_source : 27969faff9e8827e23ff570addfde5c06fb57c97
2017-10-19 11:20:57 +02:00
Patrick Brosset
b66f6388b1 Bug 1405288 - Remove scrollIntoView actor method check from the inspector r=ochameau
The scrollIntoView actor method was added in bug 901250 3 years ago and
shipped with FF 40.
We support all the way back to the latest ESR (52 now).
So let's drop this backward compat check code.

MozReview-Commit-ID: 5FKRpiOXfzd

--HG--
extra : rebase_source : 4c3b0850750081a87b77bc1b85d7a2e852f58c82
2017-10-19 11:12:23 +02:00
Patrick Brosset
896c0325ae Bug 1405288 - Remove duplicateNode actor method check from the inspector r=ochameau
This method was added in bug 1208864 2 years ago and shipped with Firefox 44.
We support all the way to the latest ESR, which now is 52.
So let's remove this backward compat code.

MozReview-Commit-ID: AdTU63Oehi4

--HG--
extra : rebase_source : 481f768101212db1f363c9b5204f7654aaea5208
2017-10-19 11:05:10 +02:00
Patrick Brosset
040582886a Bug 1405288 - Remove resolveRelativeURL actor method check from the inspector r=ochameau
The resolveRelativeURL actor method was added in bug 921102 which shipped
with Firefox 40.
This was 3 years ago, and well older than the latest current ESR (52), which
is the latest version we support.

MozReview-Commit-ID: 5X5czLP5v2E

--HG--
extra : rebase_source : 7c1ee2c2a78151eb94ef1f1bacff6396d3ceb24e
2017-10-19 10:57:30 +02:00
Tiberius Oros
6b0d30658a Backed out changeset edf2b70d2f01 (bug 1408182)for failing in devtools/client/netmonitor/test/browser_net_copy_params.js r=backout on a CLOSED TREE 2017-11-21 11:46:50 +02:00
Alexandre Poirot
38ebed24c2 Bug 1408182 - Replace ImmutableJS by plain JS code; r=rickychien
MozReview-Commit-ID: 4f9Bv3XDuoc

--HG--
extra : rebase_source : 834d1cfae3e32054fcaad6faa3569c4c3a885287
2017-10-11 17:35:09 +02:00
Liam
0fc77839e5 Bug 1402633 - Display the window dimensions with the ruler tools r=pbro
MozReview-Commit-ID: 2jMvUu7JM8M
2017-09-23 13:44:43 -06:00
Luca Greco
4ae90d3d3a Bug 1378524 - Fix "TypeError: tab is null" exception raised from browser_inspector_extension_sidebar.js when running on beta. r=pbro
MozReview-Commit-ID: DZPA07695VS

--HG--
extra : rebase_source : 93e24b7fa597c35535197b174ce55502ed134187
2017-11-13 17:53:56 +01:00
Nicolas Chevobbe
658e7f4075 Bug 1419059 - Fix console launchpad; r=nchevobbe.
Add dependencies that weren't included in devtools-launchpad no more.

MozReview-Commit-ID: 39KkXvQsR7S

--HG--
extra : rebase_source : 3501a488774044cef2f4d9844b17123a40372a2a
2017-11-20 17:54:36 +01:00
Nicolas Chevobbe
211ecc11ea Bug 1408930 - Enable browser_webconsole_console_api_iframe.js in the new console frontend; r=jdescottes.
MozReview-Commit-ID: KGGD7i8WbDZ

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-613013-console-api-iframe.html => devtools/client/webconsole/new-console-output/test/mochitest/test-console-api-iframe.html
extra : rebase_source : 77d50f8391c60402f311fc5521a550860a67635f
2017-11-20 09:51:42 +01:00
Alexandre Poirot
e2eb1ab79d Bug 1405008 - Make WebIDE warn when connecting to old runtimes. r=jdescottes
MozReview-Commit-ID: KQc2b1ohksA

--HG--
extra : rebase_source : 0c0159ae17c7c224600aca2fe3611296dfea2bae
2017-10-02 22:40:32 +02:00
Nicolas Chevobbe
811cdc42fd Bug 1408929 - Rename and enable browser_webconsole_completion.js in the new console frontend; r=jdescottes.
MozReview-Commit-ID: ICu5aJViiW3

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_completion.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_completion.js
extra : rebase_source : 57020fe28c5b0dd215c2aa7fd6fd6f61a65eaa74
2017-11-17 12:14:44 +01:00
Nicolas Chevobbe
7c542cfde6 Bug 1371936 - Fix erroneous Object as ArrayLike grip; r=bgrins.
We only label Object as being ArrayLike if they have consecutive, numeric indexes, starting at 0,
and that could contain only a non-numeric length property that matches the actual number of numeric
keys in the object.
A test is added to make sure we don't regress this.
Fix old console frontend tests which relied on the bad implementation of ArrayLike (and delete
test cases now covered by the server test).

MozReview-Commit-ID: ATF7WypNVhh

--HG--
extra : rebase_source : 5e6a0ef0da84cf89518164f518a257bd1f0d5fd8
2017-11-16 16:04:42 +01:00
Andrew Swan
fcb1dba461 Bug 1353861 Handle .zip files as temporary addons r=jdescottes
MozReview-Commit-ID: A9MQtnT16LV

--HG--
extra : rebase_source : 2f12d0acab93994d4d25cc200daeb0b16996a7b5
2017-11-15 22:03:34 -08:00
abhinav
72727b2b05 Bug 1408970 - Test for view source in debugger. r=nchevobbe
MozReview-Commit-ID: ARxkjtFbn2E

--HG--
extra : rebase_source : c4abbc3e3c06c4a2f3b24899bf557225df39e163
2017-11-06 22:12:03 +05:30
Ryan Leake
280baffc4c Bug 1333254 - Adjust variations of 'device pixel ratio' spelling. r=jryans
MozReview-Commit-ID: 9Fuc3pbX6Ey


--HG--
rename : devtools/client/responsive.html/components/DprSelector.js => devtools/client/responsive.html/components/DevicePixelRatioSelector.js
2017-11-17 11:08:42 -06:00
Michael Ratcliffe
c351c5f556 Bug 1418320 - JSON Viewer: Split HeadersToolbar, JsonToolbar and TextToolbar out to their own files r=Honza
MozReview-Commit-ID: KdGLYV4rHB9

--HG--
extra : rebase_source : b0a9e75236d2b840dc51df00097b364bf125bb6f
2017-11-17 13:59:12 +00:00
abhinav
99bc432a12 Bug 1319597 - Move DPR text into the DPR menu options. r=jryans
MozReview-Commit-ID: 8gTzkWvVdfn

--HG--
extra : rebase_source : f40f1ca6e01a763b5cd1ea03a81e579557a19525
2017-11-07 23:11:50 +05:30
Michael Ratcliffe
532fb7bedc Bug 1418250 - JSON Viewer to ES6 Classes, prop-types and react-dom-factories r=Honza
MozReview-Commit-ID: Cy6Tp71zTwk

--HG--
extra : rebase_source : 64bc9159cc10c55e7837053b981c595ceeecce22
2017-11-17 10:28:07 +00:00
Michael Ratcliffe
07fae2ebf6 Bug 1417444 - about:debugging to use prop-types and react-dom-factories r=jdescottes
MozReview-Commit-ID: EQ5MSMrvdWW

--HG--
extra : rebase_source : fb7427c518f7bf6c5e4abc079b6568ca73d0546c
2017-11-15 14:48:37 +00:00
Oriol Brufau
cac2f457e4 Bug 1417035 - Stop using <plaintext> in JSON Viewer r=Honza
MozReview-Commit-ID: ADGZiyMTaAL

--HG--
extra : rebase_source : 06c95da34e6ffa0b23291be30aed2d5463e6f62c
2017-11-14 01:34:21 +01:00
Nicolas Chevobbe
8eb390b8f5 Bug 1404400 - Delete browser_webconsole_charset.js from new frontend;r=Honza.
This test was checking the HTTPinspector by directly calling a WebConsoleClient function
which is no longer used in console code.

MozReview-Commit-ID: LxjhhO2rB0W

--HG--
extra : rebase_source : 411c18a62ae97102907b35f5d5e26749b48047f5
2017-11-15 08:57:58 +01:00
Michael Ratcliffe
963fae339e Bug 1417483 - DevTools Framework to use prop-types and react-dom-factories r=Honza
MozReview-Commit-ID: 5KKSvr2DLQu

--HG--
extra : rebase_source : 11ea368b7e4d3fd72cf449f6dd687cd5d872bf51
2017-11-15 16:22:12 +00:00
Nicolas Chevobbe
c6d311e021 Bug 1408927 - Enable browser_webconsole_closing_after_completion.js in the new console frontend; r=jdescottes.
MozReview-Commit-ID: CrudyCnBlWh

--HG--
extra : rebase_source : d81a19ab340af1e43dc9f687067dcb592ce48fae
2017-11-15 09:54:56 +01:00
Julian Descottes
740c32a7eb Bug 1403871 - rename getAllGrids to getGrids;r=gl
MozReview-Commit-ID: I9MZ2mrVMiT

--HG--
rename : devtools/server/tests/browser/browser_layout_getAllGrids.js => devtools/server/tests/browser/browser_layout_getGrids.js
extra : rebase_source : c1aaa0195adea95e1158edb6943060e73684a605
2017-11-21 17:31:50 +01:00
Michael Ratcliffe
b7c27e53b0 Bug 1418274 - Responsive Design Mode to ES6 Classes, prop-types and react-dom-factories r=jryans
MozReview-Commit-ID: 1QWLZwVlyVQ

--HG--
extra : rebase_source : a65f8944531dbad28241b2de46168ae745918e7c
2017-11-17 12:22:29 +00:00
Luca Greco
5072843150 Bug 1416105 - devtools/server/child.js should call DebuggerServer.addBrowserActorsadd when initializes a DebuggerServer running in the main process. r=ochameau
When web-ext (the nodejs CLI tool which is often used to develop a WebExtension)
starts Firefox with the --start-debugger-server CLI parameter,
devtools/shims/devtools-startup.js creates a DebuggerServer instance in an
isolated separate module loader, marked invisible to the debugger so that
we can use it to debug the regular DebuggerServer instance (loaded internally
when the user is going to open one of the developer tools for the first time).

Right after this "debugger invisible" DebuggerServer instance is started,
web-ext connects to the debugger server and interacts with the RDP actors
(e.g. to list the addons actors, install the extensions temporarily, reload
the extensions etc.), and as a side-effect of connecting to the WebExtensions
RDP actor, the "devtools/server/child.js" module is going to be loaded,
and it will be loaded in the main process if the webextensions are not
configured to run in a separate extension child process
(on the contrary it would be loaded in a child process when the
the extensions are running in oop mode).

If the regular developer tools have been already opened by the user (e.g.
when --jsconsole has been passed to the Firefox command line, which
is what happens when web-ext is executed with the --bc command line option),
the DebuggerServer is initialized and the browser actors added to it,
on the contrary when the "devtools/server/child.js" module initializes
the DebuggerServer module for the first time, it doesn't add the browser actors
to it and so the DebuggerServer instance is going initialized but it will be
missing the createRootActor attribute (which is expected if the DebuggerServer
instance is initialized in a child process, but it is unexpected when the DebuggerServer
instance is the one that serves the main process).

MozReview-Commit-ID: GE51X14HfHJ

--HG--
extra : rebase_source : 65e3a0c02f8a419dc8588184dff56d3c07e430a9
2017-11-12 16:20:16 +01:00
Jan Odvarko
a336f0ee60 Bug 1410351 - Make it more obvious when requests are paused in the netmonitor; r=rickychien
MozReview-Commit-ID: FlHVxePSbqg

--HG--
extra : rebase_source : 4e0dc2016c3c9f0fa0a5b29941d42bd80961787d
2017-11-09 14:01:59 +01:00
abhinav
ef7c3ef9fa Bug 1353716 - Netmonitor header context menu should appear even by right clicking a blank area of the header. r=Honza
MozReview-Commit-ID: GT3MFn4Xloa

--HG--
extra : rebase_source : b1919493e1bb67801eb45f9e51ec163be6660448
2017-11-11 16:09:10 +05:30