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

877 Коммитов

Автор SHA1 Сообщение Дата
J. Ryan Stinnett 89421af622 Bug 1240912 - Add browser swap support to multiprocess actors. r=ochameau
Watch for browser swap events and update the message manager as necessary for
each of the actors that use the `setupInParent` multiprocess functionality.

MozReview-Commit-ID: HPibSONSYk4
2016-08-19 10:01:33 -05:00
J. Ryan Stinnett 3ed8a3dc20 Bug 1240912 - Convert Network Monitor to setupInParent. r=ochameau
MozReview-Commit-ID: 2fqsnR7IMWO
2016-08-19 10:01:32 -05:00
J. Ryan Stinnett bb9b0bc5bb Bug 1240912 - NetworkMonitorManager uses mm instead of frame. r=ochameau
MozReview-Commit-ID: JsvQRwbjJDE
2016-08-19 10:01:30 -05:00
J. Ryan Stinnett 9defeffe44 Bug 1240912 - Toolbox remains connected across frame swaps. r=ochameau
It is now possible keep the toolbox open while toggling RDM open and closed.
The toolbox will follow the frame as it moves and update the message manager it
uses internally with each move.

MozReview-Commit-ID: DvLzCmOXfnb
2016-08-19 10:01:29 -05:00
J. Ryan Stinnett 986b4a670d Bug 1240912 - Filter requests by top frame's outerWindowID. r=ochameau
MozReview-Commit-ID: B5Y65EVG8Tz
2016-08-19 10:01:27 -05:00
J. Ryan Stinnett 4e29231275 Bug 1240912 - Beacon filtering no longer needed. r=ochameau
MozReview-Commit-ID: EQ4HrvGFBiq
2016-08-19 10:01:25 -05:00
Ryan VanderMeulen ca004651b3 Merge fx-team to m-c. a=merge 2016-08-19 09:54:25 -04:00
Patrick Brosset 3ca2b33eec Bug 1289553 - Move the eyedropper label so it's always visible; r=jdescottes
This adds a few new CSS selectors that are used to move the label to the
top and/or left/right of the eyedropper canvas.
The CSS rules use transform and a quick transition.
The eyedropper highlighter then just makes use of this by adding top, left,
right attributes to the DOM depending on its position.

This also adds a test for this, and while testing, I discovered a bug in
shared/layout/utils.js that I fixed here too. Sometimes, the node passed is
actually a DOCUMENT_NODE and so we must account for this in a couple of places
in this file to avoid JS errors.

MozReview-Commit-ID: H969k3mEDJE


MozReview-Commit-ID: 9qOCYVp4mld
2016-08-18 15:17:47 +02:00
sudhanva 63eaeb5cc0 Bug 1282910 - Fix issuerOrganizationUnit property name in test_security-info-certificate.js. r=jsnajdr 2016-08-18 13:03:08 +05:30
Wes Kocher 07f8858bf6 Merge inbound to central, a=merge 2016-08-17 16:38:41 -07:00
Tom Tromey 1d6c2684eb Bug 1278625 - move SimpleStringFront to specs/string.js; r=ejpbruel
MozReview-Commit-ID: Ib11CZwL4pP

--HG--
extra : rebase_source : 85b35231efa1e987bd4742a7d9255fb19bfeb435
2016-08-16 11:01:33 -06:00
Tom Tromey 6c3ffd2acd Bug 1278625 - remove some lazy loading from devtools; r=jlongster
MozReview-Commit-ID: HwV7DFVJhAF

--HG--
extra : rebase_source : 6631df9fdd4ac8537ff08562b5184345c8c42736
2016-08-05 08:46:37 -06:00
Wes Kocher c84ec3b3f3 Merge m-c to inbound, a=merge 2016-08-16 22:06:58 -07:00
Wes Kocher 48b8d407c8 Merge inbound to central, a=merge
a=release to get around the webidl hook for a comment-only change

--HG--
extra : amend_source : f7e57101e1a25d3cf3536a256898ec2a21c54b38
2016-08-16 17:05:30 -07:00
Benoit Chabod e6a3dde98e Bug 1285566 - Create an EmulationActor and use per-tab API for touch simulator, r=jryans
MozReview-Commit-ID: 860epGLFO9
2016-08-16 21:56:14 -05:00
Sebastian Hengst da55fffdc5 Backed out changeset c289e719ca5d (bug 1285566) for timing out in devtools test browser_toolbox_computed_view.js. r=backout 2016-08-16 09:57:27 +02:00
Benoit Chabod dc4c04d63b Bug 1285566 - Create an EmulationActor and use per-tab API for touch simulator, r=jryans
MozReview-Commit-ID: F5s8Fd265Qe
2016-08-12 12:45:00 -07:00
Wes Kocher fee75658b6 Merge m-c to fx-team a=merge CLOSED TREE 2016-08-15 15:04:43 -07:00
Wes Kocher 4aec37ca6e Merge m-c to autoland, a=merge 2016-08-12 16:30:03 -07:00
Wes Kocher b44cee8b2a Merge fx-team to central, a=merge CLOSED TREE 2016-08-12 14:37:49 -07:00
Wes Kocher e9097643d5 Merge inbound to central, a=merge 2016-08-12 13:44:29 -07:00
Jarda Snajdr d420b24f0d Bug 1290599 - Part 3: New unit test for debugger transport events r=jryans
MozReview-Commit-ID: 4vqBD9CTFSR

--HG--
extra : rebase_source : f39fbd1ef96df388c9c6f7fc2f21fadf488a54ad
2016-08-11 13:44:22 +02:00
Jarda Snajdr e127cebee2 Bug 1290599 - Part 1: Improve names of events fired by debugger transport r=jryans
Although "close" would be an event name more consistent with usual event naming
(like in DOM APIs), I'm choosing "onClosed" here, because it's more in-line with
what debugger transports use (onPacket, onBulkPacket), it's a minimal change
(only LocalDebuggerTransport is affected) and no update to RDP inspector is needed.

MozReview-Commit-ID: B0YnBOOBSNI

--HG--
extra : rebase_source : 793896acf0d35d4de2829dd1e2b5682d9c0130fe
2016-08-09 10:49:18 +02:00
Jan de Mooij 0ad12515f4 Bug 1292892 part 1 - Stop using JSRuntime outside SpiderMonkey. r=bz,terrence,fitzgen,kanru 2016-08-11 14:39:22 +02:00
Tom Tromey 39f7f2c862 Bug 1287910 - move devtools stack-related APIs to per-platform require; r=jryans
MozReview-Commit-ID: CgT1VGJnJqB

--HG--
extra : rebase_source : 14c52fe412675d9442d8d723cc3e8da55b169079
2016-08-05 13:17:17 -06:00
Towkir Ahmed 63867da04a Bug 1284887 - Replaced references to mxr.mozilla.org in the codebase with dxr.mozilla.org r=dolske
a=release to get around a hook that's catching these comment-only idl changes

--HG--
extra : rebase_source : a7353680777fd2eeea24c9993f9937bbbcfb9e4f
2016-08-15 17:28:05 -07:00
Tom Tromey 559950d2a0 Bug 1294187 - correctly define Task at top level; r=bgrins
MozReview-Commit-ID: 30xKMWI1CnO

--HG--
extra : rebase_source : 6770bf36705a6c6936a8e2abd4a5d7258b7c9fc0
2016-08-10 12:44:39 -06:00
Jarda Snajdr f962373a71 Bug 1293980 - NetMonitor fails to get security info of a request intercepted by service worker r=ochameau
MozReview-Commit-ID: 1NhazApMbgs

--HG--
extra : rebase_source : 3835665e246ffe1ce87144f7584df693f37eb0dc
2016-08-11 10:44:38 +02:00
Jarda Snajdr 359dccb2ec Bug 1292503 - Fix e10s issues in resending HTTP requests, enable browser_net_resend.js test r=ochameau 2016-08-10 17:08:35 -07:00
Wes Kocher 45e888ff26 Merge fx-team to central, a=merge 2016-08-10 16:53:40 -07:00
Eddy Bruel 2bdbd75fa0 Bug 1288423 - Rename Actor/FrontClassWithSpec to Actor/FrontClass. r=fitzgen 2016-08-10 17:36:04 +02:00
Eddy Bruel 4946e9577a Bug 1288423 - Remove the old Actor/FrontClass constructors. r=fitzgen 2016-08-10 17:35:50 +02:00
Eddy Bruel 5f2b46097a Bug 1288423 - Decouple PerformanceEntriesActor from PerformanceEntriesFront. r=fitzgen 2016-08-10 17:35:31 +02:00
Tom Tromey 862ccd78d2 Bug 1292253 - replace some Ci uses in view-helpers and TableWidget; r=gregtatum
MozReview-Commit-ID: JIs4wxNA3Eg

