Commit Graph

164294 Commits

Author SHA1 Message Date
Boris Zbarsky
376113e4f2 Bug 961208 part 1. When doing a DoNewResolve for Xrays, pass the Xray, not the underlying object, to DoNewResolve, in case people want to do permissions checks on the object. r=bholley 2014-01-21 22:08:49 -05:00
Boris Zbarsky
4a61f7bb0c Bug 961204. Remove the my_context bits from nsWindowSH::NewResolve and just use the passed-in cx for everything. r=bholley 2014-01-21 22:08:47 -05:00
Anthony Jones
d94c32de71 Bug 952379 - Add a clang-format-diff helper to mach; r=gps 2014-01-08 14:51:44 +13:00
Luke Wagner
90c4cc3118 Bug 961318 - Tweak off-main-thread parsing heuristic to avoid delaying execution when an atoms-zone GC is in progress (r=billm)
--HG--
extra : rebase_source : aa831d41e1b04062e208d5c36697da1f5e1c7d07
2014-01-20 18:00:18 -06:00
Wes Kocher
7f6b621b78 Backed out changeset 03bdec48d0ac (bug 450881) for Windows build bustage 2014-01-21 18:13:21 -08:00
Andrew McCreight
f4d046aa36 Bug 960775 - Retire JS_WARN_UNUSED_RESULT in favor of MOZ_WARN_UNUSED_RESULT. r=waldo 2014-01-21 17:56:16 -08:00
Andrew McCreight
e09600e29f Bug 961551, part 9 - Split scope of |wrapper|, plus other cleanup. r=bholley 2014-01-21 17:56:16 -08:00
Andrew McCreight
f9e241decc Bug 961551, part 8 - Use the code at the end of XPCWJS::GetNewOrUsed to build a new root wrapper. r=bholley
The code at the end of nsXPCWrappedJS::GetNewOrUsed will now correctly
construct a root wrapper when |root == nullptr|, so we can consolidate
the two places that construct |wrapper|.
2014-01-21 17:56:16 -08:00
Andrew McCreight
3ca1e1b491 Bug 961551, part 7 - Smart pointerize rootClasp. r=bholley
Also, move the declaration of |clasp| down to where it is used.
2014-01-21 17:56:16 -08:00
Andrew McCreight
56a8074ebd Bug 961551, part 6 - Smart pointerize wrapper. r=bholley 2014-01-21 17:56:15 -08:00
Andrew McCreight
e21cccb62b Bug 961551, part 5 - Smart pointerize root. r=bholley 2014-01-21 17:56:15 -08:00
Andrew McCreight
dce295db38 Bug 961551, part 4 - Remove release_root from XPCWJS::GetNewOrUsed. r=bholley
GetNewOrUsed now always releases |root| when |root| is non-null, so
release_root can be eliminated.
2014-01-21 17:56:15 -08:00
Andrew McCreight
e217280391 Bug 961551, part 3 - Hold a strong ref to the root that is the result of Find in XPCWJS::GNOU. r=bholley
This is trickier than it looks, because this change causes additional
refcount traffic on |root| in the case where FindOrFindInherited
succeeds. This is potentially bad because if a WJS has a refcount of 1,
and no weak references to it, then if it goes to a refcount of 2 then
back to 1 it will be deleted.  A WJS can get in this state if it
is a root with a refcount of 2, and has a weak reference, then
its refcount drops to 1, then later the weak reference goes away.

However, in this case, there can be no other WJS in the chain,
or the refcount would be greater than 1, so FindOrFindInherited
must end up returning |root|, so |wrapper == root|, and the
assignment to |wrapper| will make root go to a refcount of 3,
so the release of |root| on exit will only cause the refcount to
go to 2, so |root| won't be deleted.
2014-01-21 17:56:15 -08:00
Andrew McCreight
8bb0cff1fc Bug 961551, part 2 - Move addref out of XPCWrappedJS ctor. r=bholley
This paves the way for smart pointerization.
2014-01-21 17:56:15 -08:00
Andrew McCreight
7219645381 Bug 961551, part 1 - Add root wrappers to the map in XPCWrappedJS ctor. r=bholley 2014-01-21 17:56:15 -08:00
Wes Kocher
9c10beed0d Merge m-c to inbound 2014-01-21 17:35:50 -08:00
Wes Kocher
8d96f0f12d Merge m-c to inbound 2014-01-21 17:34:46 -08:00
Wes Kocher
2546e3f69f Merge fx-team to m-c 2014-01-21 17:27:53 -08:00
Wes Kocher
efa650651c Merge b2g-inbound to m-c 2014-01-21 17:23:48 -08:00
Joshua Cranmer
add787d329 Bug 450881: Add helpers for XPIDL arrays to nsCOMArray, r=froydnj
--HG--
extra : rebase_source : d87f6cbdd2bab54f5923821409c9197f98b372f4
2014-01-21 18:01:36 -06:00
Wan-Teh Chang
2b88c0dda8 Bug 942207: Update NSPR to NSPR_4_10_3_BETA2. Includes changes for
bug 932398, bug 952621, bug 957458, and bug 749849.
2014-01-21 17:16:46 -08:00
Blake Winton
902bc0969a Bug 962220 - [Australis] Only adjust the padding once we're in customize mode. r=mconley 2014-01-21 16:00:40 -05:00
Edwin Flores
719bbc1538 Bug 953394 - Remove debug code r=doublec 2014-01-22 09:59:54 +13:00
Edwin Flores
2d1a78e80e Bug 932820 - Workaround for ABI changes in OMX interface on HTC devices r=doublec
On some devices, HTC has extended android::OMXCodec with their own HTCOMXCodec
which contains some extension that change the ABI.

