Commit Graph

2234 Commits

Author SHA1 Message Date
Jason Orendorff
a207f2817f Bug 986492, part 2 - Use fill() and dedent() throughout Codegen.py. Change dedent() to strip an initial blank line from its argument, if present. r=peterv.
--HG--
extra : rebase_source : 41a423806998eeb90fc66bf3663ead5bacd2c64b
2014-04-25 11:50:34 -05:00
Aryeh Gregor
57e61e9d15 Bug 950386 - Move mozilla::Selection to mozilla::dom::Selection; r=ehsan 2014-04-10 19:09:40 +03:00
Terrence Cole
de2fb98fa3 Bug 807168 - Make JSTracer into a real C++ class and kill the macro accessors; r=jonco,mccr8
--HG--
rename : js/public/Tracer.h => js/public/TracingAPI.h
2014-04-11 15:19:05 -07:00
Ryan VanderMeulen
ee76280adc Merge inbound to m-c. 2014-04-17 22:31:17 -04:00
Boris Zbarsky
c6a5fb4be3 Bug 996831. Add a ToJSValue overload for nsresult, to allow rejecting promises from C++ more easily. r=bholley 2014-04-16 15:13:41 -04:00
Boris Zbarsky
557d9e0d10 Bug 996474. Add a ToJSValue overload that takes a Handle<Value>. r=bholley 2014-04-16 15:13:41 -04:00
Ryan VanderMeulen
9f74f39481 Merge b2g-inbound to m-c. 2014-04-16 22:22:45 -04:00
Ryan VanderMeulen
dfb622525e Backed out 3 changesets (bug 996474, bug 996831) for B2G bustage on a CLOSED TREE.
Backed out changeset 8f98a4c2257f (bug 996831)
Backed out changeset 7acce569bd84 (bug 996831)
Backed out changeset 1845b09c7578 (bug 996474)
2014-04-16 19:31:41 -04:00
Boris Zbarsky
aedf7db006 Bug 996831 followup to fix silly gcc build bustage and reopen the CLOSED TREE 2014-04-16 16:17:01 -04:00
Boris Zbarsky
7aa72892e5 Bug 996831. Add a ToJSValue overload for nsresult, to allow rejecting promises from C++ more easily. r=bholley 2014-04-16 15:13:41 -04:00
Boris Zbarsky
7bae58eac6 Bug 996474. Add a ToJSValue overload that takes a Handle<Value>. r=bholley 2014-04-16 15:13:41 -04:00
Carsten "Tomcat" Book
fa901d8d7b Merge m-c to b2g-i 2014-04-16 15:20:23 +02:00
Thomas Zimmermann
2fbc5e3332 Bug 904588: Convert MozIccManager to WebIDL, r=htsai, r=smaug
--HG--
rename : dom/icc/interfaces/nsIDOMIccManager.idl => dom/webidl/MozIccManager.webidl
2014-04-16 09:30:28 +02:00
Bobby Holley
a81ce7e83c Bug 989528 - Rename AutoSystemCaller to AutoNoJSAPI, and assert against pre-existing exceptions. r=bz 2014-04-14 20:27:00 -07:00
Boris Zbarsky
22f64a2913 Bug 843840 part 2. Add a way to ask DOM proxies for only their enumerable property names, and use that in the enumerate hook. r=peterv 2014-04-15 22:58:44 -04:00
Boris Zbarsky
b730833389 Bug 843840 part 1. Add a way to ask DOM proxies with a named getter whether a property is enumerable or not and use that information in getOwnPropertyDescriptor. r=peterv 2014-04-15 22:58:44 -04:00
Boris Zbarsky
cbc5d1a912 Bug 995546. Nix bogus GetParentObject methods on WebIDL objects without a wrapper cache. r=bholley 2014-04-15 22:58:43 -04:00
Terrence Cole
21e586caba Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Richard Barnes
4cb852eae9 Bug 997258 - Update TypedArrayCreator to be compatible with simplified Typed Array interface. r=bz 2014-04-16 13:56:52 -04:00
Jon Coppeard
6e3781aa06 Bug 912581 - Make JS_Add*Root APIs take Heap<T> r=terrence r=bz r=bholley 2014-04-16 09:47:57 +01:00
Gene Lian
a0a2b2b22a Bug 949325 - C++ wrapper to support DataStore API on the worker (part 1, C++ stubs for DataStore and DataStoreCursor). r=baku,ehsan
--HG--
rename : dom/datastore/DataStoreCursor.jsm => dom/datastore/DataStoreCursorImpl.jsm
rename : dom/datastore/DataStore.jsm => dom/datastore/DataStoreImpl.jsm
2013-12-20 16:17:49 +08:00
Carsten "Tomcat" Book
d286e662bd Backed out changeset c2350812b7f1 (bug 946065) hoping this fix the B2G mochitest-7 perma-fail on a CLOSED TREE
--HG--
rename : dom/xml/crashtests/420429.xul => content/xml/content/crashtest/420429.xul
rename : dom/xml/crashtests/453278-frame.xml => content/xml/content/crashtest/453278-frame.xml
rename : dom/xml/crashtests/453278.html => content/xml/content/crashtest/453278.html
rename : dom/xml/crashtests/803586.xhtml => content/xml/content/crashtest/803586.xhtml
rename : dom/xml/CDATASection.cpp => content/xml/content/src/CDATASection.cpp
rename : dom/xml/CDATASection.h => content/xml/content/src/CDATASection.h
rename : dom/xml/ProcessingInstruction.cpp => content/xml/content/src/ProcessingInstruction.cpp
rename : dom/xml/ProcessingInstruction.h => content/xml/content/src/ProcessingInstruction.h
rename : dom/xml/XMLStylesheetProcessingInstruction.cpp => content/xml/content/src/XMLStylesheetProcessingInstruction.cpp
rename : dom/xml/XMLStylesheetProcessingInstruction.h => content/xml/content/src/XMLStylesheetProcessingInstruction.h
rename : dom/xml/htmlmathml-f.ent => content/xml/content/src/htmlmathml-f.ent
rename : dom/xml/moz.build => content/xml/content/src/moz.build
rename : dom/xml/nsXMLElement.cpp => content/xml/content/src/nsXMLElement.cpp
rename : dom/xml/nsXMLElement.h => content/xml/content/src/nsXMLElement.h
rename : dom/xml/crashtests/136896-1.xml => content/xml/document/crashtests/136896-1.xml
rename : dom/xml/crashtests/185285-1.xml => content/xml/document/crashtests/185285-1.xml
rename : dom/xml/crashtests/382636-1.xml => content/xml/document/crashtests/382636-1.xml
rename : dom/xml/crashtests/382636-2.svg => content/xml/document/crashtests/382636-2.svg
rename : dom/xml/crashtests/382636-3.xhtml => content/xml/document/crashtests/382636-3.xhtml
rename : dom/xml/crashtests/382636-4.xul => content/xml/document/crashtests/382636-4.xul
rename : dom/xml/crashtests/431703-1.xhtml => content/xml/document/crashtests/431703-1.xhtml
rename : dom/xml/crashtests/crashtests.list => content/xml/document/crashtests/crashtests.list
rename : dom/xml/crashtests/tree.gif => content/xml/document/crashtests/tree.gif
rename : dom/xml/nsIXMLContentSink.h => content/xml/document/public/nsIXMLContentSink.h
rename : dom/xml/resources/XMLMonoPrint.css => content/xml/document/resources/XMLMonoPrint.css
rename : dom/xml/resources/XMLPrettyPrint.css => content/xml/document/resources/XMLPrettyPrint.css
rename : dom/xml/resources/XMLPrettyPrint.xml => content/xml/document/resources/XMLPrettyPrint.xml
rename : dom/xml/resources/XMLPrettyPrint.xsl => content/xml/document/resources/XMLPrettyPrint.xsl
rename : dom/xml/resources/jar.mn => content/xml/document/resources/jar.mn
rename : dom/xml/resources/moz.build => content/xml/document/resources/moz.build
rename : dom/xml/XMLDocument.cpp => content/xml/document/src/XMLDocument.cpp
rename : dom/xml/XMLDocument.h => content/xml/document/src/XMLDocument.h
rename : dom/xml/nsXMLContentSink.cpp => content/xml/document/src/nsXMLContentSink.cpp
rename : dom/xml/nsXMLContentSink.h => content/xml/document/src/nsXMLContentSink.h
rename : dom/xml/nsXMLFragmentContentSink.cpp => content/xml/document/src/nsXMLFragmentContentSink.cpp
rename : dom/xml/nsXMLPrettyPrinter.cpp => content/xml/document/src/nsXMLPrettyPrinter.cpp
rename : dom/xml/nsXMLPrettyPrinter.h => content/xml/document/src/nsXMLPrettyPrinter.h
rename : dom/xml/tests/mochitest/file_bug293347.xml => content/xml/document/test/file_bug293347.xml
rename : dom/xml/tests/mochitest/file_bug293347xslt.xml => content/xml/document/test/file_bug293347xslt.xml
rename : dom/xml/tests/mochitest/mochitest.ini => content/xml/document/test/mochitest.ini
rename : dom/xml/tests/mochitest/moz.build => content/xml/document/test/moz.build
rename : dom/xml/tests/mochitest/test_bug232004.xhtml => content/xml/document/test/test_bug232004.xhtml
rename : dom/xml/tests/mochitest/test_bug293347.html => content/xml/document/test/test_bug293347.html
rename : dom/xml/tests/mochitest/test_bug343870.xhtml => content/xml/document/test/test_bug343870.xhtml
rename : dom/xml/tests/mochitest/test_bug355213.xhtml => content/xml/document/test/test_bug355213.xhtml
rename : dom/xml/tests/mochitest/test_bug392338.html => content/xml/document/test/test_bug392338.html
rename : dom/xml/tests/mochitest/test_bug399502.xhtml => content/xml/document/test/test_bug399502.xhtml
rename : dom/xml/tests/mochitest/test_bug445330.html => content/xml/document/test/test_bug445330.html
rename : dom/xml/tests/mochitest/test_bug691215.html => content/xml/document/test/test_bug691215.html
rename : dom/xml/tests/mochitest/test_viewport.xhtml => content/xml/document/test/test_viewport.xhtml
rename : dom/xml/tests/books/bethlehem.gif => content/xml/tests/books/bethlehem.gif
rename : dom/xml/tests/books/bill.gif => content/xml/tests/books/bill.gif
rename : dom/xml/tests/books/books.js => content/xml/tests/books/books.js
rename : dom/xml/tests/books/books.xml => content/xml/tests/books/books.xml
rename : dom/xml/tests/books/charing.gif => content/xml/tests/books/charing.gif
rename : dom/xml/tests/books/classic.css => content/xml/tests/books/classic.css
rename : dom/xml/tests/books/common.css => content/xml/tests/books/common.css
rename : dom/xml/tests/books/kerouac.gif => content/xml/tests/books/kerouac.gif
rename : dom/xml/tests/books/list.css => content/xml/tests/books/list.css
rename : dom/xml/tests/books/road.gif => content/xml/tests/books/road.gif
rename : dom/xml/tests/books/welville.gif => content/xml/tests/books/welville.gif
rename : dom/xml/tests/docbook.css => content/xml/tests/docbook.css
rename : dom/xml/tests/docbooktest.xml => content/xml/tests/docbooktest.xml
rename : dom/xml/tests/flamer.gif => content/xml/tests/flamer.gif
rename : dom/xml/tests/load/display.css => content/xml/tests/load/display.css
rename : dom/xml/tests/load/display.xml => content/xml/tests/load/display.xml
rename : dom/xml/tests/load/load.html => content/xml/tests/load/load.html
rename : dom/xml/tests/load/loadauth.html => content/xml/tests/load/loadauth.html
rename : dom/xml/tests/load/loaddisplay.html => content/xml/tests/load/loaddisplay.html
rename : dom/xml/tests/load/test.xml => content/xml/tests/load/test.xml
rename : dom/xml/tests/script.xml => content/xml/tests/script.xml
rename : dom/xml/tests/simple.xml => content/xml/tests/simple.xml
rename : dom/xml/tests/toc/book.css => content/xml/tests/toc/book.css
rename : dom/xml/tests/toc/irslogo.gif => content/xml/tests/toc/irslogo.gif
rename : dom/xml/tests/toc/minus.gif => content/xml/tests/toc/minus.gif
rename : dom/xml/tests/toc/plus.gif => content/xml/tests/toc/plus.gif
rename : dom/xml/tests/toc/rights.xml => content/xml/tests/toc/rights.xml
rename : dom/xml/tests/toc/toc.css => content/xml/tests/toc/toc.css
rename : dom/xml/tests/toc/toc.js => content/xml/tests/toc/toc.js
rename : dom/xml/tests/xlink/auto.xml => content/xml/tests/xlink/auto.xml
rename : dom/xml/tests/xlink/link.css => content/xml/tests/xlink/link.css
rename : dom/xml/tests/xlink/manual.xml => content/xml/tests/xlink/manual.xml
rename : dom/xml/tests/xmlbase/xmlbase.css => content/xml/tests/xmlbase/xmlbase.css
rename : dom/xml/tests/xmlbase/xmlbase.xml => content/xml/tests/xmlbase/xmlbase.xml
2014-04-14 08:51:51 +02:00
Jan-Ivar Bruaroey
0b8237c584 Bug 994465 - Make Optional::Construct() return T&; r=bz 2014-04-10 02:03:29 -04:00
Birunthan Mohanathas
4eb02beb0b Bug 946065 - Part 6: Move content/xml/ to dom/ and flatten subdirectories; sr=jst
--HG--
rename : content/xml/content/src/CDATASection.cpp => dom/xml/CDATASection.cpp
rename : content/xml/content/src/CDATASection.h => dom/xml/CDATASection.h
rename : content/xml/content/src/ProcessingInstruction.cpp => dom/xml/ProcessingInstruction.cpp
rename : content/xml/content/src/ProcessingInstruction.h => dom/xml/ProcessingInstruction.h
rename : content/xml/document/src/XMLDocument.cpp => dom/xml/XMLDocument.cpp
rename : content/xml/document/src/XMLDocument.h => dom/xml/XMLDocument.h
rename : content/xml/content/src/XMLStylesheetProcessingInstruction.cpp => dom/xml/XMLStylesheetProcessingInstruction.cpp
rename : content/xml/content/src/XMLStylesheetProcessingInstruction.h => dom/xml/XMLStylesheetProcessingInstruction.h
rename : content/xml/document/crashtests/136896-1.xml => dom/xml/crashtests/136896-1.xml
rename : content/xml/document/crashtests/185285-1.xml => dom/xml/crashtests/185285-1.xml
rename : content/xml/document/crashtests/382636-1.xml => dom/xml/crashtests/382636-1.xml
rename : content/xml/document/crashtests/382636-2.svg => dom/xml/crashtests/382636-2.svg
rename : content/xml/document/crashtests/382636-3.xhtml => dom/xml/crashtests/382636-3.xhtml
rename : content/xml/document/crashtests/382636-4.xul => dom/xml/crashtests/382636-4.xul
rename : content/xml/content/crashtest/420429.xul => dom/xml/crashtests/420429.xul
rename : content/xml/document/crashtests/431703-1.xhtml => dom/xml/crashtests/431703-1.xhtml
rename : content/xml/content/crashtest/453278-frame.xml => dom/xml/crashtests/453278-frame.xml
rename : content/xml/content/crashtest/453278.html => dom/xml/crashtests/453278.html
rename : content/xml/content/crashtest/803586.xhtml => dom/xml/crashtests/803586.xhtml
rename : content/xml/document/crashtests/crashtests.list => dom/xml/crashtests/crashtests.list
rename : content/xml/document/crashtests/tree.gif => dom/xml/crashtests/tree.gif
rename : content/xml/content/src/htmlmathml-f.ent => dom/xml/htmlmathml-f.ent
rename : content/xml/content/src/moz.build => dom/xml/moz.build
rename : content/xml/document/public/nsIXMLContentSink.h => dom/xml/nsIXMLContentSink.h
rename : content/xml/document/src/nsXMLContentSink.cpp => dom/xml/nsXMLContentSink.cpp
rename : content/xml/document/src/nsXMLContentSink.h => dom/xml/nsXMLContentSink.h
rename : content/xml/content/src/nsXMLElement.cpp => dom/xml/nsXMLElement.cpp
rename : content/xml/content/src/nsXMLElement.h => dom/xml/nsXMLElement.h
rename : content/xml/document/src/nsXMLFragmentContentSink.cpp => dom/xml/nsXMLFragmentContentSink.cpp
rename : content/xml/document/src/nsXMLPrettyPrinter.cpp => dom/xml/nsXMLPrettyPrinter.cpp
rename : content/xml/document/src/nsXMLPrettyPrinter.h => dom/xml/nsXMLPrettyPrinter.h
rename : content/xml/document/resources/XMLMonoPrint.css => dom/xml/resources/XMLMonoPrint.css
rename : content/xml/document/resources/XMLPrettyPrint.css => dom/xml/resources/XMLPrettyPrint.css
rename : content/xml/document/resources/XMLPrettyPrint.xml => dom/xml/resources/XMLPrettyPrint.xml
rename : content/xml/document/resources/XMLPrettyPrint.xsl => dom/xml/resources/XMLPrettyPrint.xsl
rename : content/xml/document/resources/jar.mn => dom/xml/resources/jar.mn
rename : content/xml/document/resources/moz.build => dom/xml/resources/moz.build
rename : content/xml/tests/books/bethlehem.gif => dom/xml/tests/books/bethlehem.gif
rename : content/xml/tests/books/bill.gif => dom/xml/tests/books/bill.gif
rename : content/xml/tests/books/books.js => dom/xml/tests/books/books.js
rename : content/xml/tests/books/books.xml => dom/xml/tests/books/books.xml
rename : content/xml/tests/books/charing.gif => dom/xml/tests/books/charing.gif
rename : content/xml/tests/books/classic.css => dom/xml/tests/books/classic.css
rename : content/xml/tests/books/common.css => dom/xml/tests/books/common.css
rename : content/xml/tests/books/kerouac.gif => dom/xml/tests/books/kerouac.gif
rename : content/xml/tests/books/list.css => dom/xml/tests/books/list.css
rename : content/xml/tests/books/road.gif => dom/xml/tests/books/road.gif
rename : content/xml/tests/books/welville.gif => dom/xml/tests/books/welville.gif
rename : content/xml/tests/docbook.css => dom/xml/tests/docbook.css
rename : content/xml/tests/docbooktest.xml => dom/xml/tests/docbooktest.xml
rename : content/xml/tests/flamer.gif => dom/xml/tests/flamer.gif
rename : content/xml/tests/load/display.css => dom/xml/tests/load/display.css
rename : content/xml/tests/load/display.xml => dom/xml/tests/load/display.xml
rename : content/xml/tests/load/load.html => dom/xml/tests/load/load.html
rename : content/xml/tests/load/loadauth.html => dom/xml/tests/load/loadauth.html
rename : content/xml/tests/load/loaddisplay.html => dom/xml/tests/load/loaddisplay.html
rename : content/xml/tests/load/test.xml => dom/xml/tests/load/test.xml
rename : content/xml/document/test/file_bug293347.xml => dom/xml/tests/mochitest/file_bug293347.xml
rename : content/xml/document/test/file_bug293347xslt.xml => dom/xml/tests/mochitest/file_bug293347xslt.xml
rename : content/xml/document/test/mochitest.ini => dom/xml/tests/mochitest/mochitest.ini
rename : content/xml/document/test/moz.build => dom/xml/tests/mochitest/moz.build
rename : content/xml/document/test/test_bug232004.xhtml => dom/xml/tests/mochitest/test_bug232004.xhtml
rename : content/xml/document/test/test_bug293347.html => dom/xml/tests/mochitest/test_bug293347.html
rename : content/xml/document/test/test_bug343870.xhtml => dom/xml/tests/mochitest/test_bug343870.xhtml
rename : content/xml/document/test/test_bug355213.xhtml => dom/xml/tests/mochitest/test_bug355213.xhtml
rename : content/xml/document/test/test_bug392338.html => dom/xml/tests/mochitest/test_bug392338.html
rename : content/xml/document/test/test_bug399502.xhtml => dom/xml/tests/mochitest/test_bug399502.xhtml
rename : content/xml/document/test/test_bug445330.html => dom/xml/tests/mochitest/test_bug445330.html
rename : content/xml/document/test/test_bug691215.html => dom/xml/tests/mochitest/test_bug691215.html
rename : content/xml/document/test/test_viewport.xhtml => dom/xml/tests/mochitest/test_viewport.xhtml
rename : content/xml/tests/script.xml => dom/xml/tests/script.xml
rename : content/xml/tests/simple.xml => dom/xml/tests/simple.xml
rename : content/xml/tests/toc/book.css => dom/xml/tests/toc/book.css
rename : content/xml/tests/toc/irslogo.gif => dom/xml/tests/toc/irslogo.gif
rename : content/xml/tests/toc/minus.gif => dom/xml/tests/toc/minus.gif
rename : content/xml/tests/toc/plus.gif => dom/xml/tests/toc/plus.gif
rename : content/xml/tests/toc/rights.xml => dom/xml/tests/toc/rights.xml
rename : content/xml/tests/toc/toc.css => dom/xml/tests/toc/toc.css
rename : content/xml/tests/toc/toc.js => dom/xml/tests/toc/toc.js
rename : content/xml/tests/xlink/auto.xml => dom/xml/tests/xlink/auto.xml
rename : content/xml/tests/xlink/link.css => dom/xml/tests/xlink/link.css
rename : content/xml/tests/xlink/manual.xml => dom/xml/tests/xlink/manual.xml
rename : content/xml/tests/xmlbase/xmlbase.css => dom/xml/tests/xmlbase/xmlbase.css
rename : content/xml/tests/xmlbase/xmlbase.xml => dom/xml/tests/xmlbase/xmlbase.xml
2014-04-12 10:41:16 +02:00
Ms2ger
b51961d2c4 Bug 738196 - Part b: move StyleSheetList to WebIDL; r=bz 2014-04-12 10:18:54 +02:00
Boris Zbarsky
42cd0463e8 Bug 994811 part 1. Add a ToJSValue overload for dictionary types. r=bholley 2014-04-11 22:20:52 -04:00
Boris Zbarsky
34e0756678 Bug 995047. Change out stack/exception APIs to hand out AString instead of AUTF8String for filename/functionname, so we end up with fewer string conversions in practice. r=smaug 2014-04-11 22:20:40 -04:00
Ehsan Akhgari
8be471ea8f Bug 886416 - Move SVGLength to WebIDL; r=bzbarsky 2014-04-11 17:26:29 -04:00
Ed Morley
6b62a50a2e Backed out changeset aac6762777be (bug 886416) for mochitest ABORTs; CLOSED TREE 2014-04-11 17:07:42 +01:00
Ehsan Akhgari
ef30edebb3 Bug 886416 - Move SVGLength to WebIDL; r=bzbarsky 2014-04-11 11:24:06 -04:00
Ryan VanderMeulen
ca44fc6774 Merge m-c to inbound on a CLOSED TREE. 2014-04-10 22:16:50 -04:00
Ed Morley
4a6dccb8ef Merge mozilla-central and b2g-inbound 2014-04-10 17:59:51 +01:00
Boris Zbarsky
7038a736e9 Bug 993889 part 6. Remove the "scope" argument of dom::WrapObject methods. r=bholley 2014-04-10 00:58:43 -04:00
Boris Zbarsky
989b2cfcff Bug 993889 part 5. Remove the "creator" argument of the version of TypedArray::Create that takes a JSObject* creator. r=bholley 2014-04-10 00:58:42 -04:00
Boris Zbarsky
4a96901c0e Bug 993889 part 4. Remove the scope argument of xpc_FastGetCachedWrapper. r=bholley 2014-04-10 00:58:42 -04:00
Mike Habicher
11e7af1bc8 Bug 965420 - camera face-tracking, r=bz,dhylands 2014-04-09 11:52:10 -04:00
Boris Zbarsky
cdf5e0db10 Bug 994793. Make the array bits of ToJSValue nicer. r=bholley 2014-04-10 14:57:42 -04:00
Boris Zbarsky
fc8c4820cf Bug 994453 part 1. Factor out the to-JS conversions from Promise.h into mozilla::dom::ToJSValue methods. r=bholley
Apart from moving the methods, I made the following changes:

