Commit Graph

25036 Commits

Author SHA1 Message Date
Jeff Walden
45c6642e41 Bug 847480 - Convert DeprecatedAbs overloads taking floating point (except for nscoord uses, when nscoord is optionally a floating point type) to Abs. r=Ms2ger 2013-03-05 15:43:44 -08:00
Jeff Walden
000d820503 Bug 847480 - Blindly convert all existing mozilla::Abs users to mozilla::DeprecatedAbs. Individualized conversions to the reformed mozilla::Abs will continue until mozilla::DeprecatedAbs is unused, at which point it will be removed. r=Ms2ger 2013-03-05 15:43:30 -08:00
Jeff Walden
23bfd4b872 Bug 848747 - Detect a likely-overflowing case early and bail on it. r=nbp 2013-03-07 11:51:33 -08:00
Bobby Holley
5441778924 Bug 813901 - Tests. r=mrbkap 2013-03-13 10:01:36 -07:00
Bobby Holley
d191e3b8cd Bug 850000 - Don't clobber exceptions set in security wrapper check() hooks. r=mrbkap 2013-03-13 10:01:36 -07:00
Bill McCloskey
15ccdb3cef Bug 846890 - Avoid check for native anonymous content when possible (r=bholley) 2013-03-08 18:49:36 -08:00
Gregory Szorc
56a7634c1c Merge mozilla-central into build-system 2013-03-13 08:20:09 -07:00
Phil Ringnalda
b49203a7ab Back out 7d1510d544d9 (bug 836968) on suspicion of causing bug 850547
CLOSED TREE
2013-03-12 23:38:11 -07:00
Hannes Verschore
8b3e19747f Bug 850536: Only get the chars of a string once in FlattenSubstrings, r=sstangl 2013-03-13 06:08:35 +01:00
Gregory Szorc
3d694a85c0 Merge mozilla-central into build-system
dom/interfaces/svg/Makefile.in and dom/media/Makefile.in had merge
conflicts. They were resolved by hand. The former needed 2 IDLs removed.
The latter had a context conflict for EXPORTS_NAMESPACES.
2013-03-12 13:04:55 -07:00
Mike Shal
ec5b39bd8b Bug 818246 - Part 9: Move XPIDL_FLAGS to moz.build; r=gps 2013-03-11 22:05:00 -07:00
Mike Shal
2eb7c496cb Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc
629b5d86c6 Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Gregory Szorc
f33b615884 Bug 818246 - Part 3: Build system support for XPIDLSRCS in moz.build; r=glandium 2013-03-12 10:15:24 -07:00
Benjamin Peterson
47c4676421 Bug 779233 - Count script filenames as part of script source memory. r=njn
--HG--
extra : rebase_source : f8c6e2d0867f172a68bac2242dd401db89c92236
2013-03-12 21:56:57 -05:00
Benjamin Peterson
c8a6cc8cca Bug 779233 - Put a script's filename on the ScriptSource. r=billm
--HG--
extra : rebase_source : 4d76299491876e59a1c851ecb82544cb93b4e382
2013-03-12 21:56:55 -05:00
Christian Holler
9e9b087e6f Bug 728188 - Add missing test for bug 728188. r=needed-tests
--HG--
extra : rebase_source : d9614d10872a2ae7808565bf941258e3b2e98b89
2013-03-13 01:13:15 +01:00
Christian Holler
d8d7b88d5f Bug 756851 - Add missing test for bug 756851. r=needed-tests
--HG--
extra : rebase_source : 7a96c277c757c0bffa2d78e05ac6d16a90b5b880
2013-03-13 01:13:15 +01:00
Christian Holler
464a98a031 Bug 763440 - Add missing testcase for bug 763440. r=needed-tests
--HG--
extra : rebase_source : cee87606c1aaa9cbc70f854a9a49711222064e4e
2013-03-13 01:13:15 +01:00
Christian Holler
8da3482e06 Bug 792239 - Add missing test for bug 792239. r=needed-tests
--HG--
extra : rebase_source : 9a42769c75472d5f2e5d5ab830fc7c7dcdc99ded
2013-03-13 01:13:15 +01:00
Christian Holler
707a8f0e3a Bug 794025 - Add missing test for bug 794025. r=needed-tests
--HG--
extra : rebase_source : 2e91ba614c130e1aa432824bfe1c7d29b18a209d
2013-03-13 01:13:15 +01:00
Terrence Cole
1ae24eae60 Bug 843907 - Move to manual barriering for MapObject and SetObject's key; r=billm
Automatically adding keys from the OrderedHashTable to the store buffer does not
work because the table uses a non-null value to indicate "empty". Since
RelocatableValue expects NULL to be used for this purpose, minor GCs attempt to
mark the tombstone as if it were a value. This obviously fails.

RelocatableValue is also extremely slow and moving to manual barriering will
make MapObject and SetObject faster with generational GC.