--HG--
extra : rebase_source : d3666bb186de2667ed8f18d2e4190e74c64109da
2016-08-09 09:43:58 -06:00
Tom Tromey 4baf48b18a Bug 1291834 - make indexDB a global via devtools loader; r=jryans
MozReview-Commit-ID: 3NnhUWaBBra

--HG--
extra : rebase_source : a9012b11c99b11eb6e4742ca66329a882fa1c553
2016-08-03 13:26:34 -06:00
Tom Tromey 947c17e208 Bug 1291834 - make devtools/shared/async-storage.js eslint-clean; r=jryans
MozReview-Commit-ID: LswJRCUrejy

--HG--
extra : rebase_source : 8bc8fc48c264ab331d8e42a9f632115cbd100270
2016-08-03 13:21:11 -06:00
Wes Kocher 005ac12647 Merge fx-team to m-c a=merge 2016-08-07 00:16:15 -07:00
James Long 0b2677dddc Bug 1267365 - move various flags out of DevToolsUtils and don't depend on that module so much r=tromey 2016-08-05 17:41:01 -04:00
Wes Kocher 0201cd41e9 Merge m-c to fx-team, a=merge 2016-08-05 14:06:23 -07:00
Tom Tromey ce87179fdf Bug 1292574 - make CSS a global rather than a module in devtools loader; r=gregtatum
MozReview-Commit-ID: 5RYwDAW4wxt

--HG--
extra : rebase_source : 7d0df48344ad79947ec5d191a7c49411c2ea8cba
2016-08-05 08:32:59 -06:00
Tom Tromey c99878c1ab Bug 1292245 - remove some unnecessary imports of chrome from devtools; r=gregtatum
MozReview-Commit-ID: JVVVHAImsko

--HG--
extra : rebase_source : 939fbeb84405bf3740202eb5c0f1ba6c8aae9d92
2016-08-04 11:55:40 -06:00
Brian Grinstead 5a0322040e Bug 1288475 - Split webconsole utils.js into separate client and server parts;r=MattN,tromey
MozReview-Commit-ID: HlpiRvuMF1H

--HG--
rename : devtools/shared/webconsole/utils.js => devtools/client/webconsole/utils.js
rename : devtools/shared/webconsole/utils.js => devtools/server/actors/utils/webconsole-utils.js
rename : devtools/shared/webconsole/worker-utils.js => devtools/server/actors/utils/webconsole-worker-utils.js
extra : rebase_source : 6f1b2afba2c3cf3e3d17f839c11bf15e89a2f69d
2016-08-05 10:44:38 -07:00
Tom Tromey 4a3acb8220 Bug 1287631 - fix typo in Services.appinfo use in devtools; r=fitzgen
MozReview-Commit-ID: 1HTz3uRgMfT

--HG--
extra : rebase_source : 5d2bdbb2c1b4ab2b91d892578d85ed03f7df55a0
2016-08-05 07:45:18 -06:00
Jarda Snajdr 198d6c27e0 Bug 1286281 - Part 8: Mochitest for WebSocket-based debugger transport r=jryans
MozReview-Commit-ID: AcDb9vj9t5X
2016-08-05 05:02:00 -07:00
Jarda Snajdr a10a76f5ba Bug 1286281 - Part 5: Add WebSocket transport support to debugger client and server sockets r=jryans
MozReview-Commit-ID: CN76KNcHtEY
2016-08-03 02:58:00 -07:00
Jarda Snajdr 9af5d7880e Bug 1286281 - Part 4: WebSocket-based debugger transport r=jryans
MozReview-Commit-ID: G4h7Z3KJTMA
2016-08-03 00:50:00 -07:00
Jarda Snajdr 06b68bac22 Bug 1286281 - Part 3: WebSocket server for WebSocket remote debugger transport r=jryans
MozReview-Commit-ID: DFcPTayju7m
2016-08-05 05:00:00 -07:00
Wes Kocher 99881f0cb0 Merge m-c to fx-team, a=merge 2016-08-03 16:47:57 -07:00
Tom Tromey dcacc7afac Bug 1287915 - support webpack "raw!" requires in devtools loader; r=jryans
MozReview-Commit-ID: 1H6ogaMrZPV

--HG--
extra : rebase_source : b5e35bb035a2bf9927d4ee6416e4b8b86c38006b
2016-07-28 12:11:42 -06:00
Greg Tatum 2ba8b8b1ab Bug 1275939 - replace domUtils.getCSSValuesForProperty in inplace-editor.js r=tromey
MozReview-Commit-ID: KtuAWnNsnaq

--HG--
rename : devtools/server/tests/mochitest/test_css-properties.html => devtools/server/tests/mochitest/test_css-properties_01.html
extra : rebase_source : 3002ac705c2a99fa04796666aa40261abdc87646
2016-08-01 09:34:00 +02:00
Towkir Ahmed 7d8d990106 Bug 1293663 - Remove the always-false (useless) 'if' condition from GCLI util.js. r=miker 2016-08-12 14:48:00 -04:00
Ryan VanderMeulen cd2e02c188 Merge m-c to inbound. a=merge 2016-08-23 10:06:36 -04:00
Jan de Mooij d8047f2b2f Bug 1295967 - Share Shapes and BaseShapes across compartments. r=jonco,fitzgen,njn 2016-08-23 11:25:54 +02:00
Tom Tromey e25aa64b18 Bug 1290230 - move clipboard helper to new devtools platform module; r=gregtatum
MozReview-Commit-ID: 53tOehW9kxo

--HG--
extra : rebase_source : 3feb127498bf78607e5836d53739ac15226a6ed4
2016-08-12 12:52:40 -06:00
Wes Kocher 45575a7f86 Merge m-c to autoland, a=merge
a=release for the webidl hook for a comment-only change

--HG--
extra : amend_source : e590e515ab273d097f88b35be0e5c999502ebdf4
2016-08-16 22:07:30 -07:00
Tom Tromey 690b58a84d Bug 1292242 - move scrollIntoViewIfNeeded to its own module; r=bgrins
MozReview-Commit-ID: 8diNiffQmDB

--HG--
extra : rebase_source : 9b1d0c06de47849d96ecdfcf96c3cf13d95245f0
2016-08-17 11:13:54 -06:00
Sylvestre Ledru 264ead6793 Bug 1289135 - Fix typos in the properties files r=Ehsan
MozReview-Commit-ID: 5n2mCxzkDch

--HG--
extra : rebase_source : d2837bb8928d355ea109aedcde4a37c056ddcb95
2016-07-25 16:34:38 +02:00
Tom Tromey ea95071431 Bug 1288147 - move event-parsers.js to devtools/server; r=bgrins
MozReview-Commit-ID: 9ijC0wAinMs

--HG--
rename : devtools/shared/event-parsers.js => devtools/server/event-parsers.js
extra : rebase_source : 6e865cad2f70ca99824ccab77e95c6f001386606
2016-07-26 09:32:21 -06:00
Fischer.json d814fd47e3 Bug 1264582 - Table headers are not removed when selecting an empty storage. r=mratcliffe
MozReview-Commit-ID: Hcfw7dyrDpV

--HG--
extra : transplant_source : %DDH%D0%22%A8%96%C0%F6%EAW%A6%8B%CF%CAA%3Cy%26m%E4
2016-07-01 17:42:07 +08:00
Tom Tromey 2727c3db2a Bug 1286356 - isolate import of Console in event-emitter; r=gregtatum
MozReview-Commit-ID: HIgYdui8wwO

--HG--
extra : rebase_source : 3faef9161155645bbb649681826f68fe2ee3d60f
2016-07-21 13:12:21 -06:00
Carsten "Tomcat" Book b9a6c687fa merge mozilla-inbound to mozilla-central a=merge 2016-07-25 15:50:41 +02:00
Carsten "Tomcat" Book 42933ba381 merge fx-team to mozilla-central a=merge
--HG--
rename : devtools/client/shared/css-color.js => devtools/shared/css-color.js
2016-07-25 15:49:05 +02:00
Wes Kocher 6517ee3462 Backed out 6 changesets (bug 1244227) for m(cl) failures
Backed out changeset 0cf1259b7073 (bug 1244227)
Backed out changeset d5866b9dd3d9 (bug 1244227)
Backed out changeset 49b5309e3415 (bug 1244227)
Backed out changeset 33bc49f015a7 (bug 1244227)
Backed out changeset f680f6460f07 (bug 1244227)
Backed out changeset 5a4bb3258978 (bug 1244227)
2016-07-22 13:32:37 -07:00
Jan de Mooij e0ae8a8c5a Bug 1286795 part 5 - Change some classes to take JSContext instead of JSRuntime. r=terrence 2016-07-23 19:53:03 +02:00
Jan de Mooij 0770a8d8b4 Bug 1286795 part 3 - Change UbiNode APIs to take JSContext instead of JSRuntime. r=fitzgen 2016-07-23 19:52:25 +02:00
Wei-Cheng Pan fd87664d8e Bug 1264566 - Part 2: Refactor all usage of FileDescriptor. r=valentin
Callers should use a UniquePtr to hold the platform handle.

