Commit Graph

11534 Commits

Author SHA1 Message Date
Ben Kelly
d887fbb7ae Bug 993548: Free load buffer before starting script compile. r=khuey 2014-04-08 19:40:26 -04:00
Bobby Holley
afef348878 Bug 913138 - Move imgLoader singleton management out of nsContentUtils. r=bsmedberg 2014-04-08 15:51:33 -07: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
Boris Zbarsky
d4bd64ee2c Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
This patch was mostly generated with this command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""

plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Boris Zbarsky
d7fa8f56be Bug 991742 part 1. Enter the compartment of the current wrapper before we try to reparent objects. r=bholley
This lets us preserve some invariants about our current compartment matching the scope we want to wrap into.
2014-04-08 18:27:15 -04:00
Peter Van der Beken
65e4bfa394 Bug 983619 - Add Window.getInterface/QueryInterface to WebIDL. r=bz.
--HG--
extra : rebase_source : 4a4f368ba4f84e6e5104522181eb3043efd7ed38
2014-02-15 22:12:33 +01: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
Carsten "Tomcat" Book
79d46c1b71 Merge mozilla-central to mozilla-inbound 2014-04-07 13:56:36 +02:00
Carsten "Tomcat" Book
866ee03bc2 merge fx-team to mozilla-central 2014-04-07 13:37:38 +02:00
Tim Taubert
a8ae9cf917 Bug 842511 - Specify a character set for directory listings r=gavin 2014-04-06 06:01:49 +02: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
d3af0fb41f Bug 986730 - Fix up a bunch of tests that assume that they can touch AC in content. r=mrbkap 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
Neil Deakin
f9e1db1ab8 Bug 475981, remove titles from a bunch of tests, fixing box wrapped in a block warnings,r=neil 2014-04-04 13:11:12 -04: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
Marco Zehe
00e3bb9eeb Bug 989958 - Expose PRESSED state on a native button element and remove CHECKABLE state from toggle buttons, r=surkov, r=eeejay 2014-04-04 10:01:19 +02:00
Neil Rashbrook
936188506a Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-04-03 23:06:26 +01:00
Masayuki Nakano
d42c98a423 Bug 990855 part.2 Remove dom/events from local includes of moz.build files r=smaug 2014-04-03 13:18:38 +09: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
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
Garrett Robinson
8b3c6564e3 Bug 971341: Fix infinite tab loading due to missing characters in CSP's path regexes r=sstamm 2014-04-02 10:57:35 -07: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
Masayuki Nakano
d1419e8935 Bug 984253 part.4 Rename nsJSEventListener to mozilla::JSEventHandler r=smaug 2014-04-02 11:00:46 +09:00
Doug Turner
acfffeb66d Bug 989691 - add nsContentUtils::LogMessageToConsole. r=jst 2014-04-01 10:52:37 -07:00
Mark Hammond
cae334e085 Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
Ryan VanderMeulen
0d5b7940ce Merge inbound to m-c. 2014-04-01 16:45:00 -04:00
Bob Owen
6ff37ba8dc Bug 986439 - Don't use nsNullPrincipalURI for referrer. r=bz 2014-03-29 19:10:27 +00: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
Jon Coppeard
fb6ccb11db Bug 959787 - Handlify JS_ExecuteScript and JS::Evaluate APIs r=terrence r=bz 2014-04-01 11:34:39 +01:00
Masayuki Nakano
930436ef24 Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug
--HG--
rename : dom/events/nsDOMEventTargetHelper.cpp => dom/events/DOMEventTargetHelper.cpp
rename : dom/events/nsDOMEventTargetHelper.h => dom/events/DOMEventTargetHelper.h
2014-04-01 15:13:50 +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
Kyle Huey
7ee146283b Bug 989224: Note orphaned FragmentOrElements in the CC log. r=bz 2014-04-01 11:33:28 +08:00
Masatoshi Kimura
e65d66c52e Bug 980134 - Hide DataContainerEvent from content. r=smaug 2014-03-31 06:28:00 +09:00
Olli Pettay
2586d0ca93 Bug 987433 - DOMTokenList should have a strong reference to its owner so that the API doesn't suddenly start returning empty string. r=khuey 2014-03-28 10:36:47 -04:00
Ehsan Akhgari
186680d83a Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg 2014-03-27 16:38:33 -04:00
Ehsan Akhgari
156d7e387b Bug 798158 - Part 0: Do not treat format warnings as errors in a few directories; r=mshal 2014-03-27 16:38:20 -04:00
Ms2ger
28d5fefd33 Bug 973915 - Simplify nsScriptLoader::EvaluateScript a bit; r=hsivonen 2014-03-27 21:05:15 +01:00
Ms2ger
93e8b2e6c3 Bug 986860 - Cleanup nsContentUtils::GetDocumentFromScriptContext; r=bholley 2014-03-27 21:05:14 +01:00
William Chen
1c758b19bd Bug 987031 - Use kNamespaceID_Unknown to match any namespace in the web components custom element registry. r=mrbkap 2014-03-27 11:55:44 -07: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
John Shih
697caff053 Bug 960426 - Part 2: Modifications for IDL change. r=blassey 2014-03-05 11:54:55 +08:00
Ryan VanderMeulen
c5fd173c74 Merge m-c to inbound. 2014-03-26 23:09:54 -04:00
Fabrice Desré
874f87e5ff Bug 982491 - Group apps in activities chains in the same process r=cervantes,gene 2014-03-25 21:56:35 -07:00
Birunthan Mohanathas
bc35004647 Bug 987320 - Remove unnecessary null checks for do_QueryFrame arguments. r=bz 2014-03-25 11:36:49 -04: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
Robert Longson
78f52729c0 Bug 986913 - Using setAttributeNS can cause serialisation to fail. r=smaug 2014-03-24 11:20:12 +00:00
Ehsan Akhgari
31e7320ffb Bug 983845 follow-up: Move the header to content/base and enable BrowserFeedWriter for xulrunner as well 2014-03-22 21:34:02 -04:00
Garrett Robinson
44a69247e4 Bug 979580: Enable CSP 1.1 {nonce,hash}-source by default r=sstamm 2014-03-21 14:24:53 -07: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
d61fac3e5a Bug 950076 - Use the return value of GetNodeTextContent for OOM checks. r=jst 2014-03-20 20:51:16 +01: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
Masatoshi Kimura
1bd9e40c57 Bug 981237 - Remove DataContainerEvent dependency from Plugin crash handler. r=jst,johns 2014-03-21 13:00:00 +09:00
Timothy Nikkel
7768128908 Bug 957668. Add and implement plumbing for a display port margins api. r=kats 2014-03-26 21:46:23 -04:00
Ryan VanderMeulen
679f1b8dda Backed out changeset fea9904b6dec (bug 987433) for leaks on a CLOSED TREE. 2014-03-26 19:44:54 -04:00
Olli Pettay
c162aad270 Bug 987433 - DOMTokenList should have a strong reference to its owner so that the API doesn't suddenly start returning empty string. r=khuey 2014-03-26 16:04:57 -04:00
Paolo Amadini
fbdf098874 Bug 985954 - Remove deprecated promise.js usage in the testing framework. r=ted 2014-04-01 13:45:48 +02: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
Robert O'Callahan
67b726752b Bug 917755. Part 4: Add DOMQuad implementation. r=jst
--HG--
extra : rebase_source : e74d516f27c004ecf5deea40fb397c2a8f5acfae
2013-09-20 22:21:04 +12:00
Robert O'Callahan
416a4278f9 Bug 917755. Part 3: Implement DOMRect per spec. r=jst
--HG--
extra : rebase_source : 46ef3a90763ceaea5bb43652e5c97e16667a9e7f
2013-09-20 22:21:03 +12:00
Robert O'Callahan
7adeaa75fa Bug 917755. Part 2: Implement DOMPoint. r=jst
DOMPointReadOnly is not currently used by anything but it's in the spec so we
might as well support it. It would be useful for adding "topLeft"-style APIs
to DOMRect.

