Peter Van der Beken
5ef7074e9b
Bug 648801 (new DOM list bindings) - Return named items in more places (get[Own]PropertyDescriptor/hasOwn). r=bz/jst/mrbkap.
...
--HG--
extra : rebase_source : 7c8d1275b1e794cf28699e7dbbad0d110e9532e0
2011-06-14 10:41:14 +02:00
Peter Van der Beken
563a48a220
Bug 648801 (new DOM list bindings) - Make new proxy-based DOM bindings use the correct scope. r=mrbkap. r=bz/jst/mrbkap.
...
--HG--
extra : rebase_source : bb522a7e673fe2bfcb03354ad870ee88088f5f3d
2011-05-31 23:47:59 +02:00
Peter Van der Beken
ad471c7e2b
Bug 648801 (new DOM list bindings) - Make HTMLCollection['string'] work. r=bz/jst/mrbkap.
...
--HG--
extra : rebase_source : 7f61b1f61526c265c70de518086aeef8f20347bd
2011-05-31 23:47:18 +02:00
Peter Van der Beken
e7f3e00980
Bug 648801 (new DOM list bindings) - Support expandos on the new proxy-based DOM bindings. r=bz/jst/mrbkap.
...
--HG--
extra : rebase_source : 367af99c154271aca19f24244be7b5adeffd8a36
2011-05-26 21:58:35 +02:00
Blake Kaplan
5c15a15e86
Bug 648801 (new DOM list bindings) - Add holder to proxy Xray and make the new nodelist deal with string IDs. r=bz/jst/mrbkap.
...
--HG--
extra : rebase_source : e311fe95456fb253313e3849e7bc926be385e17b
2011-05-27 17:06:42 +02:00
Blake Kaplan
2544abdb39
Bug 648801 (new DOM list bindings) - First stab at implementing an Xray wrapper that can wrap proxy DOM implementations. r=bz/jst/mrbkap.
...
--HG--
extra : rebase_source : 40e68acd112f07f972211d9818ff05f9a54bd644
2011-05-25 17:30:50 +02:00
Peter Van der Beken
179cf51f0b
Bug 648801 (new DOM list bindings) - Hook up new dom bindings to the CC. r=bz/jst/mrbkap.
...
--HG--
extra : rebase_source : fe9d57c2553275b27efe3c4c4ab15089ecf9b9d2
2011-05-24 14:10:03 +02:00
Andreas Gal
ed242eb6a7
Bug 648801 (new DOM list bindings) - Cache prototypes and pick up function value from the proto slot instead of caching it locally. r=bz/jst/mrbkap.
...
--HG--
extra : rebase_source : 56a04a93973f479998d40eb22b015e940419c5e5
2011-05-24 12:45:39 +02:00
Boris Zbarsky
83792fc5ec
Bug 648801 (new DOM list bindings) - Implement namedItem on HTMLCollections. r=bz/jst/mrbkap.
...
--HG--
extra : rebase_source : 4a0e9d3ab1a541c93230cf81743ec0a5081dd346
2011-05-23 17:39:57 +02:00
Boris Zbarsky
a857a6b29d
Bug 648801 (new DOM list bindings) - Templatize the proxy handler. r=bz/jst/mrbkap.
...
--HG--
extra : rebase_source : d818461ac480f029b1b99318949c63fa57e39b50
2011-05-23 17:39:57 +02:00
Boris Zbarsky
f80fe81f2d
Bug 648801 (new DOM list bindings) - Hook up the new code so we actually create the proxy wrappers. r=bz/jst/mrbkap.
...
--HG--
extra : rebase_source : 5e79a3cb63231502880e380740d0d935c8d0c78d
2011-05-23 17:39:52 +02:00
Andreas Gal
38ee3d2d08
Bug 648801 (new DOM list bindings) - Don't relookup .item() every time. r=bz/jst/mrbkap.
...
--HG--
extra : rebase_source : b8f9cfef8b0b17b7fd1dea7555a16c1d8635a038
2011-05-23 17:39:25 +02:00
Andreas Gal
ce1f64ea31
Bug 648801 (new DOM list bindings) - Basic support for .item(). r=bz/jst/mrbkap.
...
--HG--
extra : rebase_source : 581a92c787f6dcb23561055f2a4452e58a7ec928
2011-05-23 17:39:25 +02:00
Andreas Gal
07a622bbba
Bug 648801 (new DOM list bindings) - Make .length much faster by avoiding having to look it up every time. r=bz/jst/mrbkap.
...
--HG--
extra : rebase_source : 7a044e0298f2c699867eb471e9bdb750dcbb21de
2011-05-23 17:39:25 +02:00
Andreas Gal
5cc5da1f51
Bug 648801 (new DOM list bindings) - Create a basic proxy-based nodelist implementation. r=bz/jst/mrbkap.
...
--HG--
extra : rebase_source : 4bfff0cbbdf76fa634ee6d21a31aedeb27263291
2011-05-23 17:39:25 +02:00
Peter Van der Beken
301bc04d0b
Bug 648801 (new DOM list bindings) - Add js::GetObjectShape/js::GetNumSlots/js::GetSlot/js::GetObjectGlobal friend APIs.
...
--HG--
extra : rebase_source : ab3de9461d71a170d7f3c7fb57f4c517346dc40b
2011-10-06 18:11:47 +02:00
Andreas Gal
37f0160b05
Bug 648801 (new DOM list bindings) - Give proxies two extra slots, not just one. r=bz/jst/mrbkap.
...
--HG--
extra : rebase_source : 16391032bcf137d2e4485db6402fc97c6fb318d1
2011-05-23 17:39:25 +02:00
Peter Van der Beken
262ee4babb
Bug 648801 (new DOM list bindings) - Add js_GetCompartmentPrivate friend API. r=bz/jst/mrbkap.
...
--HG--
extra : rebase_source : d80b5440016185c07ff4bca15690a63718441c84
2011-09-19 16:30:57 -07:00
Andreas Gal
c45f08bc3a
Bug 648801 (new DOM list bindings) - Add a way to test whether a particular object is the function object for a particular JSNative. r=bz/jst/mrbkap.
...
--HG--
extra : rebase_source : ce23064eb04dd177ced002bc0f26f3aab93fc56c
2011-05-23 17:39:25 +02:00
Gavin Barraclough
3495c54e82
Bug 683838: Fix return logic in backTrackParentheses, r=dmandelin
2011-10-07 17:52:50 -07:00
Bobby Holley
80ac237962
Bug 657260 - Handle NULL return from JS_NewExternalString in XPCStringConvert::ReadableToJSVal. r=mrbkap
2011-10-07 19:34:40 -04:00
Bobby Holley
0d2555f80b
Bug 657260 - Check JS string length against maximum in more places. r=Waldo
2011-10-07 19:34:28 -04:00
Bobby Holley
94682a4756
Bug 657260 - Move CheckStringLength to JSString. r=Waldo
2011-10-07 19:34:28 -04:00
Chris Leary
61b25e1e61
Bug 692069 followup: Unburn no-methodjit.
2011-10-07 16:31:48 -07:00
Chris Leary
53d3ad0e0e
Bug 692069: Regexp engine agnostic abstraction. (r=luke)
2011-10-05 11:12:59 -07:00
Jim Blandy
920b2f659b
Bug 692903: Identify scripts more helpfully in InferSpew output. r=bhackett
...
This delays assigning id numbers to scripts until the first time the id is
actually retrieved, and at that point produces an InferSpew message
identifying the script by id, address, url and line number. This means that
we only identify scripts we actually mention in InferSpew output.
If JSScript::id had users other than jsinfer, this wouldn't be appropriate.
With this patch applied, we get output like this, the first time a given script is mentioned:
[infer] script #2 : 0x7ffff5906660 /home/jimb/moz/dbg/js/src/jit-test/lib/prolog.js:1
[infer] typeSet: T0x9ff748 bytecode0 #2
...
2011-10-07 15:12:12 -07:00
Jim Blandy
852f844158
Bug 692911: Delete useless call to target->addType in js::types::TypeConstraintSubsetBarrier::newType. r=bhackett
...
js::types::TypeConstraintSubsetBarrier::newType calls 'target->hasType(type)',
and if that returns true, calls 'target->addType(cx, type)'. That second call
should have no effect: it just adds to target a type that it already has.
This patch deletes the call to target->addType.
2011-10-07 15:08:56 -07:00
Jim Blandy
cce84e1f96
Bug 692243: Change the InferSpew for TypeObject::setFlags to print flags in hex. r=bhackett
2011-10-07 13:07:05 -07:00
Jim Blandy
a8afe324d5
(no bug): Fix Emacs/vi mode line at top of js/src/methodjit/StubCalls.cpp. r=only comments changed
2011-10-07 11:46:17 -07:00
Bobby Holley
b44480348e
Bug 690362 - Fix incorrect parenthetical grouping of nsXPTType::T_PWSTRING_SIZE_IS in xpcwrappednative.cpp. r=peterv
2011-10-07 13:51:29 -04:00
Bobby Holley
79d4e6337f
Bug 599791 - part 6 - Return the sentinel when we fail in ClosureStub. r=jorendorff
2011-10-07 13:51:21 -04:00
Bobby Holley
d514198254
Bug 599791 - part 5 - Prepare the sentinel value and store it in ClosureInfo. r=jorendorff
2011-10-07 13:51:21 -04:00
Bobby Holley
ca7e3d0f4a
Bug 599791 - part 4 - Do ClosureInfo cleanup with a destructor. r=jorendorff
2011-10-07 13:51:21 -04:00
Bobby Holley
a996610428
Bug 599791 - part 3 - Pass errVal down into the closure constructor. r=jorendorff
2011-10-07 13:51:21 -04:00
Bobby Holley
9d4e8fb4e0
Bug 599791 - part 2 - restructure argument handling in PointerType::ConstructData. r=jorendorff
2011-10-07 13:51:21 -04:00
Bobby Holley
9ff7fe1a8e
Bug 599791 - part 1 - Remove unnecessary conditional logic. r=jorendorff
2011-10-07 13:51:21 -04:00
Bobby Holley
1aa700e13d
Bug 682504 - Don't try to ImplicitConvert a void return value. r=jorendorff
2011-10-07 13:51:21 -04:00
Bobby Holley
1a6b6042ea
Bug 682180 - Allocate executable trampoline buffers in darwin 10 and beyond. r=khuey
...
--HG--
rename : js/src/ctypes/libffi.patch => js/src/ctypes/patches-libffi/00-base.patch
2011-10-07 13:51:21 -04:00
Nathan Froyd
f11a038dca
Bug 687121 - GCC 4.6 build warning: "js/src/xpconnect/shell/xpcshell.cpp:549: warning: variable 'preBytes' set but not used [-Wunused-but-set-variable]". r=jorendorff
2011-10-07 16:16:36 +01:00
Brian Hackett
e86568f602
Avoid reentrant constraint solving when breaking type barriers, bug 685186. r=dvander
2011-10-07 07:55:06 -07:00
Brian Hackett
a83ee9105a
Fix recompilation hazard in CALLELEMENT, bug 686107. r=dvander
2011-10-07 07:45:50 -07:00
Chris Leary
5c524e2fd4
Bug 691695: Refactor RegExp components as prep for lazifying. (r=luke)
...
--HG--
rename : js/src/jsregexpinlines.h => js/src/vm/RegExpObject-inl.h
rename : js/src/jsregexp.cpp => js/src/vm/RegExpObject.cpp
rename : js/src/jsregexp.h => js/src/vm/RegExpObject.h
2011-10-04 23:48:32 -07:00
Paul Biggar
b902bfae20
Bug 668024 - Make Array.prototype.splice better conform to ES5, with a clearer stepwise algorithm. Patch also includes modifications from jwalden. r=jwalden, r=bhackett
...
--HG--
extra : rebase_source : dfac9c33e46ab950321492bb0a2827b561e9223f
2011-09-23 12:13:11 -07:00
Jeff Walden
6ea3721dd3
Bug 690031 - Exclude __proto__ from showing up when enumerating properties of Object.prototype again. r=jorendorff
...
--HG--
extra : rebase_source : 7d3d23b852a6fae4e616bb383876aed426c75dc6
2011-09-29 14:07:59 -07:00
Brian Hackett
2fb55f3b09
Don't bypass watchpoint handlers when optimizing property accesses on singletons, bug 690292.
2011-10-06 11:53:11 -07:00
Brian Hackett
dd57a3a179
Fix code generation around safe points, bug 690376. r=dvander
2011-10-06 11:42:41 -07:00
Brian Hackett
a869120703
Fix incorrect GET_JUMP_OFFSET, bug 690650. r=dvander
2011-10-06 11:36:58 -07:00
Igor Bukanov
c4a996026b
bug 687966 - eliminating held/unheld scripts in the debugger. r=jorendorff
2011-09-20 21:49:12 +02:00
Igor Bukanov
8bd0141404
bug 688641 - followup to address nits. r=wmccloskey
2011-10-06 19:57:10 +02:00
Bill McCloskey
b9da395a09
Bug 690974 - Add inline paths for strict equality on strings/objects (r=bhackett)
2011-10-06 10:39:19 -07:00