Commit Graph

323760 Commits

Author SHA1 Message Date
Nathan Froyd
f3457af4da Bug 912197 followup - fix B2G breakage from a bad rebase; irc-r=Ms2ger 2013-09-10 12:17:32 -04:00
Kannan Vijayan
05251b7203 Bug 913978 - Fix over-tight assertions after enabling Baseline getter/setter calls for GETELEM/SETELEM ops. r=efaust 2013-09-10 12:26:47 -04:00
Ehsan Akhgari
92d69bff64 Bug 914621 - #include OwningNonNull.h in BindingDeclarations.h; r=bzbarsky 2013-09-10 18:06:46 +02:00
Gregory Szorc
0dfbdd1ca3 Bug 914394 - Handle WindowsError on non-Windows; r=ted 2013-09-10 09:03:43 -07:00
Andrew McCreight
946af7a12e Bug 913881, part 6 - Measure weak map representations in the cycle collector graph. r=njn
Contrary to the comment here, I'm pretty sure this needs to be measured. mWeakMaps
is an array of little structs. Of course, in practice I doubt this amounts to anything.
2013-09-10 08:56:36 -07:00
Andrew McCreight
37a96c3566 Bug 913881, part 5 - Assert for freeing snow white during cycle collector scanning. r=smaug
If you call FreeSnowWhite when scanning is true, then objects that get released won't be added to the purple buffer, and you can get leaks.
2013-09-10 08:56:36 -07:00
Andrew McCreight
a52d562072 Bug 913881, part 4 - Change nsCycleCollector::ClearGraph to GCGraph::Clear. r=smaug
There's no reason I can see to have this in nsCC instead of GCGraph.
2013-09-10 08:56:36 -07:00
Andrew McCreight
ad32530a42 Bug 913881, part 3 - Fix argument name for GCGraphBuilder::AddNode. r=smaug 2013-09-10 08:56:35 -07:00
Andrew McCreight
1ccffa0309 Bug 913881, part 2 - Make a bunch of nsCycleCollector methods private. r=smaug 2013-09-10 08:56:35 -07:00
Andrew McCreight
cf8f801bff Bug 913881, part 1 - Remove unused method nsCycleCollector::Runtime. r=smaug 2013-09-10 08:56:35 -07:00
Andrew McCreight
35872c70ab Bug 913527, part 3 - Check for collection in progress in Collect. r=smaug
Moving this to the top level simplifies dealing with PrepareForCollection a bit.
2013-09-10 08:56:34 -07:00
Andrew McCreight
7dfdd8f01d Bug 913527, part 2 - Remove empty CC graph optimization. r=smaug
This looks like a dubious optimization to skip most of a CC when the graph
is empty, dating from the dawn of the CC, but I doubt it is ever triggered
nowadays.
2013-09-10 08:56:34 -07:00
Andrew McCreight
efebb04f5b Bug 913527, part 1 - Get rid of FinishCollection. r=smaug
This can just be inlined now, with the cleanup parts moved into CleanupAfterCollection.
2013-09-10 08:56:34 -07:00
Brian Hackett
3b422bd5f8 Bug 912152 - Improve mechanism for bailing out from Ion compilation of scripts with try-finally, r=jandem. 2013-09-10 08:42:52 -07:00
Brian Hackett
a232b28898 Bug 913558 - Improve GGC store buffer threadsafe assertions, r=terrence. 2013-09-10 08:41:14 -07:00
Andrew McCreight
a784928a4f Bug 914260 - Add review requirement to the error message in test_interfaces. r=bz 2013-09-10 08:29:45 -07:00
Andrew McCreight
1c638d5f5b Bug 911829 - Separate main thread and worker cycle collector telemetry. r=smaug 2013-09-10 08:29:45 -07:00
Andrew McCreight
ed2bc0d289 Bug 911333 - Remove customTrace from bindings codegen. r=bz 2013-09-10 08:29:44 -07:00
Andrew McCreight
797e84dcb3 Bug 909436 - Inline CycleCollectedJSRuntime::OnContext. r=bholley 2013-09-10 08:29:44 -07:00
Andrew McCreight
3047b2a24e Bug 912747 - Change nsCycleCollectionHoldDrop.h to mozilla/HoldDropJSObjects.h. r=khuey
--HG--
rename : xpcom/glue/nsCycleCollectionHoldDrop.h => xpcom/glue/HoldDropJSObjects.h
2013-09-10 08:29:43 -07:00
Christian Holler
ac644c0866 Bug 914174 - Fix nit in previous ASan patch. r=luke 2013-09-10 17:27:56 +02:00
Christian Holler
bed5b7147e Bug 914174 - Ensure JS standalone builds have the right ASan options. r=luke
--HG--
extra : rebase_source : d82eae20a4f1c18f5b12c5a4acd3e6733809221d
2013-09-10 17:00:07 +02:00
Benoit Girard
58be34a343 Bug 914348 - Name SamplerThread on linux. r=jld
--HG--
extra : rebase_source : 343dec3b5d4b8eaa4a294c54ae1f74b9e0775401
2013-09-10 11:20:09 -04:00
Stephen Pohl
b1e84e8aad Bug 817700 - Fix animSVGImage test. r=roc 2013-09-06 12:30:40 -04:00
Stephen Pohl
29b38447bc Bug 817700 - Fix test_toBlob canvas test. r=roc 2013-09-06 12:30:36 -04:00
Stephen Pohl
b3f397f710 Bug 817700 - Fix test_mozGetAsFile canvas test. r=roc 2013-09-06 12:30:30 -04:00
Stephen Pohl
6deaee5772 Bug 817700 - Make <canvas>.toBlob run asynchronously - canvas changes. r=roc 2013-09-06 12:30:21 -04:00
Stephen Pohl
41d7e2e0e3 Bug 817700 - Make <canvas>.toBlob run asynchronously. r=seth,roc 2013-09-06 12:30:17 -04:00
Bobby Holley
90c812b572 Bug 912322 - Stop making XBL methods available to the web. r=bz 2013-09-06 09:12:56 -07:00
Bobby Holley
99b9464952 Bug 912322 - Fix tests. r=bz
The crashtest changes are untested (aside from the fact that they don't crash).
2013-09-06 09:12:56 -07:00
Bobby Holley
6c403b5610 Bug 912322 - Update semantics of IsChromeOrXBL to return true for remote XUL. r=bz
This brings us into alignment with nsContentUtils::IsCallerXBL(). We also take
the opportunity to clean up some comments and invariants that changed with the
removal of the XBL bit.
2013-09-06 09:12:56 -07:00
Bobby Holley
b11a7d12d9 Bug 912322 - Sync pref from reftest-cmdline.js to bootstrap.js. r=jgriffin 2013-09-06 09:12:55 -07:00
Nicolas Silva
0b5271b13d Bug 912939 - Rename LayerTransaction.ipdlh into LayersMessages.ipdlh. r=kanru
--HG--
rename : gfx/layers/ipc/LayerTransaction.ipdlh => gfx/layers/ipc/LayersMessages.ipdlh
2013-09-06 17:41:00 +02:00
Ed Morley
49a648594f Merge mozilla-central and inbound 2013-09-06 16:23:50 +01:00
Ed Morley
870b708409 Merge latest green fx-team changeset and mozilla-central 2013-09-06 16:19:32 +01:00
Ed Morley
f607ac80fe Merge latest green b2g-inbound changeset and mozilla-central 2013-09-06 16:17:55 +01:00
Jim Blandy
c0a631fad9 Bug 892114: Add support for Unix domain sockets to nsIServerSocket.idl and @mozilla.org/network/server-socket;1. r=mayhemer 2013-09-06 08:06:23 -07:00
Jim Blandy
b8289518e2 Bug 892114: Whitespace and spelling fixes encountered while working on Unix domain socket support. r=mayhemer 2013-09-06 08:06:23 -07:00
Jim Blandy
58ad28120e Bug 899757: Make nsServerSocket::InitWithAddress provide more detailed error results. r=mayhemer, r=ted
I looked through the NSPR socket creation functions that InitWithAddress
uses to see which errors they could return, and placed appropriate comments
in ErrorAccordingToNSPR.

The test coverage is not great; in particular, I wasn't able to find a way
to elicit "address in use" errors from Windows (although I could from
Linux); the web says that Windows is much more relaxed about binding
listening sockets than Unix derivatives. I'm interested in suggestions.
2013-09-06 08:06:22 -07:00
Jim Blandy
4f05888198 Bug 899757: Distinguish PR_ADDRESS_NOT_SUPPORTED_ERROR from other network failures. r=mayhemer
I broke out this this change on its own, because it seemed to require some care:
PR_ADDRESS_NOT_SUPPORTED_ERROR used to be lumped in with several other NSPR
error codes and reported as NS_ERROR_CONNECTION_REFUSED; and a dumb grep shows
that the NS_ERROR_ is widely checked for. Introducing the distinction might
require the new NS_ERROR_SOCKET_ADDRESS_NOT_SUPPORTED value to be checked for
everywhere that currently checks for NS_ERROR_CONNECTION_REFUSED.

But that seems unlikely to be necessary: first of all, it shouldn't really
be possible, via the XPCOM interface, to force this error path to occur at
present: the components' implementations are in complete control over which
socket address types get used. I also did a Try push with a call to
NS_ABORT if a PR_ADDRESS_NOT_SUPPORTED_ERROR ever flows through
ErrorAccordingToNSPR; there were no crashes.

But if that's so, then why introduce the new error code at all? A later
patch adds support for Unix-domain sockets, a type of socket address which
is *not* supported on non-Unix systems. In that case, a distinct error code
will help people diagnose problems quickly.
2013-09-06 08:06:22 -07:00
Ryan VanderMeulen
6d18edee61 Bug 865516 - Fix ordering of includes in MIRGraph.cpp. r=themaid
CLOSED TREE
2013-09-06 10:35:06 -04:00
Hannes Verschore
9876afe3fd Bug 909717 - Backout due to orange + style nit orange fix on a CLOSED TREE. 2013-09-06 16:25:35 +02:00
Axel Hecht
823658751f bug 911745, sync browser/locales/all-locales with build configs, r=gavin 2013-09-06 15:57:28 +02:00
Neil Deakin
49d7ed03dd Bug 875616, disable titlebar paneltop test on Linux due to unreliable window positioning timing 2013-09-06 09:47:39 -04:00
Neil Deakin
3a6f3353b7 Bug 621399, modal dialog focus tests sometimes fail on Windows 8 so disable them there 2013-09-06 09:47:36 -04:00
Hannes Verschore
b256816698 Bug 913415: Tracelogging: Add support for logging multiple threads + initial support for ion background thread compiler, r=till 2013-09-06 15:30:09 +02:00
Corey Ford
cec6f3ffba Bug 886646 - Part 7: Reftests for sticky positioning. r=dbaron 2013-09-06 09:35:16 -04:00
Corey Ford
fecfb82b09 Bug 886646 - Part 6: Implement sticky positioning, calculated on reflow and scroll. r=dbaron, r=dholbert 2013-09-06 09:35:16 -04:00
Corey Ford
ad6dbc3e32 Bug 886646 - Part 5: Always build a stacking context for sticky positioned elements. r=dbaron 2013-09-06 09:35:16 -04:00
Ed Morley
cd1668ac40 Merge mozilla-central and fx-team 2013-09-06 12:33:41 +01:00