Ms2ger
b3ff1e4405
Bug 722154 - Part a: Remove custom quickstub for bufferData; r=bjacob
2012-03-16 10:50:00 +01:00
Ms2ger
090a26ea3d
Bug 550309 - Part e: Remove custom quickstub for getImageData and return an actual ImageData; r=bz
2012-03-16 10:48:55 +01:00
Ms2ger
7ea9d494ee
Bug 550309 - Part c: Implement ImageData; r=bz
2012-03-16 10:44:08 +01:00
Bobby Holley
0ac4c57a81
Bug 735826 - Fix jit-tests for browser builds on mac. r=dmandelin
2012-03-15 19:47:06 -07:00
Bobby Holley
2f9f8383f8
Bug 736316 - Components.utils.getGlobalForObject should unwrap cross-compartment wrappers. r=khuey
2012-03-15 19:47:06 -07:00
Jeff Walden
59b081a07d
Bug 735313 - StringBuffer still needs length validation. r=luke
2012-03-14 15:29:29 -07:00
Ryan VanderMeulen
5f5c3e0dbd
Backout ca1873b20652 (bug 735594) due to mochitest-4 orange. r= http://i.qkme.me/36kr7a.jpg
2012-03-15 21:27:51 -04:00
David Mandelin
2cf98e5ce6
Bug 728623: disable jitcode address randomization on Win64, r=dvander
2012-03-14 17:36:34 -07:00
Matthew Gregan
7bec686e54
Bug 734784 - Update system-headers to reflect changes to libvpx includes. r=cpearce
2012-03-15 12:06:02 +13:00
Jeff Walden
506f58f3c4
Back out bug 735313, an invariant was relaxed but not all assertions of it were adjusted properly, and I'm not 100% confident tinderboxen will correctly handle the new failure mode. r=bustage
2012-03-14 15:24:51 -07:00
Prabindh Sundareson
e814c5d876
Bug 735594 - Add check for MOZ_JSDEBUGGER so that --enable-jsd=no works. r=bholley
2012-03-15 20:12:45 -04:00
Jeff Walden
2b8b6c9759
Bug 735313 - StringBuffer still needs length validation. r=luke
2012-03-14 12:41:15 -07:00
Ehsan Akhgari
83186bf501
Backout changeset ea6be5f60c42 (bug 722946) for breaking Windows builds
2012-03-14 14:29:58 -04:00
Terrence Cole
f8733065ed
Bug 722946 - Add method to HashTable for inline rekeying/removal; r=luke
...
It is possible in several places to have unconstrained client objects as the key
of a HashMap/HashSet. For generational and compacting GC, we will need to move
these objects in memory. This means we will need to remove and re-insert these
keys in a new location, during GC. Because we cannot safely allocate memory
for this, we need a specialized algorithm inside the HashTable itself.
2012-02-03 15:43:34 -08:00
Terrence Cole
abaf272fb9
Bug 734517 - Fix barriering of funName in InitExnPrivate; r=billm
...
InitExnPrivate needs to trigger barriers when copying out to the heap, but not
when copying data into the on-stack vector.
2012-03-12 18:32:39 -07:00
Blake Kaplan
2c581e8da4
Bug 727884 - Make nsWrapperCache::WrapObject take a JSObject scope instead of XPCWrappedNativeScope. r=peterv
2012-03-14 16:25:40 +01:00
Brian Hackett
9cafbe15fa
Don't generate addprop PIC for JSOP_SETNAME, bug 735161. r=dvander
2012-03-14 08:11:14 -07:00
Jacek Caban
70b87ca690
Bug 729067 - configure.in changes LDFLAGS before calling js/src/configure r=glandium
2012-03-14 15:07:34 +01:00
Mike Hommey
245ca066a4
Bug 716544 - Only define android bionic headers as system headers, and only use stlport includes when compiling C++. r=khuey
2012-03-13 09:47:02 +01:00
Ekanan Ketunuti
0fb802fc1b
Bug 722180 - Remove error codes for proxies. r=khuey
2012-02-01 18:53:29 +07:00
Bobby Holley
3b2b440f54
Bug 735544 - Allow exception stacks to cross compartment boundaries. r=luke
2012-03-15 15:19:52 -07:00
Terrence Cole
f0d6b86912
Bug 736168 - Remove MarkablePtr; r=billm
...
Now that the marking indirection work is complete, this is no longer used and
should be removed.
--HG--
extra : rebase_source : e8116e9680c5a2005d0f9e6aea774b292cdca59c
2012-03-15 11:14:14 -07:00
Luke Wagner
a15b5ea71e
Bug 733950 - re-add the f.apply(arguments) optimization (r=bhackett)
2012-02-10 16:31:48 -08:00
Luke Wagner
f3939cce37
Bug 733950 - create arguments object eagerly (r=bhackett)
...
--HG--
rename : js/src/jsfun.cpp => js/src/vm/ArgumentsObject.cpp
2012-01-17 16:35:12 -08:00
Luke Wagner
4d11f631ed
Backed out changeset d2107141265f to fix message
2012-03-15 10:39:02 -07:00
Luke Wagner
de282a3b73
Backed out changeset 8f3b804118ef to fix message
2012-03-15 10:37:24 -07:00
Luke Wagner
435531d3a4
Bug 730497 - re-add the f.apply(arguments) optimization (r=bhackett)
...
--HG--
rename : js/src/jsfun.cpp => js/src/vm/ArgumentsObject.cpp
extra : rebase_source : 28c9c4c7ea9841ea42142cf88d1091d20a4f7f9d
2012-02-10 16:31:48 -08:00
Luke Wagner
f81c65703b
Bug 730497 - create arguments object eagerly (r=bhackett)
...
--HG--
rename : js/src/jsfun.cpp => js/src/vm/ArgumentsObject.cpp
extra : rebase_source : 78e9eccc7c3dd4570d2f78f7b5b5eb2138813e99
2012-01-17 16:35:12 -08:00
Luke Wagner
7db6258ebf
Bug 730497 - rm flat closures (r=bhackett,waldo)
...
--HG--
extra : rebase_source : cf704765ad227abced9e8804aaeb1dc8d12fc5a8
2012-02-27 23:49:02 -08:00
Terrence Cole
0d9d3bda35
Bug 722946 - Add method to HashTable::Enum for inline rekeying; r=luke
...
It is possible in several places to have unconstrained client objects as the key
of a HashMap/HashSet. For generational and compacting GC, we will need to move
these objects in memory. This means we will need to remove and re-insert these
keys in a new location, during GC. Because we cannot safely allocate memory for
this, we need a specialized algorithm inside the HashTable itself.
2012-03-14 13:48:59 -07:00
Steve Fink
d5521267b6
Bug 735118 - Add a --debugger flag on jstests.py to allow setting the debugger name and args to use. r=dmandelin
...
--HG--
extra : rebase_source : 19d4aaeaf8ddbe83d7b529cafd472e1edae783c1
2012-03-13 14:21:58 -07:00
Steve Fink
275ff2ea23
Bug 735519 - Fix a bunch of "inlined function used but not defined" warnings. r=dmandelin
...
--HG--
extra : rebase_source : 3886a738be227a90f78b872dc17c308b2f9ebcc5
2012-03-14 12:28:48 -07:00
Terrence Cole
77273dc17b
Bug 735533 - Don't copyright empty files; r=dmandelin
2012-03-13 17:21:06 -07:00
Terrence Cole
370e1eba06
Bug 735491 - Fix possible recursion when tracing Debugger objects; r=billm
...
--HG--
extra : rebase_source : 9a1365dd7dffdd4a34f2390bc1739b490369cbe5
2012-03-13 15:38:05 -07:00
Ed Morley
abcf43a320
Merge mozilla-central to mozilla-inbound
2012-03-13 20:52:11 +00:00
Lukas Blakk
b307cc1a9c
Merging in version bump NO BUG
2012-03-13 13:38:38 -07:00
Kyle Huey
4342ab2ff7
No bug: Fix ply being stupid, take 2. r=me
2012-03-13 10:31:53 -07:00
David Mandelin
eca22bdb78
Bug 704259: part 2, don't set cx->generatingError in JS_ReportPendingException, r=luke
2012-03-06 18:49:05 -08:00
David Mandelin
0c352d36f8
Bug 704259: part 1, refactor use of cx->generatingError without changing behavior, r=luke
...
--HG--
extra : rebase_source : 748e23ae07d8dc3c2cec165228d858abfc6a535f
2012-03-06 18:49:00 -08:00
Terrence Cole
2fc27e9994
Bug 531396 - Expose detailed GC timing information API; r=smaug,billm
...
Extensions such as MemChaser would really like an easier to parse and more
complete record of GC events than what can be gleaned from the message console.
This patch adds GC and CC observer messages formatted as JSON containing
detailed statistics.
2012-03-05 15:33:24 -08:00
Brian Hackett
cc4b062387
Disable regexp cloning optimization for global/sticky regexps, bug 728021. r=dmandelin
2012-03-13 08:37:52 -07:00
Marco Bonardo
80af6e193a
Merge last green PGO from inbound to central
2012-03-13 11:17:21 +01:00
Masatoshi Kimura
d1e291fd89
Bug 721569 - Implement Blob constructor. r=sicking
2012-03-12 21:44:56 -07:00
Masatoshi Kimura
c76813f196
Bug 721569 - Implement nullable types. r=khuey
2012-03-12 21:44:51 -07:00
Masatoshi Kimura
9105b69daf
Bug 721569 - Support default values for Web IDL dictionaries. r=khuey CLOBBER BUILD
2012-03-12 21:44:48 -07:00
Bill McCloskey
191348bbdb
Back out 85ffbb752398 and 8cae4bde9534 (bug 728686 and bug 734946) due to possible leaks
2012-03-12 22:43:43 -07:00
Bill McCloskey
4cf745b8ad
Bug 728686 - JS_NewPropertyIterator shouldn't disable IGC (r=igor)
2012-02-21 17:04:53 -08:00
Bill McCloskey
3a3e68ebf0
Bug 728686 - JS_NewPropertyIterator shouldn't disable IGC (r=igor)
2012-02-21 17:04:53 -08:00
David Mandelin
def552f2d2
No bug, mark slow test, r=me
2012-03-12 18:16:14 -07:00
David Mandelin
5a6ef8737b
No bug, fix MSVC warnings, r=none
2012-03-12 18:12:54 -07:00
David Anderson
47563b2221
Remove JS_GetScriptedCaller (bug 732652, r=luke,mrbkap,bholley,smaug,bent).
2012-03-06 15:33:12 -08:00
Bill McCloskey
7350c309b0
Bug 734763 - Fix gcMallocAndFreeBytes (r=gregor)
2012-03-12 13:26:37 -07:00
Peter Van der Beken
1fa35e65ac
Add new DOM binding for SVG list classes. r=jst.
...
--HG--
extra : rebase_source : ce84f9457d7b9a14a0a65db5c643938d0e0e05bc
2011-08-22 11:14:13 +02:00
Peter Van der Beken
1af6427c5c
Fix for bug 734506 (Fix DOM list binding generation - fix bad argument throwing). r=jst.
...
--HG--
extra : rebase_source : b71d386827bb0114be6e68a696270868e487fe1c
2011-10-14 23:52:31 +02:00
Peter Van der Beken
fecd70f1c9
Fix for bug 734506 (Fix DOM list binding generation - add includes for all types). r=jst.
...
--HG--
extra : rebase_source : 113e8e7e98dfea4b67cfa5e08bd281c5f105ab92
2011-10-14 23:18:41 +02:00
Peter Van der Beken
7d74b1e87c
Fix for bug 734508 (Add new DOM binding for SVG list classes). r=jst.
...
--HG--
extra : rebase_source : c32d2fd124093ae437f000655bba7f3a5f17d99d
2011-08-22 11:14:13 +02:00
Peter Van der Beken
fbde930e20
Backout 790be8926d50 to fix commit message
...
--HG--
extra : rebase_source : 930b7802b35784ef5d70ed359d5d9932013ad62d
2012-03-12 21:13:23 +01:00
Luke Wagner
9cf872a8c8
Bug 732496 - Pop 'sp' after TypeScript::Monitor (r=bhackett)
...
--HG--
extra : rebase_source : d57dc5b437699cfc9722730c60e0887fe4099208
2012-03-02 15:51:58 -08:00
Peter Van der Beken
c58bd05f01
Fix for bug 734505 (Add new DOM binding for FileList). r=jst.
...
--HG--
extra : rebase_source : 7a563b1af70c24f9117b813016b7a37612e92431
2011-08-22 11:14:13 +02:00
Peter Van der Beken
24c158b037
Fix for bug 734503 (Add new DOM binding for TouchList). r=jst.
...
--HG--
extra : rebase_source : 701eb8d9a60ffa981ebcd24f426109bd70cc5cbf
2011-08-22 11:14:13 +02:00
Peter Van der Beken
38d1d644ce
Fix for bug 734499 (Add new DOM binding for PaintRequestList). r=jst.
...
--HG--
extra : rebase_source : 37f4a1ea723db150abc07d66c6f167c27fd9c354
2011-08-22 11:14:13 +02:00
Peter Van der Beken
b0f18cd351
Fix for new bug 734497 (Add new DOM binding for ClientRectList). r=jst.
...
--HG--
extra : rebase_source : 1cc96b94d21940ac1ed75ec6d46d9c2964fc54a0
2011-08-22 11:14:13 +02:00
Mark Capella
32b24f306f
Bug 595926 - Purge last traces of REQUIRES from the build system. r=khuey
2012-03-12 10:22:57 +01:00
Daniel Holbert
8b79621c1a
merge m-c tip over to m-i
2012-03-11 15:40:05 -07:00
Ms2ger
05ab4b800a
Bug 733872 - Use JS_GetObjectPrototype in XPCWrappedNativeScope::SetGlobal; r=bholley
2012-03-11 09:43:22 +01:00
Christian Holler
1c16cd9f04
Bug 733493 - Improve JS shell OOM testing code, now with 100% less bustage. r=jorendorff
2012-03-10 15:53:03 -05:00
Christian Holler
069b313705
Bug 727326 - Add missing js_ReportOutOfMemory calls in methodjit code. r=bhackett
2012-03-10 15:52:28 -05:00
Gary Kwong
38ac40f69f
Backed out changeset 6169d8aa7a9d, a=tbplFire
2012-03-10 12:12:54 -08:00
Gary Kwong
ea5517586d
Backed out changeset 248590650201, a=tbplFire
2012-03-10 12:10:53 -08:00
Christian Holler
8d1cd73c37
Bug 727326 - Add missing js_ReportOutOfMemory calls in methodjit code, r=bhackett
2012-03-10 11:51:48 -08:00
Christian Holler
4cec72af96
Bug 733493 - Improve JS shell OOM testing code, r=jorendorff
2012-03-10 11:50:26 -08:00
Jim Blandy
9735b86a55
Bug 676281: Implement Debugger.prototype.findScripts. r=jorendorff
2012-03-02 17:19:56 -08:00
Luke Wagner
d449e79078
Bug 734129 - uncatchable exceptions should still pop cx->enumerators (r=dvander)
2012-03-09 16:25:50 -08:00
Jacek Caban
044bb03d64
Bug 733713 - xpcom/tests fail to compile on mingw r=glandium
2012-03-09 16:58:43 +01:00
Igor Bukanov
f0bddf0e88
bug 728250 - remove JSPrincipals::codebase. r=:luke,:bz
...
In just 2 cases where JSPrincipals::codebase is used it can be reconstructed from the values stored in the associated nsJSPrincipal. In addition the patch makes nsJSprincipals to inherit both from nsIPrincipal and JSPrincipals allowing to use static_cast to convert between nsIPrincipal and JSPrincipals pointers and to drop many cases of manual JSPrincipal reference counting.
2012-03-09 10:48:50 +01:00
Nicholas Nethercote
d539e72dcc
Bug 732843 - Handle Callback() failures in memory multi-reporters. r=jlebar.
...
--HG--
extra : rebase_source : 54af85a1ef839922d5443cdc36f601611258944a
2012-03-04 15:26:30 -08:00
Makoto Kato
649f1a480a
Bug 732328 - need os.close(fd) before os.remove(tmp) on expandlibs_exec.py. r=ted
2012-03-09 11:42:36 +09:00
Jeff Walden
08d94514e3
Bug 733602 - Various StringBuffer cleanups, mostly removing unimplemented methods. r=luke
...
--HG--
extra : rebase_source : 388d94bf9c332896d1b5d95aac53c4ca75e9fc97
2012-03-06 15:28:48 -08:00
Matt Brubeck
788b29276e
Merge mozilla-central to mozilla-inbound
2012-03-08 16:27:40 -08:00
Olli Pettay
d0605c95d6
Bug 730891, event ctor for StorageEvent, r=sicking,kyle
2012-03-08 23:27:05 +02:00
Olli Pettay
3347eae726
Backout Bug 704259, a=bustage
2012-03-08 16:44:32 +02:00
Bill McCloskey
505905b4c3
Bug 732719 - Mark stack slot as undefined (r=bhackett)
2012-03-07 18:05:29 -08:00
Terrence Cole
47d7e443bb
Bug 734196 - Updating the private pointer should not recurse when marking; r=billm
...
The private pointer is the only pointer update during GC marking that can invoke
unrelated code. If this code triggers a write barrier, then this will recurse.
This patch adds a way to update private pointers without triggering a barrier,
explicitly for use by the GC during marking.
2012-03-08 15:05:21 -08:00
Christian Holler
c21903dcff
Bug 727445 - Add --enable-address-sanitizer for ASan specific workarounds. Add --enable-llvm-hacks to pass CFLAGS to NSS and omit -Wl,-z,defs for shared libs. r=khuey,kaie
2012-03-07 15:11:15 -08:00
Marco Bonardo
33fb391942
Backout d68420c97e0e (bug 691898) as suspected of the jit tests failures
2012-03-07 14:06:03 +01:00
Rafael Ávila de Espíndola
39f9e9e4fa
Bug 733504 - More workarounds llvm.org/pr12127. r=dvander.
2012-03-07 08:32:15 -03:00
Landry Breuil
e0c1723621
Bug 691898 - Use YARR interpreter instead of PCRE on platforms where YARR JIT is not supported. r=dmandelin
2012-03-07 12:06:19 +01:00
David Mandelin
19d20dfba2
Bug 733146: Add needed import to results.py, r=dmandelin
2012-03-06 18:54:42 -08:00
David Mandelin
18c6a84918
Bug 704259: part 2, don't set cx->generatingError in JS_ReportPendingException, r=luke
2012-03-06 18:49:05 -08:00
David Mandelin
b5df4ac13e
Bug 704259: part 1, refactor use of cx->generatingError without changing behavior, r=luke
2012-03-06 18:49:00 -08:00
Luke Wagner
a379d7f023
Bug 733310 - factor out inc/dec interpreter logic (r=bhackett)
...
--HG--
extra : rebase_source : 10d8277f4446f97e9a158f740d1a398341ac2382
2012-03-06 00:52:42 -08:00
Luke Wagner
1c1f863e22
Bug 732744 - rm AutoPreserveEnumerators (r=dvander)
...
--HG--
extra : rebase_source : f28eebcf3a3e14f4db0299b07b28f8e7a783b84a
2012-03-06 00:43:45 -08:00
Igor Bukanov
167feb39a4
bug 730234 - remove GC locking from activities, operation callbacks-related code and for code that accesses the JSContext list. r=luke
2012-02-24 12:03:28 +01:00
Bobby Holley
15cc3d3069
Bug 731804 - nsXPCWrappedJSClass::GetNamedPropertyAsVariant should jsvalify strings _after_ changing compartments. r=peterv
2012-03-08 11:13:34 -08:00
Bill McCloskey
243c25adb7
Bug 730447 - Create a GC counter for malloc bytes (r=gregor)
2012-03-07 18:07:41 -08:00
Adam
88859a8624
Make "let" a reserved word for Web scripts. Bug 730139, r=jorendorff.
2012-03-02 18:28:29 -06:00
Jan de Mooij
8c30b1b55f
Bug 732423 - Combine GETELEM and CALLELEM interpreter cases and fix some e4x/noSuchMethod bugs. r=bhackett
2012-03-08 12:18:27 +01:00
Mike Hommey
26a95c70bb
Fixup for bug 603370. Re-sync build/autoconf/expandlibs.m4 with js/src
2012-03-08 09:15:51 +01:00
Mike Hommey
6b0bf74fce
Bug 603370 - Avoid Identical Code Folding messing with symbol reordering. r=khuey
2012-03-08 08:56:28 +01:00
Mike Hommey
afd6044b69
Bug 603370 - Add an option to expandlibs-exec to allow to reorder the symbols when linking. r=khuey
2012-03-08 08:56:27 +01:00
Mike Hommey
03c23b4916
Backout changeset 283408b8d8a3 (bug 603370)
2012-03-08 08:39:17 +01:00
Mike Hommey
544b7a606d
Bug 695711 - Always add -ffunction-sections and -fdata-sections when building with GCC, and port bug 670659 and bug 675867 to js/src. r=khuey
...
--HG--
rename : build/unix/check_debug_ranges.py => build/autoconf/check_debug_ranges.py
rename : build/unix/check_debug_ranges.py => js/src/build/autoconf/check_debug_ranges.py
2012-02-27 16:35:44 +01:00
David Mandelin
4b287e8788
Bug 733260 followup: use uint32_t for array and string lengths, r=luke
...
--HG--
extra : rebase_source : 1729b4b927fde0678872b9de62a7466381aa07c3
2012-03-06 15:52:55 -08:00
Bobby Holley
cdc3b32f77
Bug 731845 - XPCWrappedNative::ReparentWrapperIfFound should handle preserved wrappers. r=mrbkap
2012-03-05 16:58:59 -08:00
Gregory Szorc
9474ae8763
Bug 729098 - Part 1/2: Create xUnit XML results file when executing xpcshell tests; r=khuey
2012-03-06 15:03:34 -08:00
Bill McCloskey
5eebfa9576
Bug 731094 - Expose a testing function that permits only deterministic GCs (r=igor)
2012-03-06 11:39:31 -08:00
Bill McCloskey
8317610173
Bug 729369 - Expose the same set of SpiderMonkey testing APIs to debug shell and debug browser chrome (r=Waldo)
2012-03-06 11:38:44 -08:00
Terrence Cole
e0888901b5
Bug 733372 - Fix an infinite recursion in GC marking; r=billm
...
Since the private data is sometimes packed in strange ways into the underlying
structure, we cannot just pass a reference to it to the marker. Instead, we
store the gotten value on the C stack, do marking and potentially update its
value there, then pass the updated privates location to the object using
setPrivate. If the setPrivate function triggers write barriers that end up
marking, this can recurse. For now we should simply not do this.
--HG--
extra : rebase_source : ce2607907cc66f8beaeab433e21ba302cbf1b34e
2012-03-06 11:30:25 -08:00
Matt Brubeck
2d824e1746
Back out 2fbc7d9ac670 (bug 731845) on suspicion of causing test_native_mouse_mac.xul timeouts
2012-03-06 11:05:37 -08:00
Mike Hommey
3dfdf56522
Bug 731151 - Avoid creating (and leaving around) an a.out during configure. r=khuey
2012-02-28 10:48:16 +01:00
Nicholas Nethercote
b9d2e7bc8e
Bug 729403 (follow-up) - Use the right KIND for runtime/gc-marker, thus avoiding warnings about explicit mismatches. r=me.
...
--HG--
extra : rebase_source : 4625531f438d5e1e6a2e600134dee959a45e8204
2012-03-05 21:04:38 -08:00
Mark Hammond
460967a978
Bug 728986: dump() writes to stdout instead of stderr. r=bent
2012-03-06 15:44:37 +11:00
David Mandelin
77d336e566
Bug 733260: remove typedef jsuint, r=luke
...
--HG--
extra : rebase_source : e8f576e1b5b189b47807c613c0cff79f5c8038e7
2012-03-05 18:43:45 -08:00
Andrew McCreight
fa54e188c3
Bug 723971 - unmark gray for shapes. r=billm
2012-03-05 18:11:29 -08:00
Bobby Holley
2ac145bc8a
Bug 731845 - XPCWrappedNative::ReparentWrapperIfFound should handle preserved wrappers. r=mrbkap
2012-03-05 16:58:59 -08:00
Bobby Holley
138146697b
Bug 720580 - Assert that we have the global jsclass flag if and only if we're a global. r=mrbkap
2012-03-05 15:22:53 -08:00
Bobby Holley
d3345b4254
Bug 720580 - Assert against creating globals in xpc_NewSystemInheritingJSObject. r=mrbkap
...
With this patch, the only call to JS_NewGlobalObject in XPConnect happens in xpc_CreateGlobalObject. \o/
2012-03-05 15:22:45 -08:00
Bobby Holley
73485885f8
Bug 720580 - Do the last bit of wrapped global initialization once the dust has settled. r=mrbkap
2012-03-05 15:22:45 -08:00
Bobby Holley
e0a6e0b68d
Bug 720580 - Kill temporary globals. r=mrbkap
...
This patch breaks the "every commit is a 100% correct tree" invariant a little bit, because constructors and prototypes for DOM globals are broken (PostCreatePrototype never gets called). This is fixed in the next patch. Doing it this way makes for a cleaner series of commits, and the browser still builds and runs fine.
2012-03-05 15:22:45 -08:00
Bobby Holley
06eb6e6126
Bug 720580 - Introduce XPCWrappedNative::WrapNewGlobal. r=mrbkap
2012-03-05 15:22:45 -08:00
Bobby Holley
df8c12c18b
Bug 720580 - Call TraceDOMPrototypes via TraceXPCGlobal, and avoid the verification process for wrapped natives. r=mrbkap
2012-03-05 15:22:45 -08:00
Bobby Holley
8fbe582aea
Bug 720580 - Make the call to PostCreatePrototype optional. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
ea2172967e
Bug 720580 - Factor out the call to PostCreatePrototype into a helper method. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
9afaa4890f
Bug 720580 - Accept an explicit native global during XPCWrappedNativeScope creation. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
8a333a7b50
Bug 720580 - Manually resolve |Object| on the global in XPCWrappedNativeScope::SetGlobal() to avoid calling into the XPConnect resolve hook too early. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
90f6c6474a
Bug 720580 - Make JSID class initialization happen on demand. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
9c4024ecaa
Bug 720580 - Modify the semantics of XPCWrappedNative::FinishCreate() so that it doesn't muck around with the refcounts of its inparam. r=mrbkap
...
The current semantics involve the caller transfering ownership of the input wrapper to FinishCreate(), which is complicated and error-prone. Now that we're using nsRefPtr at the callsites, we can get rid of it.
2012-03-05 15:22:44 -08:00
Bobby Holley
c1e81348b9
Bug 720580 - Use nsRefPtr instead of manual AddRef/Release in XPCWrappedNative::{GetNewOrUsed,Morph}. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
7f6929b9ff
Bug 720580 - Move the AutoMarkingWrappedNativePtr in XPCWrappedNative::{GetNewOrUsed,Morph} closer to where we need it. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
15d04a0773
Bug 720580 - Stop passing isGlobal everywhere and use the nsIXPCScriptable flags instead. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
d3868262e8
Bug 720580 - Stop passing aExtraPtr to InitClassesWithNewWrapedGlobal. r=mrbkap
...
We only ever pass null here anyway, and this whole infrastructure is going away real soon now.
2012-03-05 15:22:44 -08:00
Bobby Holley
1a5208e617
Bug 720580 - Remove unnecessary aIID parameter from nsIXPConnect::InitClassesWithNewWrappedGlobal. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
a7519fcb64
Bug 720580 - Introduce a flag for global natives and assert that we have it. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
b1d50a8c93
Bug 720580 - Indicate free bits in nsIXPCScriptable.idl. r=mrbkap
2012-03-05 15:22:43 -08:00
Brian Hackett
fef4714ccf
Don't use reference to freed contents of JIT script, bug 730806. r=dvander
2012-03-05 13:25:24 -08:00
Charles Chan
ae3662fc99
Bug 724736 - Move js::StringBuffer into js/src/vm/StringBuffer{-inl.h,.cpp}. r=jwalden
...
--HG--
extra : rebase_source : 69c3319801fbe80dbe0fc150680c9ffca2e519d9
2012-03-05 12:40:11 -08:00
Brian Hackett
5a694ed717
Ensure 'for' loops have a leading JSOP_NOP, bug 732776. r=dvander.
2012-03-05 12:45:14 -08:00
Jeff Walden
868086dce7
Bug 732669 - Box primitive values correctly when accessing properties of them. r=bhackett
...
--HG--
extra : rebase_source : c4c084557425e6d42b990ca22c10972fcc6697ce
2012-03-05 09:34:38 -08:00
Terrence Cole
191929071f
Bug 728343 - Make unbarriered object marking interface indirect ; r=billm
...
This will allow us to move objects that are not wrapped in a HeapPtr.
2012-02-17 11:46:11 -08:00
Ed Morley
e63b667897
Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions
2012-03-05 15:22:28 +00:00
Justin Lebar
5b3d13a72b
Bug 729940 - Part 2: Stop using crappy hash functions in the js engine. r=bhackett
2012-03-04 15:58:06 -05:00
Justin Lebar
2449f55f11
Back out bug 729940 (a108aee:d75775d) due to 32-bit red.
2012-03-04 14:20:34 -05:00
Justin Lebar
609b52cb35
Bug 729940 - Part 2: Stop using crappy hash functions in the js engine. r=bhackett
2012-03-04 13:49:41 -05:00
Jan de Mooij
3a4053f8e2
Bug 732693 - Fix bytecode emitted for o.__proto__(). r=bhackett
2012-03-03 16:27:51 +01:00
Matheus Kerschbaum
51254c73d0
Bug 687579 part 1: Remove globalStorage implementation. r=jst
...
Bug 687579 part 1: Remove globalStorage implementation. r=jst
2011-10-09 22:14:00 -04:00
Jeff Walden
b3f78d2c65
Silence a (newly introduced in) clang warning about adding an int to a string. No bug, r=trivial
2012-03-02 19:59:11 -08:00
Luke Wagner
6221ca4d35
Bug 730497 - preparatory parser sanity enhancements (r=jorendorff)
...
--HG--
extra : rebase_source : 4e89da8ce6b0f107fabd1944575c4c181283eeac
2012-02-27 16:36:04 -08:00
Luke Wagner
43d886c89e
Bug 731724 - don't forget about function::arguments! (r=waldo)
...
--HG--
extra : rebase_source : e782e9f06b17a7ac5c46f990092c94595b1a92cd
2012-03-02 09:32:04 -08:00
David Mandelin
5606b83eed
Bug 732306: Remove typedef jsint, r=luke
...
--HG--
extra : rebase_source : 4d15a8514dbd698c114fa688461e533afab68ffa
2012-03-01 18:54:01 -08:00
aceman
6c002f28d6
Bug 368758 - Remove obsolete workaround pref editor.quotesPreformatted. r=ehsan
2012-03-02 17:23:01 -05:00