This patch merely adds padding to MediaSource::ReadOptions, as HTCOMXCodec::read
modifies an HTC-specific field in ReadOptions which doesn't exist in AOSP.
2014-01-22 09:59:54 +13:00
Jed Davis
e233c87fdd Bug 960365 - Whitelist uname for nsSystemInfo. r=kang 2014-01-21 15:48:00 -05:00
Arnaud Bienner
ceaafd25c9 Bug 929496 - Make GTK color-picker dialog non-modal again. r=dholbert
This reverts changes made in bug 917917, which are not needed anymore now we allow only one color picker to be opened at a time for an input element (since bug 946479).
2014-01-20 22:09:51 +01:00
Daniel Holbert
ac7ee96123 Bug 962267: Move nsFlexContainerFrame.h's forward-decls into the class's scope. r=mats 2014-01-21 17:05:07 -08:00
Wes Kocher
683a2b06e2 Backed out 2 changesets (bug 948583) on a CLOSED TREE
Backed out changeset 3807c2bc06a2 (bug 948583)
Backed out changeset 64d44d0d790c
2014-01-21 16:53:05 -08:00
Wes Kocher
6706276dce Backed out 1 changesets (bug 948583) for potential PGO bustage on a CLOSED TREE
Backed out changeset 49700610a9b7 (bug 948583)
2014-01-21 16:52:55 -08:00
Wes Kocher
3fdc89e897 Backed out changeset 31ef6f1090fd (bug 916350) for android reftest bustage on a CLOSED TREE 2014-01-21 15:37:02 -08:00
Jeff Walden
40c3f74739 Followup fix to bug 948583, r=typo. :-(
--HG--
extra : rebase_source : f5279bb1df08ab03496e5b87765ca850b573a287
2014-01-21 18:19:46 -05:00
Ehsan Akhgari
aee1d06f82 Bug 962285 - Make DeviceLightEvent.value unrestricted double; r=smaug 2014-01-21 18:19:14 -05:00
Wes Kocher
76a04cfa54 Backed out 3 changesets (bug 947337) for build test errors
Backed out changeset 6ade48b8b9d7 (bug 947337)
Backed out changeset f3095f92e1c3 (bug 947337)
Backed out changeset 5becc07d9dac (bug 947337)
2014-01-21 15:04:22 -08:00
Nathan Froyd
54ee4b8229 Bug 961222 - fix documentation and indentation in Compiler.h; r=Waldo 2014-01-17 16:25:30 -05:00
Peiyong Lin
771ff6dc82 Bug 950246 - Correct nsDOMWindowUtils::StopFrameTimeRecording() alloc to sizeof(float). r=jdm 2014-01-21 15:51:18 -05:00
Birunthan Mohanathas
1723bf0b79 Bug 943527 - Apply the 1MB pref length limit in the pref backend as well. r=bsmedberg 2014-01-21 15:51:05 -05:00
Ehsan Akhgari
d86cae744f Bug 924972 - Enforce the focus before running every subtest of test_reftests_with_caret.html 2014-01-21 15:45:18 -05:00
Ryan VanderMeulen
3d6e25c171 Merge m-c to inbound. 2014-01-21 15:20:25 -05:00
Ryan VanderMeulen
eecb205346 Merge fx-team to m-c. 2014-01-21 15:18:30 -05:00
Ryan VanderMeulen
e9b012222c Merge b-i to m-c. 2014-01-21 15:16:05 -05:00
Ryan VanderMeulen
ad33ff9d95 Backed out changeset 60698fb6579b (bug 959171) for B2G mochitest-3 crashes. 2014-01-21 15:07:48 -05:00
Luke Wagner
1fd07c86e1 Bug 961969 - Include nfixed in StackShape's key (r=billm) 2014-01-21 14:03:31 -06:00
Ryan VanderMeulen
8f59cb59b9 Backed out 3 changesets (bug 941132, bug 941136, bug 961792) for breaking the Marionette harness. CLOSED TREE
Backed out changeset 301044380886 (bug 961792)
Backed out changeset 236a56500ef3 (bug 941132)
Backed out changeset 02130207774e (bug 941136)
2014-01-21 14:47:41 -05:00
Ryan VanderMeulen
c912363375 Backed out changesets d5e526257ace, 3b168ee25f38, and 4272e7b529de (bug 916135) for B2G mochitest-2 failures. 2014-01-21 14:44:21 -05:00
Ehsan Akhgari
e041880100 Backed out changeset 0e34a26a4353 (bug 924972) because of more test failures 2014-01-21 14:33:57 -05:00
B2G Bumper Bot
d62e456c83 Bumping manifests a=b2g-bump 2014-01-21 11:06:11 -08:00
B2G Bumper Bot
572868941d Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/a43f6c119d80
Author: Michael Henretty <michael.henretty@gmail.com>
Desc: Merge pull request #15565 from mikehenrty/disable_notification_get_tbpl

Bug 960126 - disable intermittent test

========

https://hg.mozilla.org/integration/gaia-central/rev/74f0915f1f17
Author: Michael Henretty <michael.henretty@gmail.com>
Desc: Bug 960126 - disable intermittent test
2014-01-21 11:05:11 -08:00
Shu-yu Guo
7ea5c3c8a6 Bug 958980 - Stop Debugger from exposing partially initialized JSScripts. (r=jorendorff) 2014-01-21 10:59:05 -08:00
Sotaro Ikeda
3393c67ef8 Bug 961405 - Change GraphicBufferLocked as to use AtomicRefCountedWithFinalize. r=nical, r=pchang, r=doublec, r=mikeh 2014-01-21 13:53:48 -05:00
Donovan Preston
33bb76a5a8 Bug 958108 - Remove delayload from some DLLs on windows because it was causing webapps to hang at startup. r=glandium 2014-01-21 13:53:48 -05:00