Commit Graph

11528 Commits

Author SHA1 Message Date
Ryan VanderMeulen
79b73a6a7a Merge m-c to fx-team. 2014-04-16 22:53:31 -04:00
Gabor Krizsanits
2434cfbdd2 Bug 996069 - Part1: nsContentUtils::IsSystemOrExpandedPrincipal. r=bz 2014-04-16 22:29:12 +02:00
Florian Quèze
9b8efd4d75 Bug 995321 - nsIDocumentEncoder.encodeToString should offer a way to limit the size of the output, r=smaug. 2014-04-17 00:01:55 +02: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
Kyle Huey
d001ae7759 Bug 994971: Don't export nsObserverService.h. r=bsmedberg
--HG--
extra : rebase_source : cd5aa136075086a10cfa03d937743d8a5471fd6c
2014-04-14 12:04:27 -07:00
Robert O'Callahan
458a675e16 Bug 983465. Disable collapsing-text frame construction optimization on a per-document basis. r=bz
--HG--
extra : rebase_source : fc2059ac826e001660fb7233d775f8a046467f6b
2014-04-03 03:48:51 -04:00
Timothy Nikkel
a4056fbd00 Bug 964187. Address review comment. 2014-04-15 00:33:45 -05:00
Timothy Nikkel
1dc0090222 Bug 964187. When the frame for an image is destroyed remove it from the list of visible images. r=mats
This prevents us from holding onto the image but also doesn't create any more chance that it will be discarded if the frame comes back right away (ie a frame reconstruct, or moving it around in the DOM tree).
2014-04-15 00:24:01 -05:00
Bobby Holley
61c191d83c Bug 993423 - Don't hoist <svg:use> content into the XBL scope. r=smaug 2014-04-14 20:38:54 -07:00
Ryan VanderMeulen
40b49517d3 Backed out changeset e2d5b2be4142 (bug 994971) for non-unified bustage.
CLOSED TREE
2014-04-14 18:27:52 -04:00
Kyle Huey
46e8243a6d Bug 994971: Don't export nsObserverService.h. r=bsmedberg 2014-04-14 12:04:27 -07: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
Jon Coppeard
173bd25321 Bug 993413 - Remove use of JS_Add/Remove*Root in favour of JS::PersistentRooted where possible r=terrence r=bz r=bholley 2014-04-16 09:47:53 +01:00
Geoff Brown
5ee9bb4184 Bug 982875 - Accept up to 2 assertions in Android test_bug682592.html; r=snorp 2014-04-14 10:39:04 -06: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
Andrea Marchesini
4266c27429 Bug 987064 - Remove AudioChannelType. r=roc, r=mchen, r=bent 2014-04-10 18:39:20 +01:00
Olli Pettay
9afb24a0a4 Bug 688580 - Run deferred scripts before DOMContentLoaded; r=hsivonen 2014-04-12 11:02:21 +02: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
Ms2ger
5be13fe24a Bug 738196 - Part a: introduce a common superclass for nsDOMStyleSheetList and ShadowRootStyleSheetList; r=bz 2014-04-12 10:15:59 +02:00
Timothy Nikkel
01643f5820 Bug 995552. Declartion of CancelImageRequests(nsresult, bool, int16_t) in nsImageLoadingContent.h is dead code (no implementation or callers). r=jdm
Bug 521497 removed the implementation and callers but forgot this.
2014-04-12 01:37:21 -05: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
Bobby Holley
f28fd8e9f9 Bug 993438 - Fix up the Frame Message Manager. r=smaug 2014-04-11 08:47:43 -07:00
Bobby Holley
c8667e5859 Bug 993438 - Infer the eventual compartment for OMT-compiled script when the script is retrieved. r=billm
Currently, the script gets put in a compartment specified when the compilation
is initiated. Later on, when we retrieve that script and try to execute it, we
won't necessarily be in the same compartment. Currently, SM just handles this
and clones the script, but it's simpler and more efficient to just create the
script in the compartment of whoever calls FinishOffThreadScript.

