Commit Graph

2409 Commits

Author SHA1 Message Date
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
Boris Zbarsky
e6d3aa3377 Bug 997285 part 2. Add [ExceptionClass] support to WebIDL. r=peterv 2014-05-05 16:01:57 -04:00
Boris Zbarsky
83c79d7b5b Bug 1001157. Assert that there is no exception pending on the JSContext afer a DOM call if the call was not marked as throwing or if it did not throw on the ErrorResult. r=peterv 2014-05-05 16:01:58 -04:00
Wes Kocher
3afa6d1ec8 Backed out 4 changesets (bug 997285) for mochitest-2,3 and dt3 bustages on a CLOSED TREE r=bz
Backed out changeset 1bc5b733beac (bug 997285)
Backed out changeset ec145c86be71 (bug 997285)
Backed out changeset c0b8aef8b570 (bug 997285)
Backed out changeset 477094180dff (bug 997285)
2014-05-05 14:14:11 -07:00
Wes Kocher
6df5e04b05 Backed out changeset 745c46904041 (bug 1001157) for mochitest2,3 and dt3 bustages on a CLOSED TREE r=bz 2014-05-05 14:12:53 -07:00
Boris Zbarsky
03bf8c4453 Bug 1001157. Assert that there is no exception pending on the JSContext afer a DOM call if the call was not marked as throwing or if it did not throw on the ErrorResult. r=peterv 2014-05-05 16:01:58 -04:00
Boris Zbarsky
5c370770a6 Bug 997285 part 2. Add [ExceptionClass] support to WebIDL. r=peterv 2014-05-05 16:01:57 -04:00
Ms2ger
18857c4acb Bug 995664 - Move CSSRuleList to WebIDL; r=bz
As CSSRuleList is the last consumer of nsArraySH and nsGenericArraySH, this
also removes those classes.
2014-05-03 09:32:54 +02:00
Boris Zbarsky
13ecba6a77 Bug 1004766. Make sure to enter the compartment of our new global before working with it when wrapping global objects. r=nsm 2014-05-03 01:08:07 -04:00
Andrew Osmond
9349cde661 Bug 999464 - Standardize on DOMPoint and thus eliminate need for CameraPoint. r=bz, r=mikeh 2014-05-01 15:09:00 -04:00
Gene Lian
1268aa20e8 Bug 949325 - C++ wrapper to support DataStore API on the worker (part 2-3, dispatch tasks on the worker to the main thread). r=baku,khuey f=nsm 2014-02-24 21:57:15 +08:00
Jon Coppeard
1216544376 Bug 959787 - Handlify remaining JS APIs r=terrence r=bz r=bholley 2014-04-30 10:10:33 +01:00
Rodrigo Rodriguez Jr.
e987aa99bf Bug 952650 (part 8) - Remove JSVAL_TO_STRING. r=njn.
--HG--
extra : rebase_source : 61ab9459c00849027498904863647e65453a1a43
2014-04-27 19:45:46 -07:00
Michael Shuen
e76fd87034 Bug 972385 - Make JS::AutoValueVector subscript operator return handles. r=jonco, smaug 2014-04-28 16:53:00 +02:00
Boris Zbarsky
e9122abf27 Bug 942121. Fix WebIDL dictionary member tracing to null-check nullable object types before trying to trace them, since passing pointer-to-null to JS_CallObjectTracer is not OK. r=smaug 2014-04-26 21:50:00 -04:00
Boris Zbarsky
24ebb19c4f Bug 1000944. Allow unions and dictionaries that contain non-SpiderMonkey WebIDL interface types to be copy-constructed. r=dzbarsky 2014-04-26 21:49:59 -04:00
Boris Zbarsky
57cd950edf Bug 1000675. Don't always include nsContentUtils in example codegen, fix example header guards to not end with __, don't use fully-qualified names in argument types when those argument types are in the mozilla::dom namespace already, and include headers from mozilla/dom. r=jst 2014-04-26 21:49:59 -04:00
Birunthan Mohanathas
7ac92ae5ea Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug 2014-04-25 12:49:00 -04:00
Jason Orendorff
4740c9dea6 Bug 547140, part 4 - Remove flags argument from resolve hooks. r=Waldo. 2014-04-25 16:11:02 -05:00
Jason Orendorff
6e21c723d2 Bug 547140, part 2 - Remove flags argument from JS_GetPropertyDescriptor and friends. r=Waldo. 2014-04-25 16:11:01 -05:00
Jason Orendorff
9506ae5eab Bug 987007, part 2a - Instead of generating identical DOMProxyHandler::set() methods for many interfaces, implement it in a common base class. r=bz.
--HG--
extra : rebase_source : 15e81591de2a7c07b34a23143b876feadc2d7a1e
2014-04-25 15:07:18 -05:00
Jason Orendorff
f66a185e68 Bug 987007, part 2 - Handle assignment to named and indexed setters without using JSRESOLVE_ASSIGNING. r=bz, r=bholley.
--HG--
extra : rebase_source : a26eb85a086a18219a4d423cd7ad49a92cfd2584
2014-04-25 15:07:18 -05:00
Jason Orendorff
1500a39683 Bug 987007, part 1 - Make CGProxyIndexed{Getter,Setter,PresenceChecker,Deleter} return finished C++ code with the type already in it (rather than a template to be filled in later). r=bz.
--HG--
extra : rebase_source : 019165a1081d442b9805eb11d9be2e37f860841a
2014-04-25 15:07:17 -05:00
Jason Orendorff
329ba549eb Bug 987618 - More cosmetic changes in Codegen.py. r=bz.
--HG--
extra : rebase_source : 5f495765ffaf3f073cf63a78ea92e74ae16d3bae
2014-04-25 11:50:34 -05:00
Jason Orendorff
5a2d2f70bd Bug 986492, part 3 - Address review comments from peterv on part 2. Remove bogus extra semicolons from Codegen.py output. Fix a spelling error.
--HG--
extra : rebase_source : 0230a4f9bef4690d7382e5982670ccad3f607d0b
2014-04-25 11:50:34 -05:00
Jason Orendorff
e3ac9c16f2 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
780bdf4c9b Bug 950386 - Move mozilla::Selection to mozilla::dom::Selection; r=ehsan 2014-04-10 19:09:40 +03:00
Terrence Cole
56f4a8bca3 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
9e685c22d5 Merge inbound to m-c. 2014-04-17 22:31:17 -04:00
Boris Zbarsky
d05a92fd80 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
78577315be Bug 996474. Add a ToJSValue overload that takes a Handle<Value>. r=bholley 2014-04-16 15:13:41 -04:00
Ryan VanderMeulen
4d41f21159 Merge b2g-inbound to m-c. 2014-04-16 22:22:45 -04:00
Ryan VanderMeulen
565416fed7 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
66aea42178 Bug 996831 followup to fix silly gcc build bustage and reopen the CLOSED TREE 2014-04-16 16:17:01 -04:00
Boris Zbarsky
9523850626 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
5b38f6c7c1 Bug 996474. Add a ToJSValue overload that takes a Handle<Value>. r=bholley 2014-04-16 15:13:41 -04:00
Carsten "Tomcat" Book
0e443a27d3 Merge m-c to b2g-i 2014-04-16 15:20:23 +02:00
Thomas Zimmermann
b340776270 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
3de1018bbe Bug 989528 - Rename AutoSystemCaller to AutoNoJSAPI, and assert against pre-existing exceptions. r=bz 2014-04-14 20:27:00 -07:00
Boris Zbarsky
9c3392475d 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
ad59a21b39 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
275836e8fc 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
581c606391 Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Richard Barnes
1a359260ea Bug 997258 - Update TypedArrayCreator to be compatible with simplified Typed Array interface. r=bz 2014-04-16 13:56:52 -04:00
Jon Coppeard
dae8d1e277 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
f232e3218e 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
a6feb5a5fd 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
ae220d2b2f Bug 994465 - Make Optional::Construct() return T&; r=bz 2014-04-10 02:03:29 -04:00
Birunthan Mohanathas
acdc55c6d4 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
f63e8cd248 Bug 738196 - Part b: move StyleSheetList to WebIDL; r=bz 2014-04-12 10:18:54 +02:00
Boris Zbarsky
98f070ccaf Bug 994811 part 1. Add a ToJSValue overload for dictionary types. r=bholley 2014-04-11 22:20:52 -04:00
Boris Zbarsky
438ebc3f4e 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
699e478381 Bug 886416 - Move SVGLength to WebIDL; r=bzbarsky 2014-04-11 17:26:29 -04:00
Ed Morley
23c2df160b Backed out changeset aac6762777be (bug 886416) for mochitest ABORTs; CLOSED TREE 2014-04-11 17:07:42 +01:00
Ehsan Akhgari
b0f6353efa Bug 886416 - Move SVGLength to WebIDL; r=bzbarsky 2014-04-11 11:24:06 -04:00
Ryan VanderMeulen
7ba7f0e455 Merge m-c to inbound on a CLOSED TREE. 2014-04-10 22:16:50 -04:00
Ed Morley
43c3421651 Merge mozilla-central and b2g-inbound 2014-04-10 17:59:51 +01:00
Boris Zbarsky
e74e09a7f2 Bug 993889 part 6. Remove the "scope" argument of dom::WrapObject methods. r=bholley 2014-04-10 00:58:43 -04:00
Boris Zbarsky
5a6f899f61 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
7523e50082 Bug 993889 part 4. Remove the scope argument of xpc_FastGetCachedWrapper. r=bholley 2014-04-10 00:58:42 -04:00
Mike Habicher
e826a6be7c Bug 965420 - camera face-tracking, r=bz,dhylands 2014-04-09 11:52:10 -04:00
Boris Zbarsky
c420001bda Bug 994793. Make the array bits of ToJSValue nicer. r=bholley 2014-04-10 14:57:42 -04:00
Boris Zbarsky
4ad64a690c 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
18e2a8f432 Backed out changeset 02d0214c5e37 (bug 738196) 2014-04-10 15:47:57 +01:00
Ms2ger
165fd8f857 Bug 738196 - Part b: move StyleSheetList to WebIDL; r=bz 2014-04-10 13:24:26 +02:00
Boris Zbarsky
33e4783558 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
feebd363fb Bug 991742 part 9. Remove the "scope" argument of WrapNewBindingObject. r=bholley 2014-04-08 18:27:19 -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
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
6a65a2a903 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
0bee3774d8 Bug 991742 part 4. Remove the "scope" argument of WrapCallThisObject(). r=bholley 2014-04-08 18:27:15 -04:00
Boris Zbarsky
237ee9760a Bug 991742 part 3. Remove the "scope" argument of WrapNativeParent(). r=bholley 2014-04-08 18:27:15 -04:00
Boris Zbarsky
a7d33ad988 Bug 991742 part 2. Remove the "scope" argument of WrapNativeParentHelper/WrapNativeParentFallback/WrapNativeISupportsParent. r=bholley 2014-04-08 18:27:15 -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
b3dc774b85 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
Andrea Marchesini
2029b0f60f Bug 974893 - Remove EnterCompartment and keep the global with the value in Promise, r=bz 2014-04-09 09:30:24 +01:00
Ed Morley
937b351273 Backed out changeset 7fa9564a2486 (bug 974893) for build failures 2014-04-09 09:08:39 +01:00
Andrea Marchesini
726b941dd1 Bug 974893 - Remove EnterCompartment and keep the global with the value in Promise, r=bz 2014-04-09 08:32:46 +01:00
Peter Van der Beken
ff7b3636c3 Bug 993047 - Support outerizing and addProperty hooks on globals with WebIDL bindings. r=bz.
--HG--
extra : rebase_source : cc8f013525dca74a4d7926f3cbb301ac42aab406
2014-02-15 22:12:33 +01:00
Peter Van der Beken
c5601a6449 Bug 993688 - Mark Window.document StoreInSlot. r=bz.
--HG--
extra : rebase_source : 016a4cfc9945dd83b6f14d9ce6cc12e2cb5d6fe0
2014-02-05 22:09:19 +01: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
Peter Van der Beken
9bbd30a4ac Bug 990158 - Make inner windows use their wrapper cache. r=bz.
--HG--
extra : rebase_source : bc040c75280bb45ae7ab0ed302130ff5d7178153
2013-11-09 11:20:22 +01: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
Jason Orendorff
a6f8b84822 Bug 986492, part 1 - Add fill() convenience function to Codegen.py. r=peterv. 2014-04-04 17:03:11 -05:00
Eric Faust
edf5e61761 Bug 890686 - Implement JS_GlobalObjectTraceHook, and install it appropriately. (r=billm) 2014-04-04 16:58:08 -07:00
Boris Zbarsky
1da745b30f Bug 985536. Go back to allowing optional any with no default value in WebIDL, but treat it as having a default value of undefined. r=khuey 2014-04-03 23:32:11 -04:00
Olli Pettay
c30f51eb9e Bug 991074 - Fix for "Assertion failure: JS_IsExceptionPending(cx), at ./EventListenerBinding.cpp:24". r=bz 2014-04-02 13:25:00 +02: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
abcc0ccd99 Bug 989214 Rename nsPaintRequest to mozilla::dom::PaintRequest r=smaug
--HG--
rename : dom/events/nsPaintRequest.cpp => dom/events/PaintRequest.cpp
rename : dom/events/nsPaintRequest.h => dom/events/PaintRequest.h
2014-04-03 13:18:37 +09:00
Mike Hommey
cb1a0d7337 Bug 989522 - Remove LIBXUL_LIBRARY from the moz.build sandbox. r=mshal 2014-04-02 11:52:04 +09:00
Jason Orendorff
def2eb96a3 Bug 984883 - Make Codegen.py easier to read. r=bz. 2014-04-01 11:11:44 -05: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
Boris Zbarsky
2fe70bbcc4 Bug 958540 part 3. Switch the assignment operator on WebIDL unions to use SetAs*, not RawSetAs*, so you can use it to change the type of a union. r=dzbarsky 2014-04-01 01:58:27 -04:00
Boris Zbarsky
e6a9ef1012 Bug 958540 part 2. Rename the existing SetAs* methods on unions to RawSetAs* and add new SetAs* methods that ensure the right type for the union. r=dzbarsky 2014-04-01 01:58:27 -04:00
Boris Zbarsky
9701c614d0 Bug 958540 part 1. Factor out the uninit behavior of union structs into a separate method. r=dzbarsky 2014-04-01 01:58:27 -04:00
Peter Van der Beken
4ceac82e81 Bug 988363 - Outerize when wrapping nsGlobalWindow. r=bz.
--HG--
extra : rebase_source : 68b2816295a8f37fa544d8c79317794e945f2f7e
2014-02-15 22:10:25 +01:00
Boris Zbarsky
6b002b786e Bug 987112. Remove the redundant and somewhat annoying parentObject argument to dictionary ToObject() methods. r=bholley 2014-03-29 01:45:10 -04:00
Ed Morley
89dbe7f84e Backed out changeset 8059895497c1 (bug 988363) 2014-03-28 17:14:53 +00:00
Peter Van der Beken
753879f62c Bug 988363 - Outerize when wrapping nsGlobalWindow. r=bz. 2014-02-15 22:10:25 +01:00
Neil Rashbrook
cf9b85f5a7 Bug 514280 Consistently declare and define IID accessors r=bsmedberg 2014-03-28 08:45:02 +00:00
Ehsan Akhgari
b344638c9b Bug 983920 - Port window.sidebar and window.external to WebIDL; r=bzbarsky 2014-03-28 00:03:03 -04:00
John Shih
697caff053 Bug 960426 - Part 2: Modifications for IDL change. r=blassey 2014-03-05 11:54:55 +08:00
Nathan Froyd
9d5430fc7b Bug 987457 - rename ProtoAndIfaceArray to ProtoAndIfaceCache; r=bz 2014-03-22 13:04:09 -04:00
Nathan Froyd
a9b5bcd756 Bug 948445 - use different caching schemes for ProtoAndIfaceArray depending on the global kind; r=bz 2013-12-10 16:04:55 -05:00
Bobby Holley
2ca3777187 Bug 958326 - Remove same-compartment security wrapper machinery. r=mrbkap 2014-03-26 10:59:20 -03:00
Boris Zbarsky
dfbb146c5c Bug 987110. Disallow dictionary members that would shadow Object.prototype properties. r=bholley 2014-03-25 22:48:46 -04:00
Ms2ger
d7c5e3051b Bug 860731 - Part c: Move LockedFile to WebIDL; r=janv 2014-03-24 16:10:27 +01:00
Anvas
40e7bcc3c6 Bug 946897 - Report a more helpful error message when there is a name collision between an IDLExternalInterface and some other named IDL object. r=khuey 2014-03-22 00:25:40 -04:00
Jeff Walden
85e409d130 Bug 985687 - Remove vestigial tinyid/shortid references, as well as the field in JSPropertySpec. Followup to bug 975069. r=luke
--HG--
extra : rebase_source : 9e4bd270925efb155dacb91470b617f169526824
2014-03-20 23:24:21 -07:00
Boris Zbarsky
25b6f9a6ac Bug 983300 part 4. Convert exceptions in static methods returning promises into rejected promises. r=khuey,efaust 2014-03-21 12:18:24 -04:00
Boris Zbarsky
0421d9d17b Bug 983300 part 3. Convert exceptions in specialized methods returning promises into rejected promises. r=khuey, efaust 2014-03-21 12:18:24 -04:00
Boris Zbarsky
a4309c8b4e Bug 983300 part 2. Introduce a GenericPromiseReturningBindingMethod for methods that return Promise return value. r=khuey,bholley
This method effectively catches exceptions from GenericBindingMethod and converts them into rejected promises.  This handles calls to Promise-returning APIs from everything except Ion fast paths.
2014-03-21 12:18:24 -04:00
Boris Zbarsky
f40021934e Bug 983300 part 1. Disallow Promise as a return type for legacy callers and enforce all overloads for a method either returning promises or not returning promises. r=khuey 2014-03-21 12:18:24 -04:00
Boris Zbarsky
7627aed509 Bug 983261. Improve example codegen for non-leaf and non-root interfaces. r=khuey 2014-03-20 23:19:43 -04:00
Boris Zbarsky
20d2acf564 Bug 976305. Use the callee, not the irrelevant this value, to figure out the GlobalObject for a static WebIDL method. r=bholley 2014-03-20 23:19:43 -04: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
Jeff Walden
6bb4464a03 Back out bug 985687, likely cause of js1_8_5/extensions/recursion.js cantankering. r=CLOSED TREE 2014-03-20 16:39:30 -07:00
Jeff Walden
b44fa4bf74 Bug 985687 - Remove vestigial tinyid/shortid references, as well as the field in JSPropertySpec. Followup to bug 975069. r=luke
--HG--
extra : rebase_source : 4a9d1d783e658648c4ff210760b38f8353631458
2014-03-11 12:03:56 -07: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
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
Birunthan Mohanathas
9a136a0702 Bug 984112 - Part 2: Use JS::CallArgs functions instead of JS_CALLEE in Codegen.py. r=bz 2014-03-19 13:05:04 -04:00
Birunthan Mohanathas
e5a1edbddc Bug 984112 - Part 1: Use JS::CallArgs instead of JS_{ARGV,SET_RVAL,...}, argc in dom/. r=bz 2014-03-19 13:05:04 -04:00
Gregory Szorc
dceae7622f Bug 983185 - Ensure adding a WebIDL file incurs code generation. r=glandium 2014-03-17 12:41:42 -07:00
Bobby Holley
fbb9b62de8 Bug 825392 - Remove SOWs. r=bz 2014-03-19 13:35:45 -03:00
Bobby Holley
82090508be Bug 825392 - Generate anonymous content reflectors in the XBL scope. r=bz 2014-03-19 13:35:45 -03:00
Ehsan Akhgari
2566204ca3 Bug 866528 - Make nsIDOMActivityOptions a dictionary; r=bzbarsky 2014-03-18 00:38:36 -04: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
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
Ehsan Akhgari
6c58674421 Backed out changeset c0e333b0f7dc (bug 866528) on the suspicion that it has broken gaia unit tests again 2014-03-18 21:12:03 -04:00
Ehsan Akhgari
a1a1f54752 Bug 866528 - Make nsIDOMActivityOptions a dictionary; r=bzbarsky 2014-03-18 00:38:36 -04:00
Rik Cabanier
b97e98037d Bug 830734 - Implement Path primitives. r=roc 2014-03-18 08:03:06 -04:00
Phil Ringnalda
8b868c6da7 Back out a2e5b6d2f31a (bug 866528) for gaia-unit bustage 2014-03-17 22:53:54 -07:00
Ehsan Akhgari
a373411a76 Bug 866528 - Make nsIDOMActivityOptions a dictionary; r=bzbarsky 2014-03-18 00:38:36 -04:00
Jonathan Watt
aef65fd574 Bug 984278, part 1 - Rename SVGMatrix::Matrix and SVGTransform::Matrix to SVGMatrix::GetMatrix and SVGTransform::GetMatrix, respectively. r=dholbert 2014-03-18 10:41:35 +08:00
Peter Van der Beken
f0dc19c509 Backout 8aca83520a91 (bug 983619) to fix orange/red on a CLOSED TREE. 2014-03-17 20:27:53 +01:00
Peter Van der Beken
9950668d75 Bug 983620 - Remove the unused aScope argument from WrapGlobalObject. r=bz. 2014-02-05 22:09:18 +01:00
Peter Van der Beken
0d26c9750b Bug 983619 - Add Window.getInterface/QueryInterface to WebIDL. r=bz. 2014-02-15 22:12:33 +01:00
Jon Coppeard
bafb7ba32f Bug 959787 - Handlify some friend and debug APIs r=sfink r=bholley 2014-03-17 16:17:58 +00:00
Jan Varga
46850236f7 Bug 980275 - Merge DOMFileRequest and FileRequest. r=bent 2014-03-16 17:53:44 +01:00
Boris Zbarsky
f64c8624be Bug 983228. Add a sequence tracer for sequences of unions. r=baku 2014-03-14 14:51:22 -04:00
Boris Zbarsky
54faddbaf7 Bug 983264. Include callback headers in UnionTypes.h when a callback is used in a union. r=mccr8 2014-03-14 14:51:06 -04:00
Boris Zbarsky
0b309b77ef Bug 983029. Make sure to observe stack discipline for Rooted when initializing a WebIDL union containing the 'object' type. r=khuey 2014-03-14 14:50:39 -04:00
Rick Eyre
0f67bb4ee3 Bug 978163 - Part 1: Remove VTTRegionList and VTTRegion TextTrack extensions. r=rillian, r=bz
- These two parts of the spec were recently removed as they
were seen as unecessary or bad design, in the case of the
VTTRegion TextTrack extensions. See the spec bug at:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24380
2014-03-10 11:33:06 -04:00
Benoit Jacob
0bacffad36 Bug 977757 - 3/3 - Expose CSS_PROPERTY_ALWAYS_ENABLED_IN_CHROME_OR_CERTIFIED_APP properties in JS bindings as needed - r=bz 2014-03-07 12:14:26 -05:00
Peter Chang
a96dd5a386 backout of rev 45253e02bde3, fd02f1217e4c, 75217485ce5a b=981804 2014-03-12 15:16:20 +08:00
Boris Zbarsky
7a8df8647d Bug 981036 followup. Actually add the comment that was asked for. DONTBUILD 2014-03-10 21:38:04 -04:00
Jeff Gilbert
7e236f76f8 Bug 943190 - Implement WEBGL_compressed_texture_et1. - r=kamidphish 2014-03-10 15:42:58 -07:00
Boris Zbarsky
b5d04164e0 Bug 981036. Disallow calling DOM constructors as functions in non-release builds. r=bholley 2014-03-10 17:38:31 -04:00
Richard Barnes
6de821884f Bug 978435 - Add ArgumentToJSVal overload for typed arrays. r=bz 2014-03-10 08:55:46 -04:00
Jeff Gilbert
77c841f7fd Bug 843666 - Implement color-buffer-(half-)float for WebGL. - r=kamidphish 2014-03-07 13:26:17 -08:00
Ryan VanderMeulen
e3a295895e Merge inbound to m-c. 2014-03-07 15:38:19 -05:00
Benoit Jacob
c4922650de Bug 977757 - 3/3 - Expose CSS_PROPERTY_ALWAYS_ENABLED_IN_CHROME_OR_CERTIFIED_APP properties in JS bindings as needed - r=bz 2014-03-07 12:14:26 -05:00
Gregory Szorc
16abb7de9c Bug 979665 - Properly detect WebIDL type changes; r=froydnj
This patch fixes a bug in WebIDL code generation that could be triggered
if an input file changed locations but the original file remained on
disk. When computing the set of source .webidl files to perform code
generation on, we failed to prune files that were no longer part of the
active set of input files. References to files in old locations would
get pulled in to the regeneration set, leading to a cryptic KeyError
during code generation.