MozReview-Commit-ID: 6BWnyAf4b3a

--HG--
extra : transplant_source : %26%CA%0D%28%08%9BT%97Z%A1%3Dq%CD%21%A1_%EFE%83%0E
extra : histedit_source : 77f8ed3d0fdec6cce0c95469130ade0fb547bb91
2016-05-27 16:12:51 +08:00
Carsten "Tomcat" Book 336105a0de merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Carsten "Tomcat" Book 53b9562c23 merge fx-team to mozilla-central a=merge 2016-07-22 11:56:37 +02:00
Carsten "Tomcat" Book c7846e126c Backed out changeset 16aa7041c009 (bug 1287107) for causing xpcshell and mac tests 2016-07-22 11:30:23 +02:00
Greg Tatum 03144dabc5 Bug 1286232 - Add scripts and tests to automate the css-properties-db. r=pbro
--HG--
extra : rebase_source : b24ee31a2563e25ef46cb8068255f4e8ae4ffb13
2016-07-21 06:54:00 -04:00
Carsten "Tomcat" Book 4a64baa9d4 merge mozilla-inbound to mozilla-central a=merge 2016-07-21 16:24:36 +02:00
Carsten "Tomcat" Book ac018ea603 merge fx-team to mozilla-central a=merge 2016-07-21 16:23:11 +02:00
Eddy Bruel 34cdf87c79 Bug 1265727 - Decouple EventLoopLagFront from EventLoopActor. r=fitzgen 2016-07-21 12:52:30 +02:00
Sami Jaktholm f88f710018 Bug 1237492 - Hold a strong reference to the Worker used in webconsole tests. r=ejpbruel
If a reference is not kept, the Worker might be GCd before the test
compteles. If that happens, the test times out as it tries to detach
a worker that has already been destroyed.

The state object is kept around for the duration of the tests so
keeping a reference in the state object ensures the worker
lifetime matches that of the test.

MozReview-Commit-ID: 31F54vHlm3z

--HG--
extra : transplant_source : %C1%97%D86%09Bd%AB%E8%08%98%D4%29%25S%A3%B8%2C%8E%11
2016-07-17 10:10:08 +03:00
Tom Tromey c1f4e8a225 Bug 1266839 - replace uses of nsIXULAppInfo in devtools; r=gregtatum
MozReview-Commit-ID: KIsffqE99hA

--HG--
extra : rebase_source : 6513acf886bef3192445ae003f413acc0143f658
2016-07-15 14:04:02 -06:00
Tom Tromey f3688e87f4 Bug 1265802 - Add Services.appinfo.OS shim for devtools; r=jryans
MozReview-Commit-ID: L41zmBEyqPH

--HG--
extra : rebase_source : 45d478bf4b60a869490b12b1e2cd1e8f2d204a9f
2016-07-14 12:48:47 -06:00
Joseph Yeh 711bee9e8d Bug 1274609 - Replace uses of Ci.nsIDOMNodeFilter constants. r=jlongster
MozReview-Commit-ID: 1OeiMaVZ7tm

--HG--
extra : rebase_source : ed4d3809d97fd1c1a6661ad30b9f9d0d868fbea2
2016-07-11 20:28:00 +02:00
Carsten "Tomcat" Book 779d97cbaf Backed out changeset a80fdfc128b0 (bug 911216) for high crash-rate on developers - RyanVM request 2016-07-18 16:14:59 +02:00
Till Schneidereit 3a9eed06fe Bug 911216 - Part 30: Enable SpiderMonkey Promise implementation. r=bz,efaust,bholley,Paolo,tromey,shu
Also contains folded version of the following patches that have to land at the same time with enabling the new implementation (or be backed out at the same time, if it comes to that):

Add Promise checks to test_xrayToJS.xul. r=bholley
Change Promise debugger hook tests to use Promise ctor instead of makeFakePromise. r=shu
Change DOM interface tests to assume Promise is an ES builtin, not a DOM one. r=bz
Remove some PromiseDebugging references. r=bz
Adapt promise rejections test to new xray-unwrapping error. r=bz
Fix expectations in browser_timelineMarkers tests. r=tromey
2016-07-16 15:05:12 +02:00
Carsten "Tomcat" Book 0f6e33eb43 Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2016-07-15 16:16:45 +02:00
Greg Tatum 180f6e66ec Bug 1265785 - replace uses of inIDOMUtils.getCSSPseudoElementNames r=pbro 2016-07-12 06:45:00 +02:00
Boris Zbarsky 63c6b08058 Bug 790997. Align our tokenization of CSS bad-url-token with the CSS Syntax Level 3 CR. r=heycam,tromey
The main change is that once we discover we have a bad-url-token we consume
everything up to, but not including, the next ')' character.  While we do this
we can cross line boundaries and don't bother about matching braces or quotes.
We just keep going until we find the ')' or hit EOF.
2016-07-13 22:54:20 -04:00
Matthew Wein 2c1bc5a119 Bug 1275330 - Fix console.log error in event-emitter.js by importing Console.jsm. r=jryans
MozReview-Commit-ID: 1CyZHRhQQs6

--HG--
extra : transplant_source : 2%A8%08%DA%95%C5%1E%97%06%C8%C7b%8A%DD%0E%95E%E1%1E%DB
2016-07-07 16:17:43 -07:00
Carsten "Tomcat" Book c0124de8f8 Backed out changeset b798e05334be (bug 1275330) for causing crashes and dt test failures
--HG--
extra : rebase_source : 66c19eb8abe5c8c55097b706bd03a89a0e0897be
2016-07-12 14:40:29 +02:00
Matthew Wein fbcca5fe45 Bug 1275330 - Fix console.log error in event-emitter.js by importing Console.jsm r=jryans
MozReview-Commit-ID: 1CyZHRhQQs6

--HG--
extra : transplant_source : u%EF%BA%C8%12%89%92%CB%FC%A2%9F%CF%2B%04V%13%87%A0x%E6
2016-07-07 16:17:43 -07:00
Till Schneidereit f8bc4fae19 Bug 911216 - Part 30: Enable SpiderMonkey Promise implementation. r=bz,efaust,bholley,Paolo,tromey,shu
Also contains folded version of the following patches that have to land at the same time with enabling the new implementation (or be backed out at the same time, if it comes to that):

Add Promise checks to test_xrayToJS.xul. r=bholley
Change Promise debugger hook tests to use Promise ctor instead of makeFakePromise. r=shu
Change DOM interface tests to assume Promise is an ES builtin, not a DOM one. r=bz
Remove some PromiseDebugging references. r=bz
Adapt promise rejections test to new xray-unwrapping error. r=bz
Fix expectations in browser_timelineMarkers tests. r=tromey
2016-07-21 12:06:30 +02:00
Chris Peterson b175c9fdd5 Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
Carsten "Tomcat" Book 8604ef5140 Backed out changeset 31765c4f5ea4 (bug 1275330) for ESlint failures 2016-07-11 11:42:01 +02:00
Tom Tromey ee883aab7f Bug 1276341 - don't use Cu.import for event-emitter.js; r=jryans
MozReview-Commit-ID: BDvrMP8fRim

--HG--
extra : rebase_source : a40ac300ff98f302bfbf5ce978172904426fa152
2016-07-18 13:58:20 -06:00
Matthew Wein 5fd39e311a Bug 1275330 - Fix console.log error in event-emitter.js by importing Console.jsm. r=jryans
MozReview-Commit-ID: 1CyZHRhQQs6

--HG--
extra : transplant_source : %1E2%DD%D8%1F%A0%C5%8D%02oR%F4%A3%15%0Fo%C7%EC%5E%F0
2016-07-07 16:17:43 -07:00
Chris Peterson 43c2748f66 Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
Boris Zbarsky 5d3ead1816 Bug 1281061. Do an atom equality compare instead of a string compare on the script filename string in SavedFrame::isSelfHosted. r=fitzgen 2016-07-08 22:53:53 -04:00
Tom Tromey 3f45bbeb7d Bug 1287620 - don't de-quote identifier tokens in parseDeclarations; r=pbro
MozReview-Commit-ID: GecLWyVsNAy

--HG--
extra : rebase_source : a423883724277d3fac7e606b6e8af5f39f48dc16
2016-07-19 12:47:07 -06:00
Alexandre Lissy ee77e301dd Bug 1285170 - Remove app:// protocol r=valentin
MozReview-Commit-ID: 4cnLrqqyP35

