Commit Graph

23665 Commits

Author SHA1 Message Date
Kyle Huey
d2738ad8c9 Bug 1031051: Part 18 - Kill the old XPIDL-based event generator. r=smaug 2014-06-30 16:02:04 -07:00
Kyle Huey
ca9025ffee Bug 1031051: Part 17 - Manually implement CustomEvent. r=smaug
CustomEvent can't be generated because we still need the XPCOM interface which is used by a11y among others.
2014-06-30 16:02:04 -07:00
Kyle Huey
cdd97d70f7 Bug 1031051: Part 16 - Migrate Style*ChangeEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:04 -07:00
Kyle Huey
31c6ce833c Bug 1031051: Part 15 - Migrate Speech events to the WebIDL code generator. r=smaug 2014-06-30 16:02:03 -07:00
Kyle Huey
3af11dcb4d Bug 1031051: Part 14 - Migrate DOMTransactionEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:03 -07:00
Kyle Huey
e85fc55550 Bug 1031051: Part 13 - Support ToJSValue()ing CallbackObjects and nsTArrays of raw pointers. r=bz
Without special handling CallbackObject subclasses will fall into the "nsISupports but not nsWrapperCache" case which goes through an XPConnect wrapping path that has no idea how to cope with a CallbackObject.  We need both the CallbackObject overload and the EnableIf bit in the template because the template will bind to the subclass and thus be preferred to the CallbackObject overload which requires an implicit conversion to the base class.

