Commit Graph

117 Commits

Author SHA1 Message Date
Boris Zbarsky
f22de9caae Bug 1007790. When compiling the <body>'s onerror handler, do give it all five args. r=smaug 2014-05-08 22:20:54 -04:00
Benoit Jacob
2e1ef0025a Bug 1004098 - Make nsTArray use size_t in its interface (32bitness is fine as an internal detail) - r=froydnj, sr=bsmedberg 2014-05-08 21:03:35 -04:00
Birunthan Mohanathas
1b1e0b258c Bug 1001966 - Part 2: Change uses of numbered NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE macro to the variadic variant. r=smaug 2014-04-29 04:57:00 -04:00
Jon Coppeard
bed7fc43d9 Bug 959787 - Handlify remaining JS APIs r=terrence r=bz r=bholley 2014-04-30 10:10:33 +01:00
Nicholas Nethercote
ff47af9d66 Bug 952650 (part 16) - Remove JSVAL_TO_PRIVATE. r=till.
--HG--
extra : rebase_source : 603bb66a90484b488bedf1dd4da6935324c148c6
2014-04-28 16:01:31 -07:00
William Chen
c6dab9a319 Bug 996151 - Clear out XBL binding and insertion parent of content even if nsBindingManager is destroyed. r=mrbkap 2014-04-29 11:37:02 -07:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Birunthan Mohanathas
4de1915f30 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
b4e94a9f46 Bug 547140, part 4 - Remove flags argument from resolve hooks. r=Waldo. 2014-04-25 16:11:02 -05:00
Jason Orendorff
d50e6f5a9b Bug 547140, part 2 - Remove flags argument from JS_GetPropertyDescriptor and friends. r=Waldo. 2014-04-25 16:11:01 -05:00
William Chen
e4396f90a8 Bug 992571 - Don't rebuild anything in FlushSkinSheets if there's no doc. r=mrbkap 2014-04-23 14:20:09 -07:00
Andrew McCreight
3c2c09c71b Bug 998779 - Remove unused #includes of nsHashtable.h. r=froydnj 2014-04-21 09:41:58 -07:00
Adrian Lungu
ad51575296 Bug 822480 - Add in the Resource Timing API. r=honzab, r=jst 2013-10-15 18:35:44 -07:00
Bobby Holley
741fb8fb3e Bug 993772 - Remove nsXBLDocGlobalObject. r=mrbkap 2014-04-20 11:48:14 -07:00
Bobby Holley
2029789a7d Bug 993772 - Switch to the singleton compilation scope for XBL compilation. r=mrbkap 2014-04-20 11:48:14 -07:00
Terrence Cole
c97877c686 Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Ehsan Akhgari
1a36b5e08f Yet another typo fix for bug 996158, DONTBUILD 2014-04-15 15:04:05 -04:00
Ehsan Akhgari
240b67a3a9 Typo fix for bug 996158, DONTBUILD 2014-04-15 15:02:57 -04:00
Ehsan Akhgari
2c625ebdbf Bug 996158 - Rework test_bug821850.xhtml to make it not depend on a DOM XPIDL interface; r=bholley 2014-04-15 09:31:21 -04:00
Bobby Holley
4d580a20f3 Bug 996077 - Null-check |holder|, and warn if SetWeakMapEntry fails. r=bz 2014-04-14 14:17:53 -07:00
Carsten "Tomcat" Book
f6dfb5e310 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
Ryan VanderMeulen
be657e134d Merge m-c to inbound on a CLOSED TREE. 2014-04-13 22:52:50 -04:00
Michael Wu
7e883500e0 Bug 937713 - Replace gWindowToRedraw with a simpler mechanism, r=roc 2014-04-10 22:21:36 -04:00
Bobby Holley
91739ca9b3 Bug 990290 - Get rid of dynamic XBL JSClasses. r=bz 2014-04-11 07:59:47 -07:00
Bobby Holley
1ebf223fc7 Bug 990290 - Store class objects in a weak map off the XBL global. r=bz
Note that we simultaneously rip out all of the crazy lifetime management for the
dynamic JSClasses here (it would be nice to do that in a separate patch, but it's
all kind of tied up together). With this patch, we simply have one dynamic JSClass
per class object, which is deleted in the finalizer. In the next patch, we remove
dynamic JSClasses entirely.
2014-04-11 07:59:47 -07:00
Bobby Holley
346359be02 Bug 990290 - Stop using the full-blown class object setup for precompilation. r=bz 2014-04-11 07:59:47 -07:00
Bobby Holley
5477fe3737 Bug 990290 - Remove silly LRU cache of nsXBLJSClass instances. r=bz 2014-04-11 07:59:47 -07:00
Bobby Holley
318a3304dd Bug 990290 - Remove unnecessary conditional and unindent. r=bz 2014-04-11 07:59:46 -07:00
Bobby Holley
506d2f07ec Bug 990290 - Stop using ye olde JS_InitClass for XBL class objects. r=bz 2014-04-11 07:59:46 -07:00
Andrew McCreight
0cfed09246 Bug 992578, part 4 - Convert nsXBLPrototypeBinding::mResources to an nsAutoPtr. r=mrbkap 2014-04-10 07:05:21 -07:00
Andrew McCreight
50550e4722 Bug 992578, part 3 - Make nsXBLResourceLoader::mLoader an nsRefPtr. r=mrbkap 2014-04-10 07:05:21 -07:00
Andrew McCreight
5fec7b8189 Bug 992578, part 2 - Make nsXBLResourceLoader::mLoader private. r=mrbkap 2014-04-10 07:05:21 -07:00
Andrew McCreight
de2654916f Bug 992578, part 1 - Delete trailing whitespace in nsXBLPrototypeResources. r=mrbkap 2014-04-10 07:05:21 -07:00
Andrew McCreight
52cd12a485 Bug 990715, part 6 - Convert nsBindingManager::mWrapperTable to nsInterfaceHashtable. r=bholley 2014-04-10 07:05:19 -07:00
Andrew McCreight
3e08c73451 Bug 990715, part 5 - Convert mWrapperTable to an nsAutoPtr in nsBindingManager. r=bholley
Using a raw PLDHashtable lets you represent an uninitialized hashtable by nulling out ops,
but for something higher level, you need to use an nsAutoPtr to the hash table.
2014-04-10 07:05:19 -07:00
Andrew McCreight
9a07f8553b Bug 990715, part 4 - Inline SetOrRemoveObject in nsBindingManager. r=bholley 2014-04-10 07:05:19 -07:00
Andrew McCreight
935d75a451 Bug 990715, part 3 - Inline RemoveObjectEntry in nsBindingManager. r=bholley 2014-04-10 07:05:19 -07:00
Andrew McCreight
9e214bdb4c Bug 990715, part 2 - Inline AddObjectEntry in nsBindingManager. r=bholley
There's a lot of generic hashtable methods in nsBindingManager for some reason.