--HG--
extra : rebase_source : 424b63df547308033fc960632c5ef5939e3d8d85
2016-03-16 17:11:12 +01:00
Carsten "Tomcat" Book 838f21f656 merge mozilla-inbound to mozilla-central a=merge 2016-07-08 11:58:46 +02:00
Jeff Walden aaeb46f1ff Bug 1282795 - Declare JS::ubi::Concrete<T>::concreteTypeName within every JS::ubi::Concrete specialization to avoid use-before-declaration warnings related to templates. r=jimb
--HG--
extra : rebase_source : b552346c5b2b3a5d32ca513efd45356fe94f3abd
2016-07-05 17:41:12 -07:00
Sebastian Hengst cfa0d595fb Backed out changeset 2620e5ba1067 (bug 1282795) for 'Concrete' redeclaration in HeapSnapshot.h (static failure). r=backout 2016-07-07 19:26:27 +02:00
Jeff Walden ccddc5c404 Bug 1282795 - Declare JS::ubi::Concrete<T>::concreteTypeName within every JS::ubi::Concrete specialization to avoid use-before-declaration warnings related to templates. r=jimb
--HG--
extra : rebase_source : 967291d2bb028a379fcf1217ef8b116af5122cad
2016-07-05 17:41:12 -07:00
Carsten "Tomcat" Book 1e5237c994 merge mozilla-inbound to mozilla-central a=merge 2016-07-07 11:41:27 +02:00
Nick Fitzgerald 7b0a1f6dee Bug 1261869 - Fix leaks in devtools; r=ejpbruel
There are two leaks addressed in this commit:

1. The thread actor's `_debuggerSourcesSeen` set was never cleared. This set
exists only as a performance optimization to speed up `_addSource` in cases
where we've already added the source. Unfortunately, this set wasn't getting
cleared when we cleared debuggees out and it ended up keeping the
`Debugger.Source`, its referent, and transitively its referent's global alive. I
figured it was simpler to make it a `WeakSet` than to add it as a special case
in `ThreadActor.prototype._clearDebuggees` and manage the lifetimes by hand. I
think this fits well with its intended use as an ephemeral performance
optimization.

2. Due to a logic error, we were not clearing debuggees in the memory actor's
`Debugger` instance on navigations. This isn't really a "proper" leak, in that
if you forced a GC, the old debuggees would go away as `Debugger` holds them
weakly, however if there was no GC between navigations, then you could still see
the old windows (and everything they "retained") as roots in the snapshot. This
issue is straightforward to fix once identified: ensure that `_clearDebuggees`
is actually called on navigation.

Finally, this commit adds a test that we don't leak Window objects when devtools
are open and we keep refreshing a tab. When it fails, it prints out the leaking
window's retaining paths.
2016-07-06 08:37:57 -07:00
Jan de Mooij 3e6263744c Bug 1283855 part 13 - Make JS_SetNativeStackQuota take JSContext instead of JSRuntime. r=fitzgen 2016-07-05 14:35:23 +02:00
J. Ryan Stinnett 004776fbcd Bug 1281396 - Make URL non-lazy to avoid debuggee would run / recursion issues. r=ochameau
MozReview-Commit-ID: FkYlmzIeBJe
2016-07-07 16:39:15 -05:00
Jan de Mooij 79865aba2a Bug 1283855 part 17 - Make {Get,Set}DebuggerMallocSizeOf take JSContext instead of JSRuntime. r=jimb 2016-07-06 11:40:20 +02:00
Eddy Bruel d98fe32356 Bug 1265727 - Decouple FramerateFront from FramerateActor;r=fitzgen 2016-07-04 17:50:30 +02:00
Michael Ratcliffe f71ab0d423 Bug 1244584 - Make GCLI tooltip hide after the first run experience r=jwalker 2016-07-01 12:30:00 +01:00
Jarda Snajdr c8316a5361 Bug 1231445 - Part 3: Support for removing IndexedDB records in storage inspector r=mratcliffe 2016-07-04 04:10:00 +02:00
Eddy Bruel 32f9a9263f Bug 1265727 - Decouple ProfilerFront from ProfilerActor;r=fitzgen 2016-07-01 15:27:41 +02:00
Tom Tromey a1c6fa6b82 Bug 1266844 - use URL, not nsIURL, in css-logic.js; r=pbro
MozReview-Commit-ID: F8eBQEJZkv7

--HG--
extra : transplant_source : %7E8C%F7%A1%BA%E4%16%F81%1C%C4%D6%C9%AC%0F%A4%1C%B1%B3
2016-06-24 13:55:55 -06:00
Wes Kocher 0a4e1558a6 Backed out 6 changesets (bug 1244227) for mochitest-cl failures
Backed out changeset fc2dcc9e7f52 (bug 1244227)
Backed out changeset 5855543dc299 (bug 1244227)
Backed out changeset b409ab88921d (bug 1244227)
Backed out changeset 2990149167fc (bug 1244227)
Backed out changeset e4bf9065b319 (bug 1244227)
Backed out changeset 404a39c5e090 (bug 1244227)
2016-06-30 13:42:15 -07:00
Michael Ratcliffe 56a8127a68 Bug 1268837 - Remove GCLI screenshot --chrome file.png. r=jwalker
MozReview-Commit-ID: GlNfyofypHt
2016-06-30 14:08:42 +01:00
Fabrice Desré f5b619fb28 Bug 1287107 - Making transition alive with gaia as chrome:// r=bholley,fabrice
MozReview-Commit-ID: 9uVUrmuVFXQ

--HG--
extra : rebase_source : d0c19fcda5c72ecdce3b0d0bbbafa5a7954d7a4c
2016-03-03 09:58:47 -08:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Fabrice Desré 7846da76d6 Bug 1287107 - Making transition alive with gaia as chrome:// r=bholley,fabrice
MozReview-Commit-ID: 9uVUrmuVFXQ

--HG--
extra : rebase_source : 20f6f0235667530c21aca4889b5d33e39c2d1a48
2016-03-03 09:58:47 -08:00
Tom Tromey f6968e4e28 Bug 1244227 - add an API to enable throttling; r=Honza
MozReview-Commit-ID: BirjFHVSZN7

--HG--
extra : transplant_source : %88%FA%CB%0D%21%07%D9%DA%84%03%2C%92N%60%0F%E4%11%CF%8Dp
2016-03-01 11:13:41 -07:00
J. Ryan Stinnett 76baf9e8d6 Bug 1240907 - Flatten RemoteBrowserTabActor into BrowserTabActor. r=ochameau
The removes the legacy path for non-e10s that avoids the messageManager.  We now
use the messageManager for all cases, both e10s off and on.

Unsurprisingly, this revealed a variety of race conditions in various tests, so
they've been cleaned up as well.

MozReview-Commit-ID: EXEWehphLIY
2016-07-21 12:20:55 -05:00
J. Ryan Stinnett 96a4940397 Bug 1240907 - Tunnel toolbox messages to content in RDM. r=ochameau
When you open a toolbox in RDM, it will now debug the content page, instead of
the RDM UI.

MozReview-Commit-ID: LXbVhwNVlcp
2016-07-21 12:20:55 -05:00
Tom Tromey 397c46c617 Bug 1244227 - properly report throttled network timing; r=Honza
MozReview-Commit-ID: BCJLSRGS0vE

--HG--
extra : transplant_source : y%95%21%B8%DC%C3%7BM%F7%5D%88c9%B9%D0r%19%D8%3C%E4
2016-02-04 06:40:25 -07:00
Tom Tromey becfb61023 Bug 1244227 - add network throttling; r=Honza
MozReview-Commit-ID: Iy6buFxUrGg

--HG--
extra : transplant_source : %DAz%F1jcfv%5DsX_4ULW%B0RsN%E5
2016-01-29 11:56:25 -07:00
Tom Tromey 5960cf5875 Bug 1244227 - NetworkResponseListener does not need to implement nsIInterfaceRequestor; r=Honza
MozReview-Commit-ID: 9TMlmdjQWLL

--HG--
extra : transplant_source : %AF%96%40R%20%85M%C2%EFB6%7C%27L%AB%ADnP%EA%EC
2016-02-16 15:03:23 -07:00
Julian Descottes 34e58925be Bug 1278823 - styleeditor: fix csscoverage report creation;r=jryans
The sheetToUrl function in csscoverage is only used to create ids for the
csscoverage map of knownRules. Instead of asking the UI to format stylesheet
URLs using the same logic as the server, StyleEditor.jsm now sends the
stylesheet actor to create the report. The csscoverage actor can then compute
the stylesheet URL on the server.

MozReview-Commit-ID: GDtWhbi2ScW

