Commit Graph

283680 Commits

Author SHA1 Message Date
Michael Comella
393beacaa7 Bug 1246314 - Don't log exception when throwing in client ID. r=ahunt 2016-02-05 16:07:15 -08:00
Nick Fitzgerald
8d77d07807 Bug 1246017 - Create the parent map in the HeapAnalysesWorker; r=jimb 2016-02-05 15:11:48 -08:00
Sebastian Hengst
dbea41486e Bug 1245377 - Avoid use of Object.values in SyncedTabs sidebar as it only exists on nightly: eslint fix followup. r=eslint-fix 2016-02-06 00:00:50 +01:00
Robert Helmer
c03408de22 Bug 1232222 - Provide telemetry environment data on which addons are system addons. r=gfritzsche 2016-01-25 14:19:52 -08:00
Robert Helmer
928e2cb2c5 Bug 1232222 - Expose isSystem flag if add-on is a system add-on. r=Mossop 2016-01-25 12:35:24 -08:00
Julian Descottes
d25851a57d Bug 1030712 - Ruleview: Skip apply() after clicking suggestion. r=pbro
When using the inplace editor, clicking on an autocomplete suggestion
no longer triggers apply() and no longer calls the done() callback.
This way the inplace editor behavas similarly when using the keyboard
and when using the mouse.
2016-01-28 21:22:33 +01:00
Edouard Oger
c72ec066c4 Bug 1246160 - Fix tab bookmarking action in synced tabs sidebar. r=zaach 2016-02-05 07:53:00 -05:00
Nick Fitzgerald
8fe584f3dc Bug 1245739 - Disable the browser_memory_allocationStackBreakdown_01.js test on DEBUG builds. r=jsantell
Unfortunately, this test is frequently reporting the doc_steady_allocation.html
test tab window as leaking. Let's disable it for now, and re-enable it along
with the other leaky tests in bug 1219554.
2016-02-05 09:24:00 -05:00
Joe Whitfield-Seed
11fb7657e2 Bug 1245496 - Fix eslint errors in about:debugging. r=janx 2016-02-04 20:10:08 +00:00
Mark Hammond
8d99c0afa9 Bug 1245377 - Avoid use of Object.values in SyncedTabs sidebar as it only exists on nightly. r=zaach 2016-02-04 17:43:00 -05:00
Dave Townsend
381b5bc3ad Bug 1244302: Remove the add-ons selection UI. 2016-02-02 09:15:59 -08:00
Gregory Szorc
6862bbb88e Bug 1246025 - Install python2-devel package on Fedora; r=mshal
We need this package to build psutil and other Python packages with C
extensions.

Fedora 23 offers Python 3 as the default package and the package name
changed from python-devel to python2-devel. Fedora 22 does appear to
support python2-devel as an alias. So we use the same name everywhere.

DONTBUILD (NPOTB)
2016-02-05 12:33:13 -08:00
Gregory Szorc
adb3016def Bug 1246033 - Reference unambiguous git package on Gentoo; r=mshal
"git" is ambiguous between dev-ruby/git and dev-vcs/git.
2016-02-05 12:31:52 -08:00
Nick Alexander
19001498af Bug 1233882 - Fold base Gradle project into app Gradle project. r=sebastian,mcomella
DONTBUILD NPOTB

Using the real Android manifest tripped up Robolectric, so I've taken
the easy way out and added a dummy TestGeckoApplication; see comment
in the code.
2016-01-17 21:52:46 -08:00
Chris Manchester
a921af3367 Bug 1236382 - Add commonly used arguments to mach try, remove the extra arguments functionality. r=jgraham
Using nargs='*' in conjunction with nargs=REMAINDER creates an ambiguity when
the argument using nargs='*' is optional, it is not specified, and the user
intends their arguments to be interpreted as "extra" arguments. This commit
removes the nargs=REMAINDER argument for mach_try, and implements its most
common users from trychooser as a set of regular arguments to echo to
generated try syntax.

