Commit Graph

224 Commits

Author SHA1 Message Date
Zack Weinberg
1a37e44f98 Bug 541496 part 2: use the new string-taking API in nsHTMLParanoidFragmentSink. En passant prune some unnecessary inclusions of ns(I)UnicharInputStream.h. r=bzbarsky 2011-05-18 21:22:59 -04:00
Ms2ger
941e819c63 Bug 616684 - Remove support for DOM Views; r=sicking,ehsan 2011-04-24 08:54:25 +02:00
Ehsan Akhgari
d2a61eb331 Backout changeset 13f6847dd840 (bug 616684) because it changes code semantics in a bad way, which results in problems like the crash in bug 652580, possibly among others 2011-04-25 17:05:17 -04:00
Ms2ger
295bf7256b Bug 616684 - Remove support for DOM Views; r=sicking 2011-04-24 08:54:25 +02:00
Ms2ger
330bb49437 Bug 604595, part b - Remove the nsIDOMNamedNodeMap* arguments to NS_NewDOMDocumentType; r=sicking 2011-04-14 14:04:21 +02:00
Frédéric Wang
0249fa2fca Update XML Entity Definitions for Characters (bug 603716); r=hsivonen,karlt 2011-04-08 11:56:04 -07:00
Boris Zbarsky
2d8a1be03f Bug 581177 part 4. Make 'has id' into a boolean flag. r=sicking 2011-04-07 19:29:50 -07:00
timeless@mozdev.org
6954dc5d05 Bug 586648 NS_NewXHTMLParanoidFragmentSink should call nsXHTMLParanoidFragmentSink::Init before allocating it
r=smaug
2011-03-28 17:18:30 -04:00
Olli Pettay
ad819c7832 Bug 639130, document.load should check script handling object, r=jst 2011-03-24 13:37:32 +02:00
Boris Zbarsky
250488127b Bug 457102. Remove vestiges of dead xpointer/fixptr stuff. r=sicking 2011-03-23 10:45:21 -04:00
Jonas Sicking
0b970c20dc Bug 637214 the continuing saga. Add removable script blockers in a few more places, create an auto helper for that. r=bzbarsky, a=blocker 2011-03-02 09:36:19 -05:00
Mihai Sucan
176912a7c2 Bug 606498 - Make sure the new nsIScriptError2 is used in all possible places- part 2; r=bzbarsky,dbaron,mrbkap sr=jst a=blocking2.0 2010-12-20 12:21:58 -04:00
Mihai Sucan
b1290b879d Bug 606498 - Make sure the new nsIScriptError2 is used in all possible places- part 1; r=bzbarsky,dbaron,mrbkap sr=jst a=blocking2.0 2010-12-20 12:21:58 -04:00
Robert Sayre
be7b7e126a Properly check attribute URLs -- Bug 562547, r=jst, a=blocking2.0
Do not inherit principal from embedding doc (often chrome) when checking URIs,
but use NullPrincipal for untrusted content.
2010-12-15 18:14:11 +01:00
Henri Sivonen
088379e8dd Bug 592366 - Do not execute scripts whose owner doc is not the doc of the inserter parser or not the owner doc at the time of starting the script load. r=jonas, a=blocking2.0-betaN. 2010-12-08 14:37:19 +02:00
Ms2ger
024d857be8 Bug 594339 - Create a FromParser enum. r=hsivonen, sr=bzbarsky, a=jonas.
--HG--
extra : rebase_source : 70d6b15b0b149a29d0cdb298209706bb5391f6b4
2010-10-25 15:17:38 +03:00
Mounir Lamouri
02ab19880a Bug 604056 - nsIDocumentObserver methods should be declared with a macro. r+a=bz 2010-10-20 09:41:05 +02:00
Boris Zbarsky
c27f01b21f Bug 605157. Style linking elements should work in XML when set via innerHTML. r=sicking, a=blocker 2010-10-18 23:45:34 -04:00
Phil Ringnalda
f729fa21b4 Bug 385845 - Remove bogus assertion that mDocElement is in mDocument during XML parsing, since it was never a requirement and we've long since dropped doing what caused us to care, r=bz, a=orange 2010-10-01 19:36:58 -07:00
Jonas Sicking
dcce0d0b40 Bug 592829: Make parsing code able to deal with element creation failing. r=jst/peterv a=blocker 2010-10-04 18:25:44 -07:00
Jonas Sicking
5bb7c320a3 Back out bug 592829 due to crash. a=backout 2010-09-22 16:38:39 -07:00
Jonas Sicking
446e859c8d Bug 592829: Don't crash if we fail to create an element during XML parsing. r=jst a=beta7blocker 2010-09-22 14:51:46 -07:00
Olli Pettay
2340a6d11e Bug 594767 - importNode fails when using a document created with createHTMLDocument, r=sicking, a=blocking
--HG--
extra : rebase_source : 9436d96adf3450db23ddbde74407e440fec51846
2010-09-21 12:17:18 +03:00
Jonas Sicking
aac728d04b Bug 391177: XSLT should reuse the existing inner window in order to help debuggers and the like. r=jst a=blocker CLOSED TREE 2010-09-15 15:54:00 -07:00
Jonas Sicking
7dffdc6069 Bug 568188: Reduce refcounting by making the id-table hold weak referenes. r=smaug a=jst 2010-09-01 15:48:24 -07:00
Jonas Sicking
d1fd8e674e Bug 579764: Send out notification when the document-element for a document has been created and inserted into the DOM. r=jst a=blocker 2010-08-27 22:54:57 -07:00
Jonas Sicking
a29872edef Bug 590812: Fix XML pretty printing. r=mrbkap a=blocker 2010-08-27 22:54:28 -07:00
Ms2ger
27271a8a8f Bug 562698 - Part a: Pass Elements to nsIMutationObserver::AttributeChanged and nsCSSFrameConstructor::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-24 09:05:56 +02:00
Olli Pettay
abf43f852b Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Craig Topper
b9673b8709 Bug 577438 Part 1: Add previous sibling to nsIMutationObserver::ContentRemoved. r=sicking 2010-07-21 15:05:17 -07:00
Zack Weinberg
76dbdde0f4 Bug 569719 part 2: Move headers for the former nsCSSLoader and nsCSSDeclaration into mozilla/css/. r=dbaron
--HG--
rename : layout/style/nsCSSDeclaration.cpp => layout/style/Declaration.cpp
rename : layout/style/nsCSSDeclaration.h => layout/style/Declaration.h
rename : layout/style/nsCSSLoader.cpp => layout/style/Loader.cpp
rename : layout/style/nsCSSLoader.h => layout/style/Loader.h
2010-06-28 15:49:35 -07:00
Henri Sivonen
5bf17b6fc0 Bug 552938 - Implement the SVG load event in text/html, make the SVG load event in XML async and only supported on <svg>. (Also disable/tweak 2 broken tests) r=dholbert, sr=roc 2010-07-18 15:07:54 -07:00
Saint Wesonga
e7a357dcaf Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Dão Gottwald
9b15b69a1b Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga
8dd5da1024 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Ms2ger@gmail.com
a4005e2fd1 Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Ehsan Akhgari
1d27c39d4a Bug 520189 - Fix copy and test for the HTML editor; f=bzbarsky,dbaron r=sayrer,peterv,bzbarsky sr=roc 2010-04-09 17:06:09 -04:00
Daniel Holbert
79fa9a7cdd Backed out changeset a8ac411e1653 (bug 552938) for causing some randomorange. 2010-06-09 17:16:25 -07:00
Henri Sivonen
8a99f75610 Bug 552938 - Implement the SVG load event in text/html, make the SVG load event in XML async and only supported on <svg>. r=dholbert, sr=roc.
--HG--
extra : rebase_source : 6b4eb0b424b328cbb7853d767c2552ed01abc519
2010-05-25 14:57:58 +03:00
Henri Sivonen
95a61f78e3 Bug 569538 - Make aFromParser distinguish network, document.write and fragments in the HTML case. r=Olli.Pettay.
--HG--
extra : rebase_source : 2f4804245ff7b235736b882e0f9e84403e4e0ae6
2010-06-09 09:44:25 +03:00
Jonas Sicking
0a93bbb190 Bug 564863: Speed up id/name handling by letting elements register/unregister themselves. r=smaug 2010-06-03 18:09:20 -07:00
Ehsan Akhgari
a7afef08e6 Bug 567014 - test_bug293347.html intermittent orange; r=jst 2010-05-19 19:25:14 -04:00
Craig Topper
cb8187eff9 Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Boris Zbarsky
e98cd67374 Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking 2010-05-10 21:12:34 -04:00
Peter Van der Beken
199b861a9e Part 4 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsGenericTextNode base class for nsIDOM3Text implementations. r=jst.
--HG--
extra : rebase_source : 007e331ff47f994a27e3105e6e787d91a88137d6
2010-04-19 17:40:16 +02:00
Peter Van der Beken
abd7f913e0 Part 1 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::GetBaseURI. r=sicking.
--HG--
extra : rebase_source : 5a07f12d9d13d92b796fd5f2cb182b069c3f87bf
2010-04-19 17:40:15 +02:00
Jonas Sicking
6f9aebb70a Bug 429175: Make sure to only set aNotify to true when we should. r=peterv 2010-05-03 06:23:36 -07:00
timeless@mozdev.org
4350edcbdf Bug 494705 - Deprecate DOM3 Load (XMLDocument.load), r=sicking 2010-04-12 18:59:00 -07:00
Boris Zbarsky
30883f9737 Bug 562688 part 7. Eliminate eELEMENT users in the rest of content/. r=jst 2010-04-30 09:12:06 -04:00
Boris Zbarsky
04027a9479 Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00