--HG--
extra : rebase_source : bfc8dc7c680523ff8d67e8ffd5d1b1b7af862333
2016-06-28 11:18:39 +02:00
Tom Tromey 469cee9bad Bug 1225254 - split css-logic.js into server and shared files; r=pbro
MozReview-Commit-ID: BTFVQJcVI5d

--HG--
extra : transplant_source : n%A3%EF0e%9F%8E%09%FC4%95%F8%60l3%B73%BDS%C7
2016-06-24 08:26:21 -06:00
Tom Tromey 1006edd234 Bug 1225254 - remove unused code from css-logic.js; r=pbro
MozReview-Commit-ID: joVchP4T56

--HG--
extra : transplant_source : %A2c%AE%84M%D2f%BB%B7%9CH%7D%CF%C8%85%95LI%25%FE
2016-06-23 11:02:56 -06:00
Wes Kocher da658e26c2 Backed out changeset 7773873116e9 (bug 1265727) for xpcshell failures and eslint failures 2016-06-29 12:00:47 -07:00
J. Ryan Stinnett 0521eafa74 Bug 1282900 - Remove RDP telemetry probes and surrounding machinery. r=fitzgen
MozReview-Commit-ID: 58WNVGWTyKJ
2016-06-29 11:37:09 -05:00
Eddy Bruel eb8de6c5ed Bug 1265727 - Decouple ProfilerFront from ProfilerActor;r=fitzgen 2016-06-29 16:20:06 +02:00
Jaideep Bhoosreddy 5b0915aa18 Bug 1282472 - Add camera effects to screenshot; r=jryans 2016-06-29 00:13:00 +02:00
Jaideep Bhoosreddy 2a13ca7bf5 Bug 1282470 - Add a -fullpage suffix to screenshots taken with --fullpage option; r=gl 2016-06-27 11:28:00 +02:00
Alexandre Poirot 250e55dddb Bug 1268073 - Free loader created by BrowserToolboxProcess. r=jryans 2016-06-28 08:39:37 -07:00
Philipp Kewisch [:Fallen] b3be6df2f8 Bug 1279833 - Make less use of gBrowser and content tabs in devtools. r=jwalker 2016-06-28 11:07:09 +02:00
Jan Keromnes b57c44dc2d Bug 1188981 - Show Push Service subscription endpoint URL for Service Workers in about:debugging. r=jryans
--HG--
extra : rebase_source : c8636b7a77d23eb0c6392dac41825f62dde00db8
2016-06-24 18:06:34 +00:00
Tom Tromey 92a3aa0df3 Bug 1264654 - Use DOMParser in devtools. r=bgrins
MozReview-Commit-ID: BB829YyUBh7

--HG--
extra : transplant_source : %1Fb%17%07%CA%EE%20%01%92%8A_%F4%C6%F1%27%8D%A1%8C%96%F4
2016-06-20 06:34:32 -06:00
J. Ryan Stinnett 0068c10f19 Bug 1240900 - Use outerWindowID directly from browser. r=ochameau
MozReview-Commit-ID: JuJNSScaJEs
2016-06-25 11:35:02 -05:00
Tom Tromey 2e37ad3b29 Bug 1273941 - replace uses of promise.defer in devtools/shared; r=jryans
MozReview-Commit-ID: 2n3uJ5QKsKL

--HG--
extra : transplant_source : %E5%29%E0%BA%26%23%7F%CF%B6%2B4%7E%D4%02%21%9B%D8%D51%5C
2016-06-09 09:03:47 -06:00
Carsten "Tomcat" Book 965dbc5745 merge mozilla-inbound to mozilla-central a=merge 2016-06-23 14:57:09 +02:00
Tom Tromey 33551be142 Bug 1280371 - Move ELEMENT_STYLE to devtools/shared/specs/styles. r=bgrins
MozReview-Commit-ID: AjZLiQAivg9

--HG--
extra : transplant_source : %E6%1E%5E%CD%88%22K%F3%C5%91%A5%9C%05o%1F%13%B6%98%BCE
2016-06-16 11:27:10 +01:00
Eddy Bruel 4c018021a8 Bug 1265727 - Decouple PerformanceRecordingFront from PerformanceRecordingActor;r=fitzgen 2016-06-22 15:01:28 +02:00
Eddy Bruel ba21a67524 Bug 1265727 - Decouple PerformanceFront from PerformanceActor;r=fitzgen 2016-06-22 13:16:21 +02:00
Jarda Snajdr 196c4493fd Bug 1280247 - Netmonitor JS stack traces should show the frame's asyncCause r=ochameau 2016-06-15 23:30:00 +02:00
Jan de Mooij fb0436ba41 Bug 1279295 - Create the runtime's JSContext when we create the runtime. r=luke 2016-06-22 09:47:52 +02:00
Tom Tromey d7707e6975 Bug 1265830 - Remove uses of nsIDOMCSSRule from devtools. r=bgrins
MozReview-Commit-ID: 9q9Ei38My4A

--HG--
extra : transplant_source : %EA%94%C5%B2%BD%7Fz%F6%1C3O%0B%22%AA%C8%3E%98Z1j
2016-06-16 10:22:28 +01:00
Tom Tromey 4f245dd44f Bug 1244227 - Add an API to enable throttling. r=Honza
MozReview-Commit-ID: BirjFHVSZN7

--HG--
extra : transplant_source : J%98f%AD%0C%80%3B%0D%23%89%5D/%F2He%CC%B95Np
2016-03-01 11:13:41 -07:00
Tom Tromey a3579ffb10 Bug 1244227 - Properly report throttled network timing. r=Honza
MozReview-Commit-ID: BCJLSRGS0vE

--HG--
extra : transplant_source : %1F%A6%A3%85%1CP%07n-%EBo%DD%5C%29%1E%0A%11%D8%1E%04
2016-02-04 06:40:25 -07:00
Tom Tromey 2c5c4d319d Bug 1244227 - Add network throttling. r=Honza
MozReview-Commit-ID: Iy6buFxUrGg

--HG--
extra : transplant_source : %C9%E9%C7%0DW%07%99-%D0%B1/%CE%BC%F8%C3%8A%C5a%82%E4
2016-01-29 11:56:25 -07:00
Tom Tromey 7c9df12dbe Bug 1244227 - NetworkResponseListener does not need to implement nsIInterfaceRequestor. r=Honza
MozReview-Commit-ID: 9TMlmdjQWLL

--HG--
extra : transplant_source : %84%15P%A1%C6%D6%9BxS%AC.J%F8%FC%91%C8L%1F%E9%7E
2016-02-16 15:03:23 -07:00
Patrick Brosset f9d2dc2d7d Bug 1262439 - 5 - Move eyedropper btn to inspector and update gcli command; r=bgrins
This moves the eyedropper button from the toolbar into the inspector,
therefore the old eyedropper command isn't needed anymore,
or at least not as it was.
The button in the inspector simply uses the pickColorFromPage inspector
actor method.
And to preserve a eyedropper gcli command, a new simpler one was added.

MozReview-Commit-ID: B1yr1EqLFBD

--HG--
extra : rebase_source : 47c2effe193f4d1a64a8d16ea3609ff5ae1f793b
2016-07-20 16:06:42 +02:00
Patrick Brosset 968dc79025 Bug 1262439 - 2 - Add a new pickColor inspector method to use the new eye-dropper highlighter; r=bgrins
The inspector actor now has a new method that can be used to pick a
color from the page. This method just instantiates the eye-dropper
highlighter and shows it on the page.
The method doesn't return the color because this requires user interaction.
Instead, it returns immediately and an event is sent later, when the user
has selected a color or escaped.

MozReview-Commit-ID: cjadLyNXQd

--HG--
extra : rebase_source : 392a3cbfce7b81518cd7e4c90a44bae17d96e8de
2016-07-20 16:07:04 +02:00
Patrick Brosset d2cc90ec24 Bug 1262439 - 1 - Introduce a new eye-dropper highlighter; r=zer0
This is mostly porting code from the XUL eye-dropper over to a new
highlighter file.
While I have tested this locally, this highlighter isn't yet used
in devtools.
This will come in later patches.

MozReview-Commit-ID: IF0puLu5Yc7

--HG--
rename : devtools/client/shared/css-color-db.js => devtools/shared/css-color-db.js
rename : devtools/client/shared/css-color.js => devtools/shared/css-color.js
extra : rebase_source : 72431a9148d1c688987a5693a619769837c774c7
2016-07-21 14:35:14 +02:00
Terrence Cole 1fe18b25cf Bug 1232686 - Use decltype to infer Variant::match return type; r=fitzgen
--HG--
extra : rebase_source : 38f280cc3014b2285a79e377f1fa8edf4c5f4661
2015-12-15 07:45:22 -08:00
Tom Tromey 7853799111 Bug 1290227 - add replacement module for DOM_VK_ constants; r=bgrins
MozReview-Commit-ID: INmMxfP8ZuL

