Commit Graph

1171 Commits

Author SHA1 Message Date
Olli Pettay
2b0940bb2d Bug 784259 - nsDOMMutationObserver should inherit nsWrapperCache, r=peterv 2012-08-28 18:25:19 +03:00
Philipp von Weitershausen
d158b5747c Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Gabor Krizsanits
c1beee85b1 Bug 738244 - Supporting DOM specific collection properties through xray wrappers; r=mrbkap 2012-08-27 15:06:34 +02:00
Andrew McCreight
fe0f72dfe5 Bug 765527. r=mrbkap 2012-08-25 14:56:45 -07:00
Kyle Huey
8443a7a8f1 Bug 783162: Make mapped attributes hold the image alive. r=bz
The nsCSSValue in nsGenericHTMLElement::MapBackgroundInto is a temporary.  This causes a problem after Bug 697230 landed, because the nsCSSValue::Image we put into that value is destroyed once we're done doing style stuff.  Previously the nsImageLoader would grab the request off the nsCSSValue::Image and hold it alive.  Bug 697230 changed the behavior here; now when the nsCSSValue::Image is destroyed it tells the image loader to drop the request.  The result is that all the references to the request are dropped and the frame is never told it has a background.

The solution is to keep the nsCSSValue::Image alive longer.  This patch adds two new types of nsAttrValue.  The first is an nsCSSValue::URL.  A ParseBackgroundAttribute method is added on nsGenericHTMLElement that the relevant elements (body/td/th/table/tr/tbody/thead/tfoot) call that parses background into an nsCSSValue::URL.  The second is an nsCSSValue::Image.  nsGenericHTMLElement::MapBackgroundInto attempts to convert the nsCSSValue::URL into an nsCSSValue::Image by kicking off the image load.  The result is that image loads are only started when the element is actually visible.  This also mirrors the way background-image works.  This also allows us to fix two longstanding bugs in this code.  Since MapBackgroundInto doesn't have a pointer to the actual element, it relied on grabbing the principal of the document.  Now we can grab the principal of the node in ParseBackgroundAttribute.  MapBackgroundInto also has no way to get at the element's base URI (to honor xml:base), which is now possible in ParseBackgroundAttribute.

nsCSSValue::[Image|URL] have also been moved to be mozilla::css::[Image|URL]Value.  nsAttrValue.h is included in external linkage code, so it can't include nsCSSValue.h to get the declarations of nsCSSValue::[Image|URL], and nested classes can't be forward declared.  Moving the classes to a namespace solves the problem.

Finally some old inoperative quirks mode code was removed.  This code has done nothing since Bug 273078 was landed in 2004.
2012-08-24 10:50:49 -07:00
Luke Wagner
ad90af9ca5 Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Peter Van der Beken
ee9eae3141 Fix for bug 768692 (Move DOM list binding generation to the new DOM binding codegen). r=bzbarsky.
--HG--
extra : rebase_source : 651a0fac4c9a87ef1c0a9cd91588c6421fd050c4
2012-05-22 15:46:20 +02:00
Ehsan Akhgari
2d709c2f52 Merge the landing of bug 579517 to mozilla-inbound 2012-08-22 12:12:15 -04:00
Eric Chou
c713f87fb5 Bug 783520 - [b2g-bluetooth] follow-up to bug 730992, r=qdot 2012-08-22 18:37:08 +08:00
Gina Yeh
6ba33be90b Bug 783454 - v1: Create devicefound event with event generator, r=qdot 2012-08-21 10:54:28 +08:00
Olli Pettay
711151788a Bug 783856 - Autogen PopupBlockedEvent, r=jst 2012-08-20 11:26:34 -07:00
Ehsan Akhgari
e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Eric Chou
1353638291 Bug 730992 - Patch 1: The DOM boilerplate for BluetoothPairingEvent, r=qdot, sr=mrbkap
---
 dom/base/nsDOMClassInfo.cpp                   |    9 +++
 dom/base/nsDOMClassInfoClasses.h              |    1 +
 dom/bluetooth/BluetoothPairingEvent.cpp       |   78 +++++++++++++++++++++++++
 dom/bluetooth/BluetoothPairingEvent.h         |   70 ++++++++++++++++++++++
 dom/bluetooth/Makefile.in                     |    2 +
 dom/bluetooth/nsIDOMBluetoothPairingEvent.idl |   15 +++++
 6 files changed, 175 insertions(+), 0 deletions(-)
 create mode 100644 dom/bluetooth/BluetoothPairingEvent.cpp
 create mode 100644 dom/bluetooth/BluetoothPairingEvent.h
 create mode 100644 dom/bluetooth/nsIDOMBluetoothPairingEvent.idl