--HG--
rename : content/svg/content/src/SVGFETileElement.cpp => content/svg/content/src/nsSVGFilters.cpp
extra : rebase_source : ae675d0a16c61fccb7a88468cd32ae2d1899e2e3
2013-02-21 17:31:52 -08:00
Bobby Holley
72c6ad5e13 Bug 825697 - Check for all wrapper types. r=mrbkap 2013-03-11 10:13:25 -07:00
Jan de Mooij
16efba1f97 Bug 830943 part 2 - Add asserts, testcase. r=dvander 2013-03-11 17:53:23 +01:00
Neil Deakin
effc6c1616 Bug 407983, add clipboard events constructor, r=smaug 2013-03-11 11:49:56 -04:00
Ryan VanderMeulen
12532d960e Merge m-c to inbound. 2013-03-11 10:08:44 -04:00
Phil Ringnalda
7b2757d780 Back out 7f12ca5e6d0a (bug 750303) on suspicion of breaking l10n builds 2013-03-10 20:03:28 -07:00
Ms2ger
a75666050c Bug 847195 - Make NamedNodeMap only deal with Attrs; r=khuey
--HG--
rename : dom/interfaces/core/nsIDOMNamedNodeMap.idl => dom/interfaces/core/nsIDOMMozNamedAttrMap.idl
2013-03-10 09:00:33 +01:00
Ms2ger
d805e77871 Bug 825285 - Part b: Move ArchiveReader to Paris bindings, remove XPCOM goop; r=khuey 2013-03-10 08:57:14 +01:00
Julian Seward
19b79317be Bug 779291: Implement SPS stackwalk using the breakpad unwinder. r=bgirard,glandium 2013-03-10 23:00:23 +01:00
Terrence Cole
035d900bae Bug 847698 - Move most slot allocation closer to object creation; r=bhackett
--HG--
extra : rebase_source : 307f719ea2827f3216d021779638d5708f14ca4e
2013-03-03 12:43:40 -08:00
Jacek Caban
ac078a4580 Bug 849174 - inline function declared as dllimport warning js jsfriendapi.h r=bholley 2013-03-09 17:26:07 +01:00
Phil Ringnalda
70e53ca277 Back out c9f5d3ebba39 (bug 835552) for Windows build bustage
CLOSED TREE
2013-03-09 08:15:42 -08:00
Kannan Vijayan
c916e7babb Bug 849302 - Allow rooting of IonCode objects. r=terrence 2013-03-09 11:02:51 -05:00
Terrence Cole
5f8247e2f3 Bug 850074 - Move SpiderMonkey stack rooting infrastructure to RootingAPI.h; r=billm
--HG--
rename : js/src/gc/Root.h => js/public/RootingAPI.h
extra : rebase_source : 52027c9c887f686a86097e5465179fa69fac9d6c
2013-03-12 14:05:57 -07:00
Norbert Lindenberg
a1f03135fa Bug 837957 - Implement ICU dependent functions of Intl.Collator, Intl.NumberFormat, Intl.DateTimeFormat (ICU stubs). r=jwalden
--HG--
extra : rebase_source : 85f45e08558ee989397d5c02af6bc141b6741db4
2013-03-12 13:54:30 -07:00
Norbert Lindenberg
92d9abef5e Bug 724533 - Enable use of ICU headers. r=glandium
--HG--
extra : rebase_source : fc21b6ca249d7184918e59f84983d29f405ededa
2013-03-12 13:37:44 -07:00
Steve Fink
d7f9f8739e Bug 835552 - Make load() be script-relative and read()/snarf() be cwd-relative. r=njn 2013-01-28 13:22:02 -08:00
David Anderson
8a95e0e254 Use the right JSOP_CALLEE when inlining (bug 842300, r=nbp). 2013-03-07 08:52:00 -05:00
Olli Pettay
8f72caeb73 Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00
Bill McCloskey
7c63e47dd5 Back out bug 846890 for reftest orange 2013-03-08 21:27:25 -08:00
Terrence Cole
7282789731 Bug 849456 - Fix a potential NULL deref on OOM. r=mrosenberg 2013-03-08 17:44:09 -08:00
Bill McCloskey
df7b843a49 Bug 846890 - Avoid check for native anonymous content when possible (r=bholley) 2013-03-08 18:49:36 -08:00
Zack Weinberg
db6d545915 Bug 847181: prune unused printing-related nsresult codes, make printing error codes available in Components.results, and improve English of printing error messages. r=smaug 2013-03-08 21:45:14 -05:00
Bill McCloskey
b110045998 Bug 843919 - Disable full compartment checks by default (r=jonco) 2013-03-08 11:38:49 -08:00
Bill McCloskey
9abcc95b60 Bug 848602 - Add some volatile annotations (r=terrence) 2013-03-07 18:01:25 -08:00
Bill McCloskey
3c9ecb70b4 Bug 848587 - Avoid racing on isHeapBusy (r=terrence)
--HG--
extra : rebase_source : 1667f00b8233d190ca74740b125e8de033c7d8dd
2013-03-07 18:01:19 -08:00
Mike Hommey
10314b9044 Bug 848735 - Fix INSTALL_EXTENSION_ID rule. r=ted 2013-03-08 09:32:55 +01:00
Ryan VanderMeulen
0cb25616af Backed out changeset 8ed74a9e1a3e (bug 848602) and changeset a114e8c5e9ef (bug 848587) for bustage on a CLOSED TREE. 2013-03-07 22:00:28 -05:00
Bill McCloskey
7a6a36707e Bug 848602 - Add some volatile annotations (r=terrence) 2013-03-07 18:01:25 -08:00
Bill McCloskey
2fe57f347c Bug 848587 - Avoid racing on isHeapBusy (r=terrence) 2013-03-07 18:01:19 -08:00
Nicolas B. Pierron
deb161f139 Bug 844452 - Box boolean inputs on MCompare-strings. r=dvander 2013-03-07 17:49:11 -08:00
Terrence Cole
e15cbdb2ca Bug 848601 - Lookup the trace kind to use when marking at compile time; r=billm
--HG--
extra : rebase_source : 9e913d55b65433ad3251b07e5f38d9195ea97e6f
2013-03-07 10:55:34 -08:00
Norbert Lindenberg
ddaff00947 Bug 848664 - New intrinsics for self-hosted JavaScript missing from jshint globals. r=nmatsakis 2013-03-07 17:26:39 -05:00
Terrence Cole
09f0476417 Bug 848612 - Don't store strings in the store buffer; r=billm
--HG--
extra : rebase_source : f287f6b0945bc0a84ac1acfef9fcad985591db82
2013-03-07 10:50:26 -08:00
Terrence Cole
e0dc40c806 Bug 848608 - Make eagerlyTraceWeakMaps an enum; r=billm
--HG--
extra : rebase_source : 20558f611dda644f966d4660b88895a0cbc5c7d1
2013-03-07 10:49:30 -08:00
Terrence Cole
9784aa8945 Bug 848599 - Implement DisableGenerationalGC like DisableIncrementalGC; r=billm
--HG--
extra : rebase_source : aad333f9196a74e4579be70bd2ebf62fe16f23ed
2013-03-07 10:47:56 -08:00
Terrence Cole
800f1f3a80 Bug 841059 - Do not use the ArenaHeader for sizeOfThis on JSObject; r=billm
--HG--
extra : rebase_source : 6d14d5dca727703166c1cdcc694ec688223e6692
2013-02-13 13:34:25 -08:00
Terrence Cole
388179ea1b Bug 841059 - Make Cell::chunk and Cell::address private; r=billm
--HG--
extra : rebase_source : e6800f71b6950af84b56c541fe6dbdeb8f62abdf
2013-02-13 10:39:17 -08:00
Jon Coppeard
effb0401cc Bug 848449 - GC: Remove AutoAssertNoGC and AssertCanGC - Remove AutoAssertNoGC and AssertCanGC r=terrence
--HG--
extra : rebase_source : b2afa454a539be84db7a3b11eb7c776bf4054b07
2013-03-06 18:10:35 +00:00
Jon Coppeard
d52628271c Bug 848449 - GC: Remove AutoAssertNoGC and AssertCanGC - Remove use of AssertCanGC r=terrence
--HG--
extra : rebase_source : 571a1c515d382c94d7a4c4398a08ea48d5507294
2013-03-06 18:10:30 +00:00
Jon Coppeard
9256c58105 Bug 848449 - GC: Remove AutoAssertNoGC and AssertCanGC - Remove use of AutoAssertNoGC r=terrence
--HG--
extra : rebase_source : d541aeba854e1a10ceebaec2fda366d9b47f7f2e
2013-03-06 18:10:22 +00:00
Jon Coppeard
f85957ecb3 Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
--HG--
extra : rebase_source : 35cbf3cc4da4598c2e9e6975028ef397718849db
2013-03-06 16:41:43 +00:00
Jon Coppeard
9990be53e8 Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted inside SpiderMonkey r=terrence
--HG--
extra : rebase_source : ba8202f4e1f7bd5560a57392f800d255e52b4a54
2013-03-06 16:41:42 +00:00
Jon Coppeard
94c1b81987 Bug 848395 - GC: Move Rooted to JS namespace - Move js::Rooted to JS namespace r=terrence
--HG--
extra : rebase_source : c25db8f97c5d6b39b96dc89976bcc00a85ddbde3
2013-03-06 16:41:38 +00:00
Jan de Mooij
14cbafdd46 Bug 848733 - Don't eliminate callee phi when inlining natives. r=bhackett
--HG--
extra : rebase_source : c64645da8a4edf6bc132f509741f7ebcdb8e842d
2013-03-07 14:38:09 +01:00
Gregory Szorc
795c5eeeff Bug 818246 - Part 1: Remove unncessary definitions of XPIDL_MODULE; r=glandium
XPIDL_MODULE defaults to MODULE. These Makefile.in were setting
XPIDL_MODULE to the same value as MODULE.

