Andrea Marchesini
d8e0d71402
Bug 839056 - Rename nsHTMLOptGroupElement to HTMLOptGroupElement. r=Ms2ger
...
--HG--
rename : content/html/content/src/nsHTMLOptGroupElement.cpp => content/html/content/src/HTMLOptGroupElement.cpp
rename : content/html/content/src/nsHTMLOptGroupElement.h => content/html/content/src/HTMLOptGroupElement.h
2013-02-08 11:34:48 -05:00
Andrea Marchesini
9c0fe725fe
Bug 839105 - Convert HTMLFieldSetElement to WebIDL. r=Ms2ger
2013-02-08 11:34:48 -05:00
Andrea Marchesini
7da035db98
Bug 839105 - Rename nsHTMLFieldSetElement to HTMLFieldSetElement. r=Ms2ger
...
--HG--
rename : content/html/content/src/nsHTMLFieldSetElement.cpp => content/html/content/src/HTMLFieldSetElement.cpp
rename : content/html/content/src/nsHTMLFieldSetElement.h => content/html/content/src/HTMLFieldSetElement.h
2013-02-08 11:34:47 -05:00
Bobby Holley
6ccfc2d64b
Bug 821850 - Tests. r=bz
2013-02-08 14:24:22 +00:00
Bobby Holley
0a9cda6738
Bug 821850 - Clone XBL into the XBL scope's compartment. r=bz
2013-02-08 14:24:22 +00:00
Bobby Holley
dc7e7a50d2
Bug 821850 - Dynamically waive Xray for field access by XBL script on bound nodes. r=bz
2013-02-08 14:24:22 +00:00
Bobby Holley
4b306e73c6
Bug 821850 - Expose XBL members via Xray wrappers. r=bz
2013-02-08 14:24:21 +00:00
Bobby Holley
e47fde05d0
Bug 821850 - Add API to lookup implementation members on XBL bindings. r=bz
2013-02-08 14:24:21 +00:00
Bobby Holley
8d1e313928
Bug 821850 - Make XBL prototype setup tamper-proof for Xrays. r=bz
...
We make the class object readonly/non-configurable, as well as all the properties
and methods on the class object.
2013-02-08 14:24:21 +00:00
Bobby Holley
2eef2f91f9
Bug 821850 - Unwrap |callee| before passing it to InstallXBLField. r=bz
...
InstallXBLField knows how to handle cross-compartment |callee|. However,
The current value will always be wrapped. We need to unwrap said wrappers,
otherwise we'll end up with objects that aren't functions.
2013-02-08 14:24:21 +00:00
Bobby Holley
85c0f5cf46
Bug 821850 - Install XBL field accessors on prototype objects at setup time, and nuke XBLResolve. r=bz
2013-02-08 14:24:21 +00:00
Bobby Holley
c6479a3444
Bug 821850 - Hoist Field machinery into nsXBLProtoImplField. r=bz
...
This is a pure cut/paste except for removing |static| from XBLResolve.
XBLResolve will go away soon, so there's no need to put it in a header.
2013-02-08 14:24:21 +00:00
Bobby Holley
f1ce397128
Bug 821850 - Remove unused arguments from InstallMember and simplify calling convention. r=bz
...
Let's just pass a JSContext and do Requests/Compartments in the caller.
2013-02-08 14:24:21 +00:00
Bobby Holley
3d089c3644
Bug 821850 - Store a strong ref to the JSClass in nsXBLBinding. r=bz
2013-02-08 14:24:20 +00:00
Bobby Holley
8dfc5ae9df
Bug 821850 - Make DoInitJSClass unconditionally fill in aClassObject. r=bz
...
Right now, DoInitJSClass only returns non-null if the class object is new
(and thus needs to have members installed on it). The code then goes and
unconditionally tries to install the members, null-checking and aborting
each time.
Instead, let's use an explicit boolean and one early return. This lets us
get a reference to our JSClass no matter what, which we need.
2013-02-08 14:24:20 +00:00
Bobby Holley
b3559180d2
Bug 821850 - Remove bogus comment/check and replace with an assert. r=bz
...
This confused me, because fields are, in fact, exposed via the prototype
via the complicated two-step solution defined in InstallField. As it turns
out, CompilePrototypeMembers throws if mClassObject ends up null.
2013-02-08 14:24:20 +00:00
Bobby Holley
698846e095
Bug 821850 - Pass nsXBLBinding instead of nsIContent during implementation installation. r=bz
...
This lets us hook up the binding to the JSClass.
2013-02-08 14:24:20 +00:00
Bobby Holley
4b6b3faf6a
Bug 821850 - Check for XBL scopes in nsContentUtils::IsCallerXBL(). r=bz
2013-02-08 14:24:20 +00:00
Bobby Holley
c1612afa13
Bug 821850 - Make XBL-in-content tests Xray-safe. r=bz
...
We use XPCNativeWrapper.unwrap rather than .wrappedJSObject so that the tests
are agnostic to whether there's an Xray wrapper or not.
I converted test_tree_column_reorder.xul into a chrome test because it does
all sorts of crazy introspection on the binding, and it really should be
a chrome test anyway.
2013-02-08 14:24:19 +00:00
Ms2ger
e3c2a6ec01
Bug 839179 - Part c: Add a test for HTMLButtonElement attributes reflection; r=bz
2013-02-08 13:50:30 +01:00
Ms2ger
cc7807ddbe
Bug 839179 - Part b: Move HTMLButtonElement to Paris bindings; r=bz
2013-02-08 13:50:30 +01:00
Ms2ger
37b271ffe4
Bug 839179 - Part a: Rename nsHTMLButtonElement to mozilla::dom::HTMLButtonElement; r=bz
...
--HG--
rename : content/html/content/src/nsHTMLButtonElement.cpp => content/html/content/src/HTMLButtonElement.cpp
rename : content/html/content/src/nsHTMLButtonElement.cpp => content/html/content/src/HTMLButtonElement.h
2013-02-08 13:50:30 +01:00
Ms2ger
cd09e995c7
Bug 839053 - Part c: Add a test for HTMLLinkElement attributes reflection; r=bz
...
--HG--
rename : content/html/content/test/test_li_attributes_reflection.html => content/html/content/test/test_link_attributes_reflection.html
2013-02-08 13:50:30 +01:00
Ms2ger
c26449c818
Bug 839053 - Part b: Move HTMLLinkElement to Paris bindings; r=bz
2013-02-08 13:50:30 +01:00
Ms2ger
473c834f8d
Bug 839053 - Part a: Rename nsHTMLLinkElement to mozilla::dom::HTMLLinkElement; r=bz
...
--HG--
rename : content/html/content/src/nsHTMLLinkElement.cpp => content/html/content/src/HTMLLinkElement.cpp
rename : content/html/content/src/nsHTMLLinkElement.cpp => content/html/content/src/HTMLLinkElement.h
2013-02-08 13:50:30 +01:00
Boris Zbarsky
29957b7b8b
Bug 839116 part 3. Add tests for HTMLSharedElement attribute reflection. r=ms2ger
...
--HG--
rename : content/html/content/test/test_li_attributes_reflection.html => content/html/content/test/test_base_attributes_reflection.html
rename : content/html/content/test/test_li_attributes_reflection.html => content/html/content/test/test_dir_attributes_reflection.html
rename : content/html/content/test/test_li_attributes_reflection.html => content/html/content/test/test_html_attributes_reflection.html
rename : content/html/content/test/test_li_attributes_reflection.html => content/html/content/test/test_param_attributes_reflection.html
rename : content/html/content/test/test_li_attributes_reflection.html => content/html/content/test/test_q_attributes_reflection.html
2013-02-08 12:20:11 +00:00
Boris Zbarsky
96a978de51
Bug 839116 part 2. Convert HTMLSharedElement to WebIDL. r=ms2ger
...
--HG--
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLBaseElement.webidl
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLDirectoryElement.webidl
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLHeadElement.webidl
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLHtmlElement.webidl
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLParamElement.webidl
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLQuoteElement.webidl
2013-02-08 12:20:11 +00:00
Boris Zbarsky
4a140aa268
Bug 839116 part 1. Rename nsHTMLSharedElement to HTMLSharedElement. r=ms2ger
...
--HG--
rename : content/html/content/src/nsHTMLSharedElement.cpp => content/html/content/src/HTMLSharedElement.cpp
rename : content/html/content/src/nsHTMLSharedElement.cpp => content/html/content/src/HTMLSharedElement.h
2013-02-08 12:20:11 +00:00
Boris Zbarsky
24d9f6a70b
Bug 836850. Allow a single C++ class to implement multiple WebIDL interfaces. r=peterv
...
--HG--
rename : content/html/content/test/test_li_attributes_reflection.html => content/html/content/test/test_dl_attributes_reflection.html
rename : content/html/content/test/test_li_attributes_reflection.html => content/html/content/test/test_ul_attributes_reflection.html
2013-02-08 12:20:11 +00:00
Masatoshi Kimura
321e0e3862
Bug 830665 - Use the latest JS version by default in XUL. r=jonas
2013-02-08 20:49:28 +09:00
Phil Ringnalda
01a3e2e409
Back out 6a5dcf166f09 (bug 836072) for build bustage
...
CLOSED TREE
2013-02-07 21:35:08 -08:00
Ehsan Akhgari
0bde2b2244
Bug 836072 - Validate the arguments to AudioParam.exponentialRampToValueAtTime() correctly; r=roc
2013-01-29 18:30:22 -05:00
Mats Palmgren
0b57a2f709
Bug 838931 - Don't include nsIFrameTraversal.h since it's not used in this file anymore. r=dholbert
2013-02-07 21:07:53 -05:00
Seth Fowler
d502490e0d
Bug 837315 - Add SVG document loaded event. r=bz
2013-02-04 10:14:17 -08:00
Andrea Marchesini
83c12b2a45
Bug 839022 - Convert HTMLSourceElement to WebIDL. r=Ms2ger
2013-02-07 10:39:10 -05:00
Andrea Marchesini
c9edd19e18
Bug 839022 - Rename nsHTMLSourceElement to HTMLSourceElement. r=Ms2ger
...
--HG--
rename : content/html/content/src/nsHTMLSourceElement.cpp => content/html/content/src/HTMLSourceElement.cpp
rename : content/html/content/src/nsHTMLSourceElement.cpp => content/html/content/src/HTMLSourceElement.h
2013-02-07 10:38:26 -05:00
Andrea Marchesini
64fb75c8f4
Bug 838750 - Convert HTMLMeterElement to WebIDL. r=Ms2ger
2013-02-07 10:00:39 -05:00
Andrea Marchesini
7e00fc816c
Bug 838750 - Rename nsHTMLMeterElement to HTMLMeterElement. r=Ms2ger
...
--HG--
rename : content/html/content/src/nsHTMLMeterElement.cpp => content/html/content/src/HTMLMeterElement.cpp
rename : content/html/content/src/nsHTMLMeterElement.cpp => content/html/content/src/HTMLMeterElement.h
2013-02-07 09:59:25 -05:00
Andrea Marchesini
3e9ec09832
Bug 838233 - Convert HTMLHRElement to WebIDL. r=Ms2ger
2013-02-07 09:57:59 -05:00
Andrea Marchesini
5a769a571c
Bug 838233 - Rename nsHTMLHRElement to HTMLHRElement. r=Ms2ger
...
--HG--
rename : content/html/content/src/nsHTMLHRElement.cpp => content/html/content/src/HTMLHRElement.cpp
rename : content/html/content/src/nsHTMLHRElement.cpp => content/html/content/src/HTMLHRElement.h
2013-02-07 09:57:13 -05:00
Ryan VanderMeulen
84ca9f4859
Merge m-c to inbound.
2013-02-07 09:56:23 -05:00
Ryan VanderMeulen
67a3dc3eae
Merge the last PGO green inbound changeset to m-c.
2013-02-07 09:55:08 -05:00
Vicamo Yang
f1c896b374
Bug 835148: Implement SmsEvent using event generator. r=smaug
...
--HG--
rename : dom/sms/interfaces/nsIDOMSmsEvent.idl => dom/sms/interfaces/nsIDOMMozSmsEvent.idl
rename : dom/sms/interfaces/nsIDOMSmsMessage.idl => dom/sms/interfaces/nsIDOMMozSmsMessage.idl
2013-02-07 18:43:22 +08:00
Ms2ger
f109ab8ce3
Bug 838160 - Part c: Add a test for HTMLMetaElement.{name,httpEquiv,content,scheme} reflection; r=bz
...
--HG--
rename : content/html/content/test/test_map_attributes_reflection.html => content/html/content/test/test_meta_attributes_reflection.html
2013-02-07 09:08:58 +01:00
Ms2ger
ec1ae08fad
Bug 838160 - Part b: Move HTMLMetaElement to Paris bindings; r=bz
2013-02-07 09:08:58 +01:00
Ms2ger
73266e2f33
Bug 838160 - Part a: Rename nsHTMLMetaElement to mozilla::dom::HTMLMetaElement; r=bz
...
--HG--
rename : content/html/content/src/nsHTMLMetaElement.cpp => content/html/content/src/HTMLMetaElement.cpp
rename : content/html/content/src/nsHTMLMetaElement.cpp => content/html/content/src/HTMLMetaElement.h
2013-02-07 09:08:58 +01:00
Ms2ger
37950ff2af
Bug 837597 - Part c: Add a test for HTMLModElement.dateTime reflection; r=bz
...
--HG--
rename : content/html/content/test/test_map_attributes_reflection.html => content/html/content/test/test_mod_attributes_reflection.html
2013-02-07 09:08:58 +01:00
Ms2ger
7e09e3f7e6
Bug 837597 - Part b: Move HTMLModElement to Paris bindings; r=bz
2013-02-07 09:08:58 +01:00
Ms2ger
70aebd55e5
Bug 837597 - Part a: Rename nsHTMLModElement to mozilla::dom::HTMLModElement; r=bz
...
--HG--
rename : content/html/content/src/nsHTMLModElement.cpp => content/html/content/src/HTMLModElement.cpp
rename : content/html/content/src/nsHTMLModElement.cpp => content/html/content/src/HTMLModElement.h
2013-02-07 09:08:57 +01:00
Ms2ger
71a06a7849
Bug 837597 - Part c: Add a test for HTMLMapElement.name reflection; r=bz
...
--HG--
rename : content/html/content/test/test_ol_attributes_reflection.html => content/html/content/test/test_map_attributes_reflection.html
2013-02-07 09:08:57 +01:00