Commit Graph

655 Commits

Author SHA1 Message Date
Ms2ger
070299e0ab Bug 707576 - Remove nsIDOMNSElement; r=smaug 2011-12-18 11:06:23 +01:00
Doug Sherk
f8cc305c99 Bug 708207: implement WebGL's getShaderPrecisionFormat r=bjacob 2011-12-16 13:11:59 -08:00
Boris Zbarsky
b4ae3f538d Bug 708405. Make sure to propagate out failures from JS_HasPropertyById in the old nodelist resolve hook. r=mrbkap 2011-12-15 14:36:46 -05:00
Christian Holler
9ac8158677 Bug 709483. Fix off-by-one error in the call to memmove that could cause us to copy memory we didn't own. r=bzbarsky 2011-12-14 23:42:15 -05:00
Olli Pettay
998181bae9 Bug 709127 - Implement MouseEvent and UIEvent ctors, r=jst, a=sheriff 2011-12-14 22:36:46 +02:00
Olli Pettay
b3edc36350 Bug 708701 - Implement HTML event ctors, r=jst
--HG--
extra : rebase_source : 4abb0185ea790c29ff7f2df0f032045777c898e0
2011-12-14 21:55:32 +02:00
Olli Pettay
b67e8975ea Bug 675884 - Implement Event constructors, part1, r=jst
--HG--
extra : rebase_source : 109d9cb22b810fbff71c637b6e15965eafdd61fe
2011-12-14 21:53:48 +02:00
Boris Zbarsky
0071fa9b4b Bug 589640 followup to fix breakage. 2011-12-08 02:37:55 -05:00
Brian O'Keefe
05a8f0100a Bug 589640 part 1. Add an SVGUnknownElement, like HTMLUnknownElement, so random elements in the SVG namespace create SVGElements (instead of XML Elements). r=bzbarsky 2011-12-08 01:32:11 -05:00
Jonas Sicking
cd4051ca12 Bug 692630: Support multi-entry indexes. r=bent 2011-12-04 09:39:01 -08:00
Jonas Sicking
8d116d7109 Back out patches due to test failures. rev 1b9ca56d4aab and a few more. 2011-12-02 19:46:25 -08:00
Jonas Sicking
a4afec4d29 Bug 692630: Support multi-entry indexes. r=bent 2011-12-02 18:32:46 -08:00
Johnny Stenback
e57eb36355 Fixing bug 690952. Move window.navigator from the outer window to the inner window, and stop persisting it across same origin page navigations. r=mrbkap@gmail.com 2011-12-01 00:28:16 -08:00
Mounir Lamouri
c464ab7113 Bug 674725 - Part L - Implement SmsEvent. r=smaug 2011-11-21 17:57:26 +01:00
Mounir Lamouri
691be6cb32 Bug 674725 - Part K - Implement SmsMessage. r=smaug 2011-11-22 10:34:21 +01:00
Mounir Lamouri
75dbd88991 Bug 674725 - Part C - SmsManager stub. r=smaug 2011-11-20 23:23:20 +01:00
Mounir Lamouri
bc905fd780 Bug 674725 - Part B - Add .mozSms to navigator. r=smaug 2011-11-20 22:08:33 +01:00
Mounir Lamouri
268955b4c5 Bug 701517 - Moz-prefix Battery API interfaces. rs+sr=smaug 2011-11-19 11:43:57 +01:00
Matheus Kerschbaum
fb722a61dd Bug 698630 - Remove --disable-smil build option; r=dholbert 2011-11-05 10:32:52 +00:00
Mounir Lamouri
c82259a3f3 Bug 699459 - Add a pref to disable Battery API. r=sicking 2011-11-04 00:31:32 +01:00
Mounir Lamouri
e4a26be94c Bug 678694 - (4/7) Dummy BatteryManager DOM code. r=sicking
Returns default values only and doesn't send events.
2011-11-02 16:01:32 +01:00
Mounir Lamouri
878ed2bcad Bug 678694 - (3/7) Plug mozBattery into navigator object. r=sicking 2011-11-02 13:04:39 +01:00
Mounir Lamouri
3a4cbb8800 Bug 695287 - Move Navigator declaration and definition outside of nsGlobalWindow.{h,cpp}. r=Ms2ger
This patch is creating Navigator.h and Navigator.cpp and makes Navigator part
of the mozilla::dom namespace.
2011-11-02 14:44:16 +01:00
Ms2ger
567f4260b6 Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv 2011-10-29 22:03:55 +02:00
Doug Sherk
1c15893d0b Bug 656824: Implemented ARB_robustness to detect driver resets in WebGL, only on GLX for now - r=bjacob
This patch implements ARB_robustness on GLX and allows scripts to handle driver resets
through events. The changes in this patch are very sweeping; they hit almost
every NS_IMETHODIMP function within WebGLContextGL.cpp and WebGLContext.cpp.
More work must be done on this to support EGL_CONTEXT_LOST.
2011-10-26 16:00:44 -04:00
Marco Bonardo
824c514d6a Merge last green changeset from mozilla-inbound to mozilla-central 2011-10-21 10:00:11 +02:00
Kyle Huey
0d874b65fa Bug 687361: Implement the new IndexedDB setVersion API. r=bent
--HG--
rename : dom/indexedDB/nsIIDBVersionChangeRequest.idl => dom/indexedDB/nsIIDBOpenDBRequest.idl
2011-10-20 12:10:56 -04:00
Olli Pettay
e5b7e8ee46 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 2, r=jst
--HG--
extra : rebase_source : 53dc2ec386f6e4147587e6be3c53d297ad71d57a
2011-10-18 14:19:44 +03:00
Olli Pettay
a86b1a4d43 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Blake Kaplan
fcc6580746 Bug 665279 - Resolve interface constants properly through Xray wrappers. r=peterv 2011-09-21 19:16:50 -07:00
Peter Van der Beken
34fc1ec4a5 Fix for bug 693258 (Fixes for test failures when turning off new list DOM bindings). r=bz/Waldo.
--HG--
extra : rebase_source : f0b6f8443cc29098ce75c114ff5a343597d9f38c
2011-10-13 15:36:09 +02:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Yazen Ghannam
03ce28c74a Bug 677085 - Merge "nsIDOMNSHTMLFrameElement" into "nsIDOMHTMLFrameElement"; r=bz 2011-10-15 09:34:31 +02:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Peter Van der Beken
ebc0b38209 Fix for bug 693301 (Remove ConstructProxyObject) - switch outer window creation to nsWrapperCache::WrapObject. r=mrbkap. 2011-08-20 15:53:34 +02:00
Olli Pettay
039dfaaa3a Bug 689128, re-enable EventListenerService tests, add a null check, handle compartments, r=bz
--HG--
extra : rebase_source : a0254eecb59adabb94737f1ca12803b712698903
2011-10-10 13:38:14 +03:00
Peter Van der Beken
2315871db3 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
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
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
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
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
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
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
Ms2ger
2f93d04a35 Bug 687486 - Throw INVALID_STATE_ERR when dispatching uninitialized events; r=smaug 2011-10-09 20:23:13 +02:00
Olli Pettay
5138297d6e Bug 681387: backout bug 654352 (caretPositionFromPoint), r=ehsan 2011-10-08 13:49:51 +03:00
Brian Hackett
e89780c40d Remove jsobj.h from installed headers, bug 690943. r=luke 2011-10-04 07:06:54 -07:00
Ms2ger
eacbc5f7f3 Bug 688531 - Remove NameList; r=jst 2011-10-01 18:14:40 +02:00
Doug Sherk
5b5702d6a4 Bug 684853: implement OES_standard_derivatives
Implemented OES_standard_derivatives and fallbacks if it isn't available. Exposes dFdx, dFdy, and fwidth functions to WebGL scripts.
2011-10-01 00:45:50 -04:00
Kyle Huey
4152a72565 Bug 657994: Factor out common bits of FileReader. r=smaug 2011-09-29 12:06:35 -04:00
Michael Wu
d8e503c38b 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
Boris Zbarsky
bd585bac16 Bug 680903 followup. Remove no longer needed FIXME comments. 2011-09-26 00:52:10 -04:00
Brian Birtles
1b3e5766ed Bug 602759 part 12 - Update DOM bindings to use new SVG transform types; r=jwatt 2011-09-25 22:04:32 +01:00
Boris Zbarsky
b327ae8ae8 Bug 680903. Make the set of interfaces exposed by windows saner across different window types. r=jst 2011-09-23 01:04:32 -04:00
Andreas Gal
195f6fccb6 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
Masayuki Nakano
46636681cc Bug 543789 part.1 Add DOM3 composition events r=smaug, sr=roc 2011-09-22 18:17:40 +09:00
Boris Zbarsky
8846761995 Backed out changeset adceb7fb0fce (bug 660233) due to test failures. 2011-09-21 23:05:42 -04:00
Andreas Gal
50f364a16d Bug 660233. Move nodePrincipal, baseURIObject, and documentURIObject from classinfo to XrayWrapper. r=mrbkap 2011-09-21 21:30:27 -04:00
Olli Pettay
12f3b41155 Bug 686449 - Make ProcessingInstruction inherit from CharacterData, r=sicking 2011-09-20 08:08:00 +03:00
Ms2ger
7b7048fda0 Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst 2011-09-18 11:22:17 +02:00
Neil Rashbrook
956f798ed0 Bug 611503 Constructing an nsTDependentString from an nsTAString makes no sense r=dbaron,dwitte 2011-09-15 08:40:17 +01:00
Neil Rashbrook
843c1fef62 Backout of bug 611503 because Android has some weird string code 2011-09-14 21:14:57 +01:00
Neil Rashbrook
430bc94bad Bug 611503 Constructing an nsTDependentString from an nsTAString makes no sense r=dbaron,dwitte 2011-09-14 20:21:20 +01:00
Boris Zbarsky
18abf384b1 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
Boris Zbarsky
f7596db6d2 Bug 684435. Add a way for an nsIXPCScriptable to request a null equality hook, and do so for DOM nodes. r=peterv 2011-09-07 11:06:33 -04:00
Ehsan Akhgari
7531e87587 Merge mozilla-central and mozilla-inbound 2011-09-07 10:53:26 -04:00
Johnny Stenback
4c29f85d38 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
dd3d708aa6 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
936b61421b Keep changeset ee8c8daffe43 backed out on the reverted tree 2011-09-02 09:06:59 -04:00
Ehsan Akhgari
a171549936 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
2b54c2fd7c 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
d9d5a64764 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
75baef868d Bug 684544. Restore missing null-check for location setter. r=mrbkap 2011-09-06 22:57:46 -04:00
Phil Ringnalda
74787fa14f Back out fc945dec50bb and de06684dabc4 (bug 642551), 64c328251a24 (bug 683952) and 9d0d13998ebb (bug 684544) for orange on a CLOSED TREE 2011-09-06 21:42:54 -07:00
Boris Zbarsky
664f361262 Bug 684544. Restore missing null-check for location setter. r=mrbkap 2011-09-06 22:57:46 -04:00
Ed Morley
243415d54c 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
2129c4eb85 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
Josh Aas
74ef464fac Merge backout of changeset 33031c875984, bug 90268. r=josh 2011-08-30 02:11:57 -04:00
Josh Aas
32d0be0cd8 Backed out changeset 33031c875984. Bug 90268. r=josh 2011-08-30 02:09:56 -04:00
Brian Hackett
639ecd7257 Merge MC -> JM 2011-08-29 18:41:32 -07:00
Brian Hackett
604519588f Merge MC -> JM 2011-08-29 12:34:59 -07:00
Rob Campbell
b9acef0ccf merge m-c to fx-team, clobbered windows 2011-08-29 12:19:08 -03:00
Josh Aas
4ab4397277 Bug 90268: Make content own plugin instances instead of frames. Allows display:none instances and re-parenting instances without stopping them. r=roc 2011-08-29 03:09:22 -04:00
Brian Hackett
045638a1ea Merge MC -> JM 2011-08-26 11:23:35 -07:00
Ms2ger
6aeeb50315 Bug 672054 - Part b: Remove nsIDOMNSMouseEvent; r=smaug 2011-08-26 09:43:56 +02:00
Ms2ger
b12351fbda Bug 672054 - Part a: Remove nsIDOMNSUIEvent; r=smaug 2011-08-26 09:43:49 +02:00
Rob Campbell
f6795ab075 merge m-c to fx-team 2011-08-26 11:38:59 -03:00
Boris Zbarsky
8bdd1a64af 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
81585dfcf4 Bug 659350 part 3. Add nsITouchEventReceiver for elements. r=smaug 2011-08-24 15:49:25 -04:00
Boris Zbarsky
3b2d73afa7 Bug 659350 part 2. Add nsITouchEventReceiver for windows. r=smaug 2011-08-24 15:49:25 -04:00
Boris Zbarsky
4cacf55049 Bug 659350 part 1. Add an nsITouchEventReceiver interface that will hold the touch-related on* properties, make it possible to declare conditional interfaces in classinfo, and make this new interface conditional on the touch event preference for documents. r=smaug,peterv 2011-08-24 15:49:25 -04:00
Mihai Sucan
726b8bb058 Bug 670896 - Add inner window ID and timestamp to nsIScriptError2; r=bzbarsky 2011-08-24 23:44:35 +03:00
Brian Hackett
45b8a69877 Merge MC -> JM 2011-08-21 16:00:26 -07:00
Brian Hackett
4c611afd71 Merge MC -> JM 2011-08-12 07:20:08 -07:00
Brian Hackett
9b769204de Merge MC -> JM 2011-08-09 13:29:11 -07:00
Brad Lassey
156110781c bug 654352 - document.caretPositionFromPoint API r=roc,smaug 2011-08-18 16:54:34 -04:00
David Zbarsky
8509478d01 Bug 672536 - Merge nsISelection3 into nsISelection r=smaug 2011-08-07 16:18:00 -04:00