Commit Graph

6633 Commits

Author SHA1 Message Date
Jan Odvarko
14c920d252 Bug 1416201 - update test fixtures for the Console panel; r=nchevobbe
MozReview-Commit-ID: F67HMK7zyUn

--HG--
extra : rebase_source : 7284ef615b184ec80ce724fab2f62bdaf9173518
2017-11-23 13:35:23 +01:00
Jan Odvarko
3bd627cefb Bug 1416201 - HTTP request stack trace should be lazy loaded;r=rickychien
MozReview-Commit-ID: 5SWLLcNqORz

--HG--
extra : rebase_source : 400e5d48848b087f8965652df6b9c37686fb4b40
2017-11-23 13:35:04 +01:00
Alexandre Poirot
c32ab9e219 Bug 1420037 - Fix netmonitor "dataProvider is null" exception on DAMP. r=Honza
MozReview-Commit-ID: EhCSSV0ZFrB

--HG--
extra : rebase_source : 75030551b17eb8e30eb482a9adc8fd840c853614
2017-11-23 00:36:13 -08:00
Alexandre Poirot
94383e3026 Bug 1419734 - Remove tab statistics leftovers. r=jdescottes
MozReview-Commit-ID: GaMCH6BrFMP

--HG--
extra : rebase_source : 653a330ca1ce0efbf4d943e0da5952d737ada25c
2017-11-22 08:19:03 -08:00
Julian Descottes
af2e5d5dd1 Bug 1416711 - Add registerAllActors API;r=ochameau
Most of the codebase that needs to create a debugger server
can use a server with all actors registered.

Define an additional method registerAllActors to do that.

By previous implementations, all the call sites that were
using browser: true were indirectly using tab & root: true
as well. So all the call sites using browser: true have been
migrated to registerAllActors and the specific behavior of
the browser: true case has been removed. Passing browser:true
to registerActors now only registers browser specific actors.

MozReview-Commit-ID: F3sx71eGrdG

--HG--
extra : rebase_source : 7704264e84d96e03a0c789103ff466980913d4d2
2017-11-13 21:22:15 +01:00
Julian Descottes
7324ecc861 Bug 1416711 - Stop guarding consumer calls to DebuggerServer.init();r=ochameau
DebuggerServer.init() already bails out if it was previously initialized
so we could avoid guarding the calls to init() with it everywhere.

Registering an actor module several times is also a noop as the Server
keeps a map of all the already registered modules and will bail out if
the module is already known.

MozReview-Commit-ID: 4ONLlx9253i

--HG--
extra : rebase_source : a6fce209baf5e019b6a216761c01832a30332343
2017-11-13 21:04:43 +01:00
Julian Descottes
4cac7dcb25 Bug 1416711 - Migrate addBrowser/TabActors to registerActors;r=ochameau
DebuggerServer has old APIs addBrowserActors & addTabActors that can be
replaced by calls to registerActors.

MozReview-Commit-ID: KpYJpbSHM8I

--HG--
extra : rebase_source : c7f20edf503b944ef2582b5fe73bd6d899c0d1cc
2017-11-13 20:29:55 +01:00
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