Commit Graph

3384 Commits

Author SHA1 Message Date
Wes Kocher
2c1bb01c13 Backed out 3 changesets (bug 923512) for mochitest-2 bustage on a CLOSED TREE
Backed out changeset f8720d81b74f (bug 923512)
Backed out changeset f431232084b7 (bug 923512)
Backed out changeset dff51863663c (bug 923512)
2014-08-06 16:36:35 -07:00
Andrew McCreight
d1a4aaddf4 Bug 1038243 - Avoid static casting from nsIDOMAttr to Attr. r=smaug 2014-08-06 15:23:33 -07:00
Botond Ballo
4dcd36c48e Bug 923512 - Introduce strongly-typed coordinate classes (Part2: Changes to rest of codebase, and switching Axis to use the strongly-typed coordinates). r=kats 2014-07-29 17:24:12 -04:00
Simon Montagu
679f3599af Bug 1037641: split SetDirectionFromChangedTextNode into TextNodeWillChangeDirection and TextNodeChangedDirection. r=ehsan 2014-08-06 12:02:59 +03:00
Ed Morley
4bd9e956fb Merge mozilla-central and inbound 2014-08-06 13:43:41 +01:00
Wes Kocher
659f33fb19 Merge m-c to fx-team on a CLOSED TREE 2014-08-05 17:38:06 -07:00
Alessio Placitelli
8f50bda776 Bug 1037214 - Throw OOM to the script instead of aborting in FragmentOrElement::GetTextContentInternal. r=bz 2014-08-05 06:10:00 -04:00
Ehsan Akhgari
beaa1d2306 Bug 1048247 - Fix more bad implicit constructors in DOM; r=smaug 2014-08-05 09:19:51 -04:00
William Chen
b120db058e Bug 1022866 - Fix insertion point frame for content distributed to insertion points. r=bz 2014-08-04 21:37:25 -07:00
Masayuki Nakano
9375ed8f50 Bug 1046101 part.33 Generate EventClassID with EventClassList.h in EventForwards.h and nsContentUtils should use it instead of uint32_t r=smaug 2014-08-04 14:28:58 +09:00
Masayuki Nakano
674bfd5763 Bug 1046101 part.32 Rename NS_EVENT to eBasicEventClass r=smaug 2014-08-04 14:28:58 +09:00
Boris Zbarsky
c939aa4301 Bug 886308. Implement Element.matches. r=heycam 2014-08-01 23:37:09 -04:00
David Parks
9cf45846f3 Bug 1009628 - Part 1: Need mozAfterRemotePaint event for remote iframes. r=smaug. 2014-05-23 11:19:00 -07:00
Mike Conley
134e23c76c Backed out changeset 249413f56629 (bug 1009628) for causing permanent orange. 2014-08-05 14:53:58 -04:00
David Parks
9afc47d4ed Bug 1009628 - Part 1: Need mozAfterRemotePaint event for remote iframes. r=smaug. 2014-05-23 11:19:00 -07:00
Sid Stamm
3bed7b4d19 Bug 991474 - Remove selfURI from AppendPolicy after removing the old backend. (r=ckerschb,grobinson) 2014-07-30 14:37:22 -07:00
Sid Stamm
25bbfb5f71 Bug 991468 - Remove isInitialized after we remove the old parser. (r=grobinson,ckerschb) 2014-07-30 14:37:22 -07:00
Sid Stamm
2252bd6c38 Bug 994872 - Remove documentPrincipal from nsIContentSecurityPolicy::SetRequestContext. (r=ckerschb) 2014-07-30 14:37:22 -07:00
Sid Stamm
407401e416 Bug 994782 - Remove the old Content Security Policy parser, CSPUtils.jsm and tie-in logic. (r=ckerschb,jst) 2014-07-30 14:37:22 -07:00
Andrea Marchesini
62d197e48c Bug 1046139 - nsDOMFileInternalUrlHolder can be removed., r=ehsan 2014-07-30 16:12:00 +01:00
Ehsan Akhgari
c8380d74dd Bug 1045067 - Fix some bad implicit constructors in dom/content/ipc; r=smaug 2014-07-28 13:17:51 -04:00
L. David Baron
15136f0cbe Bug 996796 patch 4 - Add a new type of RestyleTracker for handling animation-only style flushes. r=heycam 2014-07-24 21:35:34 -07:00
Ms2ger
813fd261ab Bug 981257 - Free up the unused NODE_ATTACH_BINDING_ON_POSTCREATE bit. r=bzbarsky 2014-07-24 21:35:33 -07:00
Ben Kelly
3fa4e60611 Bug 1029620 P3 Factor non-CORS simple content type checkout out of XHR. r=ehsan 2014-07-24 12:38:55 -04:00
Jim Mathies
719a823ea5 Bug 1040080 - Update nsIMessageManager.idl notes about in-process child process message manager. r=smaug 2014-07-22 08:56:59 -05:00
Georgios Kontaxis
c748a72277 Bug 1029887: Keep track of DOM nodes blocked by NS_ERROR_TRACKING_URI (r=khuey,smaug) 2014-06-24 17:37:03 -07:00
Bill McCloskey
e5c71c22e7 Bug 1027299 - Print a deprecation warning when importing XUL into content documents (r=smaug) 2014-07-18 08:59:00 -07:00
Bill McCloskey
088d3c345b Bug 1042587 - Warn when script is ignored because of script blocker (r=bent) 2014-08-05 21:44:13 -07:00
L. David Baron
0083a663cf Bug 996798 patch 2 - Make the ability to change nsWrapperCache::FlagsType more portable. r=bzbarsky
Without this, an Android build on our automation gives:
content/xul/content/src/nsXULElement.h:359:117: error: left shift count >= width of type [-Werror]
2014-07-16 20:10:10 -07:00
Christoph Kerschbaumer
1cccc01df2 Bug 1005225 - CSP in C++: SImplify shouldProcess for CSP (r=sstamm) 2014-07-07 10:15:36 -07:00
Brian Birtles
4a5b988a87 Bug 1032573 part 5 - Add GetAnimationPlayers to Element; r=bz
This patch adds the WebIDL definitions and implementation of
getAnimationPlayers on Element.