2012-08-17 18:35:59 +08:00
Aryeh Gregor
4e199a1679 Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Alexander Boldyrev
51cb65d942 Bug 738866 - Implement WEBGL_depth_texture extension - r=jgilbert 2012-08-13 18:17:55 -07:00
Phil Ringnalda
9fa8d2547b Bug 782167 - Downgrade MOZ_ASSERT(win->IsClosedOrClosing()) to an NS_ASSERTION until it stops happening so often, r=khuey
--HG--
extra : rebase_source : 774096aa4cfa058d1aa1a32596ae65e464e1baf9
2012-08-12 20:52:21 -07:00
David Keeler
265553458e Bug 741130 - Attach XBL bindings for html:objects in nsElementSH::PostCreate. r=bz, r=jwein 2012-08-10 09:19:24 -07:00
Ryan VanderMeulen
c7b834b885 Merge inbound to m-c. 2012-08-11 22:33:42 -04:00
Masayuki Nakano
5c5f0a16d2 Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst 2012-08-12 10:42:34 +09:00
Ms2ger
0ec3bd25cf Backout changeset c77acb256aec for failing to work. 2012-08-11 18:12:54 +02:00
Doug Turner
b0523754d9 Bug 777088 - device Storage - file stat API. r=bent 2012-07-31 12:28:23 -07:00
Ms2ger
243160b7d0 Bug 781058 - Part c: Fix -Werror=int-to-pointer-cast in nsDOMClassInfo; r=mounir 2012-08-09 09:20:29 +02:00
Ms2ger
a8e2a83aaf Bug 780146 - Part e: Move all standard classes resolution code into the !ObjectIsNativeWrapper() branch; r=jst 2012-08-09 09:19:53 +02:00
Ms2ger
4b7a38938e Bug 780146 - Part c: Don't define constructors by contract ID; r=jst 2012-08-09 09:19:48 +02:00
Ms2ger
9875b35b00 Bug 780146 - Part b: Inline nsDOMClassInfo::RegisterClassName; r=jst 2012-08-09 09:19:42 +02:00
Ms2ger
04e6619be6 Bug 780146 - Part a: Move window._content into IDL; r=jst 2012-08-09 09:16:09 +02:00
Ms2ger
b4f56e1131 Bug 780993 - Reinstate support for setting indexed properties on HTMLSelectElement to null; r=bz 2012-08-09 09:10:21 +02:00
Anant Narayanan
f18740e3c5 Bug 779626: Javascript-global-constructor objects should be passed a window reference; r=mrbkap 2012-08-03 08:35:00 -07:00
Boris Zbarsky
faa7bcc004 Bug 753517 part 2. Make all CSS declarations wrappercached and make them correctly handle preserved wrappers. r=mccr8,peterv,smaug,dbaron 2012-08-05 22:16:30 -04:00
Boris Zbarsky
c4ec20c33e Bug 753517 part 1. Make GetParentObject() on CSS declarations return a useful nsINode if possible. r=peterv,dbaron 2012-08-05 22:14:52 -04:00
Ms2ger
b23a9d3dda Bug 780165 - Part b: Use nsPIDOMWindow::GetDoc() in the special case for window.document in nsDOMClassInfo; r=smaug 2012-08-04 09:44:01 +02:00
Ms2ger
c75eefb90d Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Ed Morley
f4181983a1 Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE 2012-08-04 18:05:15 +01:00
Ms2ger
cc95f71b5c Bug 780165 - Part b: Use nsPIDOMWindow::GetDoc() in the special case for window.document in nsDOMClassInfo; r=smaug 2012-08-04 09:44:01 +02:00
Ms2ger
27245512cd Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Doug Turner
990ea4cf4e Bug 779864 - onchange notifications of DeviceStorage should use code generator. r=smaug 2012-08-02 13:25:16 -07:00
Wes Johnston
3dc27a7f5b Bug 777706 - Backout new dom bindings for touchlists. r=smaug 2012-08-02 10:41:42 -07:00
Doug Turner
0cc5c1e0ee Bug 763976 - Add onchange notifications to DeviceStorage. r=khuey 2012-08-01 23:29:34 -07:00
Eric Faust
b0323e13a7 Bug 752223 - Implement JS_NumberValue(), replacing JS_NewNumberValue(). (r=luke) 2012-08-01 17:59:47 -07:00
Cameron McCormack
1528758ac5 Bug 649740 - Implement @supports. r=dbaron,bz 2012-08-02 10:32:12 +10:00
Olli Pettay
99f05d8922 Bug 777278 - Implement nsIDOMStorageEvent using event implementation codegen, r=mayhemer 2012-08-01 19:17:19 +03:00
Olli Pettay
420a8918fe Bug 777285 - Autogenerate SettingsEvent implementation, r=anygregor
--HG--
extra : rebase_source : 038f38a4f9efae15a3fbf4236c4456bf9cfa4577
2012-08-01 12:48:35 +03:00
Kyle Machulis
564a0e174b Bug 761511: Patch 1 - Boilerplate for BluetoothPropertyEvent DOM Object r=bent; sr=mrbkap 2012-07-31 21:49:59 -07:00
Mike Habicher
9e245cc9a4 Bug 740997 - ICS camera support, r=jst,gal,roc 2012-07-30 17:59:05 -04:00
Aryeh Gregor
c81630fddb Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Ehsan Akhgari
3ad40dbf10 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Brian Hackett
aa69831ee5 Use HandleValue and MutableHandleValue in API hooks where possible, bug 776579. r=billm, sr=dmandelin 2012-07-30 05:19:09 -06:00
Aryeh Gregor
587e4453db Bug 777292 - Don't use |= on nsresult; r=ehsan 2012-07-27 17:03:08 +03:00
Andrea Marchesini
2d1d1f8904 Bug 772434 - Blob support for Zip file contents, r=jst 2012-07-27 17:21:34 -07:00
Olli Pettay
ca22625ff8 Bug 776986 - Implement MozApplicationEvent using codegenerator, r=fabrice 2012-07-26 13:23:22 +03:00
Olli Pettay
46e6a4eab4 Bug 776971 - codegen DeviceLightEvent impl, r=dougt 2012-07-26 00:26:51 +03:00
Olli Pettay
2c8046a80a Bug 776966 - Generate DeviceOrientationEvent implementation, r=dougt 2012-07-26 00:17:14 +03:00
Chris Peterson
d773cf6a88 Bug 777191 - Fix warning about uninitialized variable in DefineIDBInterfaceConstants(). r=khuey 2012-07-24 16:20:26 -07:00
Olli Pettay
adf35f6898 Bug 776929 - Let event implementation codegen to generate MozContactChangeEvent, r=gwagner 2012-07-24 22:28:26 +03:00
Ryan VanderMeulen
be774885eb Merge m-c to inbound. 2012-07-20 17:37:53 -04:00
Olli Pettay
f4dd92a216 Bug 765766 - Convert more event interface implementations to be autogenerated, r=jst 2012-07-20 19:58:28 +03:00
Olli Pettay
aa64d464e5 Bug 765163 - Implement code generator for simple DOM events, r=jst,khuey 2012-07-20 19:42:08 +03:00
Ed Morley
6e77ed5e6e Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-19 13:25:37 +01:00
Marshall Culpepper
1000d1405e Bug 736710 - Part 3: Voicemail DOM implementation classes. r=smaug 2012-07-19 11:27:19 +08:00
Olli Pettay
baa63dcc1e Bug 773945, remove nsXULElement::mPrototype, part 1, r=bz 2012-07-14 14:28:35 +03:00
Kyle Machulis
f8c0d08e82 Bug 740744: Asynchronous dbus events for bluetooth, Start/StopDiscovery and device event firing; r=bent sr=mrbkap 2012-07-17 20:41:54 -07:00
Ehsan Akhgari
8bb5b583b2 Bug 774556 - Remove nsIDOMWindowPerformance* XPCOM interfaces; r=bzbarsky 2012-07-16 22:44:22 -04:00
Fabrice Desré
1ef55968bc Bug 715814 - Implement Web Activities : Activity Object [r=mounir] 2012-07-20 17:41:30 +02:00
Olli Pettay
ba65734702 Bug 773803 - Remove nsIScriptObjectOwner, r=bz
--HG--
rename : dom/base/nsIScriptObjectOwner.h => dom/base/nsIScriptEventHandlerOwner.h
2012-07-14 01:23:59 +03:00
Bobby Holley
95fef51c28 Bug 763343 - Handle classinfo singletons in cross-compartment wrapping. r=peterv 2012-07-13 14:33:25 +02:00
Bobby Holley
31b22f2653 Bug 771202 - Implement post-transplant plugin behavior. r=bsmedberg 2012-07-13 10:55:14 +02:00
Bobby Holley
79ab421362 Bug 771202 - Add a PostTransplant nsIXPCScriptable hook. r=peterv 2012-07-13 10:55:14 +02:00
Mounir Lamouri
1aae6d606d Bug 769571 - Unprefix Battery API. r=sicking sr=smaug
--HG--
rename : dom/battery/nsIDOMNavigatorBattery.idl => dom/battery/nsINavigatorBattery.idl
2012-07-05 12:05:09 +02:00
Bill McCloskey
4093aff673 Bug 770759 - Add mutable handles (r=bhackett) 2012-07-04 11:12:16 -07:00
Fabrice Desré
62b3e61301 Bug 755245 - Implement System Message Handler : Part 3, DOM implementation [r=vingtetun,mounir] 2012-07-02 17:16:55 -07:00
David Zbarsky
d2ee12f6f9 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Jeff Walden
c21829def3 Bug 757908 - Remove JSRESOLVE_DECLARING. r=dmandelin 2012-05-23 10:22:46 -07:00
Jeff Walden
b59dcbad3d Bug 769040 - Remove JSACC_PARENT. r=dmandelin 2012-06-27 14:03:49 -07:00
Ryan VanderMeulen
d3f4db6b67 Backout b97cdd8008a0, bc305a9ac000, and 03549c72043d due to Android browser-chrome orange. 2012-06-30 11:09:26 -04:00
Peter Van der Beken
ad2c6d7b5a Fix for bug 762654 (Switch the Azure 2d canvas context to new DOM bindings). r=bz. 2012-05-21 23:30:07 +02:00
Jeff Walden
59c3bc6c2e Bug 757908 - Remove JSRESOLVE_DECLARING. r=dmandelin
--HG--
extra : rebase_source : 0aa62ffa45751a55708f904079d901347e6dc9ea
2012-05-23 10:22:46 -07:00
Jeff Walden
45373dc2ef Bug 769040 - Remove JSACC_PARENT. r=dmandelin
--HG--
extra : rebase_source : 2890ae28d325fb2d280f7d781e536e264cb30530
2012-06-27 14:03:49 -07:00
Matt Brubeck
aa0f6555db Back out 438c192e561b and d6f341e77b68 (bug 762652, bug 762654) on suspicion of breaking Windows PGO tests 2012-06-27 16:24:53 -07:00
Peter Van der Beken
60fb9fe77c Fix for bug 762654 (Switch the Azure 2d canvas context to new DOM bindings). r=bz.
--HG--
extra : rebase_source : 04c68533b85dca434e3ab086d8ff5081a323785c
2012-05-21 23:30:07 +02:00
Peter Van der Beken
b46e1cd08a Fix for bug 768669 (Move remaining DOM list proxy bindings from behind the pref). r=bz.
--HG--
extra : rebase_source : 738cd6df3aa353b682f931beaabde74de8c1a2bd
2012-06-22 12:34:26 +02:00
Bill McCloskey
6fc5c2649e Bug 762199 - Don't use tinyids in indexeddbg (r=Waldo) 2012-06-26 13:35:34 -07:00
Jonathan Watt
970e60a384 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Jeff Walden
de5ac6b321 Bug 758912 - Don't use JSCLASS_NEW_RESOLVE_GETS_START in XBL code. r=bz 2012-05-29 12:01:30 -07:00
Bobby Holley
9e215b1aaa Bug 732870 - Have nsDOMStringMapSH::PreCreate use the element as its parent, rather than the window. r=peterv 2012-06-21 10:02:36 +02:00
Johnny Stenback
d23c8a48c0 Fixing bug 616353. Make DOM constants constant. r=peterv 2010-12-03 09:10:46 -08:00
Masatoshi Kimura
5664ae8e7a Bug 764916 - Replace nsDOMClassInfo::ThrowJSException with xpc::Throw. r=mrbkap 2012-06-19 19:01:10 -04:00
Peter Van der Beken
c35972a603 Fix for bug 762651 (Add wrappercache to CanvasRenderingContext2D). r=bz. 2012-06-04 21:41:51 +02:00
Peter Van der Beken
a69b9ca912 Fix for bug 764277 (New DOM bindings codegen doesn't register classes with constructors). r=jst. 2012-06-14 16:56:38 +02:00
Ehsan Akhgari
4830dd98a3 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (dom parts); r=bzbarsky 2012-06-14 22:31:55 -04:00
Ms2ger
c1e5ff949e Bug 762436 - Get rid of the nsresult return value for nsIXPCScriptable::GetScriptableFlags(); r=mrbkap 2012-06-17 10:11:16 +02:00
Gregor Wagner
75f06b250a Bug 764682 - Fix B2G build. r=red 2012-06-16 11:47:04 -07:00
Gregor Wagner
22fa9d9f64 Bug 764682 - Implement wifi events in c++. r=smaug 2012-06-16 11:14:12 -07:00
Boris Zbarsky
ed0d831772 Bug 750297 part 2. Switch WebGLUniformLocation to Paris bindings. r=peterv, bjacob 2012-06-15 16:25:51 -04:00
Andrew McCreight
32c90ebc36 Bug 749385 - use deferred release in nsHTMLDocumentSH::ReleaseDocument. r=peterv 2012-05-18 15:00:19 -07:00
Fabrice Desré
b0c52f22b3 Bug 761729 - Either implement mozIDOMApplicationEvent in C++, or make WebApps use CustomEvent [r=smaug] 2012-06-14 16:03:55 -07:00
Gregor Wagner
c8b4ad4b1b Bug 764667 - Implement ContactChangeEvent in C++. r=smaug 2012-06-14 10:13:12 -07:00
Masatoshi Kimura
4376bc3808 Bug 743888 - Part 1: Remove SVGException and XPathException. r=jonas 2012-06-13 21:12:37 -04:00
Justin Lebar
8d7f4a897e Bug 742944 - Part 4: Handle window.open in <iframe mozbrowser>. r=bz, cjones
--HG--
extra : rebase_source : 4c16c86c5be230af22eea89dfb5f893b7c6091dd
2012-06-12 18:01:25 -04:00
Olli Pettay
e160cfea86 Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
Fernando Jiménez
f4ecbde1dc Bug 734145 - B2G RIL: Support USSD codes. Part 3: DOMEvent. r=bent 2012-06-09 17:07:18 -04:00
Olli Pettay
be6c155114 Bug 756277 - XMLHttpRequest started from Cc['@mozilla.org/xmlextras/xmlhttprequest;1'] ends up bound to some random window, r=bz
--HG--
extra : rebase_source : 480dbf41846fee3362697cb0bf537281f35845e0
2012-06-08 23:45:13 +03:00
Bobby Holley
76cccb6d8f Bug 640904 - Null-check after EnsureInnerWindow in nsWindowSH::GetProperty. r=mrbkap 2012-06-07 01:21:16 +02:00
Laurent Dulary
9190e002a9 Bug 657938 (1/2) - Implement the content part of the meter element. f=mounir r=smaug,mrbkap 2012-05-16 13:18:33 +02:00
Ed Morley
31ad3140c9 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-06 09:20:35 +01:00
Ms2ger
02a7eb4e87 Bug 760156 - Cleanup LOCAL_INCLUDES in content/media/; r=sicking
This patch makes it possible to include nsGenericHTMLElement.h without adding
to LOCAL_INCLUDES.
2012-06-06 09:40:02 +02:00
David Zbarsky
b6b455f922 Bug 591467 - Implement HTML5 Microdata API r=bz 2012-06-04 16:49:57 -07:00
Jeff Walden
06b8304367 Bug 758499 - Remove JSRESOLVE_WITH. r=dmandelin 2012-05-24 23:54:05 -07:00
Phil Ringnalda
d203ecbd62 Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2012-06-03 12:04:40 -07:00
Jan Varga
513c660911 Bug 726593 - Implement FileHandle. r=bent 2012-06-03 18:33:52 +02:00
Fabrice Desré
d0517d3a7d Bug 723206 - Constructors implemented in JS from IDL should be allowed to have arguments [r=mrbkap] 2012-06-01 14:40:14 -07:00
Anant Narayanan
025e433abb Bug 752353: DOM bindings for getUserMedia; r=jst
--HG--
rename : content/media/nsIDOMMediaStream.idl => dom/media/nsIDOMMediaStream.idl
2012-06-03 00:35:15 -07:00
Fabrice Desré
245ace4745 Bug 723206 - followup to fix a tab. [r=me] 2012-06-02 14:21:03 -07:00
Robert O'Callahan
52b08e005b Bug 760074. Don't try to instantiate a plugin in an inactive document. r=josh
--HG--
extra : rebase_source : bcbb8e724c8eb75bd7e782a04edffcf99103841b
2012-06-01 18:26:50 +12:00
Boris Zbarsky
0a4ca3bfd2 Bug 759995. Stop warning on use of the global scope polluter. r=jst 2012-05-31 14:16:49 -04:00
Shriram Kunchanapalli
5b9a95ea6a Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Benoit Jacob
33c209c243 Bug 755618 - WebGLExtensionCompressedTextureS3TC uses nsDOMGenericSH instead of WebGLExtensionSH - r=jgilbert 2012-05-30 08:30:32 -04:00
Jeff Walden
b0f4fb0396 Bug 757562 - Remove JSRESOLVE_CLASSNAME. r=dmandelin
--HG--
extra : rebase_source : 9b5a920f7c7441ee21b2dd2331a98fc70b42ed41
2012-05-21 18:08:11 -07:00
Brian Hackett
8d76a85fea Rename RootedVar to Rooted, bug 756823. r=billm 2012-05-24 16:05:18 -07:00
Kyle Machulis
d2a38bcf4f Bug 742044 - Create BluetoothManager object for managing multiple adapters and firmware loading; r=bent 2012-05-23 21:02:23 -07:00
Kyle Machulis
4c5554ccb2 Backing out Bug 742044 - Bustage on B2G 2012-05-23 18:27:53 -07:00
Kyle Machulis
421f8ec45d Bug 742044 - Create BluetoothManager object for managing multiple adapters and firmware loading; r=bent 2012-05-23 18:21:05 -07:00
Kyle Machulis
c360d390b8 Backing out Bug 742044 - contained extra patches for another bug 2012-05-23 18:18:24 -07:00
Kyle Machulis
435352baa4 Bug 742044 - Create BluetoothManager object for managing multiple adapters and firmware loading; r=bent 2012-05-23 18:06:36 -07:00
Neil Deakin
403c3ccc83 Bug 757485, remove nsIXBLService and use nsXBLService directly, r=bz 2012-05-23 14:46:04 -04:00
Olli Pettay
811c9d1086 Bug 749920 - Unprefix MozMutationObserver and add a warning about use of mutation events, r=sicking 2012-05-23 13:45:14 +03:00
Doug Turner
236a04a91a Bug 717103 - Implement Device Storage. r=sicking 2012-05-21 09:18:30 -07:00
Ed Morley
273380866f Backout 027ed1748c81 (bug 740485) for M3 orange 2012-05-21 19:36:43 +01:00
Doug Turner
f8a704e7d4 Bug 740485 - Implement Device Storage. r=sicking 2012-05-21 09:18:30 -07:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Brian Hackett
d55ff730fa Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 15:03:45 -07:00
Brian Hackett
66d81d0a7e Backed out changeset 5fc7462dd394 for android orange. 2012-05-19 11:52:55 -07:00
Brian Hackett
7235558c07 Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 09:48:09 -07:00
Ms2ger
28dd6980e6 Bug 754553 - Remove indexed property access from localStorage/sessionStorage; f=mayhemer r=sicking 2012-05-18 10:29:40 +02:00
Robert Longson
da7b0caeee Bug 512525 - Implement SVG Fragment Identifier parsing and animation hyperlinking - Part 2 main implementation. r=jwatt 2012-05-17 11:02:41 +01:00
Doug Turner
7738c44000 Bug 751663 - Implement new device proximity like event that fires only when the screen is close to the user's face. r=smaug 2012-05-16 13:27:54 -07:00
Jeff Muizelaar
a99aac410d Bug 755172. Add MOZ_FINAL to a bunch of idb classes. r=khuey 2012-05-15 00:50:29 -04:00
Tom Schuster
448c19e69b Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger 2012-05-11 17:46:26 +02:00
Ed Morley
94067f98cb Backout 9b0fcaacb788 & bf3fef257e68 (bug 752226) for mochitest-other orange 2012-05-11 18:25:52 +01:00
Tom Schuster
a5e74fc12b Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
--HG--
extra : rebase_source : edf2077f8b8bad1970eab6ebe9996e761d4e596c
2012-05-11 17:46:26 +02:00
Luke Wagner
05a5a19152 Bug 747617 - fix document.all and swap JSClass::{construct,hasInstance} so this doesn't happen again (r=bz)
--HG--
extra : rebase_source : 036acbd046ff8b42f81e63933901b6aaaa595a76
2012-05-07 12:44:08 -07:00
Jon Buckley
eb1579639e Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob 2012-05-08 13:29:31 -04:00
Ed Morley
93fca3e280 Backout ba7cf6fd10ae (bug 728017) for failing to compile 2012-05-08 18:50:45 +01:00
Jon Buckley
1720b18a60 Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob 2012-05-08 13:29:31 -04:00
Ms2ger
11221bf60a Bug 732708 - Part f: Remove nsStorageSH; r=mayhemer 2012-05-05 11:00:05 +02:00
Ms2ger
2a26067c2b Bug 732708 - Part d: Remove StorageEventObsolete, NS_NewDOMStorage; r=mayhemer 2012-05-05 11:00:05 +02:00
Ms2ger
a147767a14 Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley 2012-05-05 11:00:05 +02:00
Boris Zbarsky
92d75c731a Bug 747825. Make the WebGLContext a wrapper cache. r=peterv 2012-05-04 12:36:40 -04:00
Doug Turner
e474437e8e Bug 738465 - implement device light sensor. r=smaug 2012-05-02 09:43:45 -07:00
Doug Turner
e188f5505d Bug 738131 - implement device proximity. r=smaug
* * *
Bug 738131 - implement device proximity. gonk implementation. r=mwu
2012-05-02 09:43:45 -07:00
Steve Fink
d18222c292 Bug 730208 - UnmarkGray various JS objects to prevent them from being used to create black -> gray edges. r=smaug
--HG--
extra : rebase_source : ba0e5a7c3f9f5f4c76eaa3c8e20d406b9691be9b
2012-03-20 21:29:47 -07:00
Eric Chou
b36e1d3b47 Backout 4a9ebf972d27 (Bug 730990) because it was checked-in without superreview 2012-05-04 07:53:51 +08:00
Boris Zbarsky
2299a42041 Bug 742217. Reduce the use of nested namespaces in our binding code. r=peterv,bent
In the new setup, all per-interface DOM binding files are exported into
mozilla/dom.  General files not specific to an interface are also exported into
mozilla/dom.

In terms of namespaces, most things now live in mozilla::dom.  Each interface
Foo that has generated code has a mozilla::dom::FooBinding namespace for said
generated code (and possibly a mozilla::bindings::FooBinding_workers if there's
separate codegen for workers).

IDL enums are a bit weird: since the name of the enum and the names of its
entries all end up in the same namespace, we still generate a C++ namespace
with the name of the IDL enum type with "Values" appended to it, with a
::valuelist inside for the actual C++ enum.  We then typedef
EnumFooValues::valuelist to EnumFoo.  That makes it a bit more difficult to
refer to the values, but means that values from different enums don't collide
with each other.

The enums with the proto and constructor IDs in them now live under the
mozilla::dom::prototypes and mozilla::dom::constructors namespaces respectively.
Again, this lets us deal sanely with the whole "enum value names are flattened
into the namespace the enum is in" deal.

The main benefit of this setup (and the reason "Binding" got appended to the
per-interface namespaces) is that this way "using mozilla::dom" should Just
Work for consumers and still allow C++ code to sanely use the IDL interface
names for concrete classes, which is fairly desirable.

--HG--
rename : dom/bindings/Utils.cpp => dom/bindings/BindingUtils.cpp
rename : dom/bindings/Utils.h => dom/bindings/BindingUtils.h
2012-05-03 00:35:38 -04:00
Josh Aas
b48fb8b460 Bug 748343: Remove support for "java" and "packages" objects from the DOM. r=jst sr=smaug a=ehsan CLOSED TREE 2012-05-01 16:47:35 -04:00
aceman
50f82f9494 Bug 750501 - Fix build failure in nsDOMClassInfo.cpp due to missing nsIDOMMediaStream.h when MOZ_MEDIA is disabled. r=bz 2012-04-30 22:45:02 -04:00
Robert O'Callahan
500533126c Bug 664918. Part 4: Create nsDOMMediaStream, a DOM object wrapping an underlying MediaStream. r=smaug,jesup 2012-04-30 15:11:34 +12:00
Bobby Holley
9c2ece0538 Bug 640904 - Check for null window globals within PreCreate hooks and assert IsClosedOrClosing(). r=peterv,smaug 2012-04-27 10:38:14 +02:00
Ms2ger
8f17d835b5 Backout cc0e289b9f34 (bug 640904) for Windows M1 crashes. 2012-04-26 18:22:08 +02:00
Bobby Holley
2c37716092 Bug 640904 - Check for null window globals within PreCreate hooks and assert IsClosedOrClosing(). r=peterv 2012-04-26 14:16:10 +02:00
Matt Brubeck
0d23bfe194 Back out bug 730208 and bug 747543 because of xpcshell test failures 2012-04-24 20:47:16 -07:00
Steve Fink
38e380f2b2 Bug 730208 - UnmarkGray various JS objects to prevent them from being used to create black -> gray edges. r=smaug
--HG--
extra : rebase_source : 00bd6f20a900e97173fafa9f5512e2ebbd3a0cac
2012-03-20 21:29:47 -07:00
Josh Matthews
a56c056d48 Bug 677194 - Change assertion to an early-return bailout. r=jst, a=akeybl 2012-02-29 12:11:03 -05:00
Boris Zbarsky
b311ae345d Bug 740811. Make SVGElement.prototype be Element.prototype again. r=peterv, a=akeybl 2012-04-20 21:44:35 -04:00
Philipp von Weitershausen
71e0a3dc57 Bug 729173 - Part 2: MobileConnection boilerplate. r=mounir 2012-04-19 18:33:25 -03:00
David Anderson
94ccb204aa Remove simple JS_FrameIterator use from content, DOM, and caps (bug 744617, r=mrbkap).
--HG--
extra : rebase_source : 003a5285b549845d47c9298606d737620db5bb3d
2012-04-16 12:30:00 -07:00
Ms2ger
1d66128fff Bug 741347 - Remove nsIXPConnect::DefineDOMQuickStubs, call DOM_DefineQuickStubs directly instead; r=bholley 2012-04-14 15:05:17 +02:00
Ms2ger
77ca860259 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger
859ca74e56 Bug 743573 - Fix a number of build warnings in dom/; r=volkmar 2012-04-14 15:09:47 +02:00
Ms2ger
23617402f0 Bug 741347 - Remove nsIXPConnect::DefineDOMQuickStubs, call DOM_DefineQuickStubs directly instead; r=bholley 2012-04-14 15:05:17 +02:00
Ms2ger
5a2d0a8476 Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley 2012-04-14 15:05:01 +02:00
Masatoshi Kimura
7706cbe7a8 Bug 730161 - Replace IDBDatabaseException and FileException with DOMException. r=sicking 2012-04-11 17:55:21 -04:00
Nathan Froyd
4e2c3da6af Bug 732708 - remove nsIDOMStorageList; r=honzab 2012-03-28 12:33:41 -04:00
Igor Bukanov
2d04a4fe3d Bug 737365 - stop using the cx during finalization, part 1.
This part changes the signatures for various finalization API to take
not JSContext* but rather either JSFreeOp structure or its
library-private counterpart FreeOp. These structures wrap parameters
that are passed to the finalizers removing most of explicit dependencies
on JSContext in the finalization code.
2012-03-19 15:34:55 +01:00
Veeraya Pupatwibul
344b2b1753 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Ryan VanderMeulen
503ea93a8c Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
dcbb9c3017 Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Ms2ger
aed7d318eb Bug 532062 - localStorage/sessionStorage should return undefined (not null) for undefined keys through property access; r=mayhemer 2012-04-03 09:25:39 +02:00
Ed Morley
18b9148c4f Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-31 22:41:59 +01:00
Olli Pettay
c7a649ab35 Bug 641821, MutationObserver, r=sicking
--HG--
extra : rebase_source : a680c883b22976edf38eea23fb516215e081084f
2012-03-31 09:30:13 -07:00
Peter Van der Beken
ed510d3506 Fix for bug 740069 (Generate JS bindings in C++ with a python script for DOM objects on the main thread and in workers. Infrastructure and new bindings for XMLHttpRequest). Patch by bent/bz/bholley/jst/khuey/peterv, r=bent/bz/bholley/jlebar/khuey/peterv/sicking/smaug.
--HG--
rename : js/xpconnect/tests/mochitest/test_bug462428.html => dom/bindings/test/test_lookupGetter.html
2012-03-30 21:42:20 -07:00
Peter Van der Beken
11a3429abb Bug 740526. Change LookupName to return the nsGlobalNameStruct as a return value, not an out param. r=bzbarsky 2012-03-29 11:43:13 -07:00
Gregor Wagner
ec045e370f Bug 678695 - Settings API. r=sicking, fabrice, smaug 2012-03-26 14:49:38 -07:00
Benoit Jacob
29a8024910 Bug 728029 - Preserve added JS properties on the JS object returned by webgl.getExtension - r=peterv
This patch adds the diff between the previous iteration of the patch (which I accidentally committed in previous cset) and the one that peterv actually r+'d.
2012-03-26 15:02:43 -04:00
Benoit Jacob
6e6cb1c555 Bug 728029 - Preserve added JS properties on the JS object returned by webgl.getExtension - r=peterv 2012-03-26 14:59:04 -04:00
Eric Chou
2da532b4e8 Bug 730990 - Device object boilerplate for DOM Bluetooth - r=qDot 2012-03-23 14:58:12 -07:00
Kyle Machulis
8713b9faa2 Backing out a44ac6895a2f 2012-03-23 14:50:47 -07:00
Eric Chou
bab53c603a Bug 730990 - Device object boilerplate for DOM Bluetooth - r=qDot 2012-03-23 14:18:03 -07:00
Boris Zbarsky
85ec231192 Bug 622491. Make the global scope polluter work in standards mode too. r=jst 2012-03-22 00:10:50 -04:00
Mounir Lamouri
10a8599d4e Bug 735261 - navigator.mozConnection should be an instance of EventTarget. r=smaug 2012-03-14 19:50:11 +01:00
Mounir Lamouri
e38116e0a4 Bug 720794 - Part 2 (DOM) - Implement reading and event parts of Screen Orientation API. r=jst sr=sicking 2012-03-14 11:10:48 +01:00
Mark Finkle
5d52d341f9 Backout 7e28d1a2c648, 330b210f503d, 2421d39e0ab3, aa978ffa44bc, 38a71ae7e06d, b94319584a7a, 7e8278f5e814, 0b4e3c7608ab, 329c07609ca8, 0d61a0d8dba4, Due to Ts regression on Android 2012-03-17 21:51:39 -04:00
Mounir Lamouri
f974a6f245 Bug 735261 - navigator.mozConnection should be an instance of EventTarget. r=smaug 2012-03-14 19:50:11 +01:00
Mounir Lamouri
b3a3f89b0d Bug 720794 - Part 2 (DOM) - Implement reading and event parts of Screen Orientation API. r=jst sr=sicking 2012-03-14 11:10:48 +01:00
Ms2ger
b47d7ff113 Bug 550309 - Part c: Implement ImageData; r=bz 2012-03-16 10:44:08 +01:00
Doug Turner
0d7cf15ad0 Bug 733652 - Remove geolocation address handling (v2). Little adoption, costly implementation r=jdm 2012-03-08 22:16:25 -08:00
Ed Morley
1f10388ce3 Backout 8b74d5ae78c3 & c619bbb2951f (bug 734391), 772c994fa869 (bug 734324), fd23ff0f9dd1 (bug 734325), d1e037a9390e (bug 733653), 3a7bf79b5b2d (bug 733650) & 9d9392fce538 (bug 733652) for OS X M1 & M3 orange 2012-03-13 22:29:29 +00:00
Doug Turner
375ef173be Bug 733652 - Remove geolocation address handling (v2). Little adoption, costly implementation r=jdm 2012-03-08 22:16:25 -08:00
Masatoshi Kimura
cdb0659415 Bug 721569 - Implement Blob constructor. r=sicking 2012-03-12 21:44:56 -07:00
Jonas Sicking
a2be3ad884 Bug 735094: Implement new string values (rather than numeric constants) for IndexedDB. r=bent 2012-03-12 21:44:45 -07:00
Peter Van der Beken
ec969bf862 Add new DOM binding for SVG list classes. r=jst.
--HG--
extra : rebase_source : ce84f9457d7b9a14a0a65db5c643938d0e0e05bc
2011-08-22 11:14:13 +02:00
Ms2ger
babbbefd65 Bug 732769 - Remove FileError; r=sicking 2012-03-11 09:47:38 +01:00
Olli Pettay
beb0053f42 Bug 730891, event ctor for StorageEvent, r=sicking,kyle 2012-03-08 23:27:05 +02:00
Kan-Ru Chen
c026ffddbc Bug 697132 - Implement wakelock interfaces. r=jlebar 2012-03-07 12:03:25 +01:00
Bobby Holley
5541db6a29 Bug 720580 - Introduce a flag for global natives and assert that we have it. r=mrbkap 2012-03-05 15:22:44 -08:00
Eric Chou
6a15ecefcb Bug 729991: fix followup problems of bug 713116, r=ben 2012-03-04 19:54:01 -08:00
Aryeh Gregor
1b6aea2012 Bug 711047 Part 2 - Remove RangeException in favor of DOMException. r=sicking 2012-03-01 13:35:48 -05:00
David Mandelin
ed3ba69ec8 Bug 732306: Remove typedef jsint, r=luke
--HG--
extra : rebase_source : 4d15a8514dbd698c114fa688461e533afab68ffa
2012-03-01 18:54:01 -08:00
Peter Van der Beken
096186d5e7 Fix for bug 732175 (Generate DOM list bindings that aren't controlled by the dom.new_bindings pref and remove old bindings for NodeList/HTMLCollection/HTMLOptionsCollection). r=jst.
--HG--
extra : rebase_source : 2eeeec059fe3467769ebcc5af01c8d472c2afbb6
2012-02-27 18:02:47 +01:00
Bobby Holley
b226332e2e Bug 691178 - Refuse to wrap windows that are on the way out. r=jst 2012-02-29 18:09:16 -08:00
David Mandelin
3588ac5aae Bug 730511: remove obsolete typedefs intN, uintN, r=luke 2012-02-28 15:11:11 -08:00
Peter Van der Beken
c3182a87f7 Fix for bug 731227 (Fix script object ownership in IDBWrapperCache/IDBCursor). r=bent.
--HG--
extra : rebase_source : 86074980306682ebe1c4df8e09c4c2f3c51c4bf2
2012-02-27 17:52:19 +01:00
David Mandelin
ec012300ff Bug 725550: remove obsolete typedef jsdouble, r=jwalden 2012-02-24 14:19:52 -08:00
Marco Bonardo
f35da5b2e3 Backout 4fc2f49371a8 (bug 725550) for build failures 2012-02-25 00:16:47 +01:00
David Mandelin
80fdf887df Bug 725550: remove obsolete typedef jsdouble, r=jwalden
--HG--
extra : rebase_source : 772c2982184d7b3d1680737323395365e6b218da
2012-02-24 14:19:52 -08:00
Jonas Sicking
79eaf25209 Bug 722626: Implement DOMRequest object. r=mrbkap 2012-02-24 14:19:49 +01:00
Ben Turner
7705855055 Backed out changeset 1f3643b7de2d 2012-02-23 07:09:11 -08:00
Ben Turner
5d09f9ba63 Bug 717414 - 'Telephony: Make calls array live'. r=sicking. 2012-02-23 03:48:35 -08:00
Florian Boesch
401b77d113 Bug 728354 - Implement WebGL EXT_texture_filter_anisotropic extension *proposal* - r=bjacob
The spec proposal for this extension is at
  https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/extensions/proposals/EXT_texture_filter_anisotropic/index.html

This adds a conformance test as well, that will have to be merged upstream.
2012-02-23 08:43:57 -05:00
Robert Longson
fa2acc4cf5 Bug 728665 - SVGTests interface missing from foreignObject elements. r=jwatt 2012-02-20 19:34:04 +00:00
Kyle Machulis
d0600c2d50 Bug 711601 - B2G Bluetooth Boiler Plate r=bent 2012-02-20 16:15:19 +01:00
Kyle Machulis
aab6a28280 Back out bug 711601 (changeset 4c8aa2b0ca1c) due to qemu breakage 2012-02-17 15:54:27 -08:00
Kyle Machulis
2030a8c40f Bug 711601 - Bluetooth Implementation on B2G - patch 1: Boilerplate code for creating navigator.mozBluetooth object. r=bent 2012-02-14 17:51:52 -08:00
Igor Bukanov
3638c8cf65 bug 724310 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
--HG--
extra : rebase_source : b78519db2ff008eb5143676d2db47935f0e89f45
2012-02-05 21:07:23 +01:00
Igor Bukanov
55704654e7 backout merge for bug 724310. r=irc 2012-02-09 21:28:22 +01:00
Igor Bukanov
ca990d2064 bug 723517 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
--HG--
extra : rebase_source : c461dfc0e0e0462ab262cc01c2a771d3bb0971cc
2012-02-05 21:07:23 +01:00
Ed Morley
a018805d69 Backout 1ca8d5a931ac (bug 720799), e4781b684008 (bug 720795), 8a4e12d93a23 & 1fc8123a2ea4 (bug 720794) for bustage 2012-02-09 16:42:07 +00:00
Mounir Lamouri
31562bab2f Bug 720794 - Part 2 (DOM) - Implement reading and event parts of Screen Orientation API. r=jst sr=sicking 2012-02-09 16:55:54 +01:00
Ed Morley
f034cae68b Backout 79121553f728 (bug 720799), 4a763183482f (bug 720795), e965486f4b50 & 4a7c7c6b9b11 (bug 720794) for failing to build on any platform 2012-02-09 12:06:50 +00:00
Mounir Lamouri
0f70b41169 Bug 720794 - Part 2 (DOM) - Implement reading and event parts of Screen Orientation API. r=jst sr=sicking 2012-02-09 11:29:09 +01:00
Edmund Wong
e79d1c340c Bug 693172 - Moved all subclasses of nsDOMEventTargetWrapperCache to nsDOMEventTargetHelper and then merged the classes. r=smaug 2012-02-08 10:53:33 +08:00
Neil Deakin
92e5958c61 Bug 707382, merge nsIDOMDataTransfer and nsIDOMNSDataTransfer, r=jonas 2012-02-07 13:02:32 -05:00
Igor Bukanov
17db9a067b bug 723517 - Drop cx argumrent from JS_GetClass(cx, obj). r=luke 2012-02-04 01:54:57 +01:00
Ed Morley
74d8e85167 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-01 10:55:34 +00:00
Josh Aas
bfed8cb272 Bug 90268: Change plugin instance ownership from layout to content. r=roc r=bsmedberg 2012-01-31 16:55:54 -05:00
Kan-Ru Chen
235274ffbd Bug 709585 - Part 4, Dummy PowerManager DOM code. r=sicking
--HG--
extra : rebase_source : 57ff9f770d39551bf72f421166acbe21dc38ac23
2012-01-19 22:24:00 -05:00
Jonathan Watt
df19099733 Bug 722071 - Implement array style indexing for SVGStringList. r=mrbkap. 2012-01-31 13:18:08 +00:00
Scott Johnson
565881aed0 Backout 656500fc5e79 for windows bustage. 2012-01-30 18:48:33 -06:00
Kan-Ru Chen
62efe83243 Bug 709585 - Part 4/6, Dummy PowerManager DOM code. r=sicking
--HG--
extra : rebase_source : f83eef1e296a6c006032a7e30e26bd7ca32b4490
2012-01-30 17:02:49 -06:00
Ben Turner
a9c7587993 Bug 705640 - Implement DOMError as defined in DOM 4, r=mounir.
--HG--
extra : transplant_source : %15%98Xx%C3%F3%89%95%94%5Eu%99%B0%CC%8B%E0V%3A4%C6
2012-01-24 02:13:41 -08:00
Ben Turner
182ee449ce Bug 718132 - IndexedDB: Intermittent Failing to get JS wrapper in IDBRequest::NotifyHelperCompleted. r=khuey.
--HG--
extra : transplant_source : kT-%8B%9A%00%D5%230%EC%11%00%1A%B1%A2%1EFSd%2A
2012-01-24 02:03:37 -08:00
Ed Morley
b39bbb8f95 Backout 8886b027527a (bug 718132) for xpcshell failures 2012-01-23 16:18:14 +00:00
Ed Morley
17cb57ffd4 Backout 143f01714f2b (bug 705640) for build failures 2012-01-23 14:25:47 +00:00
Ben Turner
c597ebf39d Bug 718132 - IndexedDB: Intermittent Failing to get JS wrapper in IDBRequest::NotifyHelperCompleted. r=khuey.
--HG--
extra : transplant_source : 1j%98%F9%1D%7F%C8%13%8E%9D%B0%05%05%93%D4%60%89%3D%06%19
2012-01-23 06:03:41 -08:00
Ben Turner
84576fe4ec Bug 705640 - 'Implement DOMError as defined in DOM 4'. r=mounir. 2012-01-23 03:02:54 -08:00
Ed Morley
dad3296378 Backout fcb3a7884fa9 (bug 705640) for build failures 2012-01-23 11:48:35 +00:00
Ben Turner
009cf09ae5 Bug 705640 - 'Implement DOMError as defined in DOM 4'. r=mounir. 2012-01-23 03:02:54 -08:00
Gregor Wagner
242c464976 Bug 719501 - Allow JavaScript-navigator-property properties to be null. r=jst 2012-01-22 16:58:30 -08:00
Justin Lebar
f24ca507db Bug 710231 - Part 3: Add mozbrowserloadstart, mozbrowserloadend, mozbrowserlocationchange events to <iframe mozbrowser>. r=smaug
--HG--
extra : rebase_source : 01d82c02f56afd6aebf94443f223bc537536cc57
2012-01-20 12:02:48 -05:00
Justin Lebar
95259428e1 Bug 710231 - Part 1: Back out bug 708176 part 2 (rev 1bdcd84ae727). r=smaug
--HG--
extra : rebase_source : 1c5768b85524a2c7ad63901e7d1f7acdbc075dcb
2012-01-20 12:02:28 -05:00
Mounir Lamouri
4a9d73ebc1 Bug 677166 - Part 4 - Add a pref to disable Network API. r=sicking 2012-01-16 13:24:08 +01:00
Mounir Lamouri
ba8533f325 Bug 677166 - Part 3 - Implement mozConnection stub. r=sicking 2012-01-16 13:23:44 +01:00
Mounir Lamouri
7d104eee5a Bug 677166 - Part 2 - Add .mozConnection to Navigator object. r=sicking 2012-01-16 13:23:28 +01:00
Mounir Lamouri
cf33078a38 Bug 674725 - Part AM - Implement SmsCursor. r=smaug 2012-01-10 20:45:03 +01:00
Mounir Lamouri
3db8f9fb73 Bug 674725 - Part AI - Implement SmsFilter. r=smaug,mrbkap 2012-01-17 19:48:58 +01:00
Mounir Lamouri
e3e59333be Bug 674725 - Part V - Implement SmsRequest. r=smaug,mrbkap 2012-01-10 20:37:11 +01:00
Ms2ger
ce48c6ffa1 Bug 677079 - Part m: Expose context's compartment in jsfriendapi.h; r=jorendorff 2012-01-15 09:13:09 +01:00
Justin Lebar
af97d824a1 Bug 708176 - Part 2: Add {i,}frame.queryInnerState(), which allows privileged pages to peer into an iframe's state. r=smaug
--HG--
extra : rebase_source : dfd89eb7d451bac9ae4e4eb05d090c767f42ab8e
2012-01-10 12:57:40 -05:00
David Zbarsky
36d49f44a6 Bug 682611 - Part 1: Merge nsIDOMRange and nsIDOMNSRange; r=Ms2ger r=smaug 2012-01-10 15:19:54 +01:00
Ben Turner
288be4f200 Bug 674726 - WebTelephony. r=philikon+mounir, sr=sicking. Not part of the default build.
--HG--
extra : transplant_source : %1A%23%10d%88%B3%DA%87%C9%DD0%E6P%1Ct%AD%7D%80%B6%B4
2012-01-09 14:28:47 -08:00
Bill McCloskey
4d841fae34 Bug 714353 - Remove nsIXPCScriptable::Trace (r=mrbkap) 2012-01-04 14:13:15 -08:00
Gabor Krizsanits
7a56561bbe Bug 587797 - IndexedDB: Make it possible to access IndexedDB APIs from chrome. r=khuey,bent 2012-01-03 10:27:39 -05:00
Robert Longson
6dd534bbe4 Bug 607854 - implement SVGTests interface. r=jwatt 2011-12-31 09:44:03 +00:00
Boris Zbarsky
7e84b6a57c Backing out bug 707717 because it seems to be a perf hit, not a perf win. 2011-12-28 16:22:05 -05:00
Boris Zbarsky
da78ac7b6a Bug 707717. Don't dynamically mutate the proto chains of DOM prototypes. r=peterv 2011-12-26 11:31:07 -05:00
aceman
002cb306a6 Bug 711721 - merge nsIScriptError and nsIScriptError2 interfaces; r=neil, sr=bzbarsky 2011-12-21 16:51:29 -05:00
Jason Duell
5d80c49624 Bug 695635: Unprefix websockets. r=sicking, sr=smaug
--HG--
rename : content/base/public/nsIMozWebSocket.idl => content/base/public/nsIWebSocket.idl
2011-12-20 00:20:12 -08:00
Ms2ger
849ea6f2a3 Bug 707576 - Remove nsIDOMNSElement; r=smaug 2011-12-18 11:06:23 +01:00
Doug Sherk
573bfdbe9c Bug 708207: implement WebGL's getShaderPrecisionFormat r=bjacob 2011-12-16 13:11:59 -08:00
Boris Zbarsky
61d114cfc7 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
fe33dbadfe 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
660f7c18ca Bug 709127 - Implement MouseEvent and UIEvent ctors, r=jst, a=sheriff 2011-12-14 22:36:46 +02:00
Olli Pettay
9f9f828548 Bug 708701 - Implement HTML event ctors, r=jst
--HG--
extra : rebase_source : 4abb0185ea790c29ff7f2df0f032045777c898e0
2011-12-14 21:55:32 +02:00
Olli Pettay
33f31aaa0c Bug 675884 - Implement Event constructors, part1, r=jst
--HG--
extra : rebase_source : 109d9cb22b810fbff71c637b6e15965eafdd61fe
2011-12-14 21:53:48 +02:00
Boris Zbarsky
729f289529 Bug 589640 followup to fix breakage. 2011-12-08 02:37:55 -05:00
Brian O'Keefe
77aa894da7 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
9a4a46521c Bug 692630: Support multi-entry indexes. r=bent 2011-12-04 09:39:01 -08:00
Jonas Sicking
0c4f021c94 Back out patches due to test failures. rev 1b9ca56d4aab and a few more. 2011-12-02 19:46:25 -08:00
Jonas Sicking
1a70eb48f4 Bug 692630: Support multi-entry indexes. r=bent 2011-12-02 18:32:46 -08:00
Johnny Stenback
996178d61f 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
f77077899f Bug 674725 - Part L - Implement SmsEvent. r=smaug 2011-11-21 17:57:26 +01:00
Mounir Lamouri
12a3bb30d0 Bug 674725 - Part K - Implement SmsMessage. r=smaug 2011-11-22 10:34:21 +01:00
Mounir Lamouri
a247b87e1e Bug 674725 - Part C - SmsManager stub. r=smaug 2011-11-20 23:23:20 +01:00
Mounir Lamouri
fd980cdec8 Bug 674725 - Part B - Add .mozSms to navigator. r=smaug 2011-11-20 22:08:33 +01:00
Mounir Lamouri
e5ab052440 Bug 701517 - Moz-prefix Battery API interfaces. rs+sr=smaug 2011-11-19 11:43:57 +01:00
Matheus Kerschbaum
8a393f7f40 Bug 698630 - Remove --disable-smil build option; r=dholbert 2011-11-05 10:32:52 +00:00
Mounir Lamouri
d2abf648c5 Bug 699459 - Add a pref to disable Battery API. r=sicking 2011-11-04 00:31:32 +01:00
Mounir Lamouri
5dcf69a436 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
3a48eb546d Bug 678694 - (3/7) Plug mozBattery into navigator object. r=sicking 2011-11-02 13:04:39 +01:00
Mounir Lamouri
b4c7d284fb 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
6d97442563 Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv 2011-10-29 22:03:55 +02:00
Doug Sherk
942467690c 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
a6e3f54ab0 Merge last green changeset from mozilla-inbound to mozilla-central 2011-10-21 10:00:11 +02:00
Kyle Huey
bee1f84b2f 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
5a92aedb22 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
2c2da3099f 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
b41bdd602b Bug 665279 - Resolve interface constants properly through Xray wrappers. r=peterv 2011-09-21 19:16:50 -07:00
Peter Van der Beken
506577d2e0 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
92064e6d3f 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
b5e57820bf 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
3ab154a129 Bug 677085 - Merge "nsIDOMNSHTMLFrameElement" into "nsIDOMHTMLFrameElement"; r=bz 2011-10-15 09:34:31 +02:00
Jeff Walden
d0532c3e95 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
0f30b277bf 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
5a37eca29e 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
26330fd753 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
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
075926c483 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
3354c2f546 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
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
42cea0ac68 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
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
2375b7e89a 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
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
Peter Van der Beken
b737d0c096 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
d089dedd58 Bug 687486 - Throw INVALID_STATE_ERR when dispatching uninitialized events; r=smaug 2011-10-09 20:23:13 +02:00
Olli Pettay
ee5000bf9d Bug 681387: backout bug 654352 (caretPositionFromPoint), r=ehsan 2011-10-08 13:49:51 +03:00
Brian Hackett
c632b70b2b Remove jsobj.h from installed headers, bug 690943. r=luke 2011-10-04 07:06:54 -07:00
Ms2ger
cc09584cbb Bug 688531 - Remove NameList; r=jst 2011-10-01 18:14:40 +02:00
Doug Sherk
6d669bd3c0 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
0ba68de373 Bug 657994: Factor out common bits of FileReader. r=smaug 2011-09-29 12:06:35 -04: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
Boris Zbarsky
5c403a5a61 Bug 680903 followup. Remove no longer needed FIXME comments. 2011-09-26 00:52:10 -04: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
Boris Zbarsky
57a7d0c7dd 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
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
Masayuki Nakano
abc2c917ae Bug 543789 part.1 Add DOM3 composition events r=smaug, sr=roc 2011-09-22 18:17:40 +09: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
Olli Pettay
37514e6e95 Bug 686449 - Make ProcessingInstruction inherit from CharacterData, r=sicking 2011-09-20 08:08:00 +03:00
Ms2ger
09c97f4a38 Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst 2011-09-18 11:22:17 +02:00
Neil Rashbrook
e626e8ff0c Bug 611503 Constructing an nsTDependentString from an nsTAString makes no sense r=dbaron,dwitte 2011-09-15 08:40:17 +01:00
Neil Rashbrook
396ec9d7bf Backout of bug 611503 because Android has some weird string code 2011-09-14 21:14:57 +01:00
Neil Rashbrook
12e76a497d Bug 611503 Constructing an nsTDependentString from an nsTAString makes no sense r=dbaron,dwitte 2011-09-14 20:21:20 +01: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
Boris Zbarsky
5486a54167 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
37c6776163 Merge mozilla-central and mozilla-inbound 2011-09-07 10:53:26 -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
Boris Zbarsky
7036d41859 Bug 684544. Restore missing null-check for location setter. r=mrbkap 2011-09-06 22:57:46 -04:00
Phil Ringnalda
8c67e09e0b 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
4ba46f2e78 Bug 684544. Restore missing null-check for location setter. r=mrbkap 2011-09-06 22:57:46 -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
Josh Aas
8034ed24eb Merge backout of changeset 33031c875984, bug 90268. r=josh 2011-08-30 02:11:57 -04:00
Josh Aas
3fa80a3ea0 Backed out changeset 33031c875984. Bug 90268. r=josh 2011-08-30 02:09:56 -04:00
Brian Hackett
2c18d8ec04 Merge MC -> JM 2011-08-29 18:41:32 -07:00
Brian Hackett
8c70798deb Merge MC -> JM 2011-08-29 12:34:59 -07:00