Commit Graph

26703 Commits

Author SHA1 Message Date
Kyle Huey
4266528680 Bug 1031051: Part 18 - Kill the old XPIDL-based event generator. r=smaug 2014-06-30 16:02:04 -07:00
Kyle Huey
21d8fc32e7 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
0f7b974094 Bug 1031051: Part 16 - Migrate Style*ChangeEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:04 -07:00
Kyle Huey
adffec442f Bug 1031051: Part 15 - Migrate Speech events to the WebIDL code generator. r=smaug 2014-06-30 16:02:03 -07:00
Kyle Huey
bd2d1d2675 Bug 1031051: Part 14 - Migrate DOMTransactionEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:03 -07:00
Kyle Huey
91315e3b5f 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
24d6a0be33 Bug 1031051: Part 12 - Migrate DeviceStorageChangeEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:03 -07:00
Kyle Huey
f9a248ddf8 Bug 1031051: Part 11 - Migrate DeviceOrientationEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:03 -07:00
Kyle Huey
3cb0de16a6 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
abf5caa4a0 Bug 1031051: Part 9 - Migrate RecordErrorEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:02 -07:00
Kyle Huey
30920f0855 Bug 1031051: Part 8 - Migrate SmartCardEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:02 -07:00
Kyle Huey
273a6ca8da Bug 1031051: Part 7 - Migrate PageTransitionEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:02 -07:00
Kyle Huey
2d64bf6efa Bug 1031051: Part 6 - Migrate PopStateEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:02 -07:00
Kyle Huey
a1d1526ae4 Bug 1031051: Part 5 - Migrate PopupBlockedEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:01 -07:00
Kyle Huey
1d1eb7826d Bug 1031051: Part 4 - Remove ReplaceElementEvent. r=khuey,wchen 2014-06-30 16:01:11 -07:00
Kyle Huey
e1b3a9ea41 Bug 1031051: Part 3 - Migrate CloseEvent to the WebIDL code generator. r=smaug 2014-06-30 16:00:31 -07:00
Kyle Huey
f4f09309a4 Bug 1031051: Part 2 - Migrate HashChangeEvent to the WebIDL code generator. r=smaug 2014-06-30 16:00:31 -07:00
Kyle Huey
d16856bfd5 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
87e5ec13e3 Bug 1032417: Move nsPluginElement's destructor to the implementation file. r=khuey 2014-06-30 16:00:30 -07:00
Bill McCloskey
579bf598b5 Bug 1030343 - Fix compile error in UnionTypes.cpp in old gcc (r=bz) 2014-06-30 14:36:45 -07:00
Ryan VanderMeulen
a510b05849 Backed out changesets bacfdc83424a and 7d12b5d7446f (bug 984048) for crashes. 2014-06-30 17:22:47 -04:00
Eric Faust
19ae308309 Bug 1027402 - Part 4: Mark Proxy Handler uses const. (r=jorendorff, r=bz) 2014-06-27 04:44:08 -07:00
Eric Faust
04ec29520a Bug 1027402 - Part 3: Mark all Proxy Handler methods const. (r=jorendorff, r=bz) 2014-06-27 04:44:06 -07:00
Eric Faust
992c8dde5a 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
d6d3b525f2 Bug 1027402 - Part 1: Remove set* from BaseProxyHandler. (r=bholley) 2014-06-27 04:44:02 -07:00
Nikhil Marathe
d79746f50d 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
f66104b587 Bug 984048 - Patch 4 - Handle parse and uncaught errors. r=khuey
--HG--
extra : rebase_source : 9cc36dea950be96fba079877c2d67b76f8383635
2014-06-30 13:31:02 -07:00
Birunthan Mohanathas
b9093cb236 Bug 1032377 - Add missing #include to nsPluginArray.h; r=ehsan 2014-06-30 15:36:24 -04:00
Jonathan Kew
8e216da53f 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
1feb71934a Merge mozilla-central to mozilla-inbound 2014-06-30 15:44:54 +02:00
Carsten "Tomcat" Book
2f7ba6e3b5 merge b2g-inbound to mozilla-central a=merge 2014-06-30 15:35:24 +02:00
Hsin-Yi Tsai
99f9e321f9 Bug 1023141 - query ril.ecclist per dial request - part 3 - fix xpcshell. r=aknow 2014-06-30 14:48:41 +08:00
Michael Pruett
42ddf57bd0 Bug 1024360 - Remove usage of deprecated mozIStorageBaseStatement methods. r=mak 2014-06-27 09:59:09 -05:00
John Shih
7088bd900f Bug 1023341 - Fix test_networkstats_alarm.html. r=gene 2014-06-26 16:51:45 +08:00
Tim Chien
6650a506c2 Bug 1022852 - Fix setInputMethodActive test that rely on order of async message. r=yxl 2014-06-29 03:47:00 +02:00
Jonathan Watt
969488c5d0 Bug 965967 - Use Moz2D instead of a Thebes backed gfxContext in PluginInstanceChild::PaintRectToSurface. r=mattwoodrow 2014-06-30 03:00:10 +01:00
Ms2ger
2e3f5e7be4 Bug 968804 - Part u: Add outer window assertions to OpenInternal; r=khuey 2014-06-29 17:36:03 +02:00
Ms2ger
6623cab112 Bug 968804 - Part t: Add outer window assertions to OpenNoNavigate; r=khuey 2014-06-29 17:36:03 +02:00
Ms2ger
65a727d2f1 Bug 968804 - Part s: Add inner window assertions to CloneStorageEvent; r=khuey 2014-06-29 17:36:03 +02:00
Ms2ger
835b2c23f9 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
91b523c2d5 Bug 968804 - Part q: Add inner window assertions to the gamepad methods; r=khuey 2014-06-29 17:36:02 +02:00
Ms2ger
a4e50b6951 Bug 968804 - Part p: Add outer window assertions to SetFullScreenInternal; r=khuey 2014-06-29 17:36:02 +02:00
Ms2ger
1aae0e2640 Bug 968804 - Part o: Add inner window assertions to RefreshCompartmentPrincipal; r=khuey 2014-06-29 17:36:01 +02:00
Ms2ger
8cacf106f9 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
bd952bff39 Bug 968804 - Part m: Add outer window assertions to DispatchCustomEvent; r=khuey 2014-06-29 17:31:13 +02:00
Ms2ger
835be66476 Bug 968804 - Part l: Add outer window assertions to DispatchResizeEvent; r=khuey 2014-06-29 17:31:12 +02:00
Ms2ger
e1edc26347 Bug 968804 - Part k: Add outer window assertions to GetScrollXY; r=khuey 2014-06-29 17:31:12 +02:00
Ms2ger
3917460c93 Bug 968804 - Part j: Add inner window assertions to CreatePerformanceObjectIfNeeded; r=khuey 2014-06-29 17:31:12 +02:00
Ms2ger
599d77f7bb Bug 968804 - Part i: Add inner window assertions to AudioContext methods; r=khuey 2014-06-29 17:31:11 +02:00
Ms2ger
59b3065756 Bug 968804 - Part h: Add inner window assertions to DefineArgumentsProperty; r=khuey 2014-06-29 17:31:09 +02:00