Commit Graph

78148 Commits

Author SHA1 Message Date
Peter Van der Beken
98d8129201 Bug 648801 (new DOM list bindings) - Generate new DOM bindings. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : 6b34182856cbb4ba3fba8d3001de648b10157a29
2011-08-20 15:53:33 +02:00
Peter Van der Beken
936ff2830c Bug 648801 (new DOM list bindings) - Support setting of properties on new DOM bindings. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : 0666433fbbb0b5b6e63a4395767dbcf6ac5e60ff
2011-08-20 15:53:33 +02:00
Peter Van der Beken
2acab312d2 Bug 648801 (new DOM list bindings) - Support prototypes other than Object for the new proxy-based DOM binding. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : 9bc15dba3beaee01909281ccf57b1cd9ab7ec74b
2011-08-20 15:53:33 +02:00
Peter Van der Beken
a99f1a5f39 Bug 648801 (new DOM list bindings) - Prepare for more DOM list implementations. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : 2ac9d52f30ab53f9ae13c70bda45869c70fc5405
2011-09-22 08:50:16 -07:00
Peter Van der Beken
e18c7b1dc2 Bug 648801 (new DOM list bindings) - Move some code around. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : 3185428a517441ec4b66ccb188f5fafa94ecc694
2011-09-22 08:01:11 -07:00
Peter Van der Beken
31679e8f3e Bug 648801 (new DOM list bindings) - Renaming. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : b74c8b0d8664c6ed8d5b1d1939fde461c8f4a0db
2011-08-20 15:53:33 +02:00
Peter Van der Beken
03a9baa21c Bug 648801 (new DOM list bindings) - Rename xpc::dom to mozilla::dom::binding. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : 6e27f15c5f0cc83a75cc9b8cb9dec425a37b56b0
2011-08-20 15:53:32 +02:00
Peter Van der Beken
2af42db2cd Bug 648801 (new DOM list bindings) - Implement more of XrayProxy. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : 9cdcc6882e748cf214f332fa8173f999af2b28ce
2011-08-20 15:53:32 +02:00
Peter Van der Beken
ee0dbcf65c Bug 648801 (new DOM list bindings) - Share obj_toString implementation. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : 5ba430a8fec8fcd974ed0ad5a9fa30e05884cfe9
2011-08-20 15:53:32 +02:00
Peter Van der Beken
a607014647 Bug 648801 (new DOM list bindings) - Optimize conversion to ints a bit. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : 9a96114824e1c9a7b49cd6fb2cf248ac96b63e29
2011-08-20 15:53:27 +02:00
Peter Van der Beken
bfe49c1981 Bug 648801 (new DOM list bindings) - Fix GetNativeOfWrapper/GetJSObjectOfWrapper/xpc_OkToHandOutWrapper/quickstubs to deal with the new DOM bindings. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : 1b9afcc9d588ece15753fb36b249bc3a288e98c0
2011-08-02 15:16:05 +02:00
Peter Van der Beken
2980e5d4d8 Bug 648801 (new DOM list bindings) - Support more properties than 'length'. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : 321d6cda4825e0db43dc5eb97b34a9d6c060f711
2011-07-29 13:56:41 +02:00
Peter Van der Beken
35c39aae23 Bug 648801 (new DOM list bindings) - Stop using nsDOMClassInfo's jsids in new DOM bindings. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : 2020f6ec499bc1839c9f2d98ab7611d4ac6d103d
2011-07-26 11:51:14 +02:00
Peter Van der Beken
10dce9197f Bug 648801 (new DOM list bindings) - Add a pref (dom.new_bindings) to enable/disable new bindings. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : 055a7bdac534147baa29d8735794970234c98145
2011-06-29 19:17:37 +02:00
Peter Van der Beken
2748b24b23 Bug 648801 (new DOM list bindings) - Fix instanceof nsIDOMFoo. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : e4a7cbd2988d2beb9d53a1bbb646d65a4478ab40
2011-06-22 10:35:04 +02:00
Peter Van der Beken
4df3664334 Bug 648801 (new DOM list bindings) - Don't include dombindings.cpp into dom_quickstubs.cpp. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : 6c8e220179902b9502d10d2078d5d1257fc680c1
2011-06-21 23:12:50 +02:00
Peter Van der Beken
c390942725 Bug 648801 (new DOM list bindings) - Refactor namedItem a bit. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : 4e7c88feee40f5557c06970e5fe1f2d7195d5e10
2011-06-20 20:56:22 +02:00
Peter Van der Beken
170a126a09 Bug 648801 (new DOM list bindings) - Fix wrapping of parent. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : f391444e761b8a5a59f2aa86c8cdc39695cca87b
2011-06-20 20:26:26 +02:00
Peter Van der Beken
d06b71cea2 Bug 648801 (new DOM list bindings) - Fix iteration. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : 99f47c4d946aed80ff5f9ff23e43e77e796e26ad
2011-06-20 20:26:26 +02:00
Peter Van der Beken
0c13640aed Bug 648801 (new DOM list bindings) - Set up prototypes and constructors. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : acf503d1c93a333ba8ef14d0c25160adabbccd4a
2011-06-14 10:41:15 +02:00
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
c34c19ed9f Bug 648801 (new DOM list bindings) - Hook up remaining NodeList/HTMLCollection implementations to new proxy-based DOM bindings. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : e2c0842de005c00e83c4ac983b08a712a4be4c04
2011-05-31 23:47:17 +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
Peter Van der Beken
c119510fb8 Stop including nsDOMClassInfo.h all over the place.
--HG--
extra : rebase_source : 24bd6a84238834f8ca50990a91849dff2c5040ba
2011-10-03 21:11:31 +02:00
Peter Van der Beken
d3cd5d5d00 Fix line-endings in nsDocument.cpp.
--HG--
extra : rebase_source : 714c3e43ce3d3e776d9f2b3ca910e3835d8b693e
2011-10-03 11:31:00 +02:00
Ms2ger
a7d1f467b5 Bug 693155 - Add parens to clarify operator precedence in TransformFunctionsMatch (nsStyleAnimation.cpp); r=dbaron 2011-10-09 20:23:19 +02:00
Ms2ger
2f93d04a35 Bug 687486 - Throw INVALID_STATE_ERR when dispatching uninitialized events; r=smaug 2011-10-09 20:23:13 +02:00
Kyle Huey
dcb3ae74ee Re-delete dom/src/threads since it has risen from the dead. 2011-10-09 11:02:57 -04:00
Kyle Huey
96e26482db Merge m-i to m-c. 2011-10-09 10:18:23 -04:00
Matthew Noorenberghe
9291ab87db Bug 461820 - prevent accessing searchbar history from content r=dolske 2011-10-08 21:37:31 -07:00
Olli Pettay
5138297d6e Bug 681387: backout bug 654352 (caretPositionFromPoint), r=ehsan 2011-10-08 13:49:51 +03:00
Ms2ger
02983e60f6 Bug 691156 - Handle putImageData(nonfinite) correctly; r=bz 2011-10-08 12:18:53 +02:00
Ms2ger
f30af024c2 Bug 689046 - Ensure createPattern(zero-size canvas) throws; r=roc 2011-10-08 12:18:51 +02:00