--HG--
extra : rebase_source : e96bd34d5949d0ab94cecbec35d6c9f4bffec01e
2013-03-07 05:03:51 -08:00
Ed Morley
dbdcae0eaf Backed out changeset f27dbd9ba370 (bug 848395) for crashes on Windows on a CLOSED TREE 2013-03-07 13:04:24 +00:00
Ed Morley
380449402e Backed out changeset e112b04664a6 (bug 848395) 2013-03-07 13:03:39 +00:00
Ed Morley
0887cddaa0 Backed out changeset 28ef4bdff455 (bug 848395) 2013-03-07 13:03:35 +00:00
Ed Morley
2dc77beac4 Backed out changeset f079105a0966 (bug 848449) 2013-03-07 13:03:31 +00:00
Ed Morley
9cabb79c6c Backed out changeset d01a2a30d626 (bug 848449) 2013-03-07 13:03:27 +00:00
Ed Morley
c024cfe113 Backed out changeset 1768185637fd (bug 848449) 2013-03-07 13:03:23 +00:00
Jon Coppeard
0b6f2291f6 Bug 841801 - Allow proxies to be finalized in the background r=billm
--HG--
extra : rebase_source : 48da96daddf75f505bf90c8e2ce2cdd6daf04cc5
2013-02-21 10:19:17 +00:00
Jon Coppeard
957cb6f688 Bug 841801 - Keep finalizable objects out of the nursery r=billm
--HG--
extra : rebase_source : ea13c882c82554a1510df47aadbc1bb1c6b6e569
2013-02-21 18:51:14 +00:00
Jon Coppeard
31537455f5 Bug 841801 - Sweep some objects in the background r=billm
--HG--
extra : rebase_source : 8940bfbb1f223762bbc5ef38827467aa76505af1
2013-02-08 08:40:49 +00:00
Jon Coppeard
8f06c5da9e Bug 841801 - Enable finalization of objects on the background thread r=billm
--HG--
extra : rebase_source : a08fb0b68aeffac400d300715ac874cfcbf535fc
2013-02-15 10:18:46 +00:00
Steve Fink
4429fa58c3 Bug 847121 - Avoid using unstable chars r=terrence 2013-03-06 16:02:19 -08:00
Jon Coppeard
aedebd6aec Bug 848449 - GC: Remove AutoAssertNoGC and AssertCanGC - Remove AutoAssertNoGC and AssertCanGC r=terrence
--HG--
extra : rebase_source : 25c0bc6813b753c023ab7f1d1085b3575083c96d
2013-03-06 18:10:35 +00:00
Jon Coppeard
5c4ec66c45 Bug 848449 - GC: Remove AutoAssertNoGC and AssertCanGC - Remove use of AssertCanGC r=terrence
--HG--
extra : rebase_source : 234e493f9db6b85c054f5a5189a60d3ca632ab62
2013-03-06 18:10:30 +00:00
Jon Coppeard
904e294328 Bug 848449 - GC: Remove AutoAssertNoGC and AssertCanGC - Remove use of AutoAssertNoGC r=terrence
--HG--
extra : rebase_source : b29d38c194a9b9a25febaab4b892952a7af17af8
2013-03-06 18:10:22 +00:00
Jon Coppeard
19ed4f05c2 Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
--HG--
extra : rebase_source : 866879df05e3ec3f8e93570eb3f6b71103636b41
2013-03-06 16:41:43 +00:00
Jon Coppeard
8da313fcbb Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted inside SpiderMonkey r=terrence
--HG--
extra : rebase_source : 35da680c5e5c2417357adbdcee6fa1b2a1108e20
2013-03-06 16:41:42 +00:00
Jon Coppeard
6e6f4817d2 Bug 848395 - GC: Move Rooted to JS namespace - Move js::Rooted to JS namespace r=terrence
--HG--
rename : content/svg/content/src/SVGFEMergeElement.cpp => content/svg/content/src/nsSVGFilters.cpp
rename : content/svg/content/src/SVGFEImageElement.h => content/svg/content/src/nsSVGFilters.h
extra : rebase_source : ef1bc19481aad5df11259987f1dea449678c46ed
2013-03-06 16:41:38 +00:00
Nicolas B. Pierron
a8901735c8 Bug 843733 - Fix warning with gcc 4.7. r=mjrosenb 2013-03-06 22:17:25 -08:00
Nicholas D. Matsakis
9afdc1f121 Bug 847605 - Convert to using branchIfFalseBool, which uses a mask to avoid constraining regalloc. r=nbp 2013-03-06 10:18:54 -05:00
Nicholas D. Matsakis
cb71eef363 Bug 847387 - Do not allow more dimensions for a ParallelArray than we allow arguments. r=shu 2013-03-06 14:57:10 -05:00
Jan de Mooij
499fa5c31a Bug 847045 - Avoid frequent ExcludeType bailouts. r=nbp 2013-03-06 19:13:05 +01:00
Jim Blandy
7e40a9c293 Bug 845888: Have GDB load JavaScript value pretty-printers when debugging libxul.so, or anything that links against it. r=glandium 2013-03-06 08:38:31 -08:00
Masatoshi Kimura
3662ea6b18 Bug 841289 - Remove prefable option from WebIDL codegen. r=bz 2013-03-06 07:09:38 +09:00
Jon Coppeard
a8ea27a888 Bug 847934 - GC: Remove Unrooted - Remove definition of Unrooted r=terrence
--HG--
extra : rebase_source : 232e0339a481ff544f5e3e0f5e55dda0a03dda0f
2013-03-05 18:32:17 +00:00
Jon Coppeard
fdc9ed06cb Bug 847934 - GC: Remove Unrooted - Remove use of DropUnrooted and rename UnrootedThings to RawThings r=terrence
--HG--
extra : rebase_source : 27612f3672c220fae2da8dad437a6db24f3ede2f
2013-03-05 18:32:12 +00:00
Mike Hommey
8ac44f4a86 Backout expandlibs part of bug 812179 for breaking bug 603370. r=me 2013-03-06 11:11:43 +01:00
Hannes Verschore
32fd309d2d Bug 847682: AppendSubstrings should fill linearly before using RopeBuilder, r=sstangl 2013-03-06 10:51:03 +01:00
Jan de Mooij
3814978de3 Bug 846288 - Silence assert in Label destructor after an OOM. r=dvander 2013-03-12 10:26:15 +01:00
Richard Newman
9297113e26 Backed out changeset cc45fdc389df (Bug 779291) for breaking Mac Android builds. 2013-03-12 00:14:52 -07:00
Nicholas Nethercote
7dd7050c41 Bug 842438 (part 1) - Remove @line support from SpiderMonkey. r=benjamin.
--HG--
extra : rebase_source : 38502ad54c97a0e16e6396f9f39df31b73d0e289
2013-03-11 14:27:34 -07:00
Brian Hackett
896d356b61 Bug 845404 - Handle common 'for' statements during syntax parsing, r=jorendorff. 2013-03-11 20:06:51 -06:00
Brian Hackett
09dc5c9d1a Bug 849785 - Avoid repeated computation of local standard time vs. UTC time difference, r=waldo. 2013-03-11 19:59:58 -06:00
Terrence Cole
02e533d20b Bug 848595 - Move the hashtable postbarrier to Barrier-inl; r=billm
It cannot be in the header since the barrier needs to know about JSRuntime.