MozReview-Commit-ID: FOuDZxUfHu9
2016-01-04 14:07:11 -08:00
Chris Manchester
0d970b448f Bug 1246872 - Find the source bundle directory by pattern matching for OS X artifact builds. r=nalexander
MozReview-Commit-ID: 7Yn2pO9PO1C
2016-02-08 23:03:53 -08:00
Daniel Holbert
d39ccfa13e Bug 1243555: Remove unnecessary nsDocShell static_cast in EventListenerManager::HandleEventInternal(). r=smaug 2016-02-09 15:21:36 -08:00
Mike Shal
8660ef178a Bug 1243750 - Install all SDKs into sdk/; r=glandium 2016-01-29 14:52:52 -05:00
Mike Shal
e7d3e4681e Bug 700997 - enable l10n-check on mac; r=glandium 2016-02-02 09:04:40 -05:00
James Graham
95973c8f6a Bug 1245559 - Updated expected wpt results for win7 e10s, a=test-only 2016-02-03 23:18:43 +00:00
Tom Schuster
d0d3343d7d Bug 1246318 - Remove support for new style iterators with for..in. r=efaust 2016-02-10 00:12:25 +01:00
Tom Schuster
9ebc4ea621 Bug 1246318 - Remove the enumerate trap from ES6 proxies. r=efaust 2016-02-10 00:12:24 +01:00
Tom Schuster
369af34f4a Bug 1246318 - Make the proxy enumerate trap non-standard. r=efaust 2016-02-10 00:12:24 +01:00
Blake Kaplan
a9dc5fef4d Bug 1245723 - Fix typo. r=typo 2016-02-09 15:01:29 -08:00
David Keeler
9e2e9d205c bug 1241564 - remove EV treatment for TÜRKTRUST Elektronik Sertifika Hizmet Sağlayıcısı SHA-1 root certificate r=Cykesiopka
MozReview-Commit-ID: 9ktEj2kgfYo
2016-02-09 13:30:22 -08:00
Bobby Holley
37e51dfb2c Bug 1244222 - Tests. r=bz 2016-02-09 14:55:52 -08:00
Bobby Holley
fcec7f579e Bug 1244222 - Check for function interfaces in DelegatedQueryInterface. r=bz 2016-02-09 14:55:49 -08:00
Dylan Roeh
8550ef97d4 Bug 1148544 - Update tests to work with new way of handling user agent overrides. r=jchen 2016-02-09 16:51:43 -06:00
Dylan Roeh
1192bbc514 Bug 1148544 - Figure out UA override once per LoadGroup and cache it, rather than once per channel. r=nwgh 2016-02-09 16:51:34 -06:00
David Keeler
bc70ab383c bug 1246765 - remove unnecessary resource://app/ registration from getHSTSPreloadList.js r=Cykesiopka DONTBUILD NPOTB 2016-02-08 12:56:34 -08:00
Boris Zbarsky
d3dd406fd0 Bug 1245554. Window's named properties object should not claim to have duplicates of a given property name if it has multiple iframes with that name. r=peterv
The web platform test was pretty buggy in a few ways:

1)  It claimed that "bar" should be non-writable and enumerable.  This
explicitly contradicts the spec:
http://heycam.github.io/webidl/#named-properties-object-getownproperty step 3
substep 8 sets [[Writable]] to true, and
https://html.spec.whatwg.org/multipage/browsers.html#named-access-on-the-window-object
explicitly says these properties are unenumerable.

2)  It claimed that "constructor" should be exposed on the named properties
object.  But the named property visibility algorithm obviously returns false
for that property name, so it should not be exposed.
2016-02-09 17:40:45 -05:00
Boris Zbarsky
e39cfcc7d9 Bug 1243001 part 8. Tell SpiderMonkey to put its promise jobs into the CycleCollectedJSRuntime job queue. r=peterv
This will run the SpiderMonkey promise jobs more or less the same way that we
run Promise jobs right now, including using a Web IDL callback for the actual
invocation.
2016-02-09 17:40:31 -05:00
Boris Zbarsky
c1c0bcad04 Bug 1243001 part 7. Stop wrappercaching dom::Promise when SPIDERMONKEY_PROMISE is defined. r=peterv
nsWrapperCache expects the object it stores to have an ObjectMoved op that will
notify the wrapper cache when the object is moved.  SpiderMonkey promises don't
have a way to do this.