Inlining them will make later transformations easier.
2014-04-10 07:05:19 -07:00
Andrew McCreight
e84e98badf Bug 990715, part 1 - Remove trailing whitespace from nsBindingManager. r=bholley 2014-04-10 07:05:18 -07:00
Birunthan Mohanathas
72d23c30e9 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
Boris Zbarsky
3738611b99 Bug 993889 part 1. Remove "scope" argument from nsContentUtils::WrapNative. r=bholley 2014-04-10 00:58:41 -04:00
Geoff Brown
e5a312f133 Bug 962676 - Reset expected assertion counts for Android crashtests; r=blassey 2014-04-09 08:38:44 -06:00
Boris Zbarsky
35fca5eeeb 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
56f44fdf10 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
Bobby Holley
5c2ac5c86b Bug 986730 - Put all anonymous content into the XBL scope. r=smaug 2014-04-06 12:32:39 -07:00
Bobby Holley
586d18305b 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
Eric Faust
75a58dbebc Bug 890686 - Implement JS_GlobalObjectTraceHook, and install it appropriately. (r=billm) 2014-04-04 16:58:08 -07:00
Martin Stransky
1b057831ca Bug 983903 - [Gtk3] Ctrl+A doesn't work in textarea or input elements. r=Neil 2014-04-04 08:34:25 -04:00
Masayuki Nakano
ff8b968574 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
85641a219c Bug 984253 part.4 Rename nsJSEventListener to mozilla::JSEventHandler r=smaug 2014-04-02 11:00:46 +09:00