--HG--
extra : rebase_source : 683c927aa73e08176dc36e6d518d8fdd9f7b32e5
2016-08-08 15:41:37 -06:00
Patrick Brosset c1a025bcaa Bug 1268082 - Get the list of supported CSS types for each property from the server; r=tromey
Added the list of supported types to each css property returned by the
CssProperties actor.
As a fallback, the css-properties-db static file also contains this list.
Also, if connected to a server that has the CssProperties actor but not
the data about supported types, then the type data is retrieved from the
static db too.

MozReview-Commit-ID: J1o8JGODMiC

--HG--
extra : rebase_source : 9c997516c0b1c374a016a6a5f54dacfb5ce076bf
extra : amend_source : 15ae16c64120b984b212fd2e2723da5018aaaa5c
2016-06-15 08:58:36 +01:00
Nick Fitzgerald ff7200291a bug 1265723 - Decouple the MemoryFront from the MemoryActor; r=ejpbruel 2016-06-10 13:28:15 -07:00
Nick Fitzgerald 323a754b9a Bug 1279302 - Decouple the ReflowFront from the ReflowActor; r=ejpbruel 2016-06-10 13:28:15 -07:00
J. Ryan Stinnett ca7fb511f8 Bug 1193390 - Remove single arg Cu.import from /devtools. r=tromey
A few miscellaneous linting issues also addressed near the lines involved.

MozReview-Commit-ID: 9t1RwxdSS2X
2016-06-09 14:10:07 -05:00
Wes Kocher 2cb9715c8a Bug 1265720 - ESLint fix 2016-06-09 12:00:28 -07:00
Eddy Bruel 170631fab0 Bug 1265720 - Decouple fronts from actors in gcli;r=jryans 2016-06-09 17:28:36 +02:00
Eddy Bruel 72591e2414 Bug 1265724 - Decouple TimelineFront from TimelineActor; r=ejpbruel 2016-06-08 15:51:55 +02:00
J. Ryan Stinnett b48b79960b Bug 1278413 - Clean up code style in worker.js, event-emitter.js. r=tromey
MozReview-Commit-ID: LVbo9i0rPqI
2016-06-07 22:32:40 -05:00
Nick Fitzgerald 6d367104ff Bug 1278405 - Decouple the DirectorRegistryFront from the DirectorRegistryActor; r=ejpbruel 2016-06-07 07:53:22 -07:00
Nick Fitzgerald cb37130245 Bug 1278397 - Decouple the MessagePortFront, DirectorScriptFront, and DirectorManagerFront from the MessagePortActor, DirectorScriptActor, and DirectorManagerActor respectively; r=ejpbruel 2016-06-07 07:53:22 -07:00
Nick Fitzgerald 57d719d08f Bug 1265731 - Decouple DeviceFront from DeviceActor; r=ejpbruel 2016-06-07 07:53:21 -07:00
Nick Fitzgerald e0776670f7 Bug 1278345 - Decouple the LongStringFront from the LongStringActor; r=ejpbruel 2016-06-07 07:53:21 -07:00
Carsten "Tomcat" Book 231e83cd1f Merge mozilla-central to fx-team 2016-06-07 15:34:09 +02:00
Carsten "Tomcat" Book c6d661cfe2 merge mozilla-inbound to mozilla-central a=merge 2016-06-07 15:23:03 +02:00
Eddy Bruel b91e39033c Bug 1265728 - Decouple PromisesFront from PromisesActor; r=ejpbruel 2016-06-07 12:47:20 +02:00
Wes Kocher 807cf956d8 Merge m-c to inbound, a=merge 2016-06-06 17:14:49 -07:00
Jarda Snajdr d56d19a26c Bug 1134073 - Part 1: Collect information about request cause and stacktrace in netmonitor backend r=ochameau
MozReview-Commit-ID: BdrqblFyC66
2016-06-01 01:03:00 +02:00
Jan de Mooij b0f9749010 Bug 1278223 part 1 - Stop using multiple contexts per runtime in gtests. r=fitzgen 2016-06-06 19:45:06 +02:00
J. Ryan Stinnett e1d147bbfc Bug 1278357 - Clean up code style in transport.js. r=tromey
MozReview-Commit-ID: 3uFu6AhOfbg
2016-06-06 17:39:50 -05:00
Nick Fitzgerald 5f718a1500 Bug 1277985 - Decouple the CSSUsageFront from the CSSUsageActor; r=ejpbruel 2016-06-06 10:24:34 -07:00
Nick Fitzgerald 54b647837c Bug 1277971 - Use ActorClassWithSpec for the EnvironmentActor; r=ejpbruel 2016-06-06 10:24:34 -07:00
Nick Fitzgerald 7da20e19df Bug 1277953 - Use ActorClassWithSpec for the FrameActor; r=ejpbruel 2016-06-06 10:24:34 -07:00
Nick Fitzgerald 5658c35c3b Bug 1277953 - Use ActorClassWithSpec for the FrameActor; r=ejpbruel 2016-06-06 10:24:34 -07:00
Nick Fitzgerald 05e8f31b35 Bug 1277951 - Use ActorClassWithSpec for WorkerActor and ServiceWorkerRegistrationActor; r=ejpbruel 2016-06-06 10:24:34 -07:00
Nick Fitzgerald 32fd612182 Bug 1277947 - Use ActorClassWithSpec for the ThreadActor; r=ejpbruel 2016-06-06 10:24:34 -07:00
Nick Fitzgerald c4af500552 Bug 1277944 - Use ActorClassWithSpec for the SourceActor; r=ejpbruel 2016-06-06 10:24:34 -07:00
Nick Fitzgerald a421e383c4 Bug 1277940 - Use ActorClassWithSpec for the BreakpointActor; r=ejpbruel 2016-06-06 10:24:34 -07:00
Greg Tatum c17299d948 Bug 1265790 - replace inIDOMUtils.isInheritedProperty r=pbro
MozReview-Commit-ID: 1c6OLfYMW0p
2016-06-02 13:07:00 +02:00
Tim Nguyen b45619ad94 Backed out 3 changesets (bug 1134073) for browser_net_statistics-01.js failures
Backed out a58743e540f5 (bug 1134073)
Backed out 616b2bbf8fd0 (bug 1134073)
Backed out 691b0e0a6ca1 (bug 1134073)

MozReview-Commit-ID: 3LwVxPXX8SZ
2016-06-04 19:01:29 +02:00
Jarda Snajdr add5047623 Bug 1134073 - Part 1: Collect information about request cause and stacktrace in netmonitor backend r=ochameau
MozReview-Commit-ID: CJBVpjvmWgh
2016-06-01 01:03:00 +02:00
Wes Kocher ab58bab2bf Backed out 3 changesets (bug 1134073) because maybe it broke the clipboard tests
Backed out changeset a43d99734390 (bug 1134073)
Backed out changeset 572ebec612e8 (bug 1134073)
Backed out changeset f12a69ba9122 (bug 1134073)
2016-06-03 14:01:27 -07:00
Nick Fitzgerald 92e4e4537f Bug 1277707 et al - Follow up: fix bad rebase conflict in moz.build file; r=me 2016-06-03 11:07:29 -07:00
Jarda Snajdr 8b53520b4b Bug 1134073 - Part 1: Collect information about request cause and stacktrace in netmonitor backend. r=ochameau
--HG--
extra : rebase_source : 13b14d5dab207a909d4858ca3ddaa1c819516971
2016-06-03 16:26:35 +02:00
Nick Fitzgerald e3276c78d8 Bug 1277707 - Decouple the fronts from the actors in the shader editor; r=ejpbruel 2016-06-03 10:45:10 -07:00
Nick Fitzgerald de3a8e2566 Bug 1265719 - Decouple the CanvasFront and FrameSnapshotFront from the CanvasActor and FrameSnapshotActor respectively; r=ejpbruel 2016-06-03 10:45:10 -07:00
Nick Fitzgerald 644e1b42f8 Bug 1265732 - Decouple the AudioNodeFront and WebAudioFront from the AudioNodeActor and WebAudioActor respectively; r=ejpbruel 2016-06-03 10:45:10 -07:00
Nick Fitzgerald 84bd208e23 Bug 1277673 - Decouple the ActorActorFront and ActorRegistryFront from the ActorActor and ActorRegistryActor respectively; r=ejpbruel 2016-06-03 10:45:10 -07:00
Nick Fitzgerald 6fcf81b996 Bug 1277634 - Decouple the CallWatcherFront and FunctionCallFront from the CallWatcherActor and FunctionCallActor respectively; r=ejpbruel 2016-06-03 10:45:10 -07:00
Nick Fitzgerald 5c3d7c83a2 Bug 1277622 - Use ActorClassWithSpec for the HeapSnapshotFileActor; r=ejpbruel
We don't have a HeapSnapshotFileFront, this actor is used under the covers in
the MemoryFront, but we should work towards all actors being defined in the
WithSpec way.
2016-06-03 10:45:10 -07:00
Julian Descottes af8533fc17 Bug 1202458 - part3: rename ShortLongString to SimpleStringFront;r=pbro
The current name ShortLongString doesn't reflect the current usage of
this class. When looking at the few clients of this class, the reason
for using it is that the string is already accessible on the client
and does not need to be fetched from the server, while still keeping
the same interface as the LongStringFront.

