Commit Graph

174 Commits

Author SHA1 Message Date
Blake Kaplan
b41bdd602b Bug 665279 - Resolve interface constants properly through Xray wrappers. r=peterv 2011-09-21 19:16:50 -07:00
Peter Van der Beken
4ca416adf9 Bug 648801 (new DOM list bindings) - Add new dom binding for nsHTMLOptionCollection. r=bz/jst/mrbkap.
--HG--
extra : rebase_source : 2d2f6177031958b61b01f819cb28a4c56861a815
2011-08-20 15:53:34 +02:00
Peter Van der Beken
cb751cde8f 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
15fab8aeac 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
0608b17bf5 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
ea0499b427 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
Blake Kaplan
9e826f1fc2 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
Michael Wu
d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Brian Birtles
33f23d7afc Bug 602759 part 12 - Update DOM bindings to use new SVG transform types; r=jwatt 2011-09-25 22:04:32 +01:00
Andreas Gal
9f4458505f Bug 660233 part 2. Move nodePrincipal, baseURIObject, and documentURIObject from classinfo to XrayWrapper and to DOM prototypes in chrome documents. r=mrbkap 2011-09-21 21:30:27 -04:00
Boris Zbarsky
73e5bc9071 Backed out changeset adceb7fb0fce (bug 660233) due to test failures. 2011-09-21 23:05:42 -04:00
Andreas Gal
b8575602ef Bug 660233. Move nodePrincipal, baseURIObject, and documentURIObject from classinfo to XrayWrapper. r=mrbkap 2011-09-21 21:30:27 -04:00
Boris Zbarsky
7341083936 Bug 684447. Eliminate the Equality hook on windows, and stub out their class equality hook. r=mrbkap 2011-09-08 23:18:36 -04:00
Johnny Stenback
b7a702a9e4 Fixing bug 641552. Add mechanism for dynamically registering properties on the navigator object in all pages. r=peterv 2011-09-06 15:01:01 -04:00
Boris Zbarsky
c6ca44ecf0 Bug 639720. Get rid of the Window class setter so that SETNAME on the global is faster in the browser. r=mrbkap 2011-08-31 18:10:16 -04:00
Ehsan Akhgari
03030a5c0b Keep changeset ee8c8daffe43 backed out on the reverted tree 2011-09-02 09:06:59 -04:00
Ehsan Akhgari
44916171a8 Revert to changeset e6fc4594c22e which was the last one to get a green Win7 tp run 2011-09-02 09:03:08 -04:00
Ehsan Akhgari
1cd40de17a Backout changeset ee8c8daffe43 (bug 639720) on the suspicion that it might be the culprit behind the Linux Debug red 2011-09-01 21:02:56 -04:00
Boris Zbarsky
e13fc2a4eb Bug 639720. Get rid of the Window class setter so that SETNAME on the global is faster in the browser. r=mrbkap 2011-08-31 18:10:16 -04:00
Ed Morley
b1fc1f7d2a Backout 89b87e96dc17 (bug 639720), b449db7a038b (bug 679689) & ef216b965a04 (bug 679671) for Mochitest oranges, on a CLOSED TREE; a=philor 2011-09-01 00:58:00 +01:00
Boris Zbarsky
bffc09b00b Bug 639720. Get rid of the Window class setter so that SETNAME on the global is faster in the browser. r=mrbkap 2011-08-31 18:10:16 -04:00
Boris Zbarsky
1c9abe2f8d Bug 659350 part 5. The guts of the change to move from storing inline event handlers on the JSObject to storing them in the event listener manager directly, so we can easily set/read them via IDL.
The changes here are as follows:
1) nsIJSEventListener now stores the handler.  This is guaranteed to be already bound properly, if needed, before being set in the nsIJSEventListener.
2) The old classinfo glue to deal with on* properties is gone.
3) IDL-based methods for on* properties have been added.
2011-08-24 15:49:25 -04:00
Boris Zbarsky
6e9a9ac2a9 Bug 675405 part 3. Expand the event list to contain more information than just the name and move all the information from the tables in nsContentUtils to it. r=smaug 2011-08-07 22:30:17 -04:00
Boris Zbarsky
ca4c622987 Bug 675405 part 2. Add some events that we implement that aren't in the spec to the event list, and convert the long lists of event stuff in classinfo to using the canonical event list. r=smaug 2011-08-07 22:27:01 -04:00
Doug Turner
6143433d38 Bug 667919 - Add support for window.ondevicemotion and window.ondeviceorientation. r=smaug 2011-06-28 15:37:31 -07:00
Ms2ger
df63bccfbe Bug 659738 - Move document.open implementation from classinfo to nsHTMLDocument; r=bz 2011-05-30 13:35:55 +02:00
William Chen
5d11c14449 Bug 658746 - "Assertion failure: JSID_IS_STRING(id)" with dataset[0].
Fixed incorrect handling of integer jsid to access dataset properties. Converted integer jsids to strings. Added checks to ensure jsids are strings when using them as strings. r=sicking
2011-05-23 15:53:12 -07:00
William Chen
646211e0d9 Bug 560112 - Implement HTML5 dataset attribute. r=sicking,mrbkap 2011-05-20 10:23:49 -07:00
Josh Aas
669eb04ac7 Bug 637253: Remove nsIPluginInstance interface. r=bsmedberg 2011-05-17 21:48:34 -04:00
Olli Pettay
c7a9fa4b67 Bug 307258 - Support beforeprint and afterprint events, r=mats, sr=roc
--HG--
extra : rebase_source : f14da5d6e282fe6ab4813c121d3366844dd89af6
2011-05-14 15:03:58 +03:00
Ms2ger
65b08d69be Bug 654137 - Make window.top not replacable; r=bz 2011-05-10 20:24:44 +02:00
Olli Pettay
2cc83ff3e6 Bug 648573 - Implement touch event interfaces, r=jst, pref'ed off by default 2011-04-26 15:30:17 +03:00
Blake Kaplan
626b51b07f Bug 642026 - Enumerate standard classes. r=jst
--HG--
extra : rebase_source : a4a9630f54d398337a22ba5f75cee466ef4854db
2011-04-08 13:28:05 -07:00
Peter Van der Beken
b0cdba8409 Fix for bug 648359 (Resolve warnings about nsDOMClassInfo::WrapNative). r=bent. 2011-04-08 10:50:49 -07:00
Cameron McCormack
9d78bc2a99 Bug 631437: Add length to SVGXXXList interfaces and make them respond to array indexing (v4) r=jwatt,bzbarsky 2011-04-08 10:44:03 +12:00
Blake Kaplan
51ea26c26c Bug 633133 - Resolve ids and names in HTMLSelectElement. part 2/2. r=jst, a=blocker 2011-02-24 19:36:33 +01:00
Mounir Lamouri
cacaebbb27 Bug 633133 - Resolve ids and names in HTMLCollections. r=jst, a=blocker 2011-02-24 19:27:26 +01:00
Blake Kaplan
56754a9c7e Bug 629227 - ObjectIsNativeWrapper lies for document.domain. a=blocker 2011-02-16 20:29:14 -08:00
Ben Turner
e42a7a7726 Bug 614347 - 'XPConnect-wrapped JSObjects must clear their gray bit when they are handed out'. r=peterv+gal, a=blocking. 2011-02-16 12:47:08 -08:00
Ben Turner
5c5c52142e Backout 10ebc5ea11ac due to test failures. 2011-02-09 15:29:31 -08:00
Ben Turner
b5732806d2 Bug 614347 - 'XPConnect-wrapped JSObjects must clear their gray bit when they are handed out'. r=peterv+gal, a=blocking. 2011-02-09 12:51:16 -08:00
Jim Blandy
8ec41b7213 Bug 537873: Add 'strict' argument to setters defined throughout Firefox. r=brendan
This should take care of all setters defined outside SpiderMonkey proper. Very mechanical.
2011-02-09 11:31:40 -08:00
Ben Turner
0c32b890b9 Backout bug 614347 due to test failures 2011-02-08 22:15:48 -08:00
Ben Turner
633b25f14a Bug 614347 - 'XPConnect-wrapped JSObjects must clear their gray bit when they are handed out'. r=peterv+gal, a=blocking. 2011-02-08 18:54:14 -08:00
Blake Kaplan
073e29798e Bug 616992 - Give nsDOMConstructors a precreate hook so that we don't accidentally create more than one wrapper object for them. r=jst@mozilla.com, gal@uci.edu, a=blocker 2011-01-11 12:15:52 -08:00
Chris Leary
b83b3feb7f Merge mozilla-central to tracemonkey. 2010-12-29 19:25:04 -05:00
Mounir Lamouri
06d5646824 Bug 618948 - Add support for element.oninput and element.oninvalid. r=smaug a=sicking 2010-12-22 19:43:50 -05:00
Ben Turner
d2d1140ec3 Bug 618141 - 'IndexedDB: createObjectStore and createIndex should accept an optional object argument'. r=sicking, a=blocking. 2010-12-21 11:02:01 -05:00
Vladimir Vukicevic
ab14503312 b=586938; missing VIEWPORT property on WebGL context; r=mrbkap,a=b 2010-12-20 20:08:03 -08:00
Luke Wagner
56b2810a26 Bug 609440, part 3 - remove fallible public APIs, update mozilla (r=bent,jst,mrbkap,waldo,sdwilsh) 2010-12-03 00:24:17 -08:00
Peter Van der Beken
a6974efb9d Fix for bug 590612 (Speed up js-wrapping in classinfo when we already have a wrapper). r=bz, a=jst. 2010-08-28 10:04:25 +02:00
Blake Kaplan
9d1fe775c9 bug 607767 - Fix rewrapping native objects across compartment boundaries. r=jst 2010-10-29 12:49:32 -07:00
Boris Zbarsky
3e00bf2074 Bug 617296. Window.URL should be replaceable. r=sicking, a=sicking 2010-12-08 11:16:09 -05:00
Andreas Gal
1219a88f7e bug 580128 - Remove vestiges of old wrappers from nsDOMClassInfo. r=mrbkap 2010-10-10 15:41:27 -07:00
Blake Kaplan
697c0a497c bug 580128 - Give windows a .wrappedJSObject property to help out old consumers of XPCNativeWrappers. r=peterv 2010-09-17 14:54:40 -07:00
Blake Kaplan
8e08990a45 Bug 580128 - Fix a leak caused by holding a non-cycle collectable object instead of a cycle-collectable one. r=peterv 2010-09-03 14:15:50 -07:00
Blake Kaplan
6f88d76769 bug 580128 - Now that we use a proxy for the outer window, nsOuterWindowSH is unused (except for PreCreate). Nuke it. r=peterv 2010-09-17 14:54:40 -07:00
Jonas Sicking
8e2422ebb4 Bug 587931: Implement document.currentScript and beforescriptexecute/afterscriptexecute events. r=mrbkap a=sicking 2010-09-16 01:48:47 -07:00
Olli Pettay
c1f7e70908 Bug 585240 - Can't add message handlers by setting the onmessage property, r=jwalden, a=jst
--HG--
extra : rebase_source : 1ad4cb8bbef2151b424402b589c69dd13e0c13f3
2010-09-15 19:08:56 +03:00
Luke Wagner
719f726121 Bug 581263 - remove slow natives (r=waldo,mrbkap) 2010-08-16 12:35:04 -07:00
Blake Kaplan
0af0070428 Bug 586083 - Make the outer window not be a global object. r=jst 2010-08-10 15:00:26 -07:00
Luke Wagner
e8308fa9a8 Missed a cset (33addcc556b8) in backout 2010-08-16 22:38:05 -07:00
Blake Kaplan
12ff3dcb37 Bug 586083 - Make the outer window not be a global object. r=jst 2010-08-10 15:00:26 -07:00
Blake Kaplan
9d9623ade3 Bug 585228 - Move forwarding code out of the inner window's resolve hook and don't give it an addProperty hook since it doesn't need it. r=jst 2010-08-06 17:15:55 -07:00
Blake Kaplan
b70d1da23a Bug 585228 - Make the outer window not have an outerObject hook and the inner window not have an innerObject hook. r=jst 2010-08-06 17:13:14 -07:00
Blake Kaplan
4240b7bbb9 Bug 585228 - The inner window doesn't need a NewEnumerate hook. r=jst 2010-08-06 17:10:22 -07:00
Matthew Gregan
03ad3eb6b1 Bug 569301 - Add on* event handler property support for media events. r=smaug 2010-08-02 17:53:45 +12:00
Blake Kaplan
bfa16f49c6 Bug 574975 - Split inner/outer scriptable helpers, make the outer window not global. r=jst. 2010-08-01 17:39:35 -07:00
Robert Sayre
ca1f1776fe Merge mozilla-central to tracemonkey. 2010-07-27 13:09:04 -07:00
Luke Wagner
7371ad00ed Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Andreas Gal
e1de8eff4f Implement remaining cross compartment wrappers (574924, r=mrbkap). 2010-07-02 13:54:53 -07:00
Peter Van der Beken
06960e57dc Part 6 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - pass the wrapper cache to WrapNative. r=jst.
--HG--
extra : rebase_source : 06db2c01b59630cd47c6d9d4f2302bf952233897
2010-05-10 20:53:05 +02:00
Peter Van der Beken
507098fb13 Part 5 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - make ResolveName and GetDocumentAllResult return the wrapper cache. r=jst.
--HG--
extra : rebase_source : d36cf87ab26c82bba89998111f872389a1cae754
2010-05-10 18:43:20 +02:00
Peter Van der Beken
d2c306821b Part 4 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - make GetNamedItem return the wrapper cache. r=jst.
--HG--
extra : rebase_source : 584b74ed06c59bbf08c20e3a8a3b10dd7d540592
2010-05-09 21:41:19 +02:00
Peter Van der Beken
a4953c4e2d Part 3 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - make GetNodeAt return nsIContent*. r=jst.
--HG--
extra : rebase_source : 4653ed3c0f67141bbace1b1973db4aca4b4d908d
2010-05-09 21:33:00 +02:00
Jason Orendorff
0f12d927b6 Backed out changeset d4caa61e69ab. It turned the tree red. 2010-07-01 20:06:33 -05:00
Andreas Gal
5643b90a42 Implement remaining cross compartment wrappers (574924, r=mrbkap). 2010-07-01 15:45:08 -07:00
Geoff Lankow
d60c1164a9 Bug 300992 - implement readystatechange event. r=smaug, sr=jst 2010-06-24 13:12:07 +12:00
Blake Kaplan
5b83ad1fe4 Bug 517636 - Assigning through wrappers defeats the "fast expando" optimization. r=jst 2010-05-28 15:40:41 -07:00
Ms2ger@gmail.com
154e6a9d62 Bug 474058 - Drop support for window.directories. r=jst
--HG--
extra : rebase_source : f0ee7974097fcc9db75b2928dae9b58cc3d8859b
2010-05-19 19:53:08 +02:00
Ben Turner
bb3d135cb5 Bug 559447 - 'Make ChromeWorkers that have access to ctypes for browser and extensions'. r=dwitte+jst. 2010-04-20 09:44:56 -07:00
Peter Van der Beken
021da6d7ce Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Use flags on DOMCI to be able to cast instead of QI. r=jst.
--HG--
extra : rebase_source : b33953705ace2b6c2171f32fcf7c0157a1f76173
2010-01-12 15:24:00 +01:00
Peter Van der Beken
11bf9bf420 Fix for bug 519614 (Having to QI javascript scriptable helpers to nsIXPCScriptable is silly). r=mrbkap.
--HG--
extra : rebase_source : 10d46903d75cecff0f47f3bd483f849ea740e446
2009-09-28 23:00:35 +02:00
Andreas Gal
85b60d98b9 Report proper typeof for XPCNativeWrapper(obj) and XPCNativeWrapper(fun) (553407, r=mrbkap). 2010-03-18 18:00:58 -07:00
Andreas Gal
e4d01dd682 Don't include JS-engine internal header files in header files outside the JS engine (bug 549440, r=jst). 2010-03-04 16:17:05 -08:00
Justin Lebar
731c252671 Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Peter Van der Beken
a5b6707a12 Fix for bug 428229 (Unable to override addEventListener), remove custom addEventListener code. r=bz.
--HG--
extra : rebase_source : 4e679da2100075a1e3c4ad557b92a3c86a5cf7be
2010-01-13 14:50:01 +01:00
Johnny Stenback
059765dea4 Fix regression calling unique methods for the first time on plugin objects. b=536116 r=josh 2009-12-25 13:16:57 -05:00
Peter Van der Beken
7b63cc4659 Fix for bug 437449 (top crash [@ nsCycleCollector::MarkRoots(GCGraphBuilder&)][@ nsBaseContentList::cycleCollection::Traverse(void*, nsCycleCollectionTraversalCallback&)]). r=jst, a=blocking1.9.2+.
--HG--
extra : rebase_source : 5358561a463757cbfb77c542760dc1ea95fc6b82
2009-11-29 09:32:39 +01:00
Peter Van der Beken
af98e1b60b Back out fix for bug 437449 (top crash [@ nsCycleCollector::MarkRoots(GCGraphBuilder&)][@ nsBaseContentList::cycleCollection::Traverse(void*, nsCycleCollectionTraversalCallback&)]). 2009-11-28 23:30:49 +01:00
Peter Van der Beken
0e69aaba5a Fix for bug 437449 (top crash [@ nsCycleCollector::MarkRoots(GCGraphBuilder&)][@ nsBaseContentList::cycleCollection::Traverse(void*, nsCycleCollectionTraversalCallback&)]). r=jst, a=blocking1.9.2+. 2009-11-28 10:35:35 +01:00
Peter Van der Beken
a9216f9202 Back out fix for bug 428229 (Unable to override addEventListener). 2009-11-15 17:03:03 +01:00
Peter Van der Beken
be7f33599f Fix for bug 428229 (Unable to override addEventListener). r=bz. 2009-11-09 14:54:18 +01:00
Johnny Stenback
ac45fe56aa Part 2 of fix for bug 459452 (Add support for optional arg count for IDL methods): use [optional_argc] for DOM methods. r=peterv.
--HG--
extra : rebase_source : c0bc25842b2645fe9f42c9ed5d57567f8e6b5279
2009-08-10 16:41:12 +02:00
Johnny Stenback
0f5b5ba5ba Fixing bug 504862. Sanitize modal dialog argument handling. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2009-10-06 17:09:16 -07:00
Boris Zbarsky
0b451e51ec Bug 519905. Avoid some QIs to nsWrapperCache. r=peterv 2009-10-05 19:16:22 -04:00
Boris Zbarsky
0b1d6dd5d5 Bug 519608. In the common case, when wrapping .childNodes and .style we already have a wrapper for the element; make the PreCreate fast in this case. r=peterv 2009-09-30 18:56:06 -04:00
Robert O'Callahan
1da8163981 Bug 510110. Extend MozAfterPaint event to contain list of PaintRequest objects with information about individual invalidations. r=dbaron,sr=jst
--HG--
extra : rebase_source : 0e8b9f424d50c2d9e346f7ff15834202a6c101d1
2009-09-04 16:49:18 +12:00
Igor Bukanov
8c03c81096 bug 513190 - avoiding jsint tagging of the private slot data. r=jorendorff 2009-09-05 19:59:11 +04:00
Peter Van der Beken
cf46d66dc3 Fix for bug 510677 (Avoid XPCCallContext for WrapNativeToJSVal). r/sr=jst.
--HG--
extra : rebase_source : 647f360f5603a2f9ade579a9911ba51af1db91b5
2009-08-14 21:00:24 +02:00