Commit Graph

1124 Commits

Author SHA1 Message Date
Patrick McManus
0d5c21da21 bug 887995 - allow nsiprotocolproxyservice::asyncresolve() to be called re-entrantly
bug 887995 - allow nsiprotocolproxyservice::asyncresolve() to be called re-entrantly r=jduell
2013-06-27 17:02:04 -04:00
Catalin Iacob
83b78343dc Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Ryan VanderMeulen
35586e1235 Merge m-c and inbound. 2013-06-24 14:02:59 -04:00
Benjamin Smedberg
26f4a9f225 Bug 883420 - Add an API to set a new expireTime for an existing permission, r=ehsan sr=mounir 2013-06-24 08:51:07 -04:00
David Keeler
a176617f97 bug 700693 - OCSP stapling PSM changes r=bsmith 2013-06-17 16:45:49 -07:00
Ryan VanderMeulen
55d8634607 Backed out changesets 448ba56d9ba4 and 8cea4b4646ef (bug 700693) for intermittent failures. 2013-06-20 19:50:13 -04:00
David Keeler
a7700e80cc bug 700693 - OCSP stapling PSM changes r=bsmith 2013-06-17 16:45:49 -07:00
Gavin Sharp
906f72de8e Bug 493051: avoid having addEngine select the engine by default, by adding an optional callback to let callers observe the successful addition of the engine, r=MattN
--HG--
extra : rebase_source : 1e67f4fbed4324e2d5b8d132cf07be60b3010cf9
2013-06-18 09:39:02 -04:00
Patrick McManus
a3feed4a33 bug 881643 unhandled sync OnInputStreamReady on AsyncWait stack r=hurley 2013-06-13 12:24:49 -04:00
Gavin Sharp
c3c636cac1 Back out 423d565f5637 (bug 493051) for xpcshell bustage 2013-06-17 16:54:06 -04:00
Ryan VanderMeulen
94cb0b7478 Backed out 4 changesets (bug 497003) for intermittent OSX crashes.
Backed out changeset 43223a927976 (bug 497003)
Backed out changeset 26c1d80edf1f (bug 497003)
Backed out changeset 841ed173ba2b (bug 497003)
Backed out changeset f70770fc6dce (bug 497003)
2013-06-17 15:44:07 -04:00
Gavin Sharp
1e98674899 Bug 493051: avoid having addEngine select the engine by default, by adding an optional callback to let callers observe the successful addition of the engine, r=MattN
--HG--
extra : transplant_source : M%40%CB%E5%8F%D9RMc%BA%23%20%C7%EC%9A%84H%DB%1B%81
2013-04-17 17:51:25 -07:00
Brian Smith
3657897948 Bug 832848: Removed unused site identity block tooltip logic from PSM, r=dolske
--HG--
extra : rebase_source : 1793e526272622d811e45d0f4b2f0460471f4501
2013-02-02 17:21:45 -08:00
Ryan VanderMeulen
917e565db3 Backed out 13 changesets (bug 880917) for Android and B2G test bustage on a CLOSED TREE.
Backed out changeset 71c1ce2cb0a4 (bug 880917)
Backed out changeset cd240e19560f (bug 880917)
Backed out changeset 93509a0001b5 (bug 880917)
Backed out changeset fdbba20e4647 (bug 880917)
Backed out changeset d82060172367 (bug 880917)
Backed out changeset 709f0b699489 (bug 880917)
Backed out changeset 421bdbccfa7c (bug 880917)
Backed out changeset 962c656c7452 (bug 880917)
Backed out changeset 888a5690ccdf (bug 880917)
Backed out changeset 57228f5fcd87 (bug 880917)
Backed out changeset ce8c3e14c234 (bug 880917)
Backed out changeset 08fe7b777450 (bug 880917)
Backed out changeset 5192a9233d83 (bug 880917)
2013-06-13 15:19:50 -04:00
Steve Workman
e9afc1f7c3 Bug 497003 - Support delivery of OnDataAvailable on the HTML5 parser thread r=hsivonen r=bholley r=bz 2013-06-13 10:42:48 -07:00
Steve Workman
e677ae56d1 Bug 497003 - Support delivery of OnDataAvailable off the main thread r=bz r=jduell 2013-06-13 10:42:48 -07:00
Bobby Holley
824c9ddd7a Bug 880917 - Convert JS_SetVersion API consumers to per-compartment versions. r=luke 2013-06-13 10:09:26 -07:00
Bobby Holley
670e4b4d9d Bug 880917 - Generalize JS_NewGlobalObject API to take CompartmentOptions. r=luke
This will be useful for versioning, as well as JIT options and all the other
stuff that eventually needs to move out of the JSContext.
2013-06-13 10:09:25 -07:00
Ryan VanderMeulen
3e4baf09b1 Bug 845190 - Revert previous attempt to fix and re-disable tests. 2013-06-11 08:12:06 -04:00
David Rajchenbach-Teller
4595e8879c Bug 845190 - Prevent nsStreamTransportService from re-initializing. r=biesi 2013-06-10 11:01:59 -04:00
Boris Zbarsky
9f09fecc19 Bug 877281 part 6. Replace ${jsvalPtr} with a MutableHandle ${jsvalHandle}. r=peterv
It's a little unfortunate that we need both ${jsvalHandle} and
${jsvalRef}, but the only other option is to consistently have a
MutableHandle in this code.  If the thing we have to work with is a
Rooted, that means doing JS::MutableHandle<JS::Value>(&myRooted) as
the thing to substitute for ${jsvalHandle}.  Just using "&myRooted"
doesn't work, because things like "&myRooted.set()" or
"&myRooted.address()" fail, even if parenthesized as
"(&myRooted).set()", because &myRooted is actually a Rooted*, not a
MutableHandle.

