Commit Graph

13458 Commits

Author SHA1 Message Date
Phil Ringnalda
cb79659a5f Back out 1b98c119cbfb (bug 8203709) for bustage
CLOSED TREE
2013-02-09 07:15:43 -08:00
Robert O'Callahan
af668db99e Bug 8203709. Handle failure to create a snapshot surface in GetImageDataArray. r=mattwoodrow 2013-02-10 00:28:18 +13:00
Alexander Surkov
1b576f47da Bug 445510 - Support ARIA-based text attributes, r=tbsaunde
--HG--
rename : accessible/tests/mochitest/attributes/test_text.html => accessible/tests/mochitest/textattrs/test_general.html
2013-02-09 13:36:34 +09:00
Robert Strong
5c07fa06f7 Back out Bug 678392 2013-02-08 16:52:12 -08:00
Stephen Pohl
9c1b816b92 Swipe availability check - Bug 678392 - [10.7] Add support for swipe animation as in Safari. r=smichaud 2013-02-08 13:57:28 -08:00
Stephen Pohl
e5e20d9c36 Main patch (original patch by mstange) - Bug 678392 - [10.7] Add support for swipe animation as in Safari. r=smichaud r=felipc 2013-02-08 13:56:50 -08:00
Robert Longson
28602ab779 Bug 838501 - Refactor SVGElementFactory so that it uses a hashtable rather than a set of if tests to match tags to creation functions. r=dholbert
--HG--
rename : content/svg/content/src/nsSVGElementFactory.cpp => content/svg/content/src/SVGElementFactory.cpp
2013-02-08 20:24:47 +00:00
Tanvi Vyas
2c3d34602b Bug 837959 - Move call to content policies earlier so that cloned media goes through the appropriate content checks. r=roc 2013-02-08 11:55:09 -08:00
David Zbarsky
f6315319a3 Bug 833446: Remove nsIDOMSVGClipPathElement r=peterv 2013-02-08 14:55:52 -05:00
David Zbarsky
15ef968716 Bug 833446: Remove nsIDOMSVGViewElement r=peterv 2013-02-08 14:55:51 -05:00
David Zbarsky
e397e94d12 Bug 833446: Remove nsIDOMSVGUseElement r=peterv 2013-02-08 14:55:51 -05:00
David Zbarsky
6570443dbf Bug 833446: Remove nsIDOMSVGTextPositioningElement and related interfaces r=peterv 2013-02-08 14:55:49 -05:00
David Zbarsky
77a34e04ff Bug 833446: Remove nsIDOMSVGSymbolElement r=peterv 2013-02-08 14:55:08 -05:00
David Zbarsky
b026f482b8 Bug 833446: Remove nsIDOMSVGSwitchElement r=peterv 2013-02-08 14:55:08 -05:00
David Zbarsky
61eee9a22a Bug 833446: Remove nsIDOMSVGSVGElement r=peterv 2013-02-08 14:55:07 -05:00
Andrea Marchesini
d6bd85c6bb Bug 839487 - HTMLAreaElement::SetHref can throw. r=bz 2013-02-08 12:56:59 -05:00
Ryan VanderMeulen
90bc91f5b2 Merge m-c to inbound. 2013-02-08 12:17:19 -05:00
Jonathan Kew
7541722913 bug 837461 - backout parts 2 and 3 of bug 808288 because pdf.js may paint missing chars to canvas if it failed to load fonts, which looks really ugly; better to skip them for now. r=bas 2013-02-08 16:52:55 +00:00
Andrea Marchesini
888cdf0242 Bug 839439 - Convert HTMLAreaElement to WebIDL. r=Ms2ger 2013-02-08 11:34:48 -05:00
Andrea Marchesini
0df540aa1e Bug 839439 - Rename nsHTMLAreaElement to HTMLAreaElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLAreaElement.cpp => content/html/content/src/HTMLAreaElement.cpp
rename : content/html/content/src/nsHTMLAreaElement.cpp => content/html/content/src/HTMLAreaElement.h
2013-02-08 11:34:48 -05:00
Andrea Marchesini
e2a9fdba68 Bug 839056 - Convert HTMLOptGroupElement to WebIDL. r=Ms2ger 2013-02-08 11:34:48 -05:00
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