Robert O'Callahan
1090d49625
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
2a6cd01515
Bug 964187. Address review comment.
2014-04-15 00:33:45 -05:00
Timothy Nikkel
b597baceb9
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
db7038119f
Bug 993423 - Don't hoist <svg:use> content into the XBL scope. r=smaug
2014-04-14 20:38:54 -07:00
Ryan VanderMeulen
1823db3230
Backed out changeset e2d5b2be4142 (bug 994971) for non-unified bustage.
...
CLOSED TREE
2014-04-14 18:27:52 -04:00
Kyle Huey
a50fb4de7c
Bug 994971: Don't export nsObserverService.h. r=bsmedberg
2014-04-14 12:04:27 -07:00
Geoff Brown
b9e4504f24
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
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
Andrea Marchesini
eaa3ff4eed
Bug 987064 - Remove AudioChannelType. r=roc, r=mchen, r=bent
2014-04-10 18:39:20 +01:00
Olli Pettay
f2b59ae546
Bug 688580 - Run deferred scripts before DOMContentLoaded; r=hsivonen
2014-04-12 11:02:21 +02: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
Ms2ger
7b8fc7af7a
Bug 738196 - Part b: move StyleSheetList to WebIDL; r=bz
2014-04-12 10:18:54 +02:00
Ms2ger
530080827f
Bug 738196 - Part a: introduce a common superclass for nsDOMStyleSheetList and ShadowRootStyleSheetList; r=bz
2014-04-12 10:15:59 +02:00
Timothy Nikkel
645640ef6b
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
a13f2f38be
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
8ea8a2f24d
Bug 993438 - Fix up the Frame Message Manager. r=smaug
2014-04-11 08:47:43 -07:00
Bobby Holley
211b631fae
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
384728f248
Bug 990293 - Pass false to WrapNative in nsIDocument::WrapObject. r=bz
2014-04-10 14:46:20 -04:00
Ryan VanderMeulen
1196730583
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
477f042082
Backed out changeset da45b16f1541 (bug 738196)
2014-04-10 15:48:01 +01:00
Ed Morley
5acbc97164
Backed out changeset 02d0214c5e37 (bug 738196)
2014-04-10 15:47:57 +01:00
Ed Morley
cb9cdfa9eb
Backed out changeset d4413153af0e (bug 738196)
2014-04-10 15:47:54 +01:00
Andrew McCreight
b929171881
Bug 993194, part 5 - Change nsNodeInfoManager::mPrincipal into an nsCOMPtr. r=smaug
2014-04-10 07:05:20 -07:00
Andrew McCreight
90e55de1bf
Bug 993194, part 4 - Make nsNodeInfoManager::mBindingManager into an nsRefPtr. r=smaug
2014-04-10 07:05:20 -07:00
Andrew McCreight
116de8ed0d
Bug 993194, part 3 - Remove trailing whitespace from nsNodeInfoManager. r=smaug
2014-04-10 07:05:20 -07:00
Andrew McCreight
05b4119a7d
Bug 993194, part 2 - Make nsINodeInfo::mOwnerManager into an nsRefPtr. r=smaug
2014-04-10 07:05:20 -07:00
Andrew McCreight
46d0fe99e9
Bug 993194, part 1 - Add a comment to nsDocument about mNodeInfoManager. r=smaug
2014-04-10 07:05:20 -07:00
Ms2ger
19ce8e9d08
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
4303f4931a
Bug 688580, run deferred scripts before DOMContentLoaded, r=hsivonen
...
--HG--
extra : rebase_source : e7e56d2d83c7b1bf29a3a5ea4efd7418cfbee1e0
2014-04-10 01:49:17 +03:00
Ms2ger
b36a784062
Bug 738196 - Part b: move StyleSheetList to WebIDL; r=bz
2014-04-10 13:24:26 +02:00
Ms2ger
a659a13bc6
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
d8cac0a0f4
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
e7f2c01a1a
Bug 987064 - Remove AudioChannelType, r=roc, r=mchen, r=bent
2014-04-10 11:49:23 +01:00
Olli Pettay
57c5d829d0
Bug 993508 - Use NullString when initializing a string to null. r=continuation
2014-04-08 10:06:00 +02:00
Boris Zbarsky
adc450e8a7
Bug 993889 part 4. Remove the scope argument of xpc_FastGetCachedWrapper. r=bholley
2014-04-10 00:58:42 -04:00
Boris Zbarsky
3738611b99
Bug 993889 part 1. Remove "scope" argument from nsContentUtils::WrapNative. r=bholley
2014-04-10 00:58:41 -04:00
Ben Kelly
bb66e83a91
Bug 993548: Free load buffer before starting script compile. r=khuey
2014-04-08 19:40:26 -04:00
Bobby Holley
2c9431ceba
Bug 913138 - Move imgLoader singleton management out of nsContentUtils. r=bsmedberg
2014-04-08 15:51:33 -07: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
17b069471a
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
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
Boris Zbarsky
d3234363d3
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
b1b187ea5d
Bug 983619 - Add Window.getInterface/QueryInterface to WebIDL. r=bz.
...
--HG--
extra : rebase_source : 4a4f368ba4f84e6e5104522181eb3043efd7ed38
2014-02-15 22:12:33 +01:00
Felipe Gomes
f8de85308f
Bug 971043 - Implement getTranslationNodes function to retrieve nodes from webpage that contains meaningful text for translation. r=smaug
2014-04-05 00:21:08 -03:00
Carsten "Tomcat" Book
df1e13d999
Merge mozilla-central to mozilla-inbound
2014-04-07 13:56:36 +02:00
Carsten "Tomcat" Book
8c4003f623
merge fx-team to mozilla-central
2014-04-07 13:37:38 +02:00
Tim Taubert
09db36a7d7
Bug 842511 - Specify a character set for directory listings r=gavin
2014-04-06 06:01:49 +02: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
a9af8f39e2
Bug 986730 - Add a dynamic accessor to determine whether a node is in an anonymous subtree. r=smaug
2014-04-06 12:32:38 -07:00
Bobby Holley
12a8fa0938
Bug 986730 - Rename NODE_IS_IN_ANONYMOUS_SUBTREE to NODE_IS_IN_NATIVE_ANONYMOUS_SUBTREE, since that's what it is. r=smaug
2014-04-06 12:32:38 -07:00