--HG--
extra : rebase_source : f2307d9b0b708c755b790c6074822d7b82a41214
2013-03-06 17:52:31 -08:00
Terrence Cole
8d67ce29d1 Bug 849452 - Remove unused SetProxyPrivate; r=billm
--HG--
extra : rebase_source : 80ddeeeb3a39ae8815177e1998f2b39be356e97e
2013-03-11 10:47:33 -07:00
Terrence Cole
e13e4bd331 Bug 849068 - Fix some build warnings in the StoreBuffer; r=billm
--HG--
extra : rebase_source : 3907302df2bd102314c9112055b1c6ee8f63ffd1
2013-03-08 18:14:07 -08:00
Masatoshi Kimura
7693df618d Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz 2013-03-12 08:03:47 +09:00
Brian Hackett
6ac24b26ee Bug 849420 - Use MaybeRooted instead of Shape::AutoRooter, r=sfink. 2013-03-11 15:50:01 -06:00
Bobby Holley
1e3e0d2ed9 Bug 809674 - Tests. r=me 2013-03-11 14:45:21 -07:00
Bobby Holley
fed1bff11e Bug 809652 - Tests. r=jorendorff 2013-03-11 14:45:21 -07:00
Bobby Holley
4f92577540 Bug 806751 - Crashtest. r=me 2013-03-11 14:45:21 -07:00
Bobby Holley
9821938788 Bug 805807 - Tests. r=mrbkap 2013-03-11 14:45:20 -07:00
Bobby Holley
b53bd25034 Bug 786142 - Crashtest. r=me 2013-03-11 14:45:18 -07:00
Ryan VanderMeulen
0683f6a0ff Backed out changeset e7f298d7b17b (bug 829602) for frequent B2G mochitest crashes on a CLOSED TREE. 2013-03-11 17:24:31 -04:00
Nicholas D. Matsakis
1c4efce44d Bug 829602 - Enable self-hosted ParallelArray r=dvander,till 2013-03-11 13:57:59 -04:00
Steve Fink
8e940ad32d Bug 846590 - Do not poison when GC suppressed. r=terrence 2013-03-05 15:36:23 -08:00
Nicolas B. Pierron
19dd62cd81 Bug 843733 part 2 - Use IonAllocPolicy allocator instead of the system one. r=mjronseb 2013-03-05 15:33:37 -08:00
Bobby Holley
516023dd47 Bug 844211 - Make this-object nativeCall special-casing actually do something. r=jorendorff 2013-03-05 15:16:36 -08:00
Ryan VanderMeulen
fe36f261c6 Backed out 5 changesets (bug 790732) for talos-other hangs/crashes on a CLOSED TREE. 2013-03-05 15:44:15 -05:00
Gregor Wagner
4ba30c9fe9 Bug 842217 - Contacts list swipe and pan gets stuck because of frequent GCs. r=billm 2013-03-05 11:08:44 -08:00
Boris Zbarsky
aeed32709e Remove no longer used NodeIterator quickstubs. No bug. r=peterv 2013-03-05 13:42:06 -05:00
Boris Zbarsky
a40c683f18 Bug 847119. Fix the "did the DOM call throw?" test in IonMonkey to check the return value correctly. r=jandem 2013-03-05 13:41:24 -05:00
Bobby Holley
6f783fc8dc Bug 790732 - Omit Components object for content scopes. r=mrbkap 2013-03-05 10:02:00 -08:00
Bobby Holley
f12628d13f Bug 790732 - Remove Components warning and Telemetry. r=mrbkap 2013-03-05 10:01:59 -08:00
Bobby Holley
e60cb41952 Bug 790732 - Stop attaching Components in InitClasses. r=mrbkap
This method is larely deprecated. The only two consumers are JSD and the setup
for the safe JSContext, neither of which use system principal and thus neither
of which should have |Components|.
2013-03-05 10:01:59 -08:00
Bobby Holley
c1f8743e0b Bug 790732 - Remove the aTarget parameter from AttachComponentsObject. r=mrbkap
I added this when I thought we'd be defining Components on an object on the XBL
scope chain. At this point, it's not necessary anymore.
2013-03-05 10:01:59 -08:00
Luke Wagner
d07a375e72 Bug 841617 - replace ObjectElements::convertDoubleElements with a 'flags' field (r=bhackett)
--HG--
extra : rebase_source : e0651358ae4a87b8599af8559112f111fb960898
2013-02-13 18:11:52 -08:00
Jan de Mooij
f7e27989d1 Bug 847450 - Change FastInvokeGuard to only construct an IonContext if it needs one. r=h4writer 2013-03-05 11:19:10 +01:00
William Chen
929291a8d9 Bug 783129 - Implementation of document.register without shadow DOM support. r=mrbkap 2012-11-01 11:18:08 -07:00
Jim Blandy
dd189456f3 Bug 839313: Add regression test for JS shell 'it.customNative' fix. r=waldo 2013-03-04 15:42:11 -08:00
Terrence Cole
f63afecd3e Bug 841558 - Don't exactly mark tagged NULL pointers; r=sfink
--HG--
extra : rebase_source : 062760866d171948b2f866910ebd764521ed3f6f
2013-02-07 18:18:12 -08:00
Steve Fink
e7eef2b74f Bug 847579 - disable testGCOutOfMemory temporarily to reopen a CLOSED TREE. r=terrence 2013-03-04 14:53:49 -08:00
Nicolas B. Pierron
c494a814af Bug 847605 - Check operands of branchTestBool before using testb. r=mjrosenb CLOSED TREE 2013-03-04 14:31:22 -08:00
Nicolas B. Pierron
516d38372d Bug 843733 - IonMonkey ARM, Allocate assembly template in temporary space. r=dvander,mrosenberg 2013-03-04 12:53:43 -08:00
Ryan VanderMeulen
29142c79d6 Backed out changeset eef5f845fb75 (bug 829602) for intermittent jit-test failures. 2013-03-04 15:41:27 -05:00
Joey Armstrong
8165e06d24 bug 750303: mkdir_deps - target specific enhancement 2013-03-04 14:34:02 -05:00
Sean Stangl
2b384af104 Bug 846539 - Remove jsop_call_inline(). r=djvj 2013-03-04 10:55:22 -08:00
Ryan VanderMeulen
77db139e12 Backed out changeset b4d1bc6b9d1a (bug 846539) for bustage on a CLOSED TREE. 2013-03-04 14:05:08 -05:00
Sean Stangl
2357f881ce Bug 846539 - Remove jsop_call_inline(). r=djvj 2013-03-04 10:55:22 -08:00
Jeff Walden
72eca3f9c1 Bug 835542 - Implement mozilla::Abs. r=Ms2ger
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
Jeff Walden
56bb38cf34 Bug 835542 - Add an IntegralConstant helper to TypeTraits.h, and use it where the spec says we should be using it. r=bjacob
--HG--
extra : rebase_source : a1272a85489771ce1cbe5c3aaa678b5b04b49226
2012-12-16 18:20:17 -05:00
Gregory Szorc
7532c487e6 Bug 847073 - Record and print detailed summary of moz.build execution; r=glandium
--HG--
extra : rebase_source : 7d88cea873764650e62368ba40305f8cfff9d864
2013-03-04 10:32:57 -08:00
Mike Hommey
1cbc7821f6 Bug 847411 - Remove mkdir_deps dependency for PP_TARGETS rules. r=ted 2013-03-04 19:34:02 +01:00
Mike Hommey
b27759ce8a Bug 737849 - Add a -o/--output option to Preprocessor.py. r=ted 2013-03-04 19:34:02 +01:00
Mike Hommey
fba304eef0 Bug 847397 - Remove mkdir_deps dependency for INSTALL_TARGETS rules. r=ted 2013-03-04 19:34:02 +01:00
Nicholas D. Matsakis
cb0f59c425 Bug 829602 - Switch to self-hosted ParallelArray. r=dvander,till 2013-03-04 13:23:24 -05:00
Till Schneidereit
96edceb0df Bug 787927 - Prevent self-hosted JS script from being registered with the debugger. r=jimb
--HG--
extra : rebase_source : e5fd2c4bc80d11ad782180d10123c563eca5347a
2012-09-03 16:04:14 +02:00
Terrence Cole
24652cd8a3 Bug 841065 - Do not call pre-barrier on finalized objects when finalizing Map and SetObjects; r=billm
--HG--
extra : rebase_source : db2bbca3687ec396454645a8b60455356a4de453
2013-02-13 11:51:48 -08:00
Terrence Cole
3520e5c7a1 Bug 849536 - Make GetGCThingTraceKind work for Nursery things; r=billm
--HG--
extra : rebase_source : f13dffb79a041292b3a2b283927d4ca8bdda2dcf
2013-03-11 10:47:33 -07:00
Terrence Cole
52bf3c5d23 Bug 848199 - Rename the post barrier verifier nursery; r=billm
This allows us to use the post barrier verifier in parallel with generational
GC. It also makes the state tracking during verification much simpler.