--HG--
extra : rebase_source : 23f1b973133960cfa954d44b20175fc7a369169a
2014-03-05 23:21:02 -08:00
Bobby Holley
0b4592afe8 Bug 969441 - Check for recursion outside of the hairy transplant callsites. r=billm 2014-03-06 15:26:17 -08:00
Kyle Huey
8037c60c94 Bug 978602: Caching the global's nsISupports* off the main thread. r=bz 2014-03-06 13:05:11 -08:00
Vaibhav Agarwal
64e20261db Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher 2014-03-06 13:42:43 -05:00
Ryan VanderMeulen
a05a9b8736 Backed out changesets d65a803d2b9a, 9456495d6121, and 73c710ddf3d8 (bug 977757) for Gaia UI test failures.
CLOSED TREE
2014-03-06 13:10:20 -05:00
Benoit Jacob
7cf243add5 Bug 977757 - 3/3 - Expose CSS_PROPERTY_ALWAYS_ENABLED_IN_CHROME_OR_CERTIFIED_APP properties in JS bindings as needed - r=bz 2014-03-06 11:38:21 -05:00
Boris Zbarsky
b5f192bb49 Bug 874788. Allow WebIDL HTMLAllCollection to emulate undefined. r=peterv 2014-03-05 22:48:04 -05:00
Boris Zbarsky
720591b1f5 Bug 874787. Add support for legacycaller on proxy bindings. r=efaust,peterv 2014-03-05 22:48:03 -05:00
Byron Campen [:bwc]
b8e3447334 Bug 958221 - Part 3: New webidl for WebrtcGlobalInformation, c++ impl, and removing logging-related stuff from PeerConnectionImpl. r=jib 2014-02-20 09:35:35 -08:00
Boris Zbarsky
865b9215f3 Bug 978618. Fix error reporting for unintended XPConnect exceptions thrown by JS-implemented webidl to actually work correctly. r=bholley 2014-03-05 08:32:27 -05:00
Masayuki Nakano
08a11f7934 Bug 975688 part.28 Rename nsDOMEvent to mozilla::dom::Event r=smaug
--HG--
rename : dom/events/nsDOMEvent.cpp => dom/events/Event.cpp
rename : dom/events/nsDOMEvent.h => dom/events/Event.h
2014-03-05 09:37:43 +09:00
Bobby Holley
dc243c34da Bug 916644 - Disable invoking WebIDL constructors without |new| unless you have the system principal. r=bz 2014-03-04 10:05:08 -08:00
Bobby Holley
46624f507a Bug 976938 - Add a way to identify the Xray parent (if any) of a given function. r=bz 2014-03-04 10:05:07 -08:00
Jeff Walden
4fb5f39899 Bug 972132 - Convert JS::EmptyValueArray to JS::HandleValueArray::empty(). r=terrence
--HG--
extra : rebase_source : 58b87df07373a7811136682b128aea67f04446cd
2014-02-12 23:38:36 -08:00
Bobby Holley
c8041c17a7 Bug 975419 - Trace the Incumbent Global from a CallbackObject (but check it too, just to be safe). r=bz,mccr8 2014-03-03 08:53:42 -08:00
Ryan VanderMeulen
88addeaaa1 Backed out changeset 9024f38e3809 (bug 843666) for bustage. 2014-03-03 11:21:10 -05:00
Jeff Gilbert
933c8042ae Bug 843666 - Implement color-buffer-(half-)float for WebGL. r=kamidphish 2014-03-03 10:36:52 -05:00
Masayuki Nakano
b05e88ca4d Bug 975688 part.27 Rename nsDOMTimeEvent to mozilla::dom::TimeEvent r=smaug
--HG--
rename : dom/smil/nsDOMTimeEvent.cpp => dom/smil/TimeEvent.cpp
rename : dom/smil/nsDOMTimeEvent.h => dom/smil/TimeEvent.h
2014-02-28 23:58:43 +09:00
Masayuki Nakano
e4686896dc Bug 975688 part.26 Rename nsDOMUIEvent to mozilla::dom::UIEvent r=smaug
--HG--
rename : dom/events/nsDOMUIEvent.cpp => dom/events/UIEvent.cpp
rename : dom/events/nsDOMUIEvent.h => dom/events/UIEvent.h
2014-02-28 23:58:43 +09:00
Masayuki Nakano
3e1e0f7de6 Bug 975688 part.25 Rename nsDOMScrollAreaEvent to mozilla::dom::ScrollAreaEvent r=smaug
--HG--
rename : dom/events/nsDOMScrollAreaEvent.cpp => dom/events/ScrollAreaEvent.cpp
rename : dom/events/nsDOMScrollAreaEvent.h => dom/events/ScrollAreaEvent.h
2014-02-28 23:58:43 +09:00
Masayuki Nakano
beb0ea2022 Bug 975688 part.24 Rename nsDOMNotifyPaintEvent to mozilla::dom::NotifyPaintEvent r=smaug
--HG--
rename : dom/events/nsDOMNotifyPaintEvent.cpp => dom/events/NotifyPaintEvent.cpp
rename : dom/events/nsDOMNotifyPaintEvent.h => dom/events/NotifyPaintEvent.h
2014-02-28 23:58:43 +09:00
Masayuki Nakano
1546c00e9d Bug 975688 part.23 Rename nsDOMXULCommandEvent to mozilla::dom::XULCommandEvent r=smaug
--HG--
rename : dom/events/nsDOMXULCommandEvent.cpp => dom/events/XULCommandEvent.cpp
rename : dom/events/nsDOMXULCommandEvent.h => dom/events/XULCommandEvent.h
2014-02-28 23:58:42 +09:00
Masayuki Nakano
e98eef89a4 Bug 975688 part.22 Rename nsDOMTrasitionEvent to mozilla::dom::TrasitionEvent r=smaug
--HG--
rename : dom/events/nsDOMTransitionEvent.cpp => dom/events/TransitionEvent.cpp
rename : dom/events/nsDOMTransitionEvent.h => dom/events/TransitionEvent.h
2014-02-28 23:58:42 +09:00
Masayuki Nakano
a735301202 Bug 975688 part.21 Rename nsDOMNotifyAudioAvailableEvent to mozilla::dom::NotifyAudioAvailableEvent r=smaug
--HG--
rename : dom/events/nsDOMNotifyAudioAvailableEvent.cpp => dom/events/NotifyAudioAvailableEvent.cpp
rename : dom/events/nsDOMNotifyAudioAvailableEvent.h => dom/events/NotifyAudioAvailableEvent.h
2014-02-28 23:58:42 +09:00
Masayuki Nakano
74a940f4ad Bug 975688 part.20 Rename nsDOMTouchEvent and nsDOMTouchList to mozilla::dom::TouchEvent and TouchList r=smaug
--HG--
rename : dom/events/nsDOMTouchEvent.cpp => dom/events/TouchEvent.cpp
rename : dom/events/nsDOMTouchEvent.h => dom/events/TouchEvent.h
2014-02-28 23:58:42 +09:00
Masayuki Nakano
91259ee9f2 Bug 975688 part.19 Remove unnecessary items in Bindings.conf r=smaug 2014-02-28 23:58:41 +09:00
Boris Zbarsky
6519b1495e Bug 952890 part 2. Remove the IsArrayLike method, since it no longer matches any spec concept. r=peterv 2014-02-14 10:46:09 -05:00
Boris Zbarsky
86168712ad Bug 952890 part 1. Make WebIDL sequence JS to C++ conversions use for-of iteration, not length/index gets. r=peterv 2014-02-14 10:46:09 -05:00
Andrea Marchesini
f90b5edc71 Bug 965860 - patch 7 - Console API in workers, r=khuey 2014-02-27 23:39:30 +00:00
Andrea Marchesini
286e0c9290 Bug 965860 - patch 2 - ConsoleAPI written in C++, r=bz 2014-02-27 23:39:00 +00:00
Benjamin Bouvier
460c4df9b5 Bug 939843: Required changes in the rest of the tree; r=froydnj
--HG--
extra : rebase_source : 5757eb2b73755c8da08112b91b025a8fa860d7e8
2014-02-27 16:23:16 +01:00
Peter Van der Beken
04632f8c63 Bug 803106 part 2. Convert DOMStringList to WebIDL bindings - add WebIDL API and switch. r=bzbarsky 2013-07-09 13:54:21 -04:00
Boris Zbarsky
b2f3c9e80a Bug 974284. Do a better job of commoning up identical cases in overload resolution for WebIDL methods. r=khuey 2014-02-27 07:54:33 -05:00
Masayuki Nakano
22b9dd0bd8 Bug 975688 part.18 Rename nsDOMMutationEvent to mozilla::dom::MutationEvent r=smaug
--HG--
rename : dom/events/nsDOMMutationEvent.cpp => dom/events/MutationEvent.cpp
rename : dom/events/nsDOMMutationEvent.h => dom/events/MutationEvent.h
2014-02-27 19:51:16 +09:00
Masayuki Nakano
fbdfd0d71c Bug 975688 part.15 Rename nsDOMMouseEvent to mozilla::dom::MouseEvent r=smaug
--HG--
rename : dom/events/nsDOMMouseEvent.cpp => dom/events/MouseEvent.cpp
rename : dom/events/nsDOMMouseEvent.h => dom/events/MouseEvent.h
2014-02-27 19:51:15 +09:00
Masayuki Nakano
08b2065649 Bug 975688 part.14 Rename nsDOMSimpleGestureEvent to mozilla::dom::SimpleGestureEvent r=smaug
--HG--
rename : dom/events/nsDOMSimpleGestureEvent.cpp => dom/events/SimpleGestureEvent.cpp
rename : dom/events/nsDOMSimpleGestureEvent.h => dom/events/SimpleGestureEvent.h
2014-02-27 19:51:14 +09:00
Masayuki Nakano
37507c1447 Bug 975688 part.13 Rename nsDOMMouseScrollEvent to mozilla::dom::MouseScrollEvent r=smaug
--HG--
rename : dom/events/nsDOMMouseScrollEvent.cpp => dom/events/MouseScrollEvent.cpp
rename : dom/events/nsDOMMouseScrollEvent.h => dom/events/MouseScrollEvent.h
2014-02-27 19:51:14 +09:00
Masayuki Nakano
575dddd2a7 Bug 975688 part.12 Rename nsDOMMessageEvent to mozilla::dom::MessageEvent r=smaug
--HG--
rename : dom/events/nsDOMMessageEvent.cpp => dom/events/MessageEvent.cpp
rename : dom/events/nsDOMMessageEvent.h => dom/events/MessageEvent.h
2014-02-27 19:51:14 +09:00
Masayuki Nakano
995c887975 Bug 975688 part.11 Rename nsDOMKeyboardEvent to mozilla::dom::KeyboardEvent r=smaug
--HG--
rename : dom/events/nsDOMKeyboardEvent.cpp => dom/events/KeyboardEvent.cpp
rename : dom/events/nsDOMKeyboardEvent.h => dom/events/KeyboardEvent.h
2014-02-27 19:51:13 +09:00
Masayuki Nakano
e78d71ae2e Bug 975688 part.10 Rename nsDOMFocusEvent to mozilla::dom::FocusEvent r=smaug
--HG--
rename : dom/events/nsDOMFocusEvent.cpp => dom/events/FocusEvent.cpp
rename : dom/events/nsDOMFocusEvent.h => dom/events/FocusEvent.h
2014-02-27 19:51:13 +09:00