MozReview-Commit-ID: 7MdgH8GzC7q

--HG--
extra : rebase_source : 80bf8b91d36c796d732840206c3c83417729d9e7
extra : source : e74192b1a9c82ebcb431e5b4c28775a8111c8864
2016-05-31 16:51:27 +02:00
Julian Descottes a3bc664c7e Bug 1202458 - part1: inline text nodes in markupview only if they are short enough;r=pbro
The markup view will now inline a textnode in its container if and only if:
- the text node is the only child (pseudo elements included)
- the text node length is smaller than a predefined limit

If a container is expanded, its text nodes will now always be rendered in full,
no longer as a short version with an ellipsis. When selecting or navigating on
a textnode, the layout will no longer be modified on the fly.

MozReview-Commit-ID: HcDMqjbOesN

--HG--
extra : rebase_source : 3f3733928e0b3d2bbc12cb55521acda32a45bd2a
extra : source : f3bdf3ebaf4cbf3bb426d10cf95e702bc8e981f4
2016-06-02 10:41:49 +02:00
James Long e4aeb1c9ee Bug 1265854 - replace uses of nsiDOMNode constants in devtools frontend r=tromey 2016-06-03 09:47:58 -04:00
Eddy Bruel df95089a05 Bug 1272724 - Move nodeSpec into its own file;r=ejpbruel 2016-06-02 17:46:11 +02:00
Eddy Bruel 6cd5859b6c Bug 1265730 - Decouple StyleEditorFront from StyleEditorActor;r=jryans 2016-06-02 17:42:24 +02:00
Raul Glogovetan aa3e78365b Bug 1018721 - Changed wording for screenshot button tooltip. r=vporof 2016-06-02 09:54:24 -05:00
Carsten "Tomcat" Book 3b31f13666 Backed out changeset f3bdf3ebaf4c (bug 1202458) for test failures in test_inspector-mutations-value.html - missed that changeset in the backout before, sorry 2016-06-02 16:32:05 +02:00
Carsten "Tomcat" Book eb67af1f6f Backed out changeset e74192b1a9c8 (bug 1202458)
--HG--
extra : rebase_source : 95f662b3116ce3c9dc5357578a65672a1f3d5b2a
2016-06-02 16:29:47 +02:00
Carsten "Tomcat" Book b9a80d272d Backed out changeset b6ba2b9fbe8a (bug 1265730) for bc7 failures in browser_parsable_script.js 2016-06-02 15:59:07 +02:00
Julian Descottes 295a067b52 Bug 1202458 - part3: rename ShortLongString to SimpleStringFront;r=pbro
The current name ShortLongString doesn't reflect the current usage of
this class. When looking at the few clients of this class, the reason
for using it is that the string is already accessible on the client
and does not need to be fetched from the server, while still keeping
the same interface as the LongStringFront.

MozReview-Commit-ID: 7MdgH8GzC7q

--HG--
extra : rebase_source : 71a7cbb69f9ccf4d46a6750ed93d8f0ee236177e
extra : histedit_source : 8bad387e697a8288d0ac651d52b8cf8ad9fb0bcb
2016-05-31 16:51:27 +02:00
Julian Descottes fc46d5012b Bug 1202458 - part1: inline text nodes in markupview only if they are short enough;r=pbro
The markup view will now inline a textnode in its container if and only if:
- the text node is the only child (pseudo elements included)
- the text node length is smaller than a predefined limit

If a container is expanded, its text nodes will now always be rendered in full,
no longer as a short version with an ellipsis. When selecting or navigating on
a textnode, the layout will no longer be modified on the fly.

MozReview-Commit-ID: HcDMqjbOesN

--HG--
extra : rebase_source : 908ba5c1cab86018116271402c90992c1fca6d62
extra : histedit_source : f0083b1e4c54cde0fdce12e1d139baa41e7d6cda
2016-06-02 10:41:49 +02:00
Eddy Bruel b33a96b184 Bug 1265730 - Decouple StyleEditorFront from StyleEditorActor;r=jryans 2016-06-02 13:10:41 +02:00
Tom Tromey e27f135b3b Bug 1277243 - rename promise_defer.js to defer.js; r=jryans
MozReview-Commit-ID: 9TSQ0Cw82B

--HG--
rename : devtools/shared/promise_defer.js => devtools/shared/defer.js
rename : devtools/shared/tests/unit/test_promise_defer.js => devtools/shared/tests/unit/test_defer.js
extra : transplant_source : %20Kh%D2%21%E9%F9%D1%17L%BD%AC%E5%29%1A%11%06%A9.%98
2016-05-27 13:08:48 -06:00
Alexandre Poirot c07cb6835c Bug 1273311 - Prevent DevToolsUtils.fetch from throwing when no policy is given. r=ejpbruel 2016-05-31 03:54:05 -07:00
Carsten "Tomcat" Book 743296ac11 Merge mozilla-central to fx-team 2016-05-30 15:31:42 +02:00
Andrew Chen d5028145a5 Bug 1270010 - Add tooltips to doorhangers noting what they're doing; r=pbro 2016-05-24 18:07:00 +02:00
Alexandre Poirot f2393b3508 Bug 1237492 - Fix test_jsterm_autocomplete.html intermittents by connecting to the expected worker actor. r=ejpbruel 2016-05-30 03:06:21 -07:00
Greg Tatum 262a831a1f Bug 1265798 - Implement CSS database to query css properties r=pbro
MozReview-Commit-ID: CAUh2GyeA2o

--HG--
extra : rebase_source : fc8e97f7bfc92c709014e58bd7f1670bc859460e
2016-05-26 08:48:00 -07:00
Ryan VanderMeulen 287f684182 Merge inbound to m-c. a=merge 2016-05-26 21:45:18 -04:00
Alexandre Poirot 935347227d Bug 1270179 - Improve performances when inspecting big typed arrays in the console. r=jsnajdr,ejpbruel 2016-05-26 09:12:17 -07:00
Eddy Bruel 58ea403ab2 Bug 1265718 - Decouple AnimationsFront from AnimationsActor;r=jryans 2016-05-26 15:47:52 +02:00
Eddy Bruel e766da7201 Bug 1265730 - Decouple StyleEditorFront from StyleEditorActor;r=jryans 2016-05-26 08:46:03 +02:00
Jason Laster fae5df8bb3 Bug 1265885 - Add devtools module to replace promise.defer. r=jryans
MozReview-Commit-ID: 1Paf8cfkh5Q
2016-05-25 12:40:00 -04:00
Tom Tromey 0d9260b6f7 Bug 1265813 - Replace nsIIOService with URL in devtools. r=ochameau
MozReview-Commit-ID: GyoP6ApQXVc

--HG--
extra : amend_source : ace0951657ef7290f45b26a4ae81ac27111a60e2
extra : transplant_source : 0%8B%83%83Q%D0%CF%D8r%B1%C4e%13%3E%D14%06%15%CF%D5
2016-05-13 14:27:28 -06:00
Patrick Brosset 3d6dea90e7 Bug 1270186 - Move css-parsing-utils.js from devtools/client to devtools/shared; r=tromey
MozReview-Commit-ID: 75Yq1X4YjjJ

--HG--
rename : devtools/client/shared/css-parsing-utils.js => devtools/shared/css-parsing-utils.js
extra : rebase_source : da47aaa4e0baba88e401be053869f99a81ac15c4
2016-05-23 14:03:12 +02:00
Carsten "Tomcat" Book d43569f28f Backed out changeset 3c599aa289d8 (bug 1265718) for timeouts in test_animation_actor-lifetime.html 2016-05-25 13:25:59 +02:00
Eddy Bruel 406c2acdc2 Bug 1265718 - Decouple AnimationsFront from AnimationsActor;r=jryans 2016-05-25 10:18:27 +02:00
Kumar McMillan 897c43f281 Bug 1273183 - Install a temporary add-on via remote debugging. r=jryans
MozReview-Commit-ID: FoEZxDjldIA