--HG--
extra : rebase_source : d4e1f8486b46178ccfc90df5f2ec983a5b7d10c1
2013-02-05 14:07:28 -08:00
Brian Hackett
fcd89d28e4 Bug 836968 - Cache shapes for JSON objects and assign types to constructed JSON objects and arrays, r=waldo,jandem. 2013-03-12 13:45:21 -06:00
Eddy Bruel
80783af0a4 Bug 850086 - Recognize source URLs inside multiline comments. r=tschneidereit
--HG--
extra : rebase_source : dd7487c8a2d977b6b9013d5eac7421431d5a7115
2013-03-12 19:27:57 +01:00
Jesse Ruderman
594ad00ba3 Bug 404077 followup - remove bug mention from a test. DONTBUILD 2013-03-12 12:36:08 -07:00
Julian Seward
e8bbb67556 Bug 779291: Implement SPS stackwalk using the breakpad unwinder. r=bgirard,glandium
bug 850089 - fix SPS with disable-crashreporter. Patch by Ted Mielczarek <ted@mielczarek.org>, r=glandium
Bug 850132 - SPS breakpad unwind (bug 779291) breaks Win64 builds with "Unsupported platform". Patch by Makoto Kato <m_kato@ga2.so-net.ne.jp>, r=ted
2013-03-10 23:00:23 +01:00
Hannes Verschore
385333ea10 Bug 848803: LICM shouldn't hoist intructions that depend on instruction in or after the loop, r=jandem 2013-03-12 18:37:15 +01:00
Peter Van der Beken
78dd8c7730 Fix for bug 748669 (Make JS_{Start,Stop}Profiling work with Instruments on Lion). r=sfink/ted.
--HG--
extra : rebase_source : 8f7add5256dde39cf165b69b0ab1ebced05d120e
2012-01-21 21:40:37 +01:00
Nicholas D. Matsakis
75ac9585f4 Bug 840339 - Move inlined functions that depend on jsscriptinlines.h into CompileInfo-inl.h r=dvander 2013-03-04 11:00:02 -05:00
Jan de Mooij
7ba69d0a09 Bug 846080 - Make DecompileArgumentFromStack a bit more robust. r=bhackett 2013-03-04 15:52:38 +01:00
Brian Hackett
d5a4832378 Bug 846330 - Bail out before trying to eval scripts containing 'arguments' in Ion, r=jandem. 2013-03-04 07:21:16 -07:00
Jon Coppeard
c919b27a50 Bug 844112 - GC: Fix misc build and test failures in exactly rooted shell r=sfink 2013-02-22 15:14:09 +00:00
Philipp Matthias Schäfer
2b1c72f15c Bug 815737 - Inline MathCache-reliant functions in IonMonkey. r=sstangl 2013-03-03 15:56:58 -08:00
Terrence Cole
db4da511da Bug 843337 - No need for getAllocKind in JSObject::finalize anymore; r=jonco
--HG--
extra : rebase_source : d5fdc33b362d7d486579f1934316e00a746a3d13
2013-02-20 14:33:04 -08:00
Terrence Cole
1d56d4f28d Bug 844932 - HashTable rekey fixup does not guarantee !overloaded; r=sfink
--HG--
extra : rebase_source : e9354d0d3377f75c56cee8a0b2d6078fa9d9fbdb
2013-02-25 10:37:36 -08:00
Terrence Cole
e166ef1f54 Bug 845573 - Allocate singletons discovered by the parser in tenured; r=bhackett 2013-02-26 15:29:32 -08:00
Terrence Cole
734dcd0486 Bug 847093 - Scope objects should start in the tenured heap; r=bhackett 2013-03-02 14:07:28 -08:00
Norbert Lindenberg
5bf1c9245d Bug 847000 - JSMSG_CANT_CONVERT_TO mapped to 35_TO in self-hosted code. r=tschneidereit
--HG--
extra : rebase_source : 5a8bc53c47b45c8ff288a3859601a5476e2901e9
2013-03-01 23:57:00 +01:00
Igor Bukanov
1ea05be2db Bug 743436 - remove XPCJSRuntime::mJSCycleCollectionContext and related code. r=peterv
The patch removes no longer used XPCJSRuntime::mJSCycleCollectionContext,
nsXPConnect::mCycleCollectionContext and related code to create/destroy
contexts. As that made nsCycleCollectionJSRuntime::FinishTraverse() empty
in all cases I removed that method as well.
2013-02-27 11:33:12 -08:00
Ms2ger
8af01137f6 Bug 638219 - Followup to fix the output for test failures on tbpl. 2013-03-02 10:50:50 +01:00
Ms2ger
05a578366e Backout changeset 84e8e319f735 for breaking rootanalysis build. 2013-03-02 10:44:07 +01:00
Norbert Lindenberg
052fe42ad0 Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 16). r=jwalden
--HG--
extra : rebase_source : e163af1b07efe16108869aa05794673b9f4f3be3
2013-03-01 20:24:40 -08:00
Norbert Lindenberg
91cf9248d3 Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 15). r=jwalden
--HG--
extra : rebase_source : 9060bb8f6700debfdbb116099b4f3dc5a0ceb254
2013-03-01 19:15:19 -08:00
Nicholas D. Matsakis
cd5b12be6b Bug 829602 - Switch to self-hosted version of Parallel Array r=dvander,till 2013-03-01 13:48:13 -05:00
Terrence Cole
1745d82807 Bug 638219 - Fix test selection after prior landings for bug 638219; rs=Waldo
--HG--
extra : rebase_source : eb107700ec8c3e136323ef8173d3d3ec13418de0
2013-03-01 17:08:35 -08:00
Brian Hackett
1a40cdb6ee Bug 834240 - Add missing setPendingNukeTypes, r=dvander. 2013-03-01 17:08:18 -07:00
Daniel Holbert
34dcb1feed Bug 845868: Reorder js.cpp's #include list so that GCC doesn't spam Wattributes warnings about attributes being ignored on class decl-after-definition. r=Waldo 2013-03-01 16:02:21 -08:00
Dirkjan Ochtman
301f3895ff Bug 638219 - Set all test-independent command-line bits up once, pass in; r=terrence
This will help integration with the jstests framework, which also uses
a single prefix argument to its Test command construction method.

Note that the order of js arguments is changed, from:

    cmd = [js] + list(set(self.jitflags)) + shell_args + ['-e', expr]
    cmd += ['-f', os.path.join(LIB_DIR, 'prolog.js'), '-f', self.path]

to:

    prefix = [os.path.abspath(args[0])] + shlex.split(options.shell_args)
    prefix += ['-f', os.path.join(jittests.LIB_DIR, 'prolog.js')]
    cmd = prefix + list(set(self.jitflags)) + ['-e', expr, '-f', self.path]

The assumption here is that only the order of -f options matters.

--HG--
extra : rebase_source : 9655d6efc62006aa840d72f6b31d764bd870cc7d
2013-02-15 17:58:45 +01:00
Dirkjan Ochtman
ad98786482 Bug 638219 - Move test result output into result processing function; r=terrence
--HG--
extra : rebase_source : c72b28460c2e4b52aa3e4bfa903d5ee1563c1e39
2013-02-15 17:09:33 +01:00
Dirkjan Ochtman
d60cf242a4 Bug 638219 - Reuse cmd saved in results object rather than rebuilding it; r=terrence
--HG--
extra : rebase_source : 4b955e7793c966db184f67cc1a90ab8c24bbfcd7
2013-02-15 17:44:24 +01:00
Dirkjan Ochtman
4b6bc9c109 Bug 638219 - Use TestOutput class to wrap test results; r=terrence
--HG--
extra : rebase_source : 446d5f86d11c4d41fc771dde2b6357f6fff63175
2013-02-15 17:00:58 +01:00
Dirkjan Ochtman
b364cd92d0 Bug 638219 - Save static paths in module-level constants; r=terrence
These paths are a little far away from the script they're referenced in, so
it's a little fragile. However, since (a) these aren't expected to change
that often, and (b) the code should fail conspicuously if there is a change,
I don't think it's a problem.

