Bobby Holley
fe9b482b3b
Bug 824864 - Pass EvaluateString out-param as a pointer, not a reference. r=bz
2013-01-16 18:50:27 -08:00
Bobby Holley
80fbe9010d
Bug 824864 - Move responsibility for checking for JSVERSION_UNKNOWN to the one caller of EvaluateString that might pass it. r=bz
2013-01-16 18:50:26 -08:00
Bobby Holley
b5e0ee1f7c
Bug 824864 - Use an nsCxPusher in EvaluateString, and pull the principal off the target object. r=bz
...
This simplifies a lot of code, and makes the function scope-agnostic.
2013-01-16 18:50:26 -08:00
Bobby Holley
89a6e0fc9e
Bug 824864 - Rename EvaluateStringWithValue to EvaluateString. r=bz
...
Now that there's only one of them, we can get rid of the silly suffix. \o/
2013-01-16 18:50:26 -08:00
Bobby Holley
5dfabb90ca
Bug 824864 - Remove unused optional arguments from nsIScriptContext::ExecuteScript. r=bz
...
This lets us get rid of a bunch of junk.
2013-01-16 18:50:26 -08:00
Bobby Holley
9f95924a28
Bug 824864 - Remove nsIScriptContext::EvaluateString. r=bz
2013-01-16 18:50:26 -08:00
Bobby Holley
ef4055939e
Bug 824864 - Move existing consumers of EvaluateString over to EvaluateStringWithValue. r=bz
2013-01-16 18:50:26 -08:00
Bobby Holley
1724ed7409
Bug 824864 - Improve the API for EvaluateStringWithValue. r=bz
...
There are a few changes we make here:
1 - Having callers pass JS::CompileOptions directly.
2 - Removing aUndefined, which makes no sense and is unused by consumers.
3 - Making aScopeObject and aRetValue non-optional, via references.
3 - Adding an argument to optionally coerce the return value to a string.
Coercing jsvals to strings is the reason we currently have two nearly-identical
functions, EvaluateString and EvaluateStringWithValue, since the coercion can
trigger arbitrary script and thus needs to be bracketed by all the junk that
nsJSContext does. However, if callers can be guaranteed that the return value
will be a bonafide string, then they can easily extract the string themselves
if they so desire. This will allow us to combine the two functions.
2013-01-16 18:50:26 -08:00
Bobby Holley
8d5b0ca82e
Bug 824864 - Move consumers of CompileFunction to the nsJSUtils version, and kill the nsJSContext version. r=bz
...
Note that the three consumers were all XBL, and were all passing aShared = true,
which had the effect of passing null for the target object. So we actually want
to pass JS::NullPtr() (the HandleObject version of nullptr) instead of
aClassObject in order to maintain the old behavior (whatever that is).
2013-01-16 18:50:25 -08:00
Bobby Holley
d8ecec9ede
Bug 824864 - Hoist the guts of CompileFunction into nsJSUtils. r=bz
2013-01-16 18:50:25 -08:00
Bobby Holley
2780e92307
Bug 824864 - Implement nsContentUtils::GetObjectPrincipal. r=bz
...
The SSM interface is super awkward.
2013-01-16 18:50:25 -08:00
Bobby Holley
057de60a8d
Bug 825395 - Add debug checking for interleaved nsCxPusher and JSAutoEnterCompartment. r=bz,luke
2013-01-16 18:50:25 -08:00
Christian Holler
e17d414972
Bug 829598 - Make js/src/jit-test/tests/gc/bug-820186.js a slow test. r=jandem, DONTBUILD
2013-01-16 16:14:08 +01:00
Jonathan Griffin
15f0cc1850
Bug 828558 - Don't attach to jsconsole window, r=mdas
2013-01-15 17:41:36 -08:00
Rafael Ávila de Espíndola
aaabaa443a
Bug 831133 - Record only the basename. r=vladan.
2013-01-16 21:02:32 -05:00
Rafael Ávila de Espíndola
3120837557
Bug 831100 - use std::string. r=vladan.
2013-01-16 20:38:22 -05:00
David Zbarsky
b524843372
Bug 821955 r=longsonr
...
--HG--
rename : content/svg/content/src/DOMSVGPoint.cpp => content/svg/content/nsISVGPoint.cpp
rename : content/svg/content/src/DOMSVGPoint.cpp => content/svg/content/src/nsISVGPoint.cpp
2013-01-16 20:35:24 -05:00
Jon Coppeard
a1c1778179
Bug 831205 - Fix GCC warning "comma at end of enumerator list". r=billm DONTBUILD
2013-01-16 17:24:28 -08:00
Jeff Walden
f9df2fd3e0
Bug 719659 - Add -std=gnu99 to CFLAGS so that gcc and friends permit use of C99 constructs without warnings. This doesn't mean that everything in C99 is permitted now -- only the stuff supported by all the compilers we care about, including MSVC. r=espindola
...
--HG--
extra : rebase_source : 5fdfd130f529e1dfbc9ec48ecc9e83186c844c39
2013-01-16 17:01:52 -08:00
Jeff Walden
850da9c953
Add a JSObject::addDataProperty overload that takes Handle<PropertyName*>, to preserve the name/element distinction further when possible, anticipating future property-splitting work. No bug, r=sparky
...
--HG--
extra : rebase_source : 2fe4e9819bf8ab23b163889411b5d1fa74d59597
2012-12-27 11:20:22 -06:00
Jeff Walden
ee65e29d55
Bug 830871 - Remove JS_FRIEND_API from js_GetClassPrototype as it isn't (and shouldn't be) used outside SpiderMonkey. r=jorendorff
...
--HG--
extra : rebase_source : aefa8e56c479bec12b9237e1479c34bbf2c88d19
2013-01-11 11:59:50 -08:00
David Zbarsky
f2cbe1aa26
Bug 830181: SVGSymbolElement should QI to SVGTests r=me
2013-01-16 20:02:59 -05:00
Fabrice Desré
d348b12398
Bug 830294 - Can't launch an app after canceling its update r=ferjm
2013-01-16 16:55:50 -08:00
Daniel Holbert
31564da828
Followup to Bug 821292: Remove unneeded semicolon after NS_INLINE_DECL_THREADSAFE_REFCOUNTING(), to fix build warning.
2013-01-16 16:54:15 -08:00
Jeff Hammel
2c009f005e
Bug 831081 - kill VirtualenvManager._check_output() now that we require python 2.7;r=gps
2013-01-16 16:52:21 -08:00
Chris Peterson
31363cc56f
Bug 831188 - Don't list inactive plugins (blocklisted or disabled) on about:plugins. r=bsmedberg
...
--HG--
extra : rebase_source : c4e71815533220fd7d356b13c6d5e8bc647d059a
2013-01-16 11:06:35 -08:00
Masatoshi Kimura
0ee4541218
Bug 827824 - Use uint8_t for mTxInlineFrame. r=mcmanus
2013-01-17 08:25:03 +09:00
Trevor Saunders
9f0ad48b28
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
Marco Bonardo
8a7a32c2a8
Bug 825786 - crash in nsAutoCompleteController::HandleDelete.
...
r=Enn
2013-01-17 00:12:43 +01:00
Ed Morley
4f18982ee0
Backout 780c48afccc1 (bug 831354) for Android reftest failures on a CLOSED TREE
2013-01-16 23:08:07 +00:00
David Rajchenbach-Teller
dd4235ccf1
Bug 828228 - Measure nsSearchService init with Telemetry. r=gavin
2013-01-16 18:03:05 -05:00
Jonathan Watt
3cb64f9dbd
Bug 462197 - Part 2: The "Remove All Reports" button in about:crashes should remove old InstallTime files. r=ted
2013-01-16 18:03:05 -05:00
Jonathan Watt
12278db0f3
Bug 462197 - Part 1: Use the variable name submittedDir instead of the misleading name reportsDir. r=ted
2013-01-16 18:03:04 -05:00
Matt Woodrow
23cabe0437
Bug 820839 - Draw OSX titlebar content into a retained buffer during the ThebesLayer painting phase, before we clear invalidation state. r=roc
2013-01-17 11:59:23 +13:00
Josh Matthews
d9e184597f
Bug 824472 - Traverse containing frames when looking for scrollable content for browser elements. r=schien
2013-01-14 18:03:32 +01:00
Trevor Saunders
122785b394
bug 828141 - windows shouldn't hold onto events r=surkov
2013-01-08 19:41:58 -05:00
Andrew McCreight
b934f7fc9a
Bug 829430 - Use the right check for if we're GCing. r=billm
2013-01-15 09:10:36 -08:00
Andrew McCreight
4333b34cb1
Bug 829798 - Add dummy PreserveWrapper to JS shell. r=billm
2013-01-15 10:14:12 -08:00
Ehsan Akhgari
0ac1915364
Merge mozilla-central into mozilla-inbound
2013-01-16 17:32:13 -05:00
Jonathan Griffin
c944d69b73
Bug 827531 - Add a pip requirements.txt file for running B2G unit tests, r=aki
2013-01-16 14:14:10 -08:00
Ed Morley
c5953fcf4b
Bug 828946 - leakstats should output TBPL-parsable error messages; r=ted
2013-01-16 21:53:45 +00:00
Gary Kwong
474909f086
Bug 831472 - Add another null check to nsGlobalWindow::GetInnerScreenRect(). r=smaug
2013-01-16 13:44:26 -08:00
Brian Hackett
636944388c
Bug 830042 - Tolerate objects/strings with a null payload when marking VM stack, r=billm.
2013-01-16 14:48:10 -07:00
Gregory Szorc
a0f156adfa
Merge mozilla-central into build-system
2013-01-16 12:38:18 -08:00
Gregory Szorc
5607e0ec9e
Merge mozilla-central into build-system
2013-01-16 12:37:21 -08:00
Gary Kwong
d944d33667
Add another suppression for bug 812423. DONTBUILD
2013-01-16 12:35:49 -08:00
Ed Morley
097d409ce0
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2013-01-16 20:22:54 +00:00
Ed Morley
f91b0cbc29
Backout b3a8618f901c (bug 829042), 34a9ef8f929d (bug 822933), 4c1215cefbab (bug 826349), 70bb7f775178 (bug 825325), e9c8447fb197 (bug 828713), eb6ebf01eafe (bug 828901), f1f3ef647920 (bug 825329), f9d7b5722d4f (bug 825329), 5add564d4546 (bug 819377), 55e93d1fa972 (bug 804875), f14639a3461e (bug 804875), 23456fc21052 (bug 814308) for Windows pgo-only mochitest-1 media test timeouts on a CLOSED TREE
2013-01-16 15:16:23 +00:00
David Burns
d63819e9a5
Bug 814768: Force marionette to move to window.top if we try access something the compartment is dead and handle OOP being pulled from under us; r=jgriffin
2013-01-16 15:00:00 +00:00
Ehsan Akhgari
6f5e201c89
Test case for bug 828780; r=jdm
2013-01-16 09:35:41 -05:00