Jonas Sicking
89a993feb6
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
5a46a17261
Bug 590812: Fix XML pretty printing. r=mrbkap a=blocker
2010-08-27 22:54:28 -07:00
Ms2ger
b01dbc0d56
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
6059821942
Bug 566466 - speed up createElement(), r=jst, peterv
2010-07-23 12:49:57 +03:00
Craig Topper
4caec055d0
Bug 577438 Part 1: Add previous sibling to nsIMutationObserver::ContentRemoved. r=sicking
2010-07-21 15:05:17 -07:00
Zack Weinberg
2f4426c2f1
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
c21cd9cad1
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
4bd9280674
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg
2010-07-05 11:42:18 +02:00
Dão Gottwald
b2124655df
Backed out changeset 59ace8d80ce8
2010-07-04 22:01:13 +02:00
Saint Wesonga
8952503f91
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg
2010-07-04 21:39:17 +02:00
Ms2ger@gmail.com
91560b026e
Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug
2010-06-25 15:59:57 +02:00
Ehsan Akhgari
d35623d3e5
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
b7556c1f5b
Backed out changeset a8ac411e1653 (bug 552938) for causing some randomorange.
2010-06-09 17:16:25 -07:00
Henri Sivonen
a34b2ccbd0
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
d938851670
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
f2dbba9fe9
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
fc23e633cd
Bug 567014 - test_bug293347.html intermittent orange; r=jst
2010-05-19 19:25:14 -04:00
Craig Topper
b08d6c5ef5
Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron
2010-05-11 13:41:47 -07:00
Boris Zbarsky
8ccd3c1fea
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
0b2bba92b2
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
ac35089169
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
5d052b35df
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
78c4b04714
Bug 494705 - Deprecate DOM3 Load (XMLDocument.load), r=sicking
2010-04-12 18:59:00 -07:00
Boris Zbarsky
7accfbd87e
Bug 562688 part 7. Eliminate eELEMENT users in the rest of content/. r=jst
2010-04-30 09:12:06 -04:00
Boris Zbarsky
9c2ad4b2aa
Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking
2010-04-30 09:12:05 -04:00
Ben Newman
bd232d2cb8
Replace direct instantiations of nsRunnableMethod with calls to the templatized NS_NewRunnableMethod function (part 3/3 of bug 558498). r=dwitte sr=dbaron
2010-04-20 16:21:35 -07:00
Jonas Sicking
24b255ef47
Bug 515401: Make implementation of <base> HTML5 compliant, and clean it up. r=benjamn a=dholbert
2010-04-23 09:10:07 -07:00
Craig Topper
25d5518e18
Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc
2010-04-10 16:09:38 -04:00
Peter Van der Beken
85c9e641b0
Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst.
...
--HG--
extra : rebase_source : 9a7823b365cfca04bb08c5be94eab29d218f1e61
2010-01-12 14:08:43 +01:00
Peter Van der Beken
e1c6294f66
Fix for bug 552716 (Remove NS_INTERFACE_MAP_ENTRY_CONTENT_CLASSINFO). r=jst.
...
--HG--
extra : rebase_source : 8e03b54ff6117dcac27188b296c59dcafbb6db78
2010-03-17 16:09:05 +01:00
Zack Weinberg
6ce13b76a5
Bug 544112 part 2: DeCOMtaminate and devirtualize nsCSSLoader. r=bzbarsky sr=dbaron
...
--HG--
rename : layout/style/nsICSSLoader.h => layout/style/nsCSSLoader.h
2010-03-02 13:00:53 -08:00
Jonas Sicking
e685220cd6
Fix bug 490790. r=dveditz
2010-03-02 11:40:14 -08:00
Frédéric Wang
aea2f1e996
Bug 530275. Move more MIME types into nsMimeTypes.h so we don't have to hardcode the strings in various places. r=bzbarsky
2009-11-21 00:12:42 +01:00
Olli Pettay
c31a01f494
Bug 540568 - Remove DOMBuilder, r=bz
...
--HG--
extra : rebase_source : 77f05d87a414e3c55046016423486bcf127ea6cf
2010-01-21 15:51:48 +02:00
Robert Longson
2d6a644d32
Bug 531259 - The SVG script element should respect the aFromParser flag on NS_NewElement. r=hsivonen, r+sr=jst
2010-01-15 11:44:12 +00:00
Daniel Holbert
b20bff31e2
Bug 537157: Explicitly prevent SMIL animations inside of XBL bindings from running. Also, make nsSMILCSSProperty directly create a computed style object, instead of using nsPIDOMWindow helper method. r=smaug sr=roc
2010-01-06 09:20:50 -08:00
L. David Baron
722b8f18b0
DeCOMify nsHTMLCSSStyleSheet. (Bug 239008) r=bzbarsky
2009-12-31 10:56:33 -05:00
Boris Zbarsky
e558f982e4
Bug 500882 part 8. Remove the SetMayHaveFrame/MayHaveFrame vestiges. r=smaug
2009-12-24 16:20:06 -05:00
Daniel Holbert
3240fbd2b2
Bug 534162: Make sure to initialize local variable 'rv' in nsXHTMLParanoidFragmentSink::AddAttributes. r=jst
2009-12-12 22:27:30 -08:00
Boris Zbarsky
b694bf4f11
Bug 523294 part 3. Get rid of the now-unused aStateMask argument to AttributeChanged. r=dbaron
2009-12-10 14:36:04 -08:00
Jonas Sicking
7272bafa07
Bug 293347: Disable document.write for XSLT result docs. r/sr=jst
2009-11-05 20:27:30 -08:00
Jonas Sicking
db58890767
Bug 516906: Remove XLink support from nsXMLElement. r/sr=jst
2009-10-24 21:33:47 -07:00
Taras Glek
afa866e990
Bug 522229 - XML Pretty-Print no longer colored r=bz
...
--HG--
extra : rebase_source : a4bac99887fcdae4b82e02e05e765cb9388858aa
2009-10-14 14:34:50 -07:00
Jonas Sicking
243d32f0ea
Bug 518104 - Implement HTML5 changes to <script defer>. r=hsivonen, sr=mrbkap. (Tests fixed and code merged to tip by hsivonen.)
2009-10-02 14:13:59 +03:00
Taras Glek
5cee56363b
Bug 457949 - no need for Stopwatch r=bsmedberg
...
--HG--
extra : rebase_source : 5cd3baecf54295012b28d42fc7bf4c9b34e12714
2009-08-28 11:03:51 -07:00
Benjamin Smedberg
ba372f3a4c
Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted
2009-08-25 08:59:31 -07:00
Serge Gautherie
b7aa2d8f87
Bug 248011 - Cleanup <docbook.css>; (Av1) Remove unused PrintHistory rule; r=peterv
2009-08-24 04:03:01 +02:00
David Zbarsky
b908f99056
Bug 484200. src attribute on <style> makes styles not apply. r=bzbarsky
2009-07-28 12:07:31 -04:00
Henri Sivonen
8803c27a7f
Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas
2009-06-29 00:44:22 +02:00
Johnny Stenback
87138ce673
Backed out changeset 168dd0eb7283
2009-06-28 11:47:11 -07:00
Henri Sivonen
fb74340ed2
Merge trunk into HTML5 repo
2009-06-26 18:22:48 +03:00
Ben Newman
be66be8cc9
Bug 484121 (2/6) - Add nsIDTD::GetMode to eliminate heinous const_cast. r+sr=mrbkap
2009-06-23 14:22:16 -07:00
Henri Sivonen
5cad7e2a33
Merge trunk into HTML5 repo
2009-06-11 17:00:20 +03:00
Henri Sivonen
82e13c145b
Bug 468708 - namespaceURI for HTML elements should be http://www.w3.org/1999/xhtml (also make localName return in lower case) r=sicking, sr=peterv, a=beltzner
2009-06-09 10:41:19 +03:00
Henri Sivonen
34a9141081
Merge trunk into HTML5 repo
2009-06-05 14:52:43 +03:00
Henri Sivonen
612191c82d
Merge trunk into HTML5 repo
2009-05-25 19:16:57 +03:00
Olli Pettay
46c509ef15
Bug 491063 - Mixed mode warning dialog (and other dialog windows) is sometimes not rendered, r+sr=bz
2009-05-20 11:00:04 +03:00
Boris Zbarsky
48862631f2
Bug 489050. Make sure to not notify on our content once we've disconnected from the document. r=bent, sr=sicking
2009-05-17 10:22:55 -04:00
Henri Sivonen
1f9455f387
Merge the trunk into HTML5 parsing repo
2009-05-04 11:19:16 -07:00
Jesse Ruderman
b89227c825
Add crashtests
2009-05-26 11:53:12 -07:00
Henri Sivonen
27ccc45764
Merge the trunk into HTML5 parsing repo
2009-03-26 14:10:18 +02:00
Henri Sivonen
99a8cc5f1a
Merge trunk into HTML5 parsing repo
2009-03-20 17:09:05 +02:00
L. David Baron
f0c43ecb3d
Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer
2009-05-06 13:46:04 -07:00
Boris Zbarsky
346daa82d1
Bug 67752. Implement interruptible reflow. r=roc,dbaron
2009-04-21 19:53:52 -04:00
Boris Zbarsky
9d28a2337d
Bug 416942. Give user and ua sheets the system principal. r+sr=sicking
2009-03-16 21:38:36 -04:00
Benjamin Smedberg
555ae1b325
Bug 481102 - Reorganize dom/public, dom/public/base, and dom/src/base to dom/base, r+sr=jst
...
--HG--
rename : dom/src/base/Makefile.in => dom/base/Makefile.in
rename : dom/src/base/crashtests/244933-1.html => dom/base/crashtests/244933-1.html
rename : dom/src/base/crashtests/275912-1.html => dom/base/crashtests/275912-1.html
rename : dom/src/base/crashtests/327571-1.html => dom/base/crashtests/327571-1.html
rename : dom/src/base/crashtests/327695-1.html => dom/base/crashtests/327695-1.html
rename : dom/src/base/crashtests/329481-1.xhtml => dom/base/crashtests/329481-1.xhtml
rename : dom/src/base/crashtests/338674-1.xhtml => dom/base/crashtests/338674-1.xhtml
rename : dom/src/base/crashtests/346381-1.html => dom/base/crashtests/346381-1.html
rename : dom/src/base/crashtests/359432-1.xhtml => dom/base/crashtests/359432-1.xhtml
rename : dom/src/base/crashtests/369413-1.html => dom/base/crashtests/369413-1.html
rename : dom/src/base/crashtests/372554-1.html => dom/base/crashtests/372554-1.html
rename : dom/src/base/crashtests/404869-1.xul => dom/base/crashtests/404869-1.xul
rename : dom/src/base/crashtests/439206-1.html => dom/base/crashtests/439206-1.html
rename : dom/src/base/crashtests/462947.html => dom/base/crashtests/462947.html
rename : dom/src/base/crashtests/473284.xul => dom/base/crashtests/473284.xul
rename : dom/src/base/crashtests/90613-1.html => dom/base/crashtests/90613-1.html
rename : dom/src/base/crashtests/crashtests.list => dom/base/crashtests/crashtests.list
rename : dom/src/base/domerr.msg => dom/base/domerr.msg
rename : dom/src/base/nsBarProps.cpp => dom/base/nsBarProps.cpp
rename : dom/src/base/nsBarProps.h => dom/base/nsBarProps.h
rename : dom/public/nsDOMCID.h => dom/base/nsDOMCID.h
rename : dom/src/base/nsDOMClassInfo.cpp => dom/base/nsDOMClassInfo.cpp
rename : dom/src/base/nsDOMClassInfo.h => dom/base/nsDOMClassInfo.h
rename : dom/public/nsDOMClassInfoID.h => dom/base/nsDOMClassInfoID.h
rename : dom/public/nsDOMError.h => dom/base/nsDOMError.h
rename : dom/src/base/nsDOMException.cpp => dom/base/nsDOMException.cpp
rename : dom/src/base/nsDOMException.h => dom/base/nsDOMException.h
rename : dom/public/nsDOMJSUtils.h => dom/base/nsDOMJSUtils.h
rename : dom/src/base/nsDOMScriptObjectFactory.cpp => dom/base/nsDOMScriptObjectFactory.cpp
rename : dom/src/base/nsDOMScriptObjectFactory.h => dom/base/nsDOMScriptObjectFactory.h
rename : dom/public/nsDOMScriptObjectHolder.h => dom/base/nsDOMScriptObjectHolder.h
rename : dom/public/nsDOMString.h => dom/base/nsDOMString.h
rename : dom/src/base/nsDOMWindowList.cpp => dom/base/nsDOMWindowList.cpp
rename : dom/src/base/nsDOMWindowList.h => dom/base/nsDOMWindowList.h
rename : dom/src/base/nsDOMWindowUtils.cpp => dom/base/nsDOMWindowUtils.cpp
rename : dom/src/base/nsDOMWindowUtils.h => dom/base/nsDOMWindowUtils.h
rename : dom/src/base/nsFocusController.cpp => dom/base/nsFocusController.cpp
rename : dom/src/base/nsFocusController.h => dom/base/nsFocusController.h
rename : dom/src/base/nsGlobalWindow.cpp => dom/base/nsGlobalWindow.cpp
rename : dom/src/base/nsGlobalWindow.h => dom/base/nsGlobalWindow.h
rename : dom/src/base/nsGlobalWindowCommands.cpp => dom/base/nsGlobalWindowCommands.cpp
rename : dom/src/base/nsGlobalWindowCommands.h => dom/base/nsGlobalWindowCommands.h
rename : dom/src/base/nsHistory.cpp => dom/base/nsHistory.cpp
rename : dom/src/base/nsHistory.h => dom/base/nsHistory.h
rename : dom/public/nsIBaseDOMException.h => dom/base/nsIBaseDOMException.h
rename : dom/public/nsIDOMClassInfo.h => dom/base/nsIDOMClassInfo.h
rename : dom/public/nsIDOMScriptObjectFactory.h => dom/base/nsIDOMScriptObjectFactory.h
rename : dom/public/nsIEntropyCollector.idl => dom/base/nsIEntropyCollector.idl
rename : dom/public/base/nsIFocusController.h => dom/base/nsIFocusController.h
rename : dom/public/nsIJSEventListener.h => dom/base/nsIJSEventListener.h
rename : dom/public/nsIJSNativeInitializer.h => dom/base/nsIJSNativeInitializer.h
rename : dom/public/nsIScriptChannel.idl => dom/base/nsIScriptChannel.idl
rename : dom/public/nsIScriptContext.h => dom/base/nsIScriptContext.h
rename : dom/public/nsIScriptExternalNameSet.h => dom/base/nsIScriptExternalNameSet.h
rename : dom/public/nsIScriptGlobalObject.h => dom/base/nsIScriptGlobalObject.h
rename : dom/public/nsIScriptGlobalObjectOwner.h => dom/base/nsIScriptGlobalObjectOwner.h
rename : dom/public/nsIScriptNameSpaceManager.h => dom/base/nsIScriptNameSpaceManager.h
rename : dom/public/nsIScriptObjectOwner.h => dom/base/nsIScriptObjectOwner.h
rename : dom/public/nsIScriptObjectPrincipal.h => dom/base/nsIScriptObjectPrincipal.h
rename : dom/public/nsIScriptRuntime.h => dom/base/nsIScriptRuntime.h
rename : dom/public/nsIScriptTimeoutHandler.h => dom/base/nsIScriptTimeoutHandler.h
rename : dom/src/base/nsJSEnvironment.cpp => dom/base/nsJSEnvironment.cpp
rename : dom/src/base/nsJSEnvironment.h => dom/base/nsJSEnvironment.h
rename : dom/src/base/nsJSTimeoutHandler.cpp => dom/base/nsJSTimeoutHandler.cpp
rename : dom/src/base/nsJSUtils.cpp => dom/base/nsJSUtils.cpp
rename : dom/src/base/nsJSUtils.h => dom/base/nsJSUtils.h
rename : dom/src/base/nsLocation.cpp => dom/base/nsLocation.cpp
rename : dom/src/base/nsMimeTypeArray.cpp => dom/base/nsMimeTypeArray.cpp
rename : dom/src/base/nsMimeTypeArray.h => dom/base/nsMimeTypeArray.h
rename : dom/public/base/nsPIDOMWindow.h => dom/base/nsPIDOMWindow.h
rename : dom/public/base/nsPIWindowRoot.h => dom/base/nsPIWindowRoot.h
rename : dom/src/base/nsPluginArray.cpp => dom/base/nsPluginArray.cpp
rename : dom/src/base/nsPluginArray.h => dom/base/nsPluginArray.h
rename : dom/src/base/nsScreen.cpp => dom/base/nsScreen.cpp
rename : dom/src/base/nsScreen.h => dom/base/nsScreen.h
rename : dom/src/base/nsScriptNameSpaceManager.cpp => dom/base/nsScriptNameSpaceManager.cpp
rename : dom/src/base/nsScriptNameSpaceManager.h => dom/base/nsScriptNameSpaceManager.h
rename : dom/src/base/nsWindowRoot.cpp => dom/base/nsWindowRoot.cpp
rename : dom/src/base/nsWindowRoot.h => dom/base/nsWindowRoot.h
rename : dom/public/nsWrapperCache.h => dom/base/nsWrapperCache.h
2009-03-11 10:10:19 -04:00
Henri Sivonen
948c3f9874
Merge HTML5 work with trunk
2009-03-09 12:24:48 +02:00
Arpad Borsos
d10c4f864e
Bug 474369 - get rid of nsVoidArray, content part; r=jwatt, sr=sicking
2009-03-20 09:15:35 +01:00
Ehsan Akhgari
e26cb59fc1
Bug 417489 - XML Parse Error is messy in RTL; r+sr=sicking
2009-02-27 22:07:51 +03:30
Jesse Ruderman
397e21afab
Add a bunch of crashtests
2009-02-10 22:18:05 -08:00
Jesse Ruderman
e6ffd994a3
Add some crashtests
2009-02-10 16:36:04 -08:00
Dave Camp
39c2dd6d73
Bug 477667: manifest attribute not handled in xhtml. r+sr=jst
2009-02-09 22:40:40 -08:00
Ehsan Akhgari
5fb0e5c0b0
Bug 350597 - [RTL] XML preview header should be RTL in RTL locales; r,sr=sicking
2009-02-01 11:51:07 +03:30
Jonas Sicking
38592a65d1
More bug 461555 fixes to fix orange by making sure to remove deferred-scripts' onloadblocker when the parser is terminated. r/sr=mrbkap
2009-01-26 21:41:25 -08:00
Jonas Sicking
8093e5d81b
Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap
2009-01-14 17:25:21 -08:00
Jonas Sicking
41679160f6
Backed out changeset e8023bc83264 due to orange
2009-01-26 01:53:20 -08:00
Jonas Sicking
39b948d125
Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap
2009-01-14 17:25:21 -08:00
Jonas Sicking
d25702e3ce
Backed out changeset 41045faa0ef6 due to leaks
2009-01-23 15:08:41 -08:00
Jonas Sicking
c4c9640ef1
Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap
2009-01-14 17:25:21 -08:00
Daniel Holbert
4301671b45
Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg
2009-01-21 22:55:08 -08:00
Brian Birtles
0a47d48dae
Bug 216462: Add support for basic SVG animation (SMIL). Disabled in builds by default. r+sr=roc
2009-01-14 20:38:07 -08:00
Ben Turner
97fdc15bb2
Backed out changeset 4c4d0bf8622e for failing unit tests.
2009-01-14 18:22:41 -08:00
Jonas Sicking
583673c3ab
Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap
2009-01-14 17:25:21 -08:00
Henri Sivonen
d9d29c0428
Merged HTML5 parsing with m-c from 2008-12-11
2009-01-03 15:01:17 +02:00
Joe Drew
633b99bd32
Backed out changeset 6a452e522e07 - Boris Zbarsky – Bug 67752. Implement interruptible reflow. r=roc,dbaron - because of apparent Tp hangs.
2009-04-21 23:02:17 -04:00
Boris Zbarsky
5c5eb9c3ea
Bug 67752. Implement interruptible reflow. r=roc,dbaron
2009-04-21 19:53:52 -04:00
Jonas Sicking
67d8b7206a
Bug 483818: Remove the currently-running-script counter from the parser since it's hard to keep it correct when we're creating a new parser due to document.write etc. r/sr=mrbkap
2009-04-15 15:34:50 -07:00
Henri Sivonen
9abd1a5a22
Initial attempt at HTML5 parsing in Gecko
2008-12-12 15:10:39 -08:00
Dan Fabulich
14d93a7fb1
b=347174, implement document.readystate == 'complete'; r=sicking
2009-01-09 09:12:09 -08:00
Martin
6895526488
Bug 353364 - Same-document references in xml-stylesheet PI processed incorrectly. r+sr=peterv, a191=beltzner
2008-11-28 21:21:55 +00:00
Boris Zbarsky
402f7a9c31
Bug 460425. Do better security checks during redirection. r=sicking,biesi, sr=sicking
2008-11-25 20:50:04 -05:00
Patrick McManus
2a5b7140ea
Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky, a=beltzner
2008-11-07 18:00:26 -05:00
Justin Dolske
4a4f7244af
Backed out changeset e8fd3f4c52b6
2008-11-05 12:54:51 -08:00
Benjamin Smedberg
1bb2a73b85
Bug 472348 - Some unused variables found by combing the warning database, rs=bz
2009-01-06 14:25:58 -05:00
Patrick McManus
dbf40a5ca6
Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky
2008-11-04 11:14:29 -05:00
Boris Zbarsky
a0dfe7f851
Backing out changesets 374d3cf7b48d, 5d9dc9b6127e, 8c4f57a5674d, cd9a392337b7
2008-11-04 11:03:10 -05:00
Patrick McManus
05ec1c59e2
Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky
2008-11-04 10:14:50 -05:00
Peter Van der Beken
d30dca0b1b
Fix for bug 457897 (Remove QI on 'this' object when calling from JS to C++). Patch by jorendorff and me, r/sr=jst.
2008-11-03 11:31:47 +01:00
Blake Kaplan
61503583ca
Bug 461031 - Bring a little more sanity to parser notifications of the content sink. This should help increase responsiveness, especially on pages with lots of inline scripts. r+sr=jst
2008-10-30 14:31:00 -07:00
Ted Mielczarek
896d5b70b0
bug 461395 - add support for PARALLEL_DIRS to build system, parallelize content. r=bsmedberg
2008-10-30 13:02:14 -04:00
Boris Zbarsky
4d26961c8f
Bug 449219. Don't flush out textnodes unconditionally in the XML sink on packet boundaries. Instead, do smart coalescing like the HTML sink does. Also, always coalesce everything when doing XSLT. r+sr=sicking
2008-10-15 17:29:35 -04:00
Boris Zbarsky
15ccaff0cd
Fixing build bustage
2008-10-10 13:52:22 -04:00
Boris Zbarsky
51639cd81f
Bug 458637. Make sure to properly flag the XSLT result document as not being ready for layout until we StartLayout. r+sr=sicking
2008-10-10 13:44:43 -04:00
Boris Zbarsky
1326139920
But 427779. Make the XML parser not bail out on invalid URI in <xhtml:base>. r+sr=sicking
2008-10-10 13:44:43 -04:00
Jesse Ruderman
155556cf20
Update bug number in crashtest list comment
2008-10-09 14:29:09 -07:00
Taras Glek
ba02fffe86
bug 455536: s/NS_ERROR_FAILURE/NS_ERROR_OOM/ outparamdelled nsNodeInfoManager::GetNodeInfo r+sr=jsr
2008-09-25 15:46:52 -07:00
Boris Zbarsky
72c4392e69
Bug 456008. Make sure to not claim nodes are created via parser in the XML fragment sink, just like the HTML fragment sink doesn't claim it. r+sr=jst
2008-09-25 12:58:11 -04:00
Olli Pettay
d3bad03d4f
Bug 450160 - DOMImplementation createDocument does not create an HTML document, r+sr=bz
2008-09-20 21:55:04 +03:00
sharparrow1@yahoo.com
372e46d47d
Bug 42976, cloneNode() HTML Document nodes, r=smaug,sr=jst
2008-09-18 14:15:47 +03:00
Taras Glek
74132a5585
bug 450777:deCOMtaminate nsNodeInfoManager::GetNodeInfo r+sr=jst
2008-09-12 15:32:18 -07:00
Ted Mielczarek
ff7706a544
bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg
2008-09-09 13:59:11 -04:00
Mats Palmgren
0f312d0dd3
Crash test for bug 453278.
2008-09-04 21:47:49 +02:00
Mats Palmgren
3007ae63b9
Make sure we have a pres context. b=453278 r+sr=bzbarsky
2008-09-04 21:47:36 +02:00
Boris Zbarsky
5863cb9ef2
imported patch bug431701
2008-08-28 08:56:45 -04:00
Robert O'Callahan
fb7a994159
Bug 118704. Get the document title from the DOM instead of storing it in the document object. Relanding with hopeful leak fix. r+sr=jst
2008-08-18 14:10:28 +12:00
Robert O'Callahan
842b3fea92
Backing out bug 118704 to try to fix Windows leak orange
2008-08-16 23:27:40 +12:00
Robert O'Callahan
34de2392a2
Bug 118704. Get the document title from the DOM instead of storing it as a string in the document. r+sr=jst
2008-08-16 21:01:52 +12:00
Johnny Stenback
21f961cf38
Followup cleanup for bug 439034, remove dead code and some silly code too. r+sr=jonas@sicking.cc
2008-08-15 16:01:03 -07:00
Olli Pettay
d4087165b0
Bug 445330, document.loaded XML documents fire onload before DOMContentLoaded, r+sr=bz
2008-07-19 18:20:22 +03:00
Benjamin Smedberg
0e96dd742e
Bug 445570 - Heap-allocated autostrings in DOM/content, r+sr=jst
2008-07-17 11:05:20 -04:00
Bobby Holley
c7acebb264
Viewport meta tag - content tests - bug 436083
2008-07-16 20:18:11 -07:00
Bobby Holley
1f347da68c
Viewport meta tag - content - bug 436083 r=jst,sr=sicking
2008-07-16 20:16:23 -07:00
Chris Double
91826e2fd0
Bug 382267. Core implementation of the <video> and <audio> elements. r=jst,r+sr=roc
2008-07-09 20:22:20 +12:00
Robert O'Callahan
00c8f1363c
Bug 344258. Move ID-content map up from nsHTMLDocument to nsDocument to prepare for using it across all document types. r+sr=jst
2008-06-23 11:12:40 +12:00
Jeff Walden
3058a74cd4
Bug 421765 - Implement DOM 3 replaceWholeText and wholeText. acid3++ r=smaug, sr=jst
2008-06-04 13:53:34 -04:00
reed@reedloden.com
00fc3677b8
Bug 431703 - "Crash [@ nsXMLContentSink::HandleEndElement] setting innerHTML with SVG, onload" (null check) [p=longsonr@gmail.com (Robert Longson) r+sr=bzbarsky a1.9=beltzner]
2008-05-07 03:23:08 -07:00
jst@mozilla.org
4b69a276d4
Landing fix for bug 419716. Make us consistently deal how we're pass param tags to object tags when parsing XHTML. Patch by mrbkap@gmail.com and bent.mozilla@gmail.com, r+sr=jonas@sicking.cc, a=beltzner
2008-04-17 15:30:51 -07:00
jst@mozilla.org
f36dc677a5
Fixing bug 428847. Don't show an error page if an XML file references an XSLT stylesheet it doesn't have permission to load. r+sr=jonas@sicking.cc, a=beltzner
2008-04-17 15:22:44 -07:00
bent.mozilla@gmail.com
c54db3bb3c
Bug 425551 - "Fix async DOM events from keeping link elements alive past unlink". r+sr=sicking, a=beltzner.
2008-04-11 10:29:06 -07:00
jonas@sicking.cc
f6bc46eb38
Backing out due to test failures
2008-04-08 20:20:39 -07:00
jonas@sicking.cc
aedea05d90
Bug 425551: Improve script blocker code and use it to prevent async DOM events from keeping link elements alive past CC. Patch by bent. r/sr=sicking
2008-04-08 19:06:27 -07:00
jonas@sicking.cc
ec7a19c8b9
Allow XMLHttpRequest and document.load load files from subdirectories. r/sr=dveditz
2008-04-08 17:38:12 -07:00
timeless@mozdev.org
b0e4df4591
Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore
2008-04-06 05:28:34 -07:00
timeless@mozdev.org
7f880e43ef
reverting, wrong patch, missing AMBIGUOUS
2008-03-19 14:55:22 -07:00
timeless@mozdev.org
022712406a
Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore
2008-03-19 14:19:35 -07:00
gavin@gavinsharp.com
a160da0493
Bug 422808: remove forwarding of nsIAuthPrompt for XHR and document.load so that users fall back to the more useful docshell prompts, r=sicking, sr=biesi (r=dolske on tests)
2008-03-18 11:18:29 -07:00
jst@mozilla.org
123a96d191
Fixing bug 415324. Don't change principals on documents during document.load() now that document principals must remain unchanged. r=jonas@sicking.cc, sr=bzbarsky@mit.edu
2008-03-11 16:47:23 -07:00
bent.mozilla@gmail.com
827ac24e1e
Bug 420700 - Calling createContextualFragment affects subsequent setting of innerHTML. r+sr=jst, a=blocking1.9+.
2008-03-06 12:14:33 -08:00
mats.palmgren@bredband.net
cd225e0366
Don't notify when setting text from within the constructor. b=420429 r+sr=jonas a=blocking1.9
2008-03-04 23:14:42 -08:00
jruderman@hmc.edu
96be9d6d7d
Make nsContentSink, instead of subclasses, be responsible for making sure RemoveObserver is called (bug 420835). r+sr=sicking, a=blocking1.9+.
2008-03-04 20:54:21 -08:00
jst@mozilla.org
a3dc822e7f
Backing out fix for bug 419848 due to feed code breakage.
2008-03-03 21:39:09 -08:00
jst@mozilla.org
d3a7ec65e8
Fixing bug 419848. Tighten rules about what JS files content can load. r+sr=jonas@sicking.cc
2008-03-03 20:17:33 -08:00
jonas@sicking.cc
28ea51311b
Bug 416534: Clean up cross-site xmlhttprequest security checks. With fixes to tests this time. r/sr=peterv
2008-02-26 19:45:29 -08:00
myk@mozilla.org
7aff03fc46
backing out fix for bug 416534 as potential cause of mochitest failure
2008-02-26 19:23:36 -08:00
jonas@sicking.cc
42bbc8327e
Bug 416534: Clean up cross-site xmlhttprequest security checks. r/sr=peterv
2008-02-26 18:17:49 -08:00
benjamin@smedbergs.us
1141ded71b
Back out bug 412320 and various followups because the perf impact was minimal and the code is more complicated
2008-02-21 12:39:20 -08:00
jag@tty.nl
05cdb6aefe
Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan
2008-02-18 00:50:04 -08:00
benjamin@smedbergs.us
c00f226f8e
Bug 412320 - generate QI for additional classes which, according to stats, show up in profiles as frequent callers of nsID::Equals, r=biesi,ted,sicking
2008-02-12 11:46:26 -08:00
bent.mozilla@gmail.com
588f30c270
Bug 386769 - "Make setting innerHTML faster". r=jst, sr=peterv, a=blocking1.9.
2008-02-08 14:07:51 -08:00
dwitte@stanford.edu
e902190fce
Bug 414894 - Remove content arena. r=smaug, sr=sicking, a=schrep
2008-02-02 15:41:24 -08:00
jst@mozilla.org
275f61abc4
Fixing bug 397791. Prevent document principals from ever changing, and make us not use XOWs for same origin document objects. r=jonas@sickin.cc, sr=bzbarsky@mit.edu
2008-01-25 13:49:11 -08:00
roc+@cs.cmu.edu
ab982faa16
Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron
2008-01-09 01:38:28 -08:00
roc+@cs.cmu.edu
96da482e7e
backing out bug 355548 due to test failures
2008-01-08 15:11:27 -08:00
roc+@cs.cmu.edu
c816d4ca4f
Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron
2008-01-08 14:36:46 -08:00
bzbarsky@mit.edu
b04d60aa55
Fix bug 392338. r=mrbkap, sr=jst, a=schrep
2008-01-06 14:07:25 -08:00
Olli.Pettay@helsinki.fi
6f11b29032
Bug 403830, arena for content, r=sicking, sr=jst
2007-12-15 01:45:33 -08:00
bzbarsky@mit.edu
3873a2fe8d
Make document classes use QI tables as possible. Bug 408403, r+sr+a=jst
2007-12-14 21:43:10 -08:00
jruderman@hmc.edu
bd7d7618a0
Add crashtest.
2007-12-13 20:28:06 -08:00
jonas@sicking.cc
5d4f2a4212
Bug 366200: Fix problems with mRootContent being out of sync with mChildren by removing mRootContent. r/sr=bz
2007-12-11 18:26:09 -08:00
aaronleventhal@moonset.net
754ec000fb
Bug 398910. Remove support for namespaced ARIA properties since they are no longer official (we are pre-1.0). r=surkov, r=ginn, r=bienvenu, r=mano, r=mconnor, r+sr=neil
2007-12-11 18:10:26 -08:00
jonas@sicking.cc
4c1a3910ac
bug 394390: Don't report bogus warnings to the error console when using cross-site xmlhttprequest. Patch by Surya Ismail <suryaismail@gmail.com>, r/sr=sicking
2007-10-26 18:46:09 -07:00
Olli.Pettay@helsinki.fi
4ecfdfa880
Mochitest for bug 399502
2007-10-19 10:42:39 -07:00
Olli.Pettay@helsinki.fi
0fd7a1c518
Bug 393762, Bug 393761 and Bug 382636, r=jst, sr=peterv
2007-10-01 03:02:32 -07:00
masayuki@d-toybox.com
a20d56bd8d
Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc
2007-08-22 04:13:46 -07:00
bzbarsky@mit.edu
e51e8403e6
Make sure to process style updates before reflow, and both before painting. Bug 375436, r+sr=roc, a=dbaron
2007-08-21 19:57:06 -07:00
bzbarsky@mit.edu
bd826c03d9
Make NS_CheckContent(Load|Process)Policy only take a principal, not a principal and a uri. Get the URI from the principal. Bug 391438, r+sr+a=sicking
2007-08-09 22:35:08 -07:00
bzbarsky@mit.edu
16e6040261
Use the principal doing the load to decide on the URI to pass to content policies. This will help do the right thing for data:/javascript:/about:blank, as well as allow us to skip content policies altogether if the caller is system. Bug 388597, r+sr=sicking
2007-08-07 18:16:09 -07:00
ginn.chen@sun.com
d0ed3cca65
Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore
2007-08-05 20:22:32 -07:00
jonas@sicking.cc
23898aef7e
Bug 389508: Cross site XMLHttpRequest. r=jst/biesi sr/dveditz/biesi
2007-07-26 19:49:18 -07:00
jonas@sicking.cc
5784b0a2f5
backout due to orange
2007-07-26 16:34:22 -07:00
jonas@sicking.cc
1d3132db39
Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi
2007-07-26 15:20:29 -07:00
asqueella@gmail.com
48d17203d7
Bug 342487 - XSLT should use CheckLoadURIWithPrincipal
...
p=Ryan Jones <sciguyryan@gmail.com>
r+sr=jonas
2007-07-17 14:15:49 -07:00
bzbarsky@mit.edu
4d53ccf996
Make attribute changes that also cause a state change properly reresolve style
...
when a selector uses both the state and the attribute. Bug 315920, r=dbaron,
sr=sicking.
2007-07-12 13:05:45 -07:00
peterv@propagandism.org
f7ff5666a6
Fix for bug 386496 (Clicking on link in designMode document does follow that link now). r/sr=bz.
2007-07-11 06:05:05 -07:00
bzbarsky@mit.edu
7f47643f52
Don't start layout for XML just because the root has been opened. And don't
...
start layout until <html:head> closes if <html:head> gets opened. For XHTML
documents, this should prevent flashes of unstyled content.
Also, don't flush tags unless forced to if a sheet is pending.
Bug 380028, r+sr=sicking
2007-07-10 20:42:11 -07:00
jwalden@mit.edu
6d7584839a
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
mats.palmgren@bredband.net
42a227c78a
Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst
2007-07-03 19:15:31 -07:00
Olli.Pettay@helsinki.fi
1ed587d4b9
Bug 385315, Remove unused parameters from XML/XBL/RDFContentSink::FlushText, r+sr=peterv
2007-06-26 21:22:35 -07:00
sayrer@gmail.com
5939f50f17
bug 384507. nsContentSink.h contains static non-member functions and globals. r+sr=jst
2007-06-18 15:44:11 -07:00
jonas@sicking.cc
66651c69a1
Bug 379959: Add checks to loadBindingDocument. r/sr=jst
2007-06-12 14:56:06 -07:00
peterv@propagandism.org
0325f29bba
Mochitest for bug 343870.
2007-06-11 06:17:44 -07:00
peterv@propagandism.org
ce767c86cc
Fix for bug 383951 (nsXMLContentSink:: ReportError should ignore NS_ERROR_HTMLPARSER_INTERRUPTED). r/sr=bz.
2007-06-11 03:15:17 -07:00
peterv@propagandism.org
fc80057431
Fix for bug 343870 (Line breaks normalized twice). r/sr=bz.
2007-06-11 02:15:23 -07:00
bzbarsky@mit.edu
1a0dfc58b9
Add an API to observe all loads in a CSSLoader. Change XML prettyprinting tonot start layout till after the prettyprinter stylesheet is loaded, so we don'treflow and reconstruct the whole thing twice. Bug 380612, r+sr=sicking
2007-05-30 18:42:48 -07:00
jonas@sicking.cc
e8b9b78604
Bug 366417: Set up scriptloader in the nsDocument ctor to ensure that the blocker-count stays in sync with the notification depth. r/sr=bz
2007-05-30 13:43:41 -07:00
bzbarsky@mit.edu
a85f778bf5
SVG Load events shouldn't need a presshell to fire. Bug 380417, r=jwatt andsmaug, sr=tor
2007-05-23 13:05:53 -07:00
Olli.Pettay@helsinki.fi
b0100770e3
Bug 378776, Need safe way to iterate a document's presshells, r+sr=bz
2007-05-22 14:45:03 -07:00
mrbkap@gmail.com
f101b9d312
Update our child counts if notifying on our children caused more updates. bug 376761, r=bzbarsky sr=sicking
2007-05-17 16:54:35 -07:00
bzbarsky@mit.edu
687c24bfdb
Fix bug introduced into collapsing of long PIs and comments. Bug 379683followup, r+sr=sicking.
2007-05-15 19:52:30 -07:00
bzbarsky@mit.edu
66cd05d7b8
Push the new content on the stack before calling BindToTree, since someBindToTree implementations apparently flush out the sink (!). Bug 372323,r+sr=sicking.
2007-05-15 19:21:55 -07:00
bzbarsky@mit.edu
19e507ab3e
Make use of the wonders of inline-block to produce a much smaller DOM for XMLprettyprinting (fewer nodes, fewer frames, etc). Speeds up prettyprinting by afactor of 2 or so over here, with a 25% memory usage decrease. Bug 379683,r+sr=sicking
2007-05-13 20:00:14 -07:00
bzbarsky@mit.edu
086c2eb0c0
Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me
2007-05-01 15:24:20 -07:00
bzbarsky@mit.edu
b93abe4bf4
Don't unblock onload on the document if we no longer have a parser. Bug375051, r=mbkap, sr=sicking
2007-04-26 21:05:08 -07:00
peterv@propagandism.org
f091506c2b
Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking.
2007-04-25 09:35:27 -07:00
bzbarsky@mit.edu
bcfbc64387
Set the status bar before actually handling the DOM event. That way if theevent is canceled, we'll still show the right status bar text. Bug 40838,patch by Florian Quèze <f.qu@queze.net, r=smaug, sr=bzbarsky
2007-04-23 00:31:21 -07:00
bzbarsky@mit.edu
75d0ec2b2f
Stop blocking the parser on CSS stylesheet loads. We still block scriptexecution on them, however. Bug 84582, r+sr=sicking
2007-04-20 15:59:18 -07:00
bzbarsky@mit.edu
3cbd119e85
Make sure to end our update before we decrement mSink->mInNotification. Bug373669, r+sr=sicking
2007-04-06 17:20:09 -07:00
Olli.Pettay@helsinki.fi
a1dca72a56
375196, r+sr=roc
2007-03-25 22:38:22 -07:00
hg@mozilla.com
05e5d33a57
Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT,
2007-03-22 10:30:00 -07:00
peterv%propagandism.org
e5d3f5db52
Fix for bug 373035 (Make content/dom code get nsDOMClassInfo without going through nsIDOMScriptObjectFactory). r/sr=jst.
2007-03-19 09:19:16 +00:00