--HG--
extra : rebase_source : 2e2d278826d4d30c813156553590c24d9056575f
2013-02-15 09:01:19 +01:00
Dirkjan Ochtman
c877e5877e Bug 638219 - Extract valgrind setup, prepend in Test.command(); r=terrence
--HG--
extra : rebase_source : dc17ae04127892f4d5778e5d546d8fba4436766f
2013-02-15 08:33:25 +01:00
Dirkjan Ochtman
30956334f2 Bug 638219 - Move command construction into Test class method; r=terrence
--HG--
rename : toolkit/modules/Timer.jsm => browser/devtools/shared/Browser.jsm
rename : toolkit/modules/tests/xpcshell/test_timer.js => browser/devtools/shared/test/browser_browser_basic.js
extra : rebase_source : 4a02112413b31457cf855d68a6db6d816172652f
2013-02-15 08:32:43 +01:00
Ryan VanderMeulen
ab86a48c79 Merge m-c to inbound on a CLOSED TREE. 2013-03-01 18:43:05 -05:00
Daniel Holbert
27f52f3d2e Bug 842752: Remove unused (& debug-only) variable 'u' from SnapshotReader::readFrameHeader, and related code. r=nbp 2013-03-01 13:57:12 -08:00
Hannes Verschore
e2b6aac88b Bug 843023: IonMonkey: Inline Math.pow when result is expected to be intger, r=sstangl 2013-03-01 01:22:55 +01:00
Nicholas Nethercote
ac52e6f319 Bug 839376 (part 14) - More exact rooting in shell/js.cpp. r=sfink.
--HG--
extra : rebase_source : 5dbacfb158ff5ea3935c0378f1c691006cb013a8
2013-02-28 15:03:17 -08:00
Steve Fink
d7df2816c1 Bug 845519 - Spot-fix Unrooted-related problems. r=terrence
--HG--
extra : rebase_source : d725080582e51c4d6385b0adbb188933641988bd
2013-02-28 13:24:47 -08:00
Steve Fink
7ed8fd38e9 Bug 845519 - Use SkipRoots for jschar pointers until we need to start moving them. r=terrence
--HG--
extra : rebase_source : d337dba6972e78e1994dd5563f093622e4475fc8
2013-02-26 16:45:49 -08:00
Steve Fink
1035847a84 Bug 845519 - Check getType(cx) return value (also fixes rooting hazard). r=bhackett
--HG--
extra : rebase_source : 3031e892cd93c36db9096e47fcb20fb3dc9913dc
2013-02-26 15:45:12 -08:00
Tom Schuster
7b58c017fe Bug 836949 - Remove E4X only unicode flags. r=jwalden 2013-02-28 13:50:24 +01:00
Daniel Holbert
3e955d821d Bug 846460: Remove duplicate period at the end of error message in rules.mk. r=gps 2013-02-28 22:45:03 -08:00
Norbert Lindenberg
291730b0db Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 14). r=jwalden
--HG--
extra : rebase_source : 03309cc5245306892ae45bad1696f84cfda266a3
2013-02-28 21:47:36 -08:00
Norbert Lindenberg
bfb50d4af0 Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 13). r=jwalden
--HG--
extra : rebase_source : 7591734146c4aa654d3cbdbb8ec9a3671f3fdbdf
2013-02-28 20:51:29 -08:00
Norbert Lindenberg
a5d63170fd Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 12). r=jwalden
--HG--
extra : rebase_source : ed07060d340e7f644b7501635ac40e19e22a8240
2013-02-28 20:51:14 -08:00
Yati Sagade
54ec2ee3fd Bug 812179 - Removed hacks for Python < 2.6 from config/ [r=ted] 2013-02-27 22:30:56 +05:30
Steve Fink
415bf7ecaf Bug 845519 - Fix aliasing problem between Rooted<T> and Rooted<derived-from-T>. r=bhackett
--HG--
extra : rebase_source : 38e1a42e7408e6bd60dbdc42f2dbb5cffb68625d
2013-02-15 10:18:30 -08:00
Boris Zbarsky
615c1738c3 Bug 776536 part 4. Turn on WebIDL bindings for NodeIterator and TreeWalker. r=peterv
The behavior here is a bit weird because Document is still not a
WebIDL object, so calling createNodeIterator or createTreeWalker via
an Xray will call the XPCOM versions of those methods.  That means
that I can't just disable XPCOM-based wrapping for TreeWalker and
NodeIterator altogether, unfortunately, which means a web page could
try stashing a TreeWalker in something like userdata and then getting
it back and end up wrapping it as an XPCOM object the second time.

I could "fix" that by adding a wrapper cache and whatnot, I guess, if
desired...  But the problem will go away once we convert Document in
any case.
2013-02-28 12:56:42 -05:00
Boris Zbarsky
3875ee73e3 Bug 843261. Add support for sequence<DOMString> arguments in WebIDL callbacks. r=peterv
This does allow people to accidentally hit the slower path through use
of non-const strings, but I think that's OK now that we're mostly
autogenerating this stuff
2013-02-28 12:56:41 -05:00
Ryan VanderMeulen
238b010bd5 Backed out 7 changesets (bug 832920, bug 776536, bug 843261) for mochitest-a11y assertions on a CLOSED TREE.
--HG--
rename : content/base/src/NodeIterator.cpp => content/base/src/nsNodeIterator.cpp
rename : content/base/src/NodeIterator.h => content/base/src/nsNodeIterator.h
rename : content/base/src/TreeWalker.cpp => content/base/src/nsTreeWalker.cpp
rename : content/base/src/TreeWalker.h => content/base/src/nsTreeWalker.h
2013-02-28 14:41:30 -05:00
Olli Pettay
510b79b08c Bug 845631 - Remove nsXMLHttpProgressEvent, r=sicking
--HG--
extra : rebase_source : e5c6e80fbb656782bfe0f530c778cda9d9f97f0f
2013-02-28 20:53:04 +02:00
Boris Zbarsky
24d39ed923 Bug 776536 part 4. Turn on WebIDL bindings for NodeIterator and TreeWalker. r=peterv
The behavior here is a bit weird because Document is still not a
WebIDL object, so calling createNodeIterator or createTreeWalker via
an Xray will call the XPCOM versions of those methods.  That means
that I can't just disable XPCOM-based wrapping for TreeWalker and
NodeIterator altogether, unfortunately, which means a web page could
try stashing a TreeWalker in something like userdata and then getting
it back and end up wrapping it as an XPCOM object the second time.

I could "fix" that by adding a wrapper cache and whatnot, I guess, if
desired...  But the problem will go away once we convert Document in
any case.
2013-02-28 12:56:42 -05:00
Boris Zbarsky
0c8bec67f1 Bug 843261. Add support for sequence<DOMString> arguments in WebIDL callbacks. r=peterv
This does allow people to accidentally hit the slower path through use
of non-const strings, but I think that's OK now that we're mostly
autogenerating this stuff
2013-02-28 12:56:41 -05:00
Ms2ger
c6832bb745 Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
Jan de Mooij
6c55b391b3 Bug 845841 - Don't inline object element read if the value may be a string. r=bhackett 2013-02-28 09:40:17 +01:00
Gregory Szorc
27c42e83c6 Merge mozilla-central into build-system
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
803629b9c6 Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Ms2ger
2801c25ab8 Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Hannes Verschore
9a2205a2e2 Bug 843866: IonMonkey: Make sure inference ran before inlining empty script, r=jandem 2013-02-26 11:20:03 +01:00
Gregory Szorc
16f0413b0c Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Brian Hackett
3733f91c39 Bug 841530 - Tweaks to fit JIT inspector after the decompilerectomy, r=pierron. 2013-02-25 15:31:49 -07:00
Gregory Szorc
4c3d4dc8a4 Bug 784841 - Part 19: Remove allmakefiles.sh and friends; r=ted 2013-02-25 14:09:16 -08:00
Gregory Szorc
51faf012ef Bug 784841 - Part 18s: Convert /js; r=glandium 2013-02-25 12:47:22 -08:00
Gregory Szorc
aab3b7dd49 Bug 784841 - Part 18e: Convert /build, /config, and core build system; r=ted 2013-02-25 12:47:18 -08:00
Gregory Szorc
15c748cb14 Bug 784841 - Part 16: Use moz.build files to build the tree; r=ted, glandium 2013-02-25 12:47:11 -08:00
Nicholas D. Matsakis
2790eb157e Bug 843684 - Patch up include to avoid compilation warnings when JS_THREADSAFE is not defined r=njn 2013-02-25 08:06:48 -05:00
Ed Morley
0ab42c2eb9 Backed out changeset d9d90bf85bcf (bug 845569) for bug839758.js assertions 2013-02-27 10:31:18 +00:00
Ehsan Akhgari
60360c9ef7 Bug 780474 - Disable the struct/class mismatch warning on MSVC as well; r=glandium
--HG--
extra : rebase_source : 3e593b71e589df349abc41f9182739305478690f
2013-02-25 12:10:41 -05:00
Brian Hackett
bb2637505a Bug 844482 - Watch for OOM disabling TI under CreateThisForFunction, r=dvander. 2013-02-25 15:21:13 -07:00
Brian Hackett
9516ebc71c Bug 844364 - Fix bogus assertion, inverted test when compiling JSOP_EVAL, r=jandem. 2013-02-25 15:17:12 -07:00
Bobby Holley
71a3669399 Bug 836301 - Hoist some assertions, remove a bunch of no-op trap overrides, and add assertions that we've entered our policy. r=mrbkap 2013-02-25 13:54:18 -08:00
Bobby Holley
c3361bfc99 Bug 836301 - Hoist enter() calls from {Xray,}Wrapper::foo into Proxy::foo. r=mrbkap 2013-02-25 13:54:18 -08:00
Bobby Holley
256ed2c8ba Bug 836301 - Introduce an RAII class for entering policies. r=mrbkap
This will allow us to make some hard assertions that a given policy has been
entered exactly once.
2013-02-25 13:54:18 -08:00
Bobby Holley
48bda79df5 Bug 836301 - Hoist enter() into BaseProxyHandler. r=mrbkap 2013-02-25 13:54:18 -08:00
Bobby Holley
a9b42a6db0 Bug 836301 - Add tracking for whether we have a non-trivial enter() trap. r=mrbkap
This will allow us to skip the virtual function call for non-security-wrapper
proxies, which are the cases where we care most about performance.
2013-02-25 13:54:18 -08:00
Bobby Holley
f82f71bb85 Bug 836301 - Stop enter()ing with CALL for nativeCall. r=mrbkap
This is kind of nonsensical, because CALL means "the wrapped object is being
called", whereas nativeCall means "the wrapped object is being unwrapped to
have a JSNative invoked on it", which are two very different things.