It does not include the full definition of AnimationPlayer but only readonly
versions of the currentTime and startTime attributes since these are easy
to implement and enable identifying the different animations that are returned
for the sake of testing.

Web Animations defines getAnimationPlayers as only returning the animations that
are either running or will run in the future (known as "current" animations).
This will likely change since it seems desirable to be able query animations
that have finished but are applying a forwards fill. For now, however, this
patch makes us only return animations that have not finished.

This patch also removes an assertion in ElementAnimation::GetLocalTime that
would fail if called on a finished transition. This assertion is no longer
necessary since an earlier patch in this series removed the overloading of
the animation start time that meant calling this on a finished transition
was unsafe. Furthermore, this assertion, if it were not removed, would fail
if script holds onto a transition and queries its start time after it
completed.
2014-07-16 09:02:31 +09:00
Wes Kocher
a568f8dfc6 Backed out 1 changesets (bug 1005225) for Gu permared
Backed out changeset 452d8502bea1 (bug 1005225)
* * *
Backed out 2 changesets (bug 1005225, bug 1030936) for Gu permared

Backed out changeset 32a1fa1b28d5 (bug 1030936)
Backed out changeset 61d41b381f30 (bug 1005225)
2014-07-15 16:18:50 -07:00
Christoph Kerschbaumer
7aaf40067c Bug 1005225: Follow up, changed uuid in the wrong idl (r=ckerschb) 2014-07-15 13:59:59 -07:00
Christoph Kerschbaumer
6fa8519ab9 Bug 1005225 - CSP in C++: SImplify shouldProcess for CSP (r=sstamm)
--HG--
extra : rebase_source : a0e2bacb5376afde0ccc0487da6e3ceb70bfb09c
2014-07-07 10:15:36 -07:00
Michael Ratcliffe
fcb0980556 Bug 1033391 - Enable GeometryUtils APIs in privileged code. r=smaug,roc 2014-07-03 14:23:14 +01:00
Boris Zbarsky
ef4d83b2a3 Bug 832014 part 3. Start using nsLocation for the Location interface in bindings. r=peterv 2014-07-11 19:30:27 -04:00
Ryan VanderMeulen
296caa949c Merge inbound to m-c. a=merge 2014-07-11 16:34:56 -04:00
Neil Deakin
1bfbc6d5da Bug 1020496, add getAutocompleteInfo method to get components of autocomplete attribute, r=smaug 2014-07-09 08:01:00 +01:00
Boris Zbarsky
be2d883ce6 Bug 965413 part 12. Use a LoadInfo in SetUpChannelOwner. r=smaug 2014-07-10 02:56:38 -04:00
Nathan Yee
b346b2aea3 Bug 1006671 - Remove unnecessary JSContext argument to nsContentUtils::GetContentSecurityPolicy. r=bholley 2014-07-10 19:25:00 +02:00
Tom Schuster
36fe8c8dc6 Bug 1024707 - Add API to register style sheets but without loading them. r=bz 2014-07-09 11:43:33 +02:00
Carsten "Tomcat" Book
e31951a5dd Backed out changeset 6a56c14d382f (bug 1024707) for dt1 and xpshell test bustages on a CLOSED TREE 2014-07-09 13:19:33 +02:00
Tom Schuster
ca7aaa4737 Bug 1024707 - Add API to register style sheets but without loading them. r=bz 2014-07-09 11:43:33 +02:00
Benoit Jacob
c93dd79625 Bug 1035394 - Fix dangerous public destructors in content/base - r=khuey 2014-07-08 17:23:16 -04:00
Ben Kelly
631d97a806 Bug 1029620 P1 Refactor XHR to move forbidden header checks to nsContentUtils. r=ehsan 2014-07-08 16:53:56 -04:00
Sid Stamm
7eef9caec0 Bug 991466 - remove the specCompliant flag from CSP since it's no longer needed. (r=ckerschb,jst)
--HG--
extra : rebase_source : 754264fd1721946a78c461e08d210bb5a1fdbda4
2014-07-07 11:59:37 -07:00
Olli Pettay
fb7f4fa1d7 Bug 1026047, add IsInComposedDoc()/GetComposedDoc() and IsInUncomposedDoc()/GetUncomposedDoc() to make it more clear whether Shadow DOM is being handled, r=bz
--HG--
extra : rebase_source : 614cd9090b00039363e8a52f3060585f4a505b99
2014-07-03 20:02:07 +03:00
Ms2ger
05a41fb85e Bug 1032116 - Outparamdel nsIStyleSheetLinkingElement::GetStyleSheet; r=dbaron 2014-07-02 12:53:40 +02: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
Peter Van der Beken
efa5f7d65a 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
b859e5a055 Backout patches for bug 1029104 for bustage on a CLOSED TREE.
--HG--
rename : dom/xslt/xpath/XPathExpression.cpp => dom/xslt/xpath/nsXPathExpression.cpp
rename : dom/xslt/xpath/XPathExpression.h => dom/xslt/xpath/nsXPathExpression.h
extra : rebase_source : 4cd96320fa102351284cca55b66d3a54592e5212
2014-06-27 23:07:44 +02:00
Peter Van der Beken
ff0e975b03 Bug 1029104 - Convert XPathExpression to WebIDL bindings, add WebIDL API and switch to the WebIDL binding. r=bz.
--HG--
extra : rebase_source : f5c7a235a9a880f829ff39ccbb92508cbaad31a5
2014-06-27 21:39:50 +02:00
Andrea Marchesini
6197f631af Bug 827823 - patch 1 - CC in DOMFile class, r=ehsan 2014-06-26 20:46:34 -07:00
Andrea Marchesini
6ec27357af Bug 876683 - DOMFile/DOMBlob refactoring, r=ehsan, r=bent 2014-06-26 09:47:44 -07:00
Andrew McCreight
ddc6e4ad99 Bug 1029660 - Remove nsContentUtils::DeferredFinalize. r=peterv 2014-06-26 09:29:05 -07:00
John Schoenick
02eb0d8e6f Bug 870022 - Part 1 - Split nsAttrValue::StringToInteger out to nsContentUtils, update usage. r=jst 2014-06-25 11:47:45 -07:00
Benoit Jacob
db2eb3cc06 Bug 1028588 - Fix dangerous public destructors in content/ - r=khuey 2014-06-24 22:09:15 -04:00
Peter Van der Beken
bd776f4d97 Bug 1027095 - Convert XPathResult to WebIDL bindings - add WebIDL API and switch. r=bz. 2013-07-04 17:40:06 +02:00
Jonathan Watt
b73bc43c94 Bug 1016680, part 5 - Report the memory used by PresShell::mCaret. r=dbaron 2014-06-22 23:02:59 +01:00
Ms2ger
bad4ca4d29 Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-20 12:32:49 +02:00
Ms2ger
451c7edf83 Backout revision 308e51eae10c for build bustage.
--HG--
rename : layout/style/CSSStyleSheet.cpp => layout/style/nsCSSStyleSheet.cpp
rename : layout/style/CSSStyleSheet.h => layout/style/nsCSSStyleSheet.h
2014-06-20 13:00:08 +02:00
Ms2ger
9fb7f507f0 Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-20 12:32:49 +02:00
Kyle Huey
b1e3198eed Bug 737976: Remove nsINodeInfo. r=smaug
--HG--
rename : content/base/src/nsNodeInfo.cpp => dom/base/NodeInfo.cpp
rename : content/base/public/nsINodeInfo.h => dom/base/NodeInfo.h
rename : content/base/src/nsNodeInfo.h => dom/base/NodeInfoInlines.h
2014-06-19 19:01:40 -07:00
Benjamin Chen
303b54cc27 Bug 969372: part1: Change the prototype of FreezableElementEnumerator in nsIDocument from nsIContent to nsISupports, and rename it to ActivityObservers. r=roc 2014-06-19 10:09:35 +08:00
David Keeler
b76e545dd2 bug 1025330 - expose the failed channel in nsIDocShell for error pages r=bz 2014-06-19 13:55:55 -07:00
Ed Morley
69e146bee2 Backed out changeset d346871db5f6 (bug 1020697) for intermittent test failures 2014-06-19 13:19:56 +01:00
Birunthan Mohanathas
bc0233fe47 Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
L. David Baron
a13b5c1919 Bug 996798 - Add a typedef to make it easier to change the size of nsWrapperCache/nsINode flags. r=bzbarsky 2014-06-18 17:07:26 -07:00
Giovanni Sferro
2c4043716f Bug 1020697 - Implement @autocomplete for <select>. r=smaug 2014-06-17 19:50:00 +02:00
Olli Pettay
08774e4ba4 Bug 902618 - Parser notifies about subtree roots, but not their descendants, r=hsivonen,bz 2014-06-17 02:01:22 +03:00
Masayuki Nakano
f31b35e66b Bug 1024864 Warn KeyboardEvent.key value change when KeyboardEvent.key is read and its key value is obsolete r=smaug 2014-06-14 11:24:16 +09:00
Boris Zbarsky
dfe8c38082 Bug 1009675 part 3. Return WebIDL 'object' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Boris Zbarsky
bc1e511e33 Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Cameron McCormack
13dabce535 Bug 1017798 - Part 2: Set content bits on elements in shadow trees indicating whether they are in a style scope from the light tree. r=bzbarsky 2014-06-06 15:23:40 +10:00
Cameron McCormack
9a75e854c1 Bug 1017798 - Part 1: Make AncestorFilter and the TreeMatchContext style scope list include ancestors from following ShadowRoots up to the light tree. r=bzbarsky 2014-06-06 15:22:55 +10:00
William Chen
603c74dbeb Bug 992521 - Part 1: Remove "in document" flag on ShadowRoot and its descendants. r=smaug 2014-06-07 01:42:53 -07:00
Matthew Noorenberghe
e67418d048 Bug 1009935 - Implement the @autocomplete attribute for values other than off/on. r=smaug 2014-06-06 00:25:02 -07:00
Boris Zbarsky
8b3fd69b49 Bug 1017932. Don't expose the XMLDocument bits on the return value of new Document(). r=peterv 2014-06-03 11:38:37 -04:00
Bill McCloskey
9157c8fd4d Bug 1017310 - Rename *XBLScope to *ContentXBLScope in xpconnect (r=bholley) 2014-06-02 18:04:21 -07:00
Robert O'Callahan
2a92625af7 Bug 1015664. Part 2: Remove some NS_HIDDEN usage. r=bsmedberg 2014-06-03 00:08:24 +12:00
Robert O'Callahan
cbb8fdebfc Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
John Schoenick
b60ee0537a Bug 870021 - Part 4 - Move HTMLImageElement::GetNatural{Height,Width} up to ImageLoadingContent. r=jst 2014-05-30 13:03:06 -07:00
Ms2ger
b790db0fab Merge mozilla-inbound to mozilla-central. 2014-05-30 14:07:35 +02:00
Ms2ger
a39cee4de3 Bug 741295 - Treat 'id' and 'class' as global attributes for all elements; r=bz 2014-05-30 09:36:53 +02:00
Botond Ballo
208521ef2b Bug 1016682 - Store CSS viewport size as floating-point to avoid rounding errors. r=tn 2014-05-28 16:27:38 -04:00
Tim Taubert
a8c3787586 Bug 990812 - Fix nsIMessageManager documentation r=smaug 2014-05-27 21:46:06 +02:00
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