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
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
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
Carsten "Tomcat" Book
abd9302a89
merge b2g-inbound to mozilla-central a=merge
2014-06-30 15:35:24 +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
John Shih
2fb183db40
Bug 1023341 - Fix test_networkstats_alarm.html. r=gene
2014-06-26 16:51:45 +08: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
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
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