--HG--
extra : rebase_source : 8df6b51b3305e91c7c7693128e70e3e928d44b27
2014-03-12 09:11:37 +08:00
Robert O'Callahan
98c2c7100d Bug 917755. Part 1.5: Make nsImageLoadingContent more robust in unified builds. r=matspal
--HG--
extra : rebase_source : be9acaac5b213666d02d1f6a95f132c46a7ada48
2014-03-12 09:11:37 +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
Robert O'Callahan
9d59ab279c Bug 917755. Part 4: Add DOMQuad implementation. r=jst 2013-09-20 22:21:04 +12:00
Robert O'Callahan
13590066d3 Bug 917755. Part 3: Implement DOMRect per spec. r=jst 2013-09-20 22:21:03 +12:00
Robert O'Callahan
df8181c63e Bug 917755. Part 2: Implement DOMPoint. r=jst
DOMPointReadOnly is not currently used by anything but it's in the spec so we
might as well support it. It would be useful for adding "topLeft"-style APIs
to DOMRect.
2014-03-12 09:11:37 +08:00
Robert O'Callahan
af32237754 Bug 917755. Part 1.5: Make nsImageLoadingContent more robust in unified builds. r=matspal 2014-03-12 09:11:37 +08:00
Bob Owen
7742334529 Bug 978042 - Part 5: AutoPushJSContext in nsScriptLoader::EvaluateScript. r=bholley 2014-03-19 11:38:02 +00:00
Ehsan Akhgari
020f3fd4d8 Bug 979118 - Add global MMX_FLAGS, SSE_FLAGS and SSE2_FLAGS variables; r=glandium 2014-03-19 21:55:00 -04:00
Patrick McManus
ae599f9845 bug 477578 - http methods should be case sensitive r=hurley 2014-03-18 12:36:18 -04: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
498da462d0 Bug 950076 - Use the return value of GetNodeTextContent for OOM checks. r=jst 2014-03-19 13:05:03 -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
Andrea Marchesini
2e3bbdb17e Bug 985432 - URLSearchParams is not nullable, r=bz 2014-03-19 15:36:46 +00:00
Carsten "Tomcat" Book
761aff7993 Backed out changeset 002dbc057a74 (bug 917755) 2014-03-19 09:46:13 +01:00
Carsten "Tomcat" Book
d583b802a8 Backed out changeset 92e5d79ec57f (bug 917755) 2014-03-19 09:46:12 +01:00
Carsten "Tomcat" Book
cf62801d4f Backed out changeset 3b41ab878fcd (bug 917755) 2014-03-19 09:46:09 +01:00
Carsten "Tomcat" Book
394bd4d67d Backed out changeset 8ad57cf09e75 (bug 917755) 2014-03-19 09:46:07 +01: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
Robert O'Callahan
dce81f25da Bug 917755. Part 4: Add DOMQuad implementation. r=jst 2013-09-20 22:21:04 +12:00
Robert O'Callahan
b94dc453d2 Bug 917755. Part 3: Implement DOMRect per spec. r=jst 2013-09-20 22:21:03 +12:00
Robert O'Callahan
7a5cc37fd9 Bug 917755. Part 2: Implement DOMPoint. r=jst
DOMPointReadOnly is not currently used by anything but it's in the spec so we
might as well support it. It would be useful for adding "topLeft"-style APIs
to DOMRect.
2014-03-12 09:11:37 +08:00
Robert O'Callahan
143d5d0810 Bug 917755. Part 1.5: Make nsImageLoadingContent more robust in unified builds. r=matspal 2014-03-12 09:11:37 +08:00
Steve Fink
a6b6893225 Bug 983282 followup - root the IsRegisterElementEnabled parameter
Landing on a CLOSED TREE.
2014-03-18 20:25:15 -07:00
William Chen
d361199fce Bug 983282 - Enable web components custom element for certified apps. r=sicking 2014-03-18 18:20:06 -07:00
Masayuki Nakano
3234ceea19 Bug 983049 part.5 Rename nsEventDispatcher to mozilla::EventDispatcher r=smaug
--HG--
rename : dom/events/nsEventDispatcher.cpp => dom/events/EventDispatcher.cpp
rename : dom/events/nsEventDispatcher.h => dom/events/EventDispatcher.h
2014-03-18 13:48:21 +09:00