We could go the JS::MutableHandle<JS::Value>(&myRooted) route if
desired; it would primarily uglify dictionary and sequence to-js
conversions.  With the setup in this patch, ideally it looks pretty
idiomatic except for the use of .set() instead of operator= on Rooted.
2013-06-07 22:45:46 -04:00
Mook
7ef03f74db Bug 877961 - PrivateBrowsingChannel: Allow SetPrivate on a channel with a load group but no load context; r=ehsan, r=jduell 2013-06-06 19:46:06 -07:00
Benjamin Smedberg
e10a91cce0 Bug 874197 - Change nsIPermissionManager.TYPE_SESSION to also respect expiration times if they are specified. r=jdm sr=mounir 2013-06-06 15:59:32 -04:00
Benjamin Smedberg
ae7ec2eea5 Bug 874196 - Add an API to get the specifics of a permission given a host/type: this will allow the plugin click-to-activate UI to manage permissions by the matching host and determine whether the current permission is per-session or persistent. r=jdm sr=mounir 2013-06-06 15:59:31 -04:00
Jason Duell
5ec44ea857 Bug 879054: fix printf of status in HttpChannelParent. r=mcmanus 2013-06-04 16:32:31 -07:00
Eddy Bruel
e71f5d6a9e Bug 878000 - ProxyAutoConfig should set a stack quotum when creating a JS runtime 2013-05-31 20:20:30 -07:00
Patrick McManus
f8eb9535d0 bug 790388 part 3 - spdy/3 server push r=hurley
--HG--
extra : rebase_source : 1ed60ebda0b790f0ff1578abe7a7732676b495cf
2013-05-29 00:07:03 -04:00
Josh Matthews
37d5dd9b06 Bug 870916 - Make socket transport avoid off-main-thread usage of wrapped JS components. r=mcmanus 2013-05-28 09:48:23 -04:00
Mike Shal
6f32ddf61c Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Bobby Holley
1b2f22fe61 Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Ted Mielczarek
47d7af59de bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Ed Morley
2710e5d6a9 Backed out changeset 496846474ed3 (bug 864774) 2013-05-13 10:05:49 +01:00
Mike Shal
d2b29f4e87 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey
From 140b9201e3b5d2d8efe7af286d279c2411dbc197 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Ehsan Akhgari
7b9c127d8e Bug 871179 - Fix rooting hazards in netwerk's Dashboard.cpp; r=till
--HG--
extra : rebase_source : b20df14656861f5cef10d1200580f23598632163
2013-05-12 01:09:22 -04:00
Trevor Saunders
38290d61ce bug 869279 - fix mingw warnings in netwerk/ r=jduell 2013-05-06 21:52:35 -04:00
Phil Ringnalda
24db9e58aa Back out c74ce1905b96 (bug 832848) for not actually building
CLOSED TREE
2013-05-09 20:49:36 -07:00
Brian Smith
973bdc17e1 Bug 832848: Removed unused site identity block tooltip logic from PSM, r=dolske 2013-02-02 17:21:45 -08:00
Patrick McManus
d007605c5e bug 869100 complete token bucket a/b test r=honzab 2013-05-08 11:43:31 -04:00
Josh Matthews
f9936e98d2 Bug 865652 - Separate the logical concepts of a starting offset and the current offset for ArrayBufferInputStream. r=vlad 2013-05-07 12:46:09 -04:00
Sumedh Shekhar
e409da4cb3 Bug 804742 - EnsureStringLength doesn't work. f=Ms2ger, r=ehsan 2013-05-08 00:52:52 +09:00
David Zbarsky
3591ba36fa Bug 867459: Rooting fixes for netwerk r=terrence 2013-05-03 17:49:57 -04:00
Gregory Szorc
c6c1177427 Bug 863069 - Part 1: Sort lists in moz.build files; r=mshal 2013-05-03 09:54:45 -07:00
Aryeh Gregor
e78504c9a9 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Boris Zbarsky
1b68038a46 Bug 864727 part 3. Pass a handle for the parent object to WebIDL dictionary ToObject. r=ms2ger 2013-04-25 12:29:53 -04:00
Wes Kocher
8fd473289f Merge m-c to m-c 2013-04-22 19:00:15 -07:00
Wes Kocher
4d33464c67 Merge the last PGO-green inbound changeset to m-c. 2013-04-22 18:47:53 -07:00
Xin Zhang
5e389b35b8 Bug 857385 - Make various JSFunctionSpec arrays const. r=waldo
--HG--
extra : rebase_source : 24141998ffad3b0e6bad98b6fc0ce3754e448d5b
2013-04-22 14:15:49 -07:00
Josh Matthews
9ecfb0ef5d Bug 863769 - Make ArrayBufferInputStream use rooting APIs that don't rely on the JS context being valid. r=jonco,vlad 2013-04-22 19:46:40 +02:00
Hubert Figuière
dab06a6e80 Bug 840612 - Part 3: refactor the Reset method. r=mayhemer 2013-04-09 20:46:25 -04:00
Josh Matthews
e4a83e5819 Bug 831107 - Part 2: Add general ArrayBuffer support to TCPSocket. r=vlad,fzzzy 2013-04-19 11:25:33 +02:00
Mike Shal
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Valentin Gosu
af0c3cf8fe Bug 843865 - Fix >> in code. r=bz 2013-04-16 08:46:03 -04:00
Jeff Walden
6539207aee Bug 858677 - Fix up code not built by SpiderMonkey to use the newly-changed deletion signatures. r=bholley, r=billm 2013-04-05 21:22:55 -07:00
Patrick McManus
e11c98aeeb bug 819734 - Token Bucket for Network Requests [a/b test] r=honzab 2013-04-15 09:41:27 -04:00
Patrick McManus
f1390d3039 bug 819734 - Token Bucket for Network Bursts part 2/2 [windows timers] r=honzab 2013-04-15 09:40:53 -04:00
Patrick McManus
fd3d3d767f bug 819734 - Token Bucket for Network Bursts part 1/2 [base] r=honzab 2013-04-15 08:50:35 -04:00
Valentin Gosu
94d309ad7d Bug 843865 - Implement Networking Dashboard using webidl. r=bz 2013-04-14 21:32:06 -04:00
Brian Smith
b0048e524e Bug 733642: Allow the user to enable any version of TLS that libssl supports, maintaining our current defaults, r=dolske
--HG--
extra : rebase_source : 3484236a9d357b70a88387e0f27d3757db79bd4b
2013-04-11 11:02:51 -07:00
Patrick McManus
d238ca37e0 bug 817533 - failed system proxy lookups should not fallback to manual configs r=jduell
--HG--
extra : rebase_source : 9970a98e2f2db96731d85759e251f3b68198ae81
2013-04-10 15:48:17 -04:00
Mike de Boer
cf8607be57 Bug 738818 part 1: replace originalDefaultEngine with defaultEngine and make defaultEngine a settable. r=gavin 2013-04-09 17:04:22 -07:00
Phil Ringnalda
b636e4bf9b Back out ec6dd0cc8053:3c55e92d87a6 (bug 738818) for being on top of bustage, and b50153f9e011 (bug 819493) for bustage
CLOSED TREE
2013-04-09 21:14:56 -07:00
Randell Jesup
c3eda42c64 Bug 846137: Don't call PR_Close() off STS thread r=mcmanus,smaug 2013-04-09 21:45:46 -04:00
Mike de Boer
7de8174c31 Bug 738818 part 1: replace originalDefaultEngine with defaultEngine and make defaultEngine a settable. r=gavin 2013-04-09 17:04:22 -07:00
Kyle Huey
1797951e23 Back out Bug 846137 for burning this CLOSED TREE. 2013-04-09 16:26:43 -07:00
Randell Jesup
80c0be2694 Bug 846137: Don't call PR_Close() off STS thread r=mcmanus 2013-04-09 18:43:07 -04:00
Patrick McManus
8257a56ede bug 857906 progress indicator spinning on multipart motion jpeg r=duell sr=bz
--HG--
extra : rebase_source : 6b3beea6f6bb91e21c37e6dd01e5c6445317f994
2013-04-09 13:38:48 -04:00
Hubert Figuière
b67dc70525 Bug 840612 - Part 1: Don't close Marionette and debugger server socket when going offline. r=mdas,past,mcmanus f=jduell 2013-03-26 21:22:40 -04:00
Ralph Giles
cb13c4576b Bug 857022 - Remove MOZ_MEDIA build-time define. r=ted
We don't test with MOZ_MEDIA=0 so that configuration no longer
works. It's better to drop the switch altogether and enable
this code unconditionally. Per-codec and -feature configure
and runtime options remain available.
2013-04-04 14:09:00 -07:00
aceman
b20aad1de4 Bug 856238 - Remove unused includes of the obsolete nsISupportsArray and nsIEnumerator. r=Neil, r=bsmedberg 2013-04-08 14:35:31 -04:00
Ehsan Akhgari
e029597932 Bug 856455 - Make nsCOMArray::SetCapacity return void; r=bsmedberg
--HG--
extra : rebase_source : 38cdef904f9b7fc33bd3f41bd19b1778dfbd7990
2013-03-31 16:06:18 -04:00
Ms2ger
8b70b9fbc6 Bug 856973 - Outparamdel NS_New{In,Out}putStreamReadyEvent; r=ehsan 2013-04-04 09:05:18 +02:00
Ehsan Akhgari
aa3139644f Bug 579517 follow-up: Remove NSPR types that crept in 2013-04-02 20:59:27 -04:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Honza Bambas
c59818af3e Bug 729182 - Implement visual event tracer, part1 - instrumentation, r=mcmanus,bz,ehsan,bsmedberg,michal 2013-03-28 18:38:04 +01:00
Tanvi Vyas
7c27950fb0 Bug 836951 - Add mDocShell to nsSecureBrowserUIImpl. Traverse up to the root doc shell. r=bsmith,smaug 2013-03-27 22:12:03 -07:00
Ryan VanderMeulen
2d75b9f7d3 Merge m-c to inbound. 2013-03-27 07:27:36 -04:00
Gregory Szorc
a11b2607b9 Merge mozilla-central into services-central 2013-03-26 22:22:33 -07:00
Phil Ringnalda
e41e930920 Back out ee27d1d8b302 (bug 836951) for depending on a patch that's being backed out
CLOSED TREE
2013-03-26 20:18:30 -07:00
Hubert Figuière
242d120566 Backout 96f2990b1124 (bug 840612) due to orange on Mn. CLOSED TREE 2013-03-26 21:07:50 -04:00
Tanvi Vyas
2726132d96 Bug 836951 - Add mDocShell to nsSecureBrowserUIImpl. Traverse up to the root doc shell. r=bsmith,smaug 2013-03-26 16:37:46 -07:00
Richard Newman
898e7f5c89 Bug 841554 - Part 1: extend nsISearchEngine to include identifier. r=gavin 2013-03-25 10:53:40 -04:00
Jonathan Kew
37cdafb439 bug 419588 followup - add missing condition in the media fragment parsing loop. r=seth 2013-03-25 20:24:16 +00:00
Wes Johnston
6a18fa33b2 Bug 419588 - Add support for a resolution media fragment. r=seth 2013-03-22 16:12:40 -07:00
Hubert Figuière
63c449b880 Bug 840612 - Don't close Marionette and debugger server socket when going offline. r=mdas,past,mcmanus f=jduell 2013-02-28 15:39:38 -05:00
Benoit Girard
6ed333dbb5 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
bbe4c3065e Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Mike Shal
f290401a73 Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
Monica Chew
487ee4f0f1 Bug 853037 - Update nsIBackgroundFileSaver uuid. r=khuey 2013-03-20 15:42:51 -04:00
Boris Zbarsky
2f1579c0a4 Bug 848840. Sniff the first 1024 bytes, not the first 512, for charsets, since <meta> can be anywhere in the first 1024 bytes. r=annevk 2013-03-26 11:31:54 -04:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Bobby Holley
3a47868d1d Bug 850247 - Move nsRequestObserverProxy to nsMainThreadPtr{Holder,Handle}. r=mcmanus 2013-03-19 09:04:57 -07:00
Bobby Holley
b9b61977e0 Bug 850247 - Make nsRequestObserverProxy hold onto its context. r=mcmanus
Both the consumers just do this manually. The context here is sometimes an
XPCWrappedJS, so passing it around with nsCOMPtrs off-main-thread can't
happen anymore.