We _could_ add a NATIVECALL enter() trap, but our current policy enforcement
around nativeCall involves overriding the trap itself, so we wouldn't use it
for anything. So let's just get rid of it.
2013-02-25 13:54:17 -08:00
Bobby Holley
22266c42fe Bug 836301 - Add Special handling to allow us to call enter() for defineProperty on Xrays. r=mrbkap 2013-02-25 13:54:17 -08:00
Bobby Holley
3cd9119770 Bug 836301 - Stop using JSRESOLVE_ASSIGNING to determine GET vs SET. r=mrbkap
This is just a heuristic, anyway, and some of the usage is downright broken.
There are two cases here:

1 - Deciding what to do for get{Own,}PropertyDescriptor. In these cases, we can
just enter with GET and rely on the filtering machinery to filter out dangerous
setters for security wrappers.

2 - Custom Xray props. None of these make sense in a |set| context. In fact,
    they generally have null setters anyway, so we can just assume GET.

The policy-entering code in XrayWrapper is super haphazard. We'll get rid of it
entirely later in these patches.
2013-02-25 13:54:17 -08:00
Bobby Holley
6406390443 Bug 836301 - Assert against JSID_VOID in JSID wrapping. r=mrbkap
Luke explained to me that it should never get there.
2013-02-25 13:54:17 -08:00
Daniel Holbert
f82fd42806 Bug 845021: Add size_t cast in assertion, to silence build warning, in ObjectWrapperChild::AnswerNewEnumerateNext. r=Waldo 2013-02-25 13:46:56 -08:00
Phil Ringnalda
5b691fd773 Back out 0fc2a36c23d8 (bug 844253) for bustage
CLOSED TREE
2013-02-24 22:52:40 -08:00
Kannan Vijayan
9432092846 Bug 844253 - Change useNewType to be a flag on StackFrame instead of an explicitly passed argument. r=bhackett 2013-02-25 00:57:39 -05:00
Nicholas Nethercote
2a71afa141 Bug 843462 (part 3) - Use a Vector to build the bytecode. r=jorendorff.
--HG--
extra : rebase_source : b5f266d41f94daf626540f40986f22a1f26c0556
2013-02-20 21:13:28 -08:00
Nicholas Nethercote
68ebdcecbf Bug 843462 (part 2) - Use a Vector to build the source notes. r=jorendorff.
--HG--
extra : rebase_source : 57d50732d55b9e73bad04ec0c01b58b20de275b3
2013-02-20 21:13:26 -08:00
Nicholas Nethercote
9f21892a79 Bug 843462 (part 1) - Make Vector::insert() less error-prone. r=luke.
--HG--
extra : rebase_source : 8cc2ba2a01d7d4970aacb7728bb2936ea473dcf5
2013-02-20 21:13:25 -08:00
Gary Kwong
91b8dd7606 Bug 845569 - Land tests for various bugs. r=terrence 2013-02-27 10:40:01 -08:00
Jim Blandy
4cf2bc7866 Bug 841998: JS GDB support: Make prettyprinters.lookup_for_objfile cope with non-SpiderMonkey objfiles correctly. r=sfink 2013-02-27 09:30:02 -08:00
Bob Clary
182c3ffa08 Bug 845770 - Change fails-if(Android) js date tests to random-if(Android), r=jmaher. 2013-02-27 06:52:06 -08:00
Nicholas Nethercote
a5b0f7906e Bug 843999 - Shrink the property cache. r=bhackett.
--HG--
extra : rebase_source : a05435c289528619856b70665453703a628c3790
2013-02-24 14:15:23 -08:00
Kannan Vijayan
4001489bf4 Bug 844253 - Change useNewType to be a flag on StackFrame instead of an explicitly passed argument. r=bhackett 2013-02-25 15:15:38 -05:00
L. David Baron
e2654f58c5 Bug 404077: Adjust annotations of expected assertions. CLOSED TREE 2013-02-27 17:58:48 -08:00
Bobby Holley
076b7bfcfa Bug 843711 - Fix up new |Components| culprits in test suite. r=mccr8 2013-02-25 10:43:03 -08:00
Eddy Bruel
8ba018572b Bug 757188 - Implement Script.getAllColumnOffsets; r=jorendorff 2013-02-25 15:16:39 +01:00
Peter Van der Beken
60efffbed9 Fix for bug 844225 (Remove some DOMCI and quickstubs). r=bz. 2013-01-10 10:54:46 +01:00
Nicholas D. Matsakis
af92dee354 Bug 843684 - Add ParallelDo() r=dvander 2013-02-19 08:57:32 -05:00
Nicholas D. Matsakis
4abc9bdca7 Bug 843684 - Bring over self-hosted intrinsics r=till,dvander 2013-02-19 09:22:35 -05:00
Gregory Szorc
73dc3f3f6d Backout cc13b2fc76c0 (bug 843015) for crashes on Android and B2G 2013-02-23 23:48:54 -08:00
Marty Rosenberg
4fb7debecd Bug 843015: The Extended ldr instructions have a smaller maximum offset (255). Actually respect these limits. (r=sstangl) 2013-02-24 00:40:28 -05:00
Jim Blandy
ef259d0058 Bug 822923: make JS shell's 'evaluate' handle compilation errors without leaking source-map URL names. r=jorendorff 2013-02-23 21:22:01 -08:00
Nicholas D. Matsakis
1e570ae0ee Bug 843656 - Fixup callee in JM jitcode prologue for callsite clones r=dvander 2013-02-20 16:33:38 -08:00
Nicholas D. Matsakis
da39cbb5af Bug 843656 - move clone-at-callsite to the script r=bhackett 2013-02-19 10:49:33 -05:00
L. David Baron
05d5d9dfa9 Bug 404077: Use navigator.platform.startsWith rather than navigator.platform.indexOf, at Jesse's suggestion. 2013-02-26 22:23:08 -08:00
Luke Wagner
aa1d0960df Bug 845458 - IonMonkey: simplify constant double handling on x86 (r=dvander) 2013-02-26 19:56:30 -05:00
Bobby Holley
b51f6208c3 Bug 845201 - Pass mayThrow=true to iterate. r=mrbkap
We only want fallback behavior here if the policy decides to fail silently. If
the policy passes *bp == false, we want to just throw.
2013-02-26 16:41:55 -08:00
Gary Kwong
c365d6a83d Bug 845569 - Land tests for various bugs. r=terrence 2013-02-26 15:31:04 -08:00
Shu-yu Guo
d8f1250d9b Bug 845016 - Inline Math.abs with double input and int output (r=sstangl) 2013-02-26 14:51:43 -08:00
David Anderson
181154e5a3 Prevent GC from occuring during IC linking (bug 837714, r=bhackett).
--HG--
extra : rebase_source : 4973d1be905775ea5623dbe808a034659e8c7797
2013-02-21 13:52:09 -08:00
Nicholas D. Matsakis
3708951491 Bug 845226 - Move inlined functions into jsscriptinlines.h r=dvander 2013-02-26 16:42:43 -05:00
Jim Blandy
a41df08de8 Bug 839313: Don't use a runtime value root to implement the 'customNative' property of 'it'. r=waldo 2013-02-26 11:48:44 -08:00
Jim Blandy
6e2c93f8f0 Bug 839313: In js/src/shell/js.cpp, Use JS_SET_RVAL, instead of assigning to *vp. r=waldo 2013-02-26 11:48:44 -08:00
Jim Blandy
58455e9632 Bug 839313: Replace JSVAL_VOID and similar constants with their JS::MumbleValue() equivalents. r=waldo 2013-02-26 11:48:43 -08:00
Joshua Cranmer
11274b83c3 Bug 648980 - Add a hook for projects to have custom configure scripts. r=glandium
--HG--
extra : rebase_source : e020071adc89e07fd45d468aabe518027df7ba44
2013-02-26 13:45:52 -06:00
Bobby Holley
2c5746f6db Bug 834732 - Assert proper cx stack handling in WrapperFactory::Rewrap. r=mrbkap 2013-02-26 11:04:13 -08:00
Bobby Holley
169d010a55 Bug 834732 - Implement stricter cx handling in xpc_EvalInSandbox. r=mrbkap 2013-02-26 11:04:11 -08:00
Bobby Holley
e83e186c1b Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-26 11:04:11 -08:00
Bobby Holley
784a476fb8 Bug 834732 - Remove PushBehavior. r=mrbkap
Now that we only have ALWAYS_PUSH and ASSERT_SCRIPT_CONTEXT, we have uniform
release-mode behavior everywhere. Remove the crap.
2013-02-26 11:04:11 -08:00
Bobby Holley
e04f8d807d Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-26 11:04:09 -08:00
Nicolas B. Pierron
95fc06671d Bug 841666 - Use exponent over-estimation to truncate operations. r=h4writer 2013-02-26 10:54:26 -08:00
Nicolas B. Pierron
e6bc6cbf2c Bug 844305 - Check that excluded type are included before generating guards. r=bhackett 2013-02-26 10:43:32 -08:00
Nicolas B. Pierron
94b681eea6 Bug 844059 - Prevent int-specialized GetElementIC to produce stub for float typed arrays. r=dvander 2013-02-26 10:40:19 -08:00
Rafael Ávila de Espíndola
898300a17a Bug 845277 - Asan builds burning with "js/src/jsproxy.h:346:7: error: visibility does not match previous declaration". r=bholley. 2013-02-26 11:43:13 -05:00
Norbert Lindenberg
b30833345e Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 11). r=jwalden
--HG--
extra : rebase_source : 4de3e1ccf4c5f5809ff517ac7190ea411119dac3
2013-02-22 15:31:09 -08:00
Norbert Lindenberg
74bf2d554e Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 10). r=jwalden
--HG--
extra : rebase_source : 5e68b2c9aaa862152a80d870f0379d81db98fead
2013-02-22 15:31:07 -08:00
Norbert Lindenberg
7fc14db7e8 Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 9). r=jwalden
--HG--
extra : rebase_source : f87af76e895dc145e73d0df0e44aec931ec1ffdf
2013-02-22 15:30:28 -08:00
Norbert Lindenberg
52958d0c29 Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 8). r=jwalden
--HG--
extra : rebase_source : 7d583e686ae7c2f830971e7282b5f1754d2c57f9
2013-02-22 15:30:09 -08:00
Bobby Holley
a0de2e2bc9 Bug 812693 - Remove GetJSObjectOfWrapper. r=mrbkap 2013-02-26 08:15:44 -08:00
Brian Hackett
d9c16841f6 Bug 835587 - Add syntax only mode to parser, r=jorendorff. 2013-02-26 08:41:57 -07:00
Jan de Mooij
4a0621a2c2 Bug 844893 - Don't assert when two threads call getVMWrapper at the same time. r=luke 2013-02-26 13:49:44 +01:00
Masatoshi Kimura
58be2f3664 Bug 842372 - Part 2: Hide getUserData and setUserData from content. r=bz 2013-02-23 13:46:06 +09:00
Daniel Holbert
1232748dc5 Bug 845222: Remove unused private field Loop::graph. r=jandem 2013-02-26 00:06:37 -08:00
Marty Rosenberg
f79e9a13d1 Bug 843015: The Extended ldr instructions have a smaller maximum offset (255). Actually respect these limits. Also use paretheses correctly (r=sstangl) 2013-02-24 00:40:28 -05:00
Terrence Cole
485cb54be8 Bug 842482 - Don't try to guess typedarray initializer type with missing script; r=bhackett
--HG--
extra : rebase_source : cace8e3f6c79b0f330a9385b96c1680e3bfbc966
2013-02-25 22:26:37 -08:00
Trevor Saunders
1049ccba35 bug 833164 - consolodate the various makeDepend things in the tree r=ted 2013-02-14 07:06:16 -05:00
L. David Baron
4f4296979b Bug 404077: Annotate known assertions in mochitests. 2013-02-25 18:39:21 -08:00
Daniel Holbert
e088fa7176 Bug 845117 - Mark js/ipc as FAIL_ON_WARNINGS. r=smaug 2013-02-25 20:45:41 -05:00
Shu-yu Guo
051b517fa6 Bug 843884 - Pass execution mode through to inline IonBuilder (r=nmatsakis) 2013-02-22 13:51:51 -08:00
Shu-yu Guo
6a3fed7e52 Bug 843743 - Check return value of JSObject::setElement in UnsafeSetElement (r=nmatsakis) 2013-02-22 13:51:50 -08:00
Benoit Girard
75c4cfd49c Bug 767231 - Part 1: Add GTest. r=ted 2012-05-22 13:45:24 -07:00
Jim Blandy
5323204d18 Bug 827581: Unify JS_GetStringCharsZAndLength with JS_GetStringCharsAndLength. r=wmccloskey 2013-02-22 16:07:14 -08:00
Brian Hackett
4d3abc486e Bug 843937 - Specialize on eval(name + "()"), r=jandem. 2013-02-22 17:01:23 -07:00
Brian Hackett
d71d21d919 Bug 843875 - Don't use converted value for result of array assigns that require double conversion, r=jandem. 2013-02-22 16:58:31 -07:00
David Anderson
ea720cbbcb Revert previous change to YARR (bug 824856, r=sstangl). 2013-02-21 14:52:20 -08:00
Ryan VanderMeulen
1b1d4736df Merge m-c to inbound. 2013-02-22 12:45:21 -05:00
Ryan VanderMeulen
30ea044f55 Merge the last PGO-green inbound changeset to m-c. 2013-02-22 12:42:58 -05:00
Gregory Szorc
e18a5a8dfd Merge mozilla-central into build-system 2013-02-22 08:15:12 -08:00
Gregory Szorc
21c12f5774 Bug 784841 - Part 13: Properly normalize topsrcdir in config.status; r=glandium 2013-02-21 10:55:55 -08:00
Chuck Lee
e45fb52048 Bug 835719 - 0003. Rename JSAutoByteString.encode() to encodeLatin1(). r=terrence 2013-02-21 17:48:17 +08:00
Chuck Lee
4d6e622ba9 Bug 835719 - 0001. Support encode string to UTF-8 byte array. r=terrence 2013-02-22 10:58:52 +08:00
Jonathan Kew
e04415fc7f backout cset 4ede352670cd (bug 759585) on a CLOSED TREE on suspicion of making windows reftests so slow that they timeout and burn 2013-02-22 09:36:41 +00:00
Bill McCloskey
a9bd163faa Bug 816033 - Disable ecma_5/extensions/JSON-string-replacer-overflow.js on Windows debug builds 2013-02-21 21:54:35 -08:00
Nicholas Nethercote
8c25c7c6b8 Bug 842419 (part 8) - Reduce the arity of SRC_CATCH from 1 to 0. r=jorendorff.
--HG--
extra : rebase_source : 25b167dbbe39c673b9b7b66ef09b2d33e923c2a7
2013-02-20 17:42:22 -08:00
Nicholas Nethercote
97b0a14e50 Bug 842419 (part 7) - Split SRC_SWITCH in two. r=jorendorff.
--HG--
extra : rebase_source : c91557416354c9d8003ce9f1b481c09d7eca867b
2013-02-20 17:42:22 -08:00
Nicholas Nethercote
28db687f13 Bug 842419 (part 6) - Reduce the arity of three loop-related srcnotes, and remove another. r=jorendorff.
--HG--
extra : rebase_source : 1bd7092dd1bd116752c2817844e7351448b91d4d
2013-02-20 17:42:21 -08:00
Nicholas Nethercote
bfe7258189 Bug 842419 (part 5) - Reduce the arity of SRC_IF_ELSE from 2 to 1. r=jorendorff.
--HG--
extra : rebase_source : f892b0ca7e18f48332156f6c541a3bc6696b7332
2013-02-20 17:42:21 -08:00
Nicholas Nethercote
bd3d571ae7 Bug 842419 (part 4) - Clean up srcnote constants and js_SrcNoteSpec. r=jorendorff.
--HG--
extra : rebase_source : 2340657e4bdd1a0c47151ffdc0b6ad55f6b99792
2013-02-20 17:42:21 -08:00