Jason Orendorff
c94653e3df
Bug 547140, part 5 - Remove flags argument from lookup functions. r=Waldo.
2014-04-25 16:11:03 -05:00
Jason Orendorff
4740c9dea6
Bug 547140, part 4 - Remove flags argument from resolve hooks. r=Waldo.
2014-04-25 16:11:02 -05:00
Jason Orendorff
6e21c723d2
Bug 547140, part 2 - Remove flags argument from JS_GetPropertyDescriptor and friends. r=Waldo.
2014-04-25 16:11:01 -05:00
Jason Orendorff
e51a8c4a20
Bug 547140, part 1 - Remove JSRESOLVE_ASSIGNING. r=Waldo.
2014-04-25 16:11:00 -05:00
Ben Kelly
262b148f53
Bug 987556 Part 6 Use JS::SourceBufferHolder in JS::Compile() and JS::CompileFunction() r=luke
2014-04-25 10:11:56 -04:00
Ben Kelly
058138c81c
Bug 987556 Part 3 Use JS::SourceBufferHolder in various JS Evaluate() APIs r=luke
2014-04-25 10:11:56 -04:00
Ben Kelly
c926a12c77
Bug 987556 Part 1 Add JS::SourceBufferHolder for passing source script data. r=luke
2014-04-25 10:11:56 -04:00
Shu-yu Guo
7cec2c2638
Bug 716647 - Part 6: Tests. (r=jimb)
2014-04-24 01:59:38 -07:00
Bobby Holley
9766fa5987
Bug 990353 - Make the decision to discard source entirely per-global, rather than per-script. r=luke
...
This is effectively a policy decision based on the kind of code we expect to be
running somewhere. This is in contrast to lazy source, which is often a practical
per-script consideration of whether or not we can retrieve the source if requested.
More importantly, tracking this information on the global is much easier to
get right than tracking it on the script.
2014-04-22 14:08:27 -07:00
Terrence Cole
563d457634
Bug 807168 - Move GCMarker into gc/Tracer.h; r=jonco
...
--HG--
extra : rebase_source : 031495e6bb5510009eb871866e9f5e3beda24211
2014-04-16 16:26:33 -07:00
Bobby Holley
598e9fa905
Bug 993772 - Stop serializing principals along with scripts. r=mrbkap
...
The principal of a script is determined by the compartment these days, so this
field is useless.
2014-04-20 11:48:13 -07:00
Terrence Cole
56f4a8bca3
Bug 807168 - Make JSTracer into a real C++ class and kill the macro accessors; r=jonco,mccr8
...
--HG--
rename : js/public/Tracer.h => js/public/TracingAPI.h
2014-04-11 15:19:05 -07:00
Jon Coppeard
b1182ccb9f
Bug 996052 - Remove JSVAL_TRACE_KIND, JSVAL_IS_GCTHING and JSVAL_TO_GCTHING r=terrence
2014-04-17 09:36:32 +01:00
Terrence Cole
581c606391
Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
...
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Shian-Yow Wu
dd3cc24cec
Bug 945152 - Part 1: Support mapped array buffer type. r=sfink
2014-04-16 19:26:39 +08:00
Jon Coppeard
dae8d1e277
Bug 912581 - Make JS_Add*Root APIs take Heap<T> r=terrence r=bz r=bholley
2014-04-16 09:47:57 +01:00
Bobby Holley
1f55e4ee53
Bug 989528 - Introduce a mechanism to explicitly enter a null compartment. r=luke
2014-04-14 20:26:59 -07:00
Bobby Holley
c8667e5859
Bug 993438 - Infer the eventual compartment for OMT-compiled script when the script is retrieved. r=billm
...
Currently, the script gets put in a compartment specified when the compilation
is initiated. Later on, when we retrieve that script and try to execute it, we
won't necessarily be in the same compartment. Currently, SM just handles this
and clones the script, but it's simpler and more efficient to just create the
script in the compartment of whoever calls FinishOffThreadScript.
Note that the existing code actually has a hazard in which the call to
GetBuiltinPrototypePure returns null - it just wasn't exercised in automation
(and was triggered by onNewScript-off-main-thread.js with this patch).
2014-04-11 08:47:43 -07:00
Bobby Holley
d1ac5130e0
Bug 993438 - Add the necessary APIs. r=billm
2014-04-11 08:47:42 -07:00
Bobby Holley
c276c80a6f
Bug 990290 - Remove JS_GetObjectId. r=terrence
2014-04-11 07:59:47 -07:00
Bobby Holley
7734548879
Bug 990290 - Expose JSAPI functions for creating and manipulating scripted WeakMaps. r=terrence
2014-04-11 07:59:46 -07:00
Eric Faust
edf5e61761
Bug 890686 - Implement JS_GlobalObjectTraceHook, and install it appropriately. (r=billm)
2014-04-04 16:58:08 -07:00
Jon Coppeard
92f0d66be8
Bug 959787 - Handlify remaining JS APIs r=sfink r=bholley r=smaug
2014-04-02 15:28:03 +01:00
Jon Coppeard
fb6ccb11db
Bug 959787 - Handlify JS_ExecuteScript and JS::Evaluate APIs r=terrence r=bz
2014-04-01 11:34:39 +01:00
Terrence Cole
fdb0eed6c9
Bug 987666 - Remove the unused dynamic root analysis. r=sfink
2014-03-24 18:32:36 -04:00
Bobby Holley
2ca3777187
Bug 958326 - Remove same-compartment security wrapper machinery. r=mrbkap
2014-03-26 10:59:20 -03:00
Bobby Holley
b1aad59d64
Bug 986304 - Augment JSAPI to give callers the option to not define named functions on the scope object. r=terrence
2014-03-21 23:31:02 -03:00
Jeff Walden
85e409d130
Bug 985687 - Remove vestigial tinyid/shortid references, as well as the field in JSPropertySpec. Followup to bug 975069. r=luke
...
--HG--
extra : rebase_source : 9e4bd270925efb155dacb91470b617f169526824
2014-03-20 23:24:21 -07:00
Jeff Walden
6bb4464a03
Back out bug 985687, likely cause of js1_8_5/extensions/recursion.js cantankering. r=CLOSED TREE
2014-03-20 16:39:30 -07:00
Jeff Walden
b44fa4bf74
Bug 985687 - Remove vestigial tinyid/shortid references, as well as the field in JSPropertySpec. Followup to bug 975069. r=luke
...
--HG--
extra : rebase_source : 4a9d1d783e658648c4ff210760b38f8353631458
2014-03-11 12:03:56 -07:00
Jon Coppeard
e6fbcd2690
Bug 959787 - Handlify some more GCing APIs r=sfink
2014-03-20 09:32:37 +00:00
Brian Hackett
ae18c1f2c7
Bug 972817 - Enable type inference unconditionally, r=jandem.
2014-03-18 09:05:16 -06:00
Brian Hackett
c39fd409c3
Bug 979480 - Don't store array buffer contents in elements, r=sfink.
2014-03-17 11:46:04 -06:00
Jon Coppeard
09b45e921b
Bug 959787 - Handlify JS_ExecuteScript, JS_EvaluateScript and other JS APIs r=sfink r=bz
2014-03-17 16:17:58 +00:00
Jeff Walden
1d4c2e8754
Back out a5377cd1e45e (bug 945152 part 1) to clear way for other fixing. Also should reland in short order once those other fixes land. r=backout
2014-03-14 16:39:23 -07:00
Jeff Walden
45fbbba5b9
Back out b80f97b00d2f (bug 979480), it's in the way of more immediately important work. r=backout
2014-03-14 16:07:43 -07:00
Brian Hackett
c9183d3fae
Bug 979480 - Don't store array buffer contents in elements, r=sfink.
2014-03-14 12:18:14 -06:00
Shian-Yow Wu
ce6586e24c
Bug 945152 - Part 1: Support mapped array buffer type. r=sfink
2014-03-13 14:32:13 +08:00
Jason Orendorff
3e89ce1e7c
Bug 977287, part 1 - Rename the "operation callback" to "interrupt callback". r=luke.
2014-03-10 16:28:43 -05:00
Jim Blandy
e48f244dea
Bug 969273: Move JSPrincipals-related types and functions to their own header. r=mrbkap
...
JSSubsumesOp seems to have gotten dragged into Class.h somehow, but it's
not a metaobject protocol type at all. It belongs with JSSecurityCallbacks
and friends, which together form a chunk that could be neatly abstracted.
2014-03-07 11:50:41 -08:00
Jan de Mooij
4c9d5d418c
Bug 939562 part 3 - Move JIT flags from ContextOptions to RuntimeOptions. r=bent,bholley,luke
...
--HG--
extra : rebase_source : cea8b4ab3024ed49e8be688f7cf4819bba0f5d29
2014-02-26 10:25:36 +01:00
Luke Wagner
9d3664fd61
Bug 980180 - remove principals as an argument to compilation, part 2 (r=terrence)
...
--HG--
extra : rebase_source : 86791b50b4293ba5506f1e0f5c64730338f552e6
2014-03-06 16:28:07 -06:00
Luke Wagner
1f15bc50e0
Bug 980180 - remove principals as an argument to compilation, part 1 (r=terrence)
...
--HG--
extra : rebase_source : 8bf0ff6974870d6772021aafa88dd8fd5132fc70
2014-03-06 16:28:05 -06:00
Luke Wagner
b7edb7cae1
Bug 963588 - asmjscache: place cache entries apps that request AOT compilation in persistent storage (r=janv)
...
--HG--
extra : rebase_source : 95bc3d02cb1a7f2728d2615e8b992e0a2b2397f1
2014-03-05 14:47:10 -06:00
Jeff Walden
4fb5f39899
Bug 972132 - Convert JS::EmptyValueArray to JS::HandleValueArray::empty(). r=terrence
...
--HG--
extra : rebase_source : 58b87df07373a7811136682b128aea67f04446cd
2014-02-12 23:38:36 -08:00
Ed Morley
cbfe2d6c71
Backed out changeset 508848ad378a (bug 939562) for causing bug 978450
2014-03-03 16:54:26 +00:00
Jan de Mooij
f3ddd05d72
Bug 939562 part 3 - Move JIT flags from ContextOptions to RuntimeOptions. r=bent,bholley,luke
...
--HG--
extra : rebase_source : e25c6f5f381a972c472fb8a845c737fb31617682
2014-02-26 10:25:36 +01:00
Jim Blandy
bef90394e6
Bug 969786: Add an 'introduction script' compilation option to ReadOnlyCompileOptions, OwningCompileOptions, and CompileOptions. r=sfink
2014-02-26 15:20:00 -08:00
Luke Wagner
dce67ed075
Remove JS_ prefix from DescribeScriptedCaller in comments NPOTB (no bug, r=me)
2014-02-27 10:47:54 -06:00
Benjamin Bouvier
438e225871
Bug 939843: Required changes in Spidermonkey; r=mjrosenb
...
--HG--
extra : rebase_source : e629b045dfe460348c339ef0e7d301b67c6799fd
2014-02-27 16:23:11 +01:00
Wes Kocher
803fd6483c
Backed out 3 changesets (bug 969786) for m-oth permabustage on a CLOSED TREE
...
Backed out changeset a79a64806e6c (bug 969786)
Backed out changeset 198decf16acf (bug 969786)
Backed out changeset 7d0b03e13765 (bug 969786)
2014-02-26 17:05:33 -08:00
Jim Blandy
456674b133
Bug 969786: Add an 'introduction script' compilation option to ReadOnlyCompileOptions, OwningCompileOptions, and CompileOptions. r=sfink
2014-02-26 15:20:00 -08:00
Carsten "Tomcat" Book
6c50fbdfed
Backed out changeset 802aa43ae8cc (bug 939562) for PGO mochitest regression on a CLOSED TREE
2014-02-26 16:02:15 +01:00
Jason Orendorff
53e5b80193
Bug 972319, part 1 - Add new API JS::AutoSaveExceptionState as a replacement for JS_SaveExceptionState. r=luke.
2014-02-26 08:55:34 -06:00
Jan de Mooij
46b31338d1
Bug 939562 part 2 - Move JIT flags from ContextOptions to RuntimeOptions. r=bent,bholley,luke
2014-02-26 10:25:36 +01:00
Luke Wagner
dfb0b68df3
Bug 976348 - Change DescribeScriptedCaller to not return a JSScript (r=bholley)
...
--HG--
extra : rebase_source : 58387ce3e4c49d3140b92b84bf3577fc6584820e
2014-02-25 09:43:14 -06:00
Jim Blandy
fd29d2c80f
Bug 935203: Provide introductionType information for all sources of JS in SpiderMonkey. r=djvj
2014-02-24 15:31:47 -08:00
Bobby Holley
30907ef9cb
Bug 975277 - Introduce a mechanism to identify instances of standard classes. r=luke
2014-02-21 16:03:11 -08:00
Terrence Cole
dda1d29077
Bug 969410 - Do not expose non-tenured addresses in JS_GetObjectId; r=sfink
...
--HG--
extra : rebase_source : dfa32a19df80b9ae5f9d7d535b141e50007c0149
2014-02-20 13:38:57 -08:00
Luke Wagner
b1325de739
Bug 797126 - Remove tinyid/shortid/userid (r=terrence)
...
--HG--
extra : rebase_source : d3cee5e71ca02708e91419b209b5914ce9fd2f9f
2014-02-21 10:24:26 -06:00
Luke Wagner
047510675f
Bug 969415 (part 1) - Add OOM callback hook to JS engine. r=njn.
...
--HG--
extra : rebase_source : f6a7f0b0aa10d6a938e1608f6cb7ccf76f3085c8
2014-02-20 18:35:42 -08:00
Terrence Cole
c2c5a9e428
Bug 975069 - Remove SpiderMonkey's public tinyid interfaces; r=luke
...
--HG--
extra : rebase_source : f27ef72793efbed252e6fef2d66d7a055a02f6a0
2014-02-19 18:31:24 -08:00
Brian Hackett
2a9fd71c02
Bug 964059 - Share atoms compartment/zone between multiple runtimes, r=billm,bent.
2014-02-19 09:02:13 -07:00
Bobby Holley
85b344030a
Bug 968460 - Use the incumbent global for nsGlobalWindow::GetCallerGlobal and remove JS_GetScriptedGlobal. r=bz
2014-02-14 22:39:33 -08:00
Luke Wagner
6f81973871
Bug 936236 - Send memory-pressure notification if ArrayBuffer allocation OOMs and retry allocation (r=mccr8)
2014-02-12 22:50:15 -06:00
Steve Fink
f7858b6310
No bug. Comment clarification on how to free JS_AllocateArrayBufferContents results. r=woof!, DONTBUILD
...
--HG--
extra : rebase_source : 60f1176a1a8db91513b7792f2b95bc5768c5296b
2014-02-13 13:33:07 -08:00
Kannan Vijayan
21e7995fb4
Bug 952891 - Add PIC fast-path for ForOfIterator iteration over arrays. r=jimb r=jorendorff DONTBUILD
2014-02-13 14:29:00 -05:00
Kannan Vijayan
158468a425
Backed out changeset 45f374858666 (bug 852891) for bad commit message referencing wrong bug. DONTBUILD
2014-02-13 14:24:37 -05:00
Kannan Vijayan
d07b085e92
Bug 972087 - Add PIC fast-path for ForOfIterator iteration over arrays. r=jimb r=jorendorff
2014-02-13 14:20:27 -05:00
Jon Coppeard
735137fc57
Bug 959787 - Handlify arguments for Call APIs r=terrence r=bz
2014-02-13 15:33:04 +00:00
Phil Ringnalda
a81224168b
Back out d54433699f2e (bug 936236) for adding 5 rooting hazards
...
CLOSED TREE
2014-02-12 23:26:28 -08:00
Luke Wagner
bca966a5cc
Bug 936236 - Notify memory-pressure observers when allocating a large ArrayBuffer fails (r=mccr8)
...
--HG--
extra : rebase_source : 49eadf76ae73e5e4f1c24149839bdc7200e00494
2014-02-12 22:50:15 -06:00
Jon Coppeard
d0e56d0b88
Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz
2014-02-12 10:50:46 +00:00
Steve Fink
7afa40e27e
Bug 970253 - cx param to JS_AllocateArrayBufferContents is optional, r=terrence
...
--HG--
extra : rebase_source : 23adbdf985c85d3879f49578840f3e038aba4527
2014-02-10 14:23:46 -08:00
Jon Coppeard
c3759c40ff
Bug 965830 - Convert use of JS_CallFunction and related APIs uses to HandleValueArray r=terrence r=smaug
2014-02-11 10:59:16 +00:00
Jon Coppeard
457e5b82c5
Bug 965830 - Add HandleValueArray class to receive rooted arrays of Values r=terrence
2014-02-11 10:59:16 +00:00
Jon Coppeard
f9b9e81392
Bug 965830 - Remove AutoArrayRooter from the public API r=terrence r=smaug
2014-02-11 10:59:15 +00:00
Jon Coppeard
4d149bca47
Bug 965830 - Make AutoValueArray into a fixed-size inline array that roots its contents r=terrence
2014-02-11 10:59:15 +00:00
Jon Coppeard
eea6ca3467
Bug 969798 - Convert JS_ConvertArguments APIs to take CallArgs rather than raw Value pointer r=terrence
2014-02-10 16:42:27 +00:00
Jim Blandy
0f605b207d
Bug 968580: Use the term 'introductionType', as appearing in the Debugger API, throughout the code base. r=djvj
2014-02-07 12:36:03 -08:00
Kannan Vijayan
2d0f2842b3
Bug 332176 - Change eval-ed scripts to have more descriptive filenames indicating the chain of evaluation, and give them absolute line numbers instead of the offset-from-lineno-of-eval-in-caller-script approach used currently. r=jimb
2014-02-04 16:23:20 -05:00
Nicholas Nethercote
91ad2e51cf
Bug 964238 (part 2) - Remove AutoStringRooter, because it's no longer used. r=terrence.
...
--HG--
extra : rebase_source : 3d3253f2bc1a867679841d60e4b49c62b8f917c5
2014-01-30 14:59:18 -08:00
Nicholas Nethercote
8ad98d5f7b
Bug 964238 (part 1) - Remove JSStableString and StableTwoByteChars. r=terrence.
...
--HG--
extra : rebase_source : 1859ce0b42661494fa13628551359a5a5d5663c0
2014-01-30 14:58:53 -08:00
Jon Coppeard
4df3aa4450
Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz
2014-01-31 09:55:20 +00:00
Carsten "Tomcat" Book
f4bc96a601
Backed out changeset e2c75ec7f3d4 (bug 959787) for breaking b2g builds on a CLOSED TREE
2014-01-31 12:11:23 +01:00
Jon Coppeard
ba27569312
Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz
2014-01-31 09:55:20 +00:00
Bobby Holley
7166faea0a
Bug 872273 - Remove non-cx variant of ErrorFromException, and make it take a HandleObject. r=Waldo
...
We're going to need to start doing more work in js_ErrorFromException, which
will require a |cx| and may GC.
2014-01-30 09:30:29 -08:00
Bobby Holley
331a1f6c7b
Bug 959012 - Clean up and separate the semantics of js_{Get,Find}Class{Prototype,Object}. r=jorendorff
2014-01-30 07:45:16 -08:00
Bobby Holley
8b2a3c8d5b
Bug 959012 - Remove unused cx parameter from JS_IdentifyClassPrototype. r=jorendorff
2014-01-30 07:45:16 -08:00
Terrence Cole
6dab4aa4c1
Bug 963738 - Fix some false positives in the Array analysis; r=jonco
2014-01-28 12:05:35 -08:00
Jon Coppeard
d0ac1956cc
Bug 959787 - Handlify some misc JS APIs r=sfink r=smaug
2014-01-29 10:00:40 +00:00
Boris Zbarsky
cb00415476
Followup bustage fix for bug 952873 to fix CLOSED TREE
2014-01-28 17:54:31 -08:00
Boris Zbarsky
15af5faccd
Bug 952873 part 2. Expose JSAPI for doing for-of iteration. r=jorendorff
2014-01-28 16:16:03 -08:00
Wes Kocher
d40a8ba7e2
Backed out 2 changesets (bug 952873) for build bustage on a CLOSED TREE
...
Backed out changeset 92dfed2592ae (bug 952873)
Backed out changeset 1ae58fcd61a9 (bug 952873)
2014-01-28 17:34:42 -08:00
Boris Zbarsky
977365d0e5
Bug 952873 part 2. Expose JSAPI for doing for-of iteration. r=jorendorff
2014-01-28 16:16:03 -08:00
Nikhil Marathe
8c829fb1a0
Bug 957926 - Add JS::CreateTypeError. r=jorendorff
...
--HG--
extra : rebase_source : d621273cbff342f10864c2843a53eb55421fe582
2014-01-28 09:19:48 -08:00
Chris Peterson
ac4837ccb1
Bug 964016 - Part 4: Replace JS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE. r=luke
2014-01-24 20:14:56 -08:00
Jon Coppeard
bfba7b5146
Bug 963167 - Convert JS_SetElement() to take HandleValue rather than MutableHandleValue r=sfink r=bz
2014-01-25 09:31:17 +00:00
Jon Coppeard
74da1a60c3
Bug 959787 - Handlify JS_Set* APIs r=terrence r=bz
2014-01-25 09:29:12 +00:00
Bobby Holley
af7880d72a
Bug 957688 - Remove checkObjectAccess security callback. r=mrbkap
...
There's no need for the JS shell stuff either, since vm/Runtime.cpp already
sets up NullSecurityCallbacks by default.
2014-01-24 16:08:25 -08:00
Bobby Holley
c8281a04d3
Bug 957688 - Remove JS_CheckAccess. r=mrbkap
...
But how will we call from Gecko into the JS engine to query CAPS via a callback?
2014-01-24 16:08:24 -08:00
Terrence Cole
07cf57140e
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 7; r=sfink
2014-01-21 17:03:20 -08:00
Terrence Cole
91ca6a1d69
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 6; r=jonco
2014-01-17 10:10:17 -08:00
Andrew McCreight
8aa8afcb8d
Bug 963652 - Handlify JS_ForwardGetPropertyTo. r=terrence
2014-01-24 15:01:47 -08:00
Jon Coppeard
68ea58c9c7
Bug 959787 - Handlify JS_Lookup* APIs r=sfink r=bz
2014-01-24 14:03:56 +00:00
Nicolas B. Pierron
469b6da4af
Bug 920322 - XDR/Clone singletons. r=bhackett,jandem
2014-01-23 06:43:28 -08:00
Jim Blandy
dbbe6cad1d
Bug 942251: Rename Debugger.Script.prototype.elementProperty to elementAttributeName, and all related. r=sfink
...
--HG--
rename : js/src/jit-test/tests/debug/Source-elementProperty.js => js/src/jit-test/tests/debug/Source-elementAttributeName.js
2014-01-22 16:41:16 -08:00
Jim Blandy
f044b1e28b
Bug 944121: Abstract JS shell's compilation options parsing out into its own function. r=bhackett
2014-01-22 16:41:16 -08:00
Jim Blandy
bcdbbde4dc
Bug 952885: When doing cross-global compilations in the shell, properly wrap CompileOptions members for the new global. r=njn
2014-01-22 16:41:15 -08:00
Jon Coppeard
5518bdc828
Bug 959787 - Handlify has property APIs r=terrence r=bz
2014-01-22 11:28:06 +00:00
Jon Coppeard
d10337280e
Bug 959787 - Handlify JS_Delete* APIs r=sfink
2014-01-22 11:28:06 +00:00
Luke Wagner
2108045c2d
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
Nathan Froyd
fdf1d4fe0c
Backout dc82a01d0cfe (bug 961318) for various JavaScript test failures on this CLOSED TREE
2014-01-20 20:09:59 -05:00
Luke Wagner
82167b9620
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 : bd4e6b296e7a02dbe2370a515174dcd1a6a57ffa
2014-01-20 18:00:18 -06:00
Terrence Cole
be1579cec3
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 5; r=jonco
...
--HG--
extra : rebase_source : 13c96b6118408cfb001a3191871cbf7ce4d8a2c3
2014-01-17 10:09:38 -08:00
Terrence Cole
d902eeddc8
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 4; r=sfink,r=bz
...
--HG--
extra : rebase_source : 8e1ff566f47795cd82e3f4c0a6fa37b88e7847b4
2014-01-17 10:08:51 -08:00
Chris Peterson
307f1d6f78
Bug 960416 - Always use JIT hardening. r=luke
...
--HG--
extra : rebase_source : ae9e635eac09044f05fea9ad27ab52bb888c703e
2013-12-25 00:21:59 -08:00
Terrence Cole
6beccf2363
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 3; r=sfink
...
--HG--
extra : rebase_source : ace7b0fa6ba93acbf0ec8ecaeb68ffa287a33665
2014-01-16 09:48:58 -08:00
Terrence Cole
aa7ab27af5
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 2; r=sfink
...
--HG--
extra : rebase_source : e36c89af9c362e781d9ca9aceee42779258328b5
2014-01-14 17:19:07 -08:00
Terrence Cole
f7e4661151
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 1; r=sfink,Ms2ger
...
--HG--
extra : rebase_source : 0e0e75028f12db9cc4cf612a9205525669b70267
2014-01-14 12:41:22 -08:00
Jon Coppeard
6bd3e3d8aa
Bug 960011 - Fix some unsafe references in jsapi.cpp r=terrence
2014-01-16 10:14:01 +00:00
Jon Coppeard
1c4835c7fd
Bug 959683 - Use rooting typedefs consistently in our public API r=sfink
2014-01-15 10:31:00 +00:00
Steve Fink
f0afc04c4d
Bug 951743 - Make JS_FRIEND_API always export symbols with default visibility, r=glandium
2014-01-14 13:20:24 -08:00
Nathan Froyd
6087eb63f6
Bug 958262 - reduce space required by JSPropertySpec; r=till,bz,Waldo
2014-01-10 12:11:31 -05:00
Luke Wagner
e99d6d95da
Bug 944821 - Support more than 1 cached asm.js module per origin (r=janv)
...
--HG--
rename : js/xpconnect/tests/mochitest/file_asmjs.js => dom/asmjscache/test/file_slow.js
rename : js/xpconnect/tests/mochitest/test_asmjs2.html => dom/asmjscache/test/test_cachingBasic.html
rename : js/xpconnect/tests/mochitest/test_asmjs.html => dom/asmjscache/test/test_slow.html
rename : js/xpconnect/tests/mochitest/test_asmjs3.html => dom/asmjscache/test/test_workers.html
extra : rebase_source : 14efc458193762f5be99dfff78d353a63f3fc45a
2013-12-04 22:32:52 -06:00
masaya iseki
eadb0e55e4
Bug 945596 - Define getJitCompilerOption to confirm jit-compiler-options. r=nbp, r=h4writer
2014-01-06 10:03:41 -05:00
Luke Wagner
2e804616e4
Bug 924905 - Do a subsumes check inside the stack iterator. r=jandem
...
--HG--
extra : rebase_source : ff8407c4f79fd3e2264470379470c526a751e45f
2014-01-03 10:32:56 -06:00
Jon Coppeard
b04d819584
Bug 930427 - Add a compartment option specifically for mergable compartments r=billm
2014-01-03 10:30:51 +00:00
Ryan VanderMeulen
16ff3f2889
Backed out changeset cb4cd38abdc5 (bug 945596) for bustage.
...
CLOSED TREE
2014-01-02 11:17:12 -05:00
masaya iseki
fbf5f9b668
Bug 945596 - Define getJitCompilerOption to confirm jit-compiler-options. r=nbp
2014-01-02 10:50:14 -05:00
Jeff Walden
bb7f1ca7da
Inherit RangedPtr's operator= in all of SpiderMonkey's *CharsZ classes, so that assignment of the correct raw pointer to each will compile. No bug, r=terrence over IRC
2013-12-19 13:56:24 -05:00
Till Schneidereit
56b7f10b53
Bug 911400 - Create OpaqueWrappers when wrapping objects for use in the self-hosting global and OpaqueWrapperWithCalls when wrapping self-hosted function for use in other compartments. r=bholley
2013-11-26 13:45:54 +00:00
Nicolas B. Pierron
23c4082c6e
Bug 950044 - Add JS Shell option to restrict the memory available. r=h4writer
2013-12-17 05:46:46 -08:00
Jason Orendorff
1f26ac383a
Bug 948647, part 2 - Rename js_ReportErrorAgain to js::CallErrorReporter (and other related tidying-up). r=Waldo.
...
--HG--
extra : rebase_source : 390a3f249982ed3b5843e78077bcd102e1366a48
2013-12-16 06:03:18 -06:00
Bobby Holley
326dca0954
Bug 937317 - Implement and expose GetIncumbentGlobal. r=bz,luke
2013-12-11 17:51:57 -08:00
Tom Schuster
11675716d5
Bug 697343 - Remove getElementIfPresent. r=Waldo
2013-12-05 20:07:24 +01:00
Sean Stangl
33cecd91b2
Bug 939505 - Use JS_DEBUG in public headers. r=jorendorff
2013-12-06 15:03:08 -08:00
Phil Ringnalda
cacf62c269
Back out 35371620801a:bf2019278b77 (bug 937317) for gaia-ui-test bustage and frequent timeouts in its own test
2013-12-07 11:08:56 -08:00
Bobby Holley
83fd970692
Bug 937317 - Implement and expose GetIncumbentGlobal. r=bz,luke
2013-12-06 12:01:42 -08:00
Carsten "Tomcat" Book
47c54a0f82
Backed out changeset cad77af5f7e6 (bug 937317) WinXP Build Bustage on a CLOSED TREE
2013-12-06 08:42:20 +01:00
Bobby Holley
6341333e54
Bug 937317 - Implement and expose GetIncumbentGlobal. r=bz,luke
2013-12-05 21:34:16 -08:00
Ryan VanderMeulen
5c07e15985
Backed out changesets 22770b30545b, 0809370fabdb, 4ef4764c1b55, and bfe768b87464 (bug 697343) due to Gaia UI test bustage.
...
CLOSED TREE
2013-12-05 16:19:47 -05:00
Tom Schuster
922370489e
Bug 697343 - Remove getElementIfPresent. r=Waldo
2013-12-05 20:07:24 +01:00
Jeff Walden
d272298ed4
Bug 943839 - Simplify Anchor and get rid of JS_AnchorPtr. r=terrence
...
--HG--
extra : rebase_source : f2d9e039f758b6078c57f601537effe8c7c39f82
2013-12-02 15:43:30 -08:00
Joshua Cranmer
ae71929347
Bug 884676 - Convert JSPrincipals::refcount to Atomic<int32_t> in JS_THREADSAFE builds, and remove JS_ATOMIC_*. r=Waldo
2013-11-27 09:37:10 -06:00
Luke Wagner
3d01d25dc6
Bug 929236 - Don't waste time caching small asm.js modules (r=sstangl)
...
--HG--
extra : rebase_source : 03c1f15c9ad89e0cae2e53a633ab743656380bf5
2013-11-18 16:02:05 -06:00
Jon Coppeard
a6b44c3a5b
Bug 942354 - GC: Remove NAME_ALL_GC_ROOTS #define r=terrence
2013-11-26 10:21:22 +00:00
Bobby Holley
1e99e3a88d
Bug 933681 - Introduce an API to map from names to JSProtoKeys. r=jorendorff
2013-11-22 10:55:42 -08:00
Jim Blandy
0cc01ddf21
Bug 637572: Add elementProperty to CompileOptions. r=sfink
2013-11-21 13:25:15 -08:00
Nicholas D. Matsakis
e8eb521aac
Bug 938728 - Add float32x4 and int32x4 data constructors r=till
2013-11-20 15:11:45 -05:00
Eddy Bruel
afa82c35ec
Bug 938907 - Get rid of the compile and go flag on ContextOptions; r=bholley
2013-11-19 12:41:42 +01:00
Tom Schuster
4478f5b384
Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz
2013-11-16 13:31:36 +01:00
Ms2ger
cca4d45da6
Backout changesets ded0d64f6786:03f041d03f24 and 30cbd1abde1a (bug 935696, bug 933834 and bug 939194) for build bustage.
2013-11-17 16:39:25 +01:00
Tom Schuster
bc757ef965
Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz
2013-11-16 13:31:36 +01:00
Eddy Bruel
5c1c83ae2f
Bug 934419 - Split CompartmentOptions off from ContextOptions; r=bholley
2013-11-11 21:44:33 +01:00
Jim Blandy
3d947f96ef
Bug 887077: Use ReadOnlyCompileOptions in preference to CompileOptions where possible. r=terrence
2013-11-07 21:07:18 -08:00
Jim Blandy
35172111d3
Bug 887077: Split CompileOptions into ReadOnlyCompileOptions, CompileOptions, and OwningCompileOptions. r=terrence
2013-11-07 21:07:18 -08:00
Jim Blandy
f40fd9035b
Bug 887077: Use getter functions to retrieve ownable resources from CompileOptions, instead of direct data member access. r=terrence
2013-11-07 21:07:18 -08:00
Nicholas Nethercote
d103ebf82f
Bug 634417 - Remove inappropriate uses of vanilla malloc/calloc/realloc/free/strdup from SpiderMonkey. r=luke.
...
--HG--
extra : rebase_source : 4470cdf58a482eb05f94cd00a9800d8e6a0d2252
2013-11-08 09:52:14 +11:00
Andrew McCreight
e36d22d396
Bug 909490, part 3 - Add callback for zone sweeping. r=jonco
2013-09-25 13:41:25 -07:00
Andrew McCreight
3dcd9930d3
Bug 909490, part 2 - Add callback for zone destruction. r=billm
2013-09-25 13:41:25 -07:00
Andrew McCreight
2b8772922b
Bug 909490, part 1 - Add per-zone data for use by embedder. r=billm
2013-08-27 09:42:11 -07:00
Tom Schuster
c3fbce57ed
Bug 934557 - Handlify JS::ToBoolean and remove JS_ValueToBoolean. r=terrence
2013-11-06 16:26:50 +01:00
Nicholas Nethercote
7939faac73
Bug 837566 - Remove js_RemoveRoot. r=terrence.
...
--HG--
extra : rebase_source : b3b615c34cfa4b9766a3484060242498c5a57e63
2013-02-03 20:16:19 -08:00
Tom Schuster
822b70dad6
Bug 933946 - Remove the rest of the old number conversion functions from SpiderMonkey. r=terrence
2013-11-02 13:48:09 +01:00
Tom Schuster
37ee9de83c
Bug 933810 - Really remove JS_ValueToECMAUint32. r=terrence f=mccr8
2013-11-01 20:44:05 +01:00
Terrence Cole
1a61e338d5
Bug 931218 - Fix an exact rooting hazard in JS_StealArrayBufferContents; r=sfink
2013-10-25 11:57:26 -07:00
Eddy Bruel
d94d3cb9a5
Bug 880330 - Remove the old options API; r=bholley
2013-10-28 12:59:04 +01:00
Tom Schuster
127ebf3721
Bug 930782 - Handlify JS_WrapValue. r=terrence
2013-10-26 18:19:05 +02:00
masaya iseki
9f23ec4445
Bug 909997 - Add JS compiler options at runtime to expand differential testing; r=nbp"
2013-10-22 17:47:00 +01:00
Steve Fink
63e2453e93
Bug 861925 - Steal and neuter ArrayBuffers at end of structured clone, r=jorendorff
...
--HG--
extra : rebase_source : 3378a06b47e7ee2f45da841b3604077b4c2b64e6
2013-10-15 23:48:20 -07:00
Jim Blandy
53a9ab4dc3
Bug 928507: Properly hide JS::Handle's assignment operator; add 'repoint' method to deal with the fallout; fix C1Spewer, IonSpewer, and CompileOptions. r=terrence
2013-10-21 12:56:44 -07:00
Tom Schuster
fe82cf2d65
Bug 884410 - Remove JS_ValueToNumber. r=terrence
2013-10-19 18:39:52 +02:00
Luke Wagner
39180707d8
Bug 900669 - OdinMonkey: asm.js caching (shell-only support) (r=sstangl)
...
--HG--
extra : rebase_source : f6031010760e1e09d43c03b3d5ef845155d247b9
2013-10-15 12:13:34 -05:00
Ryan VanderMeulen
e133b9c29a
Backed out changeset 79a1f60d83df (bug 909997) for bustage.
...
CLOSED TREE
2013-10-17 14:50:47 -04:00
masaya iseki
3cd69c086c
Bug 909997 - Add JS compiler options at runtime to expand differential testing. r=nbp
2013-10-17 14:37:57 -04:00
Andy Wingo
42d8ea0ae4
Bug 919948 - Convert Array.prototype.@@iterator to use new iteration protocol. r=jorendorff
...
--HG--
extra : rebase_source : d67252851178e66e8d7ef82ef83edddf79535a4e
2013-10-17 12:10:02 +02:00
Jan de Mooij
6cecaaf71d
Bug 859892 - Rename JS_CANONICALIZE_NAN to JS::CanonicalizeNaN. r=Waldo
2013-10-17 10:16:17 +02:00
Bobby Holley
2dcd8b769e
Bug 922009 - MOZ_CRASH when trying to transplant objects with SCSWs. r=mrbkap
2013-10-17 10:00:02 +02:00
Wes Kocher
8f3adfafc6
Backed out changeset f5838290c705 (bug 900669) for rootanalysis bustage
2013-10-15 18:52:36 -07:00
Wes Kocher
1a01f63e42
Backed out 5 changesets (bug 861925) so I can backout bug 900669 cleanly
...
Backed out changeset 8febf2f0e35d (bug 861925)
Backed out changeset e646195f32ae (bug 861925)
Backed out changeset 015a92e94c07 (bug 861925)
Backed out changeset 4546406915c1 (bug 861925)
Backed out changeset 63321a464309 (bug 861925)
2013-10-15 18:51:50 -07:00
Steve Fink
034ea78515
Bug 861925 - Steal and neuter ArrayBuffers at end of structured clone, r=jorendorff
...
--HG--
extra : rebase_source : 90ef9de8673dc50e81810a8cdcc86c8a8dbbc7bb
2013-10-15 17:26:19 -07:00
Luke Wagner
eb1177dfd1
Bug 900669 - OdinMonkey: asm.js caching (shell-only support) (r=sstangl)
...
--HG--
extra : rebase_source : c48a7a8cd83a9af6f39884b800a026016353c7c6
2013-10-15 12:13:34 -05:00
Tom Schuster
1faae39271
Bug 8844105 - Handlify JS_WrapObject. r=terrence
2013-10-15 20:02:23 -04:00
Eddy Bruel
6432194dec
Bug 880330 - Replace options bitfield in JSContext with a struct; r=bholley
2013-10-14 13:25:47 +02:00
Birunthan Mohanathas
075a3ea1b6
Bug 784739 - Switch from NULL to nullptr in js/src/ (1/9); r=ehsan
...
--HG--
extra : rebase_source : 358fd557136a4c12a3a374657050279d1bdeedfa
2013-10-07 12:42:55 -04:00
Jeff Walden
8860c86e7d
Bug 921631 - Restrict the JS_PSG/JS_PSGS flags to not contain JSPROP_READONLY (meaningless for accessors) or JSPROP_SHARED or JSPROP_NATIVE_ACCESSORS (implied by the macros already). r=jorendorff
...
--HG--
extra : rebase_source : ef4134cfbb1898c2398354f361a30cce5ffba89e
2013-09-27 14:43:38 -07:00
Bill McCloskey
87e214ec6b
Bug 918170 - Handle StopIteration in CPOWs (r=dvander)
2013-09-30 12:20:51 -07:00
Jeff Walden
1c0f3c07fd
Bug 919021 - Convert ctypes over to use JS::AutoValueVector instead of its own array class. r=terrence
2013-09-20 15:04:53 -07:00
Andy Wingo
c535958dc3
Bug 920433 - Improve API support for self-hosted functions. r=till, r=bz
2013-09-26 10:11:38 -04:00
Dan Gohman
4d985209ed
Bug 918023 - SpiderMonkey: Const-qualify various static variables. r=njn
2013-09-24 08:21:22 -07:00
Ryan VanderMeulen
fe96ecc1e3
Backed out changeset 2c3d1c9241d7 (bug 918023) for Windows debug TestEndian failures.
...
CLOSED TREE
2013-09-24 14:09:15 -04:00
Dan Gohman
69a7a0d34e
Bug 918023 - SpiderMonkey: Const-qualify various static variables. r=njn
2013-09-24 08:21:22 -07:00
Steve Fink
4cfb6ee02b
Bug 918462 - Replace JS_IsConstructing() body with CallReceiver. r=Waldo
2013-09-19 16:08:21 -07:00
Jon Coppeard
7f7a4918ef
Bug 918373 - GC: Handlify various public APIs r=sfink r=bholley r=smaug
2013-09-20 10:22:59 +01:00
Jon Coppeard
e562fc4cfa
Bug 917843 - Handlify JS identifier APIs r=billm
2013-09-19 08:54:02 +01:00
Jon Coppeard
607c80c4e2
Bug 917295 - GC: Handlify public date APIs r=terrence r=bz
2013-09-19 08:54:01 +01:00
Jon Coppeard
692778cddf
Bug 917798 - Handlify JS exception APIs r=terrence r=bz
2013-09-19 08:54:01 +01:00
Jon Coppeard
c9e20dfff0
Bug 917296 - GC: Handlify public regexp APIs r=billm
2013-09-19 08:54:01 +01:00
Dan Gohman
f9494c4a8d
Bug 916683 - SpiderMonkey: Delete a function which has been obsolete for over 3 years. r=n.nethercote
2013-09-17 15:44:43 -07:00