The XPCConvert changes are needed to allow code that passes around Promise
objects as nsISupports to continue working instead of ending up with
double-wrapped nsISupports (XPCWrappedNative for an nsISupports XPCWrappedJS)
around the SpiderMonkey Promise.
2016-02-09 17:40:31 -05:00
Boris Zbarsky
3b6a884636 Bug 1243001 part 6. Implement Promise::AppendNativeHandler in the SPIDERMONKEY_PROMISE world. r=peterv
This patch introduces a fake IDL interface just to get the benefits of
cycle collection for the JS-to-C++ link we now need for PromiseNativeHandler
(because the SpiderMonkey Promise somehow needs to point to the
PromiseNativeHandler).  Now in practice a bunch of our PromiseNativeHandlers
are not cycle collected.  That kinda freaks me out, but spot-checking a few
suggests they do not in fact leak (either because they don't form cycles or
because the Promise they're observing always settles and then releases them).
Either way, that's a problem that exists with or without this patch...
2016-02-09 17:40:31 -05:00
Boris Zbarsky
1f9866a3d6 Bug 1243001 part 5. Get rid of most of the dom::Promise methods when SPIDERMONKEY_PROMISE is defined, and reimplement the rest in terms of SpiderMonkey Promise. r=peterv
This is the bulk of the new dom::Promise implementation.  It's using the APIs
that bug 911216 part 1 adds.
2016-02-09 17:40:31 -05:00
Boris Zbarsky
530c609afa Bug 1243001 part 4. Switch to using MaybeResolve/MaybeReject instead of ResolveInternal/RejectInternal for PromiseWorkerProxy. r=peterv
This is the one part of this set of patches that is actually a substantive change
even without SPIDERMONKEY_PROMISE defined.  This is being done because I don't
want to create ResolveInternal/RejectInternal methods on dom::Promise in the
new world.

In practice, the difference between MaybeResolve/Reject and
ResolveInternal/RejectInternal is that the former will do nothing if the
Promise is "resolved" in terms of spec terminology: either settled or locked in
to track another Promise.  A resolved but still pending Promise can still get
fulfilled (what we call ResolveInternal) or rejected when the promise it's
tracking settles.

So the difference only matters if PromiseWorkerProxy can be working with a
"resolved" Promise (in which case what it's doing now would settle it, while
what I'm switching to would not).  But I don't believe PromiseWorkerProxy ever
points to a "resolved" Promise.
2016-02-09 17:40:31 -05:00
Boris Zbarsky
1927adedbf Bug 1243001 part 3. Turn off the IDL bits of PromiseDebugging when SPIDERMONKEY_PROMISE is defined. r=peterv
These are basically the minimal changes needed to make PromiseDebugging compile
in the new world.  It will NOT function correctly (see the XXX comments); Till
will be fixing it up more in bug 911216 as he transitions the relevant bits in
our devtools to work on top of SpiderMonkey promises.
2016-02-09 17:40:31 -05:00
Boris Zbarsky
a01b829460 Bug 1243001 part 2. Make Promise an empty [NoInterfaceObject] interface when SPIDERMONKEY_PROMISE is defined. r=peterv
The idea is to not define a "Promise" property on the global and not generate
any of the methods, since SpiderMonkey will implement all of those, but to keep
some of the conversion to/from JS logic and the IDL parser validation bits that
we have right now.  Once we can assume SPIDERMONKEY_PROMISE we can probably
change how the "Promise" identifier is handled by the IDL parser and how the
resulting type is handled by codegen, but for now we're aiming for minimal
changes.
2016-02-09 17:40:30 -05:00
Boris Zbarsky
2263e770b6 Bug 1243001 part 1. Remove the dead WrappedWorkerRunnable class from Promise code. r=peterv 2016-02-09 17:40:30 -05:00
Terrence Cole
2a4ae56ba4 Bug 1245261 - Use an atomic to safely access gcTriggerBytes; r=jonco 2016-02-03 15:49:14 -08:00
Gregory Szorc
a67a8adbf0 Bug 1245684 - Download bootstrap files via a zip archive; r=mshal
This will perform a single HTTP request that completes in <1s. Contrast
with before when we performed multiple HTTP requests and the process
took several seconds.

DONTBUILD (NPOTB)

MozReview-Commit-ID: DjX3LBdSOIk
2016-02-09 14:41:32 -08:00
Blake Kaplan
0e323c4e40 Bug 1245723 - Fix browser_frame_elements and re-enable now-passing tests. r=felipe 2016-02-09 14:40:36 -08:00
Blake Kaplan
c1a453289a Bug 1245723 - Make crashreporter browser-chrome tests e10s compatible. r=felipe 2016-02-09 14:40:35 -08:00
Blake Kaplan
7b2eefa8d7 Bug 1245723 - Make browser_bug680727 e10s compatible. r=felipe 2016-02-09 14:40:35 -08:00
Blake Kaplan
cd053ad3e6 Bug 1245723 - Make the satchel browser-chrome test e10s compatible. r=felipe 2016-02-09 14:40:35 -08:00
Mike Hommey
ed1c39fba6 Bug 1246874 - Unify GRE_BUILDID and MOZ_APP_BUILDID at the build system level. r=mshal 2016-02-10 07:39:30 +09:00
Mike Hommey
7c1c49eb4c Bug 1246779 - Stop disabling optimizations for test plugins on Windows. r=mshal
They were disabled in bug 657569 because of a miscompilation from MSVC,
but back then, we were using one of 2005, 2008 or 2010 (not entirely
sure which). Even if it was the latter, there has been two releases of
MSVC since, if stopping at the one we're currently using.
2016-02-10 07:39:28 +09:00
Mike Hommey
845a177598 Bug 1238769 - Add a -xpcshell option to Firefox. r=bsmedberg 2016-02-10 07:39:27 +09:00
Nicholas Nethercote
867c012a9d Bug 1205358 - Fix up nsUrlClassifierPrefixSet memory reporting. r=gcp.
This patch reverts the "measure-in-advance" approach added in part 1 of bug
1050108 -- because that doesn't interact well with DMD -- and adds locking to
avoid races between the url-classifier thread and the main thread.
2016-02-10 08:30:48 +11:00
Stefan Dye
5cc31db507 Bug 1204520 - Remove unused return value from FetchDriver::FailWithNetworkError. r=jdm 2016-01-31 21:56:00 -05:00