Note that the existing code actually has a hazard in which the call to
GetBuiltinPrototypePure returns null - it just wasn't exercised in automation
(and was triggered by onNewScript-off-main-thread.js with this patch).
2014-04-11 08:47:43 -07:00
Andrew McCreight
4c3dfbc211 Bug 990293 - Pass false to WrapNative in nsIDocument::WrapObject. r=bz 2014-04-10 14:46:20 -04:00
Ryan VanderMeulen
72ba05589a Backed out changeset 02876730f55f (bug 688580) for Android 4.0 debug mochitest-7 perma-fail.
CLOSED TREE
2014-04-10 14:38:04 -04:00
Ed Morley
2de6a240e8 Backed out changeset da45b16f1541 (bug 738196) 2014-04-10 15:48:01 +01:00
Ed Morley
18e2a8f432 Backed out changeset 02d0214c5e37 (bug 738196) 2014-04-10 15:47:57 +01:00
Ed Morley
5cd2c60bd9 Backed out changeset d4413153af0e (bug 738196) 2014-04-10 15:47:54 +01:00
Andrew McCreight
368782d1e6 Bug 993194, part 5 - Change nsNodeInfoManager::mPrincipal into an nsCOMPtr. r=smaug 2014-04-10 07:05:20 -07:00
Andrew McCreight
e8c627b9d1 Bug 993194, part 4 - Make nsNodeInfoManager::mBindingManager into an nsRefPtr. r=smaug 2014-04-10 07:05:20 -07:00
Andrew McCreight
8160114bbd Bug 993194, part 3 - Remove trailing whitespace from nsNodeInfoManager. r=smaug 2014-04-10 07:05:20 -07:00
Andrew McCreight
a066c1b7bd Bug 993194, part 2 - Make nsINodeInfo::mOwnerManager into an nsRefPtr. r=smaug 2014-04-10 07:05:20 -07:00
Andrew McCreight
25d18fae71 Bug 993194, part 1 - Add a comment to nsDocument about mNodeInfoManager. r=smaug 2014-04-10 07:05:20 -07:00
Ms2ger
5da42e766a Bug 738196 - Part c: Remove the aScope argument from StyleSheetList::WrapObject to fix bustage on a CLOSED TREE. 2014-04-10 13:48:56 +02:00
Olli Pettay
452514e625 Bug 688580, run deferred scripts before DOMContentLoaded, r=hsivonen
--HG--
extra : rebase_source : e7e56d2d83c7b1bf29a3a5ea4efd7418cfbee1e0
2014-04-10 01:49:17 +03:00
Ms2ger
165fd8f857 Bug 738196 - Part b: move StyleSheetList to WebIDL; r=bz 2014-04-10 13:24:26 +02:00
Ms2ger
c060291f73 Bug 738196 - Part a: introduce a common superclass for nsDOMStyleSheetList and ShadowRootStyleSheetList; r=bz 2014-04-10 13:24:25 +02:00
Carsten "Tomcat" Book
ae409227bd Backed out changeset ac06eacc2206 (bug 987064) for B2G ICS Emulator Debug Bustage on a CLOSED TREE 2014-04-10 13:18:18 +02:00
Andrea Marchesini
190cf6a2a2 Bug 987064 - Remove AudioChannelType, r=roc, r=mchen, r=bent 2014-04-10 11:49:23 +01:00
Olli Pettay
bf1ac710f5 Bug 993508 - Use NullString when initializing a string to null. r=continuation 2014-04-08 10:06:00 +02: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
Boris Zbarsky
a0bb95a823 Bug 993889 part 1. Remove "scope" argument from nsContentUtils::WrapNative. r=bholley 2014-04-10 00:58:41 -04:00
Ben Kelly
d887fbb7ae Bug 993548: Free load buffer before starting script compile. r=khuey 2014-04-08 19:40:26 -04:00
Bobby Holley
afef348878 Bug 913138 - Move imgLoader singleton management out of nsContentUtils. r=bsmedberg 2014-04-08 15:51:33 -07:00
Boris Zbarsky
79dab91ff6 Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
846fc2fd78 Bug 991742 part 7. Remove the "aScope" argument of WrapNode() methods. r=bholley
This patch was generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapNode(JSContext/ {; N; s/\(WrapNode(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and an additional manual change to nsINode.cpp.
2014-04-08 18:27:17 -04:00
Boris Zbarsky
d4bd64ee2c Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
This patch was mostly generated with this command:

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

plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Boris Zbarsky
d7fa8f56be Bug 991742 part 1. Enter the compartment of the current wrapper before we try to reparent objects. r=bholley
This lets us preserve some invariants about our current compartment matching the scope we want to wrap into.
2014-04-08 18:27:15 -04:00