1)  Renamed them to ToJSValue.
2)  Inlined the boolean overload.
3)  Added overloads that take integer types.
4)  Changed the order of the aCx and aArgument arguments so aCx comes first.
5)  Renamed "abv" to "obj" in the typed array overload.
2014-04-10 14:57:07 -04:00
Ed Morley
b3a007e1f1 Backed out changeset 02d0214c5e37 (bug 738196) 2014-04-10 15:47:57 +01:00
Ms2ger
8065362e18 Bug 738196 - Part b: move StyleSheetList to WebIDL; r=bz 2014-04-10 13:24:26 +02:00
Boris Zbarsky
76ead922d5 Bug 991742 part 10. Remove the "aScope" argument from the Promise ArgumentToJSValue() methods. r=bholley 2014-04-08 18:27:19 -04:00
Boris Zbarsky
172c0446fa Bug 991742 part 9. Remove the "scope" argument of WrapNewBindingObject. r=bholley 2014-04-08 18:27:19 -04:00
Boris Zbarsky
fdbb455d4f 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
3f26a82832 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
5b9feee4eb Bug 991742 part 5. Remove use of the "aScope" argument in binding Wrap() methods. r=bholley 2014-04-08 18:27:16 -04:00
Boris Zbarsky
1280416f0b Bug 991742 part 4. Remove the "scope" argument of WrapCallThisObject(). r=bholley 2014-04-08 18:27:15 -04:00
Boris Zbarsky
078f9142bf Bug 991742 part 3. Remove the "scope" argument of WrapNativeParent(). r=bholley 2014-04-08 18:27:15 -04:00
Boris Zbarsky
3afe618f70 Bug 991742 part 2. Remove the "scope" argument of WrapNativeParentHelper/WrapNativeParentFallback/WrapNativeISupportsParent. r=bholley 2014-04-08 18:27:15 -04:00
Boris Zbarsky
3b4c77d08b 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
88b96b8b8c Bug 983619 - Add Window.getInterface/QueryInterface to WebIDL, followup to deal with review comment. r=bz.
--HG--
extra : rebase_source : a0e0fa6d59c9edb9b346a5cb8b062144198a87c2
2014-04-08 20:39:38 +02:00