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

626 Коммитов

Автор SHA1 Сообщение Дата
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
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
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
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