Commit Graph

3298 Commits

Author SHA1 Message Date
Reuben Morais
6b28e6ff71 Bug 952486 - Use CheckPermissions instead of Func for several interfaces. r=bz 2014-05-25 15:31:11 -03:00
Fabrice Desré
2deb233e1d Bug 952486 - backout for breaking all device and emulator builds (keeping dom reviewer to land the backout...) r=bz 2014-05-26 12:11:52 -07:00
Reuben Morais
df3026450e Bug 952486 - Use CheckPermissions instead of Func for several interfaces. r=bz 2014-05-25 15:31:11 -03:00
Jonathan Watt
ec734706e6 Bug 1013936, part 2 - Only load the html.css UA style sheet on-demand for SVG documents. r=bz CLOSED TREE 2014-05-24 20:29:11 +01:00
Jonathan Watt
e07a2e6821 Bug 1013936, part 1 - Add various methods to nsIDocument to help determine its type. r=bz 2014-05-24 20:28:48 +01:00
Jonathan Watt
74572624da Bug 1008455 - Avoid loading the xul.css UA style sheet when possible. r=bz CLOSED TREE
--HG--
rename : toolkit/content/xul.css => toolkit/content/minimal-xul.css
2014-05-24 19:51:06 +01:00
Jonathan Watt
745f910b48 Bug 1015147 - Use the style sheet cache to store the user-agent style sheets svg.css and mathml.css so that we don't create new instances for each new document. r=bz 2014-05-24 19:46:38 +01:00
Jonathan Watt
fd3a1b8954 Bug 1014891 - Remove support for XML's 'catalog' style sheets, and provide an internal alternative for the abusing callers of EnsureCatalogStyleSheet. r=bz 2014-05-24 19:46:38 +01:00
William Chen
ccc506dc38 Bug 999271 - Implement web components getDestinationInsertionPoints() extension to Element interface. r=mrbkap 2014-05-21 23:11:53 -07:00
Gabor Krizsanits
9b5a153e09 Bug 877072 - HTML Imports part1. r=mrbkap 2014-05-21 19:08:12 +02:00
Bobby Holley
2ec8d277ee Bug 997440 - Introduce a special null principal to return when we're not in any compartment at all. r=bz 2014-05-20 22:52:20 -07:00
Bobby Holley
715f351f2b Bug 1010577 - Shim window.controllers (with a warning) in RELEASE_BUILDs. r=bz 2014-05-19 13:08:08 -07:00
Josh Aas
7ec76f43f8 Bug 957928: Gecko Media Plugins implementation. No consumers in Gecko yet. r=bent 2014-05-17 22:05:46 -05:00
Phil Ringnalda
127b904678 Back out a4b51aff4b3c (bug 957928) for build bustage
CLOSED TREE
2014-05-17 17:43:07 -07:00
Josh Aas
992d7074a3 Bug 957928: Gecko Media Plugins implementation. No consumers in Gecko yet. r=bent 2014-05-17 18:53:03 -05:00
Christoph Kerschbaumer
e6344ed05a Bug 951457 - Create C++ CSP Parser and policy classes, part 1 - backend stubs r=sstamm, r=grobinson 2014-04-01 09:35:22 -07:00
Olli Pettay
3c1d40d1f6 Bug 1009160, don't leak via SVGIFrame.sandbox, r=bz 2014-05-15 12:05:42 +03:00
Nick Lebedev
c49e263d0f Bug 998002 - Rename nsContentUtils::Get{Subject,Object}Principal to nsContentUtils::{Subject,Object}Principal. r=bholley 2014-05-13 11:58:00 +02:00
Brian Birtles
248c1facd0 Bug 998246 part 3 - Add timeline member to Document interface; r=bz 2014-05-13 16:22:12 +09:00
Ryo HIKOSAKA
fa93b6989d Bug 949435, Part 1 - Move nsGenericHTMLElement::GetTokenList to Element. r=bz 2014-02-18 10:12:54 +09:00
Mason Chang
17ad25a9b0 Bug 979949 - Expose compositor fill ratio to JS for automation. r=benwa,mrbkap. 2014-05-08 17:32:00 +02:00
Boris Zbarsky
41c123b6f7 Bug 1007790. When compiling the <body>'s onerror handler, do give it all five args. r=smaug 2014-05-08 22:20:54 -04:00
Ehsan Akhgari
903bfdef6e Bug 994964 - Make DOM XPIDL interfaces non-scriptable, and add shim Components.interfaces entries for them; r=bzbarsky,bholley 2014-05-08 16:45:36 -04:00
Bobby Holley
8ba3be8772 Bug 997987 - Cache the system principal on nsContentUtils and remove nsIScriptSecurityManager::SubjectPrincipalIsSystem. r=Ms2ger,sr=bz 2014-05-06 15:43:03 -07:00
Ryan VanderMeulen
3eb4656bf3 Merge b2g-inbound to m-c. 2014-05-06 16:31:58 -04:00
Ben Turner
ee54000826 Bug 982779 - Ensure that child->parent IPC blobs are never mysterious, r=baku. 2014-04-29 13:02:41 -07:00
Aryeh Gregor
26bf69a1f0 Bug 1001351 - Allow null-safe conversion from nsINode to nsIDOMNode; r=smaug 2014-04-25 13:34:42 +03:00
Wes Kocher
9830484b06 Backed out changeset 8f05bc23b391 (bug 982779) for b2g mochitest-1 failures 2014-05-05 19:28:37 -07:00
Ben Turner
e7d0d6522b Bug 982779 - Ensure that child->parent IPC blobs are never mysterious, r=baku. 2014-04-29 13:02:41 -07:00
Aryeh Gregor
abe09769dd Bug 957430 - Stop pretending Attr.specified is deprecated; r=ehsan 2014-04-25 13:29:56 +03:00
Ehsan Akhgari
3fce8c0087 Bug 998725 - Mark nsIXHRSendable as non-scriptable; r=smaug 2014-04-24 17:09:09 -04:00
Aryeh Gregor
780bdf4c9b Bug 950386 - Move mozilla::Selection to mozilla::dom::Selection; r=ehsan 2014-04-10 19:09:40 +03:00
Ehsan Akhgari
2ecbad7b1c Bug 491863 - Remove IBMBIDI; r=roc 2014-04-23 21:15:29 -04:00
Jefry Lagrange
3b76d91c36 Bug 939323 - Warn about XMLHttpRequest sendAsBinary usage. r=smaug 2014-04-22 13:59:39 -07:00
Aryeh Gregor
7ad76d1434 Bug 986857 - Replace the Attr element getters by something that returns an Element; r=bz 2014-04-10 19:09:50 +03:00
Adrian Lungu
864ffca9e7 Bug 822480 - Add in the Resource Timing API. r=honzab, r=jst 2013-10-15 18:35:44 -07:00
Ryan VanderMeulen
79b73a6a7a Merge m-c to fx-team. 2014-04-16 22:53:31 -04:00
Gabor Krizsanits
2434cfbdd2 Bug 996069 - Part1: nsContentUtils::IsSystemOrExpandedPrincipal. r=bz 2014-04-16 22:29:12 +02:00
Florian Quèze
9b8efd4d75 Bug 995321 - nsIDocumentEncoder.encodeToString should offer a way to limit the size of the output, r=smaug. 2014-04-17 00:01:55 +02:00
Bobby Holley
61c191d83c Bug 993423 - Don't hoist <svg:use> content into the XBL scope. r=smaug 2014-04-14 20:38:54 -07:00
Olli Pettay
9afb24a0a4 Bug 688580 - Run deferred scripts before DOMContentLoaded; r=hsivonen 2014-04-12 11:02:21 +02:00
Ms2ger
f63e8cd248 Bug 738196 - Part b: move StyleSheetList to WebIDL; r=bz 2014-04-12 10:18:54 +02:00
Andrew McCreight
4c3dfbc211 Bug 990293 - Pass false to WrapNative in nsIDocument::WrapObject. r=bz 2014-04-10 14:46:20 -04:00
Ryan VanderMeulen
72ba05589a Backed out changeset 02876730f55f (bug 688580) for Android 4.0 debug mochitest-7 perma-fail.
CLOSED TREE
2014-04-10 14:38:04 -04:00
Ed Morley
18e2a8f432 Backed out changeset 02d0214c5e37 (bug 738196) 2014-04-10 15:47:57 +01:00
Andrew McCreight
a066c1b7bd Bug 993194, part 2 - Make nsINodeInfo::mOwnerManager into an nsRefPtr. r=smaug 2014-04-10 07:05:20 -07:00
Andrew McCreight
25d18fae71 Bug 993194, part 1 - Add a comment to nsDocument about mNodeInfoManager. r=smaug 2014-04-10 07:05:20 -07:00
Olli Pettay
452514e625 Bug 688580, run deferred scripts before DOMContentLoaded, r=hsivonen
--HG--
extra : rebase_source : e7e56d2d83c7b1bf29a3a5ea4efd7418cfbee1e0
2014-04-10 01:49:17 +03:00
Ms2ger
165fd8f857 Bug 738196 - Part b: move StyleSheetList to WebIDL; r=bz 2014-04-10 13:24:26 +02:00
Boris Zbarsky
a0bb95a823 Bug 993889 part 1. Remove "scope" argument from nsContentUtils::WrapNative. r=bholley 2014-04-10 00:58:41 -04:00
Boris Zbarsky
79dab91ff6 Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
846fc2fd78 Bug 991742 part 7. Remove the "aScope" argument of WrapNode() methods. r=bholley
This patch was generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapNode(JSContext/ {; N; s/\(WrapNode(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and an additional manual change to nsINode.cpp.
2014-04-08 18:27:17 -04:00
Felipe Gomes
4260890571 Bug 971043 - Implement getTranslationNodes function to retrieve nodes from webpage that contains meaningful text for translation. r=smaug 2014-04-05 00:21:08 -03:00
xKhorasan
c23a5a9e44 Bug 859095 - URL property of document returned by XMLHttpRequest does not follow the spec. r=smaug 2013-09-25 06:56:52 +09:00
Bobby Holley
720fe1f508 Bug 986730 - Put all anonymous content into the XBL scope. r=smaug 2014-04-06 12:32:39 -07:00
Bobby Holley
e0121ab8a2 Bug 986730 - Add a dynamic accessor to determine whether a node is in an anonymous subtree. r=smaug 2014-04-06 12:32:38 -07:00
Bobby Holley
cd810d2973 Bug 986730 - Rename NODE_IS_IN_ANONYMOUS_SUBTREE to NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE, since that's what it is. r=smaug 2014-04-06 12:32:38 -07:00
Bobby Holley
404046e484 Bug 988655 - Stop returning true for shadow DOM nodes in nsIContent::IsInAnonymousSubtree. r=mrbkap 2014-04-06 12:32:37 -07:00
Maksim Lebedev
2af751cef5 Bug 968148 - Implement PointerCapture for pointer events. r=smaug
--HG--
extra : rebase_source : 331cf187194c8827e4b75835e85b2d79fdc419c7
2014-04-04 10:09:10 -07:00
Masayuki Nakano
3cc4e99fc0 Bug 989212 Rename nsEventStates to mozilla::EventStates r=smaug
--HG--
rename : dom/events/nsEventStates.h => dom/events/EventStates.h
2014-04-03 13:18:36 +09:00
Matthew Gregan
69f11197c5 Bug 927245 - Remove deprecated Audio Data API implementation. r=cajbir,smaug 2014-04-03 10:53:39 +13:00
Daniel Holbert
c79bb6271d Bug 984786 part 3: Mark refcounted classes RDFBindingSet and DataOwner as MOZ_FINAL and make their destructors private. r=bent 2014-04-02 01:10:42 -07:00
Doug Turner
acfffeb66d Bug 989691 - add nsContentUtils::LogMessageToConsole. r=jst 2014-04-01 10:52:37 -07:00
Masayuki Nakano
f7c91f6586 Bug 989213 part.2 Rename nsEventNameList.h to mozilla/EventNameList.h r=smaug
--HG--
rename : dom/events/nsEventNameList.h => dom/events/EventNameList.h
2014-04-01 20:42:12 +09:00
Masayuki Nakano
f6885469a0 Bug 984271 part.2 Rename nsEventStateManager to mozilla::EventStateManager r=smaug
--HG--
rename : dom/events/nsEventStateManager.cpp => dom/events/EventStateManager.cpp
rename : dom/events/nsEventStateManager.h => dom/events/EventStateManager.h
2014-04-01 13:09:23 +09:00
Masatoshi Kimura
e65d66c52e Bug 980134 - Hide DataContainerEvent from content. r=smaug 2014-03-31 06:28:00 +09:00
Ms2ger
93e8b2e6c3 Bug 986860 - Cleanup nsContentUtils::GetDocumentFromScriptContext; r=bholley 2014-03-27 21:05:14 +01:00
William Chen
02358ecd6e Bug 984712 - Associate document with existing custom elements registry as specified. r=mrbkap 2014-03-27 11:55:44 -07:00
Gorman Ho
2f3c5ba795 Bug 983285 - Add a generic destructor for property values allocated with new. r=kats, r=bz 2014-03-25 09:25:47 -04:00
Ehsan Akhgari
da255bec64 Backed out 2 changesets (bug 957431) because we decided we're keeping Attr.ownerElement in the end
Backed out changeset ab12a8416a1d (bug 957431)
Backed out changeset 188d1e255d40 (bug 957431)
2014-03-21 16:04:09 -04:00
Ehsan Akhgari
7426fe9ae6 Backed out 2 changesets (bug 957652) because bug 957431 is being backed out
Backed out changeset 92efd61cfca5 (bug 957652)
Backed out changeset 9d405c64a7bf (bug 957652)
2014-03-21 16:02:21 -04:00
Alessio Placitelli
763d77332d Bug 950076 - Propagate OOM errors to innerHTML getters. r=jst 2014-03-19 13:05:03 -04:00
Alessio Placitelli
4f5f640356 Bug 950076 - Add a fallible form of nsAString::Append and Replace and use it in nsTextFragment::AppendTo. r=bsmedberg, r=jst 2014-03-19 13:05:02 -04:00
Robert O'Callahan
37aa0c39f6 Bug 918189. Part 1.5: Implement GeometryUtils.convertPointFromNode, convertRectFromNode, and convertQuadFromNode. r=jst
--HG--
extra : rebase_source : 2d01b350d84f220add776341a9cbcda5ace2ef01
2014-03-12 09:11:39 +08:00
Robert O'Callahan
729128951a Bug 917755. Part 5.5: Implement getBoxQuads DOM API. r=jst
--HG--
extra : rebase_source : 02febe9fad731185bfbc50454683b485d551bf59
2014-03-12 09:11:38 +08:00
Ryan VanderMeulen
069bec6611 Backed out 8 changesets (bug 917755) for bustage making inbound a CLOSED TREE.
Backed out changeset 98e31d225a5a (bug 917755)
Backed out changeset 43bceca43fb6 (bug 917755)
Backed out changeset 5117e3f594e7 (bug 917755)
Backed out changeset ada41f2f74b8 (bug 917755)
Backed out changeset 5272cfbd63f3 (bug 917755)
Backed out changeset f3bbd98021f7 (bug 917755)
Backed out changeset b049571a7cce (bug 917755)
Backed out changeset 472cb7738e14 (bug 917755)
2014-03-20 16:34:25 -04:00
Ryan VanderMeulen
4bcb7700e6 Backed out changesets 716f942b5798, 48edbd324d0f, 3e6446f6d0e6 (bug 918189) for bustage. 2014-03-20 16:33:54 -04:00
Robert O'Callahan
a619f60776 Bug 918189. Part 1.5: Implement GeometryUtils.convertPointFromNode, convertRectFromNode, and convertQuadFromNode. r=jst 2014-03-12 09:11:39 +08:00
Robert O'Callahan
05e0309b2b Bug 917755. Part 5.5: Implement getBoxQuads DOM API. r=jst 2014-03-12 09:11:38 +08:00
Ryan VanderMeulen
ead774e09e Backed out changesets a17ee88f1fe7, 6e3aee4a9650, 07e5ed676919 (bug 950076) for Werror bustage. 2014-03-19 14:00:10 -04:00
Alessio Placitelli
9479a9eb9d Bug 950076 - Propagate OOM errors to innerHTML getters. r=jst 2014-03-19 13:05:03 -04:00
Alessio Placitelli
1a0a307fb0 Bug 950076 - Add a fallible form of nsAString::Append and Replace and use it in nsTextFragment::AppendTo. r=bsmedberg, r=jst 2014-03-19 13:05:02 -04:00
Bobby Holley
82090508be Bug 825392 - Generate anonymous content reflectors in the XBL scope. r=bz 2014-03-19 13:35:45 -03:00
Carsten "Tomcat" Book
bb46c9b270 Backed out changeset 896bfaeab866 (bug 917755) 2014-03-19 09:46:03 +01:00
Carsten "Tomcat" Book
dd70a06887 Backed out changeset e60fe593236d (bug 918189) 2014-03-19 09:45:57 +01:00
Robert O'Callahan
bcbf9ca2fe Bug 918189. Part 1.5: Implement GeometryUtils.convertPointFromNode, convertRectFromNode, and convertQuadFromNode. r=jst 2014-03-12 09:11:39 +08:00
Robert O'Callahan
58d77c88e5 Bug 917755. Part 5.5: Implement getBoxQuads DOM API. r=jst 2014-03-12 09:11:38 +08:00
Masayuki Nakano
2db7fb2c3d Bug 983049 part.3 Rename nsEventChainPostVisitor to mozilla::EventChainPostVisitor r=smaug 2014-03-18 13:48:20 +09:00
Masayuki Nakano
a8aba2b26c Bug 983049 part.2 Rename nsEventChainPreVisitor to mozilla::EventChainPreVisitor r=smaug 2014-03-18 13:48:19 +09:00
Masayuki Nakano
9ebedbcd2a Bug 983049 part.1 Rename nsEventChainVisitor to mozilla::EventChainVisitor r=smaug 2014-03-18 13:48:18 +09:00
Masayuki Nakano
fbf7cdeb19 Bug 981261 part.5 Rename nsEventListenerManager to mozilla::EventListenerManager r=smaug
--HG--
rename : dom/events/nsEventListenerManager.cpp => dom/events/EventListenerManager.cpp
rename : dom/events/nsEventListenerManager.h => dom/events/EventListenerManager.h
2014-03-17 15:56:53 +09:00
Kyle Huey
d7764d686d Bug 981150: Use nsTArrayForwardDeclare.h more. r=ehsan 2014-03-15 12:00:17 -07:00
Kyle Huey
b564544cf7 Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg 2014-03-15 12:00:17 -07:00
Kyle Huey
fe6c4e28d6 Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Blake Kaplan
849fa92484 Bug 980586 - Remove old e10s prompt code. r=smaug 2014-03-10 08:57:07 -04:00
Richard Barnes
dbe89b855e Bug 936340 - Implement navigator.sendBeacon r=sicking 2014-03-06 10:51:23 -05:00
Ehsan Akhgari
44f3ea1894 Backed out changeset 98cc8a50348f (bug 936340) because it misses the test_beaconElectrolysis.html file, which breaks the build 2014-03-06 09:04:45 -05:00
Alessio Placitelli
002b65d322 Bug 961804 - Drop support for Blob.mozSlice. r=jst 2014-03-06 08:52:52 -05:00
Richard Barnes
b813c7a8ca Bug 936340 - Implement navigator.sendBeacon. r=sicking 2014-03-06 08:52:50 -05:00
L. David Baron
838f497fac Bug 621618 patch 2: Make nsXMLElement reuse Element::AddToIdTable and Element::RemoveFromIdTable thoroughly. r=bzbarsky 2014-03-04 20:13:20 -08:00