Before this patch nsTArray<T*> will eventually try to ToJSValue a T* which will select the boolean overload.  Thanks C++!  The new template overload that takes a T and attempts to dereference it will be preferred because it can bind to the type directly and does not require the implicit (and terrible!) conversion to bool.  This template is written in terms of T and not T* so we can test to see if T is a pointer type (and not merely something that can be coerced to a T*, such as a T[N]).
2014-06-30 16:02:03 -07:00
Kyle Huey
b4bc359b16 Bug 1031051: Part 12 - Migrate DeviceStorageChangeEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:03 -07:00
Kyle Huey
f41994a0fc Bug 1031051: Part 11 - Migrate DeviceOrientationEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:03 -07:00
Kyle Huey
862c18ba87 Bug 1031051: Part 10 - Migrate MozSettingsEvent and MozApplicationEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:02 -07:00
Kyle Huey
48ddb6d666 Bug 1031051: Part 9 - Migrate RecordErrorEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:02 -07:00
Kyle Huey
bf1fd04304 Bug 1031051: Part 8 - Migrate SmartCardEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:02 -07:00
Kyle Huey
e2e1171cb1 Bug 1031051: Part 7 - Migrate PageTransitionEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:02 -07:00
Kyle Huey
1658cc0c55 Bug 1031051: Part 6 - Migrate PopStateEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:02 -07:00
Kyle Huey
6f55b1b11b Bug 1031051: Part 5 - Migrate PopupBlockedEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:01 -07:00
Kyle Huey
6121a4eee2 Bug 1031051: Part 4 - Remove ReplaceElementEvent. r=khuey,wchen 2014-06-30 16:01:11 -07:00
Kyle Huey
a1145fc782 Bug 1031051: Part 3 - Migrate CloseEvent to the WebIDL code generator. r=smaug 2014-06-30 16:00:31 -07:00
Kyle Huey
bca9965bb0 Bug 1031051: Part 2 - Migrate HashChangeEvent to the WebIDL code generator. r=smaug 2014-06-30 16:00:31 -07:00
Kyle Huey
898ad2ecb6 Bug 1031051: Part 1 - Allow codegenerating an InitFooEvent method for legacy event types. r=smaug,bz 2014-06-30 16:00:31 -07:00
Jon Morton
b4a1dc5ead Bug 1032417: Move nsPluginElement's destructor to the implementation file. r=khuey 2014-06-30 16:00:30 -07:00
Andrew Osmond
d4a91fd6eb Bug 1030821 - Fix broken zoom by making recording hint be set as boolean. r=mikeh 2014-06-30 06:33:00 -04:00
Bill McCloskey
413d785b47 Bug 1030343 - Fix compile error in UnionTypes.cpp in old gcc (r=bz) 2014-06-30 14:36:45 -07:00
Ryan VanderMeulen
6b74ec8899 Backed out changesets bacfdc83424a and 7d12b5d7446f (bug 984048) for crashes. 2014-06-30 17:22:47 -04:00
Eric Faust
c14d2a19ab Bug 1027402 - Part 4: Mark Proxy Handler uses const. (r=jorendorff, r=bz) 2014-06-27 04:44:08 -07:00
Eric Faust
ec142f1ef6 Bug 1027402 - Part 3: Mark all Proxy Handler methods const. (r=jorendorff, r=bz) 2014-06-27 04:44:06 -07:00
Eric Faust
4fcd931d23 Bug 1027402 - Part 2: Mark Proxy Handler instances as const. (r=bholley, r=bz over IRC) 2014-06-27 04:44:04 -07:00
Eric Faust
313bd61202 Bug 1027402 - Part 1: Remove set* from BaseProxyHandler. (r=bholley) 2014-06-27 04:44:02 -07:00
Nikhil Marathe
88457821f1 Bug 984048 - Patch 5 - ServiceWorker [[Install]] algorithm. r=ehsan, khuey
--HG--
extra : rebase_source : 5f9d890c655d7f5e77851a8a3bd6b6fd3f9bf108
2014-06-30 13:31:24 -07:00
Nikhil Marathe
40400978a6 Bug 984048 - Patch 4 - Handle parse and uncaught errors. r=khuey
--HG--
extra : rebase_source : 9cc36dea950be96fba079877c2d67b76f8383635
2014-06-30 13:31:02 -07:00
Steve Fink
36ca527ad7 Bug 1022773 - Return value rooting for workers, r=bent
--HG--
extra : rebase_source : 5793c693fb00a71f203202beed491de8ef492093
2014-06-25 15:35:36 -07:00
Steve Fink
abace8aef1 Bug 1022773 - Return value rooting for dom/, r=bz
--HG--
extra : rebase_source : 24732cd3aff732c5c3d3eb8e19ee8a95f588ebd7
2014-06-25 15:35:36 -07:00
Steve Fink
5c77611361 Bug 1022773 - Switch all JS Compile functions to use MutableHandle, r=terrence
--HG--
extra : rebase_source : e7542a31e4818e6beafd2b1dab096606370534bb
2014-06-25 15:35:35 -07:00
Nikhil Marathe
81a3fad979 Bug 984048 - Promise::MaybeReject ErrorEvent overload no longer needed. Fix compile error. r=bustage
--HG--
extra : amend_source : 5fcbc1c3912503e98f36fce514ddc2433da31a3e
2014-07-01 17:07:47 -07:00
Nikhil Marathe
b41666bc6b Bug 984048 - Patch 5 - ServiceWorker [[Install]] algorithm. r=ehsan, khuey 2014-07-01 16:43:22 -07:00
Nikhil Marathe
8ece823137 Bug 984048 - Patch 4 - Handle parse and uncaught errors. r=khuey 2014-07-01 16:43:13 -07:00
Steven Michaud
bef17adca9 Bug 1021240 - Calling alert from property getter can freeze Firefox. r=bz 2014-07-01 13:30:13 -05:00
Garvan Keeley
f41bfc64e9 Bug 1010278 - Check if the type is gsm-ish or wcdma-ish and assign to either one of those categories. r=dougt 2014-06-19 14:45:00 -04:00
Carsten "Tomcat" Book
da1c29138b Merge mozilla-central to b2g-inbound 2014-06-30 15:53:28 +02:00
Carsten "Tomcat" Book
abd9302a89 merge b2g-inbound to mozilla-central a=merge 2014-06-30 15:35:24 +02:00
Carsten "Tomcat" Book
1249db9dd7 Backed out changeset d758e85bbe8b (bug 1030821) for bustage 2014-06-30 14:45:52 +02:00
Hsin-Yi Tsai
000cbc7a3b Bug 1023141 - query ril.ecclist per dial request - part 3 - fix xpcshell. r=aknow 2014-06-30 14:48:41 +08:00
Michael Pruett
a92763ed69 Bug 1024360 - Remove usage of deprecated mozIStorageBaseStatement methods. r=mak 2014-06-27 09:59:09 -05:00
Andrew Osmond
fb756b2a99 Bug 1030821 - Fix broken zoom by making recording hint be set as boolean. r=mikeh 2014-06-27 12:33:00 +02:00
Tim Chien
f283746c73 Bug 1022852 - Fix setInputMethodActive test that rely on order of async message. r=yxl 2014-06-29 03:47:00 +02:00
Jonathan Watt
d90c8c878d Bug 965967 - Use Moz2D instead of a Thebes backed gfxContext in PluginInstanceChild::PaintRectToSurface. r=mattwoodrow 2014-06-30 03:00:10 +01:00
Ms2ger
afab4dfc31 Bug 968804 - Part u: Add outer window assertions to OpenInternal; r=khuey 2014-06-29 17:36:03 +02:00
Ms2ger
fbe13cd7c3 Bug 968804 - Part t: Add outer window assertions to OpenNoNavigate; r=khuey 2014-06-29 17:36:03 +02:00
Ms2ger
d7fd1cf9c4 Bug 968804 - Part s: Add inner window assertions to CloneStorageEvent; r=khuey 2014-06-29 17:36:03 +02:00
Ms2ger
dd9003d228 Bug 968804 - Part r: Point out the outer window assertion in SetArguments in the documentation; r=khuey 2014-06-29 17:36:02 +02:00
Ms2ger
aac45eef50 Bug 968804 - Part q: Add inner window assertions to the gamepad methods; r=khuey 2014-06-29 17:36:02 +02:00
Ms2ger
fb3cf3b33f Bug 968804 - Part p: Add outer window assertions to SetFullScreenInternal; r=khuey 2014-06-29 17:36:02 +02:00
Ms2ger
e18fc6c7ce Bug 968804 - Part o: Add inner window assertions to RefreshCompartmentPrincipal; r=khuey 2014-06-29 17:36:01 +02:00
Ms2ger
4d1da6d992 Bug 968804 - Part n: Split nsGlobalWindow::GetFullScreen into a forwarding and an asserting part; r=khuey 2014-06-29 17:35:56 +02:00
Ms2ger
71fc09547a Bug 968804 - Part m: Add outer window assertions to DispatchCustomEvent; r=khuey 2014-06-29 17:31:13 +02:00
Ms2ger
00a3b7c101 Bug 968804 - Part l: Add outer window assertions to DispatchResizeEvent; r=khuey 2014-06-29 17:31:12 +02:00
Ms2ger
65c3542dbe Bug 968804 - Part k: Add outer window assertions to GetScrollXY; r=khuey 2014-06-29 17:31:12 +02:00
Ms2ger
1749999ff2 Bug 968804 - Part j: Add inner window assertions to CreatePerformanceObjectIfNeeded; r=khuey 2014-06-29 17:31:12 +02:00
Ms2ger
2867cac04f Bug 968804 - Part i: Add inner window assertions to AudioContext methods; r=khuey 2014-06-29 17:31:11 +02:00
Ms2ger
5a07ceb681 Bug 968804 - Part h: Add inner window assertions to DefineArgumentsProperty; r=khuey 2014-06-29 17:31:09 +02:00
Kyle Huey
5c636e176b Bug 1027163: Using fallible allocation in DOMStorage::SetItem. r=bz 2014-06-28 20:12:48 -07:00
Edgar Chen
7277c67903 Bug 1027514 - Add marionette test cases for callforwarding MMI code. r=hsinyi 2014-06-23 20:05:32 +08:00
Birunthan Mohanathas
6e7a2fe51b Bug 1032377 - Add missing #include to nsPluginArray.h; r=ehsan 2014-06-30 15:36:24 -04:00
Jonathan Kew
bcc0b79d39 bug 1030829 part 2 - preload 'hidden' fonts on FirefoxOS into the user-font cache. r=roc 2014-06-30 19:05:29 +01:00
Carsten "Tomcat" Book
096eba20b6 Merge mozilla-central to mozilla-inbound 2014-06-30 15:44:54 +02:00
John Shih
2fb183db40 Bug 1023341 - Fix test_networkstats_alarm.html. r=gene 2014-06-26 16:51:45 +08:00
Ralph Giles
1e0b491583 Bug 996331 - Remove TextTrack.oncuechange. r=cpearce,smaug
This event isn't currently implemented. Removing it from
the DOM interface provides a way for authors to detect
that it cannot be expected to work.
2014-06-30 16:12:11 -07:00
Carsten "Tomcat" Book
03ca1fb58a Merge mozilla-central to mozilla-inbound 2014-07-01 15:48:30 +02:00
Bob Owen
e934a4e568 Bug 1029494 Part 5: Replace AutoPushJSContext in nsNPAPIPlugin _getpluginelement. r=bholley 2014-06-26 12:08:49 +01:00
Bob Owen
39fe6a7e9d Bug 1029494 Part 4: Replace AutoPushJSContext in MobileMessageCursorCallback::NotifyCursorSuccess. r=bholley 2014-06-26 00:47:12 +01:00
Bob Owen
dff86c4e2d Bug 1029494 Part 3: Replace AutoPushJSContext in MobileMessageCallback::NotifyMessageDeleted. r=bholley 2014-06-26 00:35:51 +01:00
Bob Owen
4a5ff0b800 Bug 1029494 Part 2: Replace AutoPushJSContext in MobileMessageCallback::NotifySuccess. r=bholley 2014-06-25 22:09:40 +01:00
Bob Owen
444f77573b Bug 1029494 Part 1: Replace AutoPushJSContext in IDBRequest::NotifyHelperCompleted. r=bholley 2014-07-01 10:09:46 +01:00
Jan de Mooij
49d78d87f8 Bug 1032726 part 1 - Make ConvertJSValueToByteString work with Latin1 strings. r=bz,terrence 2014-07-02 13:04:14 +02:00
Peter Van der Beken
909fc09490 Bug 1029104 - Convert XPathExpression to WebIDL bindings, add WebIDL API and switch to the WebIDL binding. r=bz.
--HG--
extra : rebase_source : 2b3459ddf41e258469c31e0e7c4d515ef7a7c83f
2014-06-27 21:39:50 +02:00
Peter Van der Beken
766da05142 Bug 1029104 - Convert XPathExpression to WebIDL bindings, make XPathExpression hold a weak reference to the document. r=bz.
--HG--
rename : dom/xslt/xpath/nsXPathExpression.cpp => dom/xslt/xpath/XPathExpression.cpp
rename : dom/xslt/xpath/nsXPathExpression.h => dom/xslt/xpath/XPathExpression.h
extra : rebase_source : b011030bee7c16e098069452d6fdbfd43c080611
2014-06-26 15:32:20 +02:00
Wes Kocher
b628d49697 Merge m-c to b2g-inbound a=merge 2014-06-30 18:50:28 -07:00
Fabrice Desré
a24c30767f Bug 1032121 - Remove content handler leftover code in ActivitiesService.jsm r=fabrice 2014-06-30 16:37:11 -07:00
Borting Chen
1bfa28466d Bug 951976 - part 2, Test cases. r=gene 2014-05-12 18:55:49 +08:00
Fabrice Desré
7505dcfe08 Bug 1024157 - Lazy load more js modules - Part 3: RIL r=gene 2014-05-07 15:53:17 -07:00
Fabrice Desré
6d852e51f5 Bug 1024157 - Lazy load more js modules - Part 2: contacts r=gwagner 2014-05-07 15:53:16 -07:00
Fabrice Desré
31f428d234 Bug 1024157 - Lazy load more js modules - part 1: NFC r=psiddh 2014-05-07 15:53:16 -07:00
Hsin-Yi Tsai
df504b8fa0 Bug 1023141 - query ril.ecclist per dial request - part 2 - test case. r=aknow 2014-06-24 18:47:12 +08:00
Hsin-Yi Tsai
40ffdbfaa9 Bug 1023141 - query ril.ecclist per dial request - part 1 - fix. r=aknow 2014-06-24 18:32:41 +08:00
Hsin-Yi Tsai
c794b16f22 Bug 1023141 - query ril.ecclist per dial request - part 0 - rename. r=aknow 2014-06-24 18:36:59 +08:00
Borting Chen
bba3f2e543 Bug 951976 - part 1, WebIDL implementation. r=gene 2014-03-10 11:54:15 +08:00
Peter Van der Beken
6135e3bfe3 Bug 1032748 - Make ConvertJSValueToString work on ns*String. r=bz. 2014-01-23 10:18:35 +01:00
Borting Chen
71de1a8ee0 Bug 951976 - part 0, WebIDL definition. r=ehsan, sr=jonas 2013-12-13 19:29:33 +08:00
Dimi Lee
1bcc2096d7 Bug 1027479 - Testcase for reading NDEF data from type 4 tag. r=tzimmermann 2014-07-02 14:23:02 +08:00
Ben Tian
1a9fa9cd7d Bug 1033130 - [bluetooth2] Add missing including of BluetoothInterface.h in BluetoothA2dpManager.cpp, r=shuang 2014-07-02 10:36:28 +08:00
Jocelyn Liu
da8dca02d5 Bug 1031253 - Patch: Reject promise if StartStopGonkBluetooth failed. r=btian 2014-07-02 10:13:39 +08:00
Jocelyn Liu
0a7df369c5 Bug 1031252 - Patch: Reject promise for setProperty requests if BT is not enabled. r=btian 2014-07-02 09:41:33 +08:00
Peter Van der Beken
7b899d36c3 Bug 1029104 - Convert XPathExpression to WebIDL bindings, move EvalContextImpl out of header. r=bz.
--HG--
rename : dom/xslt/xpath/nsXPathExpression.cpp => dom/xslt/xpath/XPathExpression.cpp
rename : dom/xslt/xpath/nsXPathExpression.h => dom/xslt/xpath/XPathExpression.h
extra : rebase_source : 4bdf4671ea04c76de76053282fc810d1f4c42aea
2013-07-09 12:09:39 -04:00
Peter Van der Beken
618dbfab87 Bug 1029104 - Convert XPathExpression to WebIDL bindings, move files and rename class. r=bz.
--HG--
rename : dom/xslt/xpath/nsXPathExpression.cpp => dom/xslt/xpath/XPathExpression.cpp
rename : dom/xslt/xpath/nsXPathExpression.h => dom/xslt/xpath/XPathExpression.h
extra : rebase_source : bedd3da79f1a4c2df19cfe3e9b68f1270b0b5688
2013-07-04 17:40:10 +02:00
Peter Van der Beken
1cd09304af Bug 1029104 - Convert XPathExpression to WebIDL bindings, remove txResultRecycler::init. r=bz.
--HG--
extra : rebase_source : 3c2f6f86c2e34c7ec32a22eb4f1a90e77d05cdfa
2014-06-05 15:14:56 +02:00
Wes Kocher
fa595a08c1 Merge m-c to inbound a=merge 2014-06-27 17:51:36 -07:00
Wes Kocher
b7cfc12713 Merge inbound to m-c a=merge 2014-06-27 17:40:49 -07:00
Ryan VanderMeulen
8015cecb5f Backed out changeset a4d9432cdd70 (bug 1030435) for re-introducing intermittent failures. 2014-06-27 14:06:36 -04:00
Jim Blandy
15b78ecf33 Bug 800200: Remove references to JSD from outside js/jsd. r=mccr8,bholley,ted,smaug 2014-06-27 11:05:08 -07:00
Peter Van der Beken
e6606c047c Backout patches for bug 1029104 for bustage on a CLOSED TREE.
--HG--
rename : dom/xslt/xpath/XPathExpression.cpp => dom/xslt/xpath/nsXPathExpression.cpp
rename : dom/xslt/xpath/XPathExpression.h => dom/xslt/xpath/nsXPathExpression.h
extra : rebase_source : 4cd96320fa102351284cca55b66d3a54592e5212
2014-06-27 23:07:44 +02:00
Carsten "Tomcat" Book
5f55649839 Merge mozilla-central to b2g-inbound 2014-06-27 15:56:37 +02:00
Carsten "Tomcat" Book
11b78eff19 merge mozilla-inbound to mozilla-central a=merge 2014-06-27 15:34:28 +02:00