Commit Graph

119114 Commits

Author SHA1 Message Date
Ehsan Akhgari
a47a4076eb Remove the unneeded explicit keyword from SharedLibrary's private constructor, no bug 2013-01-16 23:26:46 -05:00
Irving Reid
9dc4426d8d Bug 831459: use RawScript in JMChunkInfo::Convert() to prevent UnrootedScript construction in signal handler r=billm 2013-01-16 23:10:46 -05:00
Jeff Walden
dd2fbe0549 Fix some used-but-not-defined warnings, and some format-string warnings about needing to cast T* to void* for the %p specifier. No bug, r=themaid 2013-01-16 19:47:34 -08:00
Chris Jones
af29d559b0 Bug 831307: Log breakpoint-level IPC errors always. r=dougt,jdm,jst a=blocking-b2g 2013-01-16 19:47:21 -08:00
Rik Cabanier
6365d8055c Bug 827053 - Add support for winding in fill + clip + isPointInPath + tests the feature. r=bas 2013-01-16 21:55:43 -05:00
Bobby Holley
7a0d54fa07 Bug 824864 - Fix Ms2ger nits. r=me 2013-01-16 18:50:27 -08:00
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
Tim Taubert
de34967777 Bug 805338 - Use http://127.0.0.1:1/ as a reliable error page for testing r=jaws 2013-01-16 13:34:03 +01:00
Panos Astithas
bd0c539a9a Merge m-c to fx-team 2013-01-16 10:13:29 +02:00
Gregory Szorc
9b103318b3 Merge mozilla-central into services-central 2013-01-15 23:11:26 -08:00
Gregory Szorc
2b54bcea5f Bug 829881 - Part 2: Re-enable pre-processing of about:telemetry; r=tchevalier 2013-01-15 17:53:09 -08: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
Olli Pettay
12fef974cf Bug 830948, null check mDocshell before using it, r=bz
--HG--
extra : rebase_source : ea20dabe0ec39b3b98fab07e72b0f1f51f9d32a8
2013-01-16 01:12:14 +02:00
Marco Bonardo
ec87dc35aa Backout 0d33af2a2a75 (bug 823109) cause it breaks some Windows builds 2013-01-16 00:33:13 +01:00
Ed Morley
bacd646052 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2013-01-15 22:57:50 +00:00
Gregory Szorc
3b2081ea83 Bug 828703 - Correct removal of idle-daily observer; r=rnewman 2013-01-15 14:53:34 -08:00
Gregory Szorc
3bf9c8b985 Bug 829881 - Remove references to replaced Telemetry notification bar; r=tchevalier 2013-01-15 12:38:01 -08:00
Joe Walker
6d25fa3fb3 Bug 774619 - Fix browser_dbg_bfcache.js test by making GCLI force GC; r=past 2013-01-15 19:38:52 +00:00
Gregory Szorc
58cf8c99d7 Merge mozilla-central into services-central 2013-01-15 08:36:17 -08:00
Jeff Muizelaar
20c97d42f8 Bug 786533. Add a comment about the purpose of XPCOM_MIN/MAX. r=ehsan
--HG--
extra : rebase_source : 97ed3b670dee51b929344e1222be0d61ce18b3af
2013-01-15 11:26:58 -05:00
Mihai Sucan
710a42bda9 Bug 787985 - Console API messages are not consistent; r=past 2013-01-15 16:02:25 +02:00
Olli Pettay
46d4422369 Bug 825544: backout Bug 825544, Bug 825544, Bug 765192 and Bug 808035 to bring back the old .location=val behavior, r=bz 2013-01-15 13:46:35 +02:00
Gregory Szorc
bdb8009bec Bug 830626 - Add HealthReportComponents.manifest to package manifest; r=trivial 2013-01-14 21:49:25 -08:00
Gregory Szorc
7229203ace Bug 828149 - Enable Firefox Health Report on Linux; r=mconnor
We suspect the previous patch fixes the shutdown crash on Linux that
caused us to disable FHR on Linux.
2013-01-14 19:09:13 -08:00
Gregory Szorc
0d810336d5 Bug 828149 - Cancel timer during application shutdown. r=rnewman 2013-01-14 18:01:53 -08:00
Mike Connor
858f64d3b3 bug 830090 - Access key for Choose What I Share button in info bar is broken, r=gps 2013-01-14 20:30:49 -05:00
Mike Connor
a592a1883e bug 830498 - fix hardcoded brand references in data choices prefpane, r=jaws 2013-01-14 19:56:04 -05:00
Mike Connor
7063330fc1 bug 830418 - hide health report menu items if health report is disabled, r=rnewman 2013-01-14 19:55:43 -05:00
Gregory Szorc
cc38019742 Bug 829953 - Interact with FHR properly from about:healthreport; r=rnewman 2013-01-14 15:08:40 -08:00
Ehsan Akhgari
519354e464 Merge the last PGO-green changeset of mozilla-central into mozilla-inbound 2013-01-14 17:27:01 -05:00
Chris AtLee
5c2520aaae Bug 830371: Put the kernel in the right place. r=nthomas DONTBUILD 2013-01-14 15:59:09 -05:00
Gian-Carlo Pascutto
ba149ec413 Backout ff82d1a3955e (Bug 830308). 2013-01-14 20:16:38 +01:00
Trevor Saunders
ddbe49139b bug 830396 - add back nsIDOMCSSValueList r=bz 2013-01-14 12:29:27 -05:00