We add assertions in OnStartRequest/OnStopRequest to catch any consumers
that might try to change contexts midstream.
2013-03-19 09:04:57 -07:00
Bobby Holley
8c76da55f8 Bug 850247 - Make nsRequestObserverProxy proxy events to the main thread only. r=mcmanus
I'm doing this so that I can safely make this class use nsMainThreadPtr{Handle,Holder}.
There's no theoretical reason why we couldn't support other threads here, but it
would mean implementing that functionality in the PtrHolders, renaming them, and
weakening their assertions/invariants. AFAICT the consumers here don't actually have
a reason to proxy events anywhere but the main thread, so I'm just going to do this
rather than writing code to support something that we don't do (and thus can't test).
2013-03-19 09:04:57 -07:00
Gabriele Svelto
698d898566 Bug 850637 - Make nsIOService properly pick-up user-specified network.buffer.cache.* preferences. r=honzab 2013-03-14 16:05:54 +01:00
Bobby Holley
42561745af Bug 850246 - Remove Off-Main-Thread XPCWrappedJS refcounting from ServerSocketListenerProxy. r=mcmanus 2013-03-18 20:39:54 -07:00
Ed Morley
4a0f5f39ca Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
47bc17c5f5 Backed out changeset d195190adc48 (bug 851611)
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
90f13c7e56 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00