--HG--
extra : transplant_source : %CC%9B%20%C1n%FB%2B%1C%D4%1Ab%1C%60%C4%91e%80%FA%8D6
2016-05-20 11:36:04 -05:00
Carsten "Tomcat" Book 56436e5293 Backed out changeset 25a5ae2711f3 (bug 1265718) for test failures in browser_animation_emitMutations.js 2016-05-24 14:17:34 +02:00
Eddy Bruel 726161f005 Bug 1265718 - Decouple AnimationsFront from AnimationsActor;r=jryans 2016-05-24 11:33:25 +02:00
Eddy Bruel 926642e614 Bug 1265718 - Decouple AnimationPlayerFront from AnimationPlayerActor;r=jryans 2016-05-24 11:27:38 +02:00
Wes Kocher 2596f34110 Backed out 3 changesets (bug 1267910) for reports of it breaking session restore a=backout
Backed out changeset 5962f8e6d030 (bug 1267910)
Backed out changeset f8afc5cf9e0e (bug 1267910)
Backed out changeset cc202e0ac0dd (bug 1267910)
2016-05-20 21:15:17 -07:00
Wes Kocher fa48509cda Merge fx-team to central, a=merge 2016-05-20 14:14:00 -07:00
Ryan VanderMeulen 5337e6e882 Merge m-c to inbound. a=merge
CLOSED TREE
2016-05-19 21:43:31 -04:00
Tom Tromey 0d398a243a Bug 1265869 - Add task.js and use in devtools. r=jryans
MozReview-Commit-ID: G5UuAh2RiZZ

--HG--
rename : toolkit/modules/Task.jsm => devtools/shared/task.js
extra : transplant_source : %B8h%8A%8C%BD%91%8A%81%1D%F4%F5%2Ap%CFv%BC%963u0
2016-05-17 13:07:55 -06:00
Nicolas Chevobbe 62400e0cd7 Bug 1270215 - Ensure we display properly cased node names all across the devtools. r=jdescottes
Add a displayName property on the NodeActor, which compute from Element.prefix + Element.localName.
The computation is made by a getNodeDisplayName function which can be imported wherever needed.
Edit some tests to ensure we correctly display node names.

MozReview-Commit-ID: 6z0G3ynbMoU

--HG--
extra : transplant_source : %E0%AFM%88D%BC%AD%08%1D%A4%FB%F2%5D%9E%D3%90%DE%94%EC%CD
2016-05-12 07:18:58 +02:00
danhuang1202 39e5e027bb Bug 920956 - Suppress regular mouse events and emulate 300ms delay. r=jryans
MozReview-Commit-ID: JPaUdvdlXdS
2016-05-19 00:37:00 -04:00
J. Ryan Stinnett 30b2b7ce44 Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.

To generate this patch, I ran:

./mach eslint devtools --no-ignore --fix

After this, I reverted any changes to third party files that we really do want
to ignore.

MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
Eddy Bruel 399a69ff8f Bug 1265722 - Remove .js extension from requires;r=jryans 2016-05-18 17:40:43 +02:00
Wes Kocher 2e152c3d24 Merge m-c to inbound, a=merge 2016-05-27 14:43:24 -07:00
Jarda Snajdr b915fbd241 Bug 1268460 - Part 1: Errors when deleting an IndexedDB database are not handled r=mratcliffe 2016-05-17 11:57:21 -07:00
Eddy Bruel 6e33d93476 Bug 1265722 - Move fronts to shared directory;r=jryans 2016-05-17 14:59:21 +02:00
Eddy Bruel 4653191749 Bug 1265722 - Decouple InspectorFront from InspectorActor;r=jryans 2016-05-17 14:34:40 +02:00
Sebastian Hengst ca6ba48e39 Backed out changeset 92b07e6e84bf (bug 1265722) for failing test_animation_actor-lifetime.html because of undefined function InspectorFront. r=backout 2016-05-17 13:50:21 +02:00
Eddy Bruel 02ce04286e Bug 1265722 - Decouple InspectorFront from InspectorActor;r=jryans 2016-05-17 11:14:31 +02:00
Eddy Bruel c6ba11793c Bug 1265722 - Decouple WalkerFront from WalkerActor;r=jryans 2016-05-16 16:44:06 +02:00
Eddy Bruel 7f3fbd2eac Bug 1265722 - Decouple NodeListFront from NodeListActor;r=jryans 2016-05-16 14:14:29 +02:00
Eddy Bruel 52e0e2d00c Bug 1265722 - Decouple NodeFront from NodeActor;r=jryans 2016-05-16 14:04:42 +02:00
Chris Peterson 353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Ryan VanderMeulen 50b634625f Merge m-c to inbound. a=merge 2016-05-26 11:22:27 -04:00
Tim Huang 8ec727cd19 Bug 1267910 - Part 2: Update all existing functions of add() and getCookiesFromHost() to make them origin attributes aware. r=jdm, r=mratcliffe
--HG--
extra : rebase_source : 288c9cab8340c5cc06861d4f2c7ee43ae4de608e
2016-05-25 11:54:21 +08:00
Tom Tromey 8493b659d3 Bug 1266840 - Define XMLHttpRequest in devtools loader. r=jryans
MozReview-Commit-ID: 5F2UlTlzx1R

--HG--
extra : transplant_source : %A3%F20%C8%BE%3F%19%C1%F8%A2%A9%FFF3%BBr%8E%95%B0%F5
2016-05-12 13:51:51 -06:00
L. David Baron d097996b85 Bug 1111440 - Replace -moz- prefixed logical margin/padding/border properties with their standard versions. r=heycam
This patch was generated by the command:
  find . -name "*.css" -exec sed -i -f mozpropsub {} \;
in the root of a mozilla-central tree, with the file mozpropsub
containing the contents:
s/-moz-padding-end\>/padding-inline-end/g
s/-moz-padding-start\>/padding-inline-start/g
s/-moz-margin-end\>/margin-inline-end/g
s/-moz-margin-start\>/margin-inline-start/g
s/-moz-border-end\>/border-inline-end/g
s/-moz-border-end-color\>/border-inline-end-color/g
s/-moz-border-end-style\>/border-inline-end-style/g
s/-moz-border-end-width\>/border-inline-end-width/g
s/-moz-border-start\>/border-inline-start/g
s/-moz-border-start-color\>/border-inline-start-color/g
s/-moz-border-start-style\>/border-inline-start-style/g
s/-moz-border-start-width\>/border-inline-start-width/g

While I didn't manually review all the changes, I did review the list of
files, and manually reviewed the changes in the files that I thought
were more interesting.

Note that there are a few tests that should be fixed up as well, but
I'll do that in a later patch.

MozReview-Commit-ID: EiQTuuV0MNQ
2016-05-12 22:19:58 -07:00
Tom Tromey 439e22f050 Bug 1266826 - Turn Templater.jsm into a .js. r=jryans
MozReview-Commit-ID: 4T4YiOiU0oZ

--HG--
rename : devtools/shared/gcli/Templater.jsm => devtools/shared/gcli/templater.js
extra : transplant_source : N%7B%B7%E9%91%F7%CC%87%22%D0%1E%7BZ%05%16%ED%A3q%99F
2016-05-12 09:06:38 -06:00
Tom Tromey ad7032d5d3 Bug 1266826 - Make Templater.jsm eslint-clean. r=jryans
MozReview-Commit-ID: H52rqBZPuDI

--HG--
extra : transplant_source : n%0DB%B6%84%8Ae%FC%91%1F%A81%E5%A3%3A%BD%DC%02%8E%DC
2016-05-12 08:59:26 -06:00
Wellington Cordeiro ed15d25e68 Bug 933170 - Make it clear that we show gecko's resolution, not device's resolution. r=jryans 2016-05-06 12:04:00 -04:00
Alexandre Poirot 0bd5f270a3 Bug 1264625 - Ensure using only invisible modules when opening the browser toolbox. r=jryans 2016-05-12 03:07:56 -07:00
Gabriel Luong f00515afda Bug 1239459 - Toggle touch event simulation r=jryans 2016-05-11 23:39:04 -07:00
Eddy Bruel 329f51ae5a Bug 1268458 - Decouple CustomHighlighterFront from CustomHighlighterActor;r=jryans 2016-05-11 11:09:46 +02:00
Phil Ringnalda cfa9b03a03 Back out 027b0144a1a6 (bug 1239459) for failures in responsive.html/test/browser/browser_menu_item_02.js
CLOSED TREE
2016-05-10 21:01:28 -07:00
James Long 022c1216ae Bug 1265775 - replace Cu.reportError with console.error in devtools/shared r=tromey 2016-05-10 21:55:00 -04:00
Gabriel Luong b45438c197 Bug 1239459 - Toggle touch event simulation r=jryans 2016-05-10 17:09:55 -07:00