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

588 Коммитов

Автор SHA1 Сообщение Дата
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
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
Carsten "Tomcat" Book 8604ef5140 Backed out changeset 31765c4f5ea4 (bug 1275330) for ESlint failures 2016-07-11 11:42:01 +02: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
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
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
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