Граф коммитов

49 Коммитов

Автор SHA1 Сообщение Дата
Henri Sivonen bbffca4d43 Bug 620106 - Allow chardet (if enabled) reload the page during load. r=sicking, a=blocking2.0-final. 2011-02-11 12:33:32 +02:00
Henri Sivonen 924854ae00 Bug 619220 addendum - Make speculative loads use the first <base> in the document instead of the first <base> in <head>. r=sicking, a=blocker. 2011-01-03 18:18:23 +02:00
Henri Sivonen 3183b3a320 Bug 612529 part 1 - Pack the dispatch group and the flags of an element into one 32-bit bitfield. r=jonas, a=blocking2.0-betaN. 2010-12-09 11:27:57 +02:00
Henri Sivonen d2f648de22 Bug 543062 - When document.write() blocks, pre-parse the tail of the buffer for speculative loads. r=jonas, a=blocking2.0-beta8. 2010-11-18 10:23:48 +02:00
Henri Sivonen 42f7028cc7 Bug 612568 - Drop nsIContent handles when finished parsing a fragment. r=Olli.Pettay, a=jst. 2010-11-18 10:19:59 +02:00
Henri Sivonen 8648330452 Bug 502176 - Replace static use of jArray with a plain old data staticJArray, introduce an autoJArray for nicer memory management. r=tglek, a=jst.
--HG--
extra : rebase_source : c9dbde959b76c019df87b83c551dd97e3ad7d311
2010-09-28 10:32:31 +03:00
Henri Sivonen d714dce68b Bug 599584 - Do not let nsContentSink process <meta> tags when parsing an HTML fragment. r=bzbarsky, a=blocking2.0-betaN.
--HG--
extra : rebase_source : f4c169a88f0f61c50a4473c9dab5e9e0257125c2
2010-10-13 10:12:55 +03:00
Henri Sivonen f7dfbc2e7b Bug 591330 - Make deep nesting prevention code in the HTML5 parser not crash when there are speculations involved. r=jonas, a=blocking2.0-betaN.
--HG--
extra : rebase_source : 58f604deb70298bcf6103f7857889990d8d9708d
2010-09-06 10:41:26 +03:00
Chris Pearce 3313bd2660 Bug 485288 - Update media load algorithm. r=roc a=blocking2.0 2010-09-03 12:03:03 +12:00
Henri Sivonen e19b8f27e1 Bug 534293 - Make speculative loads initiated by the HTML5 parser take <base> into account. r=jst, a=blocking2.0-betaN.
--HG--
extra : rebase_source : 71cd318e90c56cf8f718fb4a4572d17f3ba1a9f3
2010-07-26 14:18:43 +03: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
Ms2ger@gmail.com 91560b026e Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Henri Sivonen 6af0b03ee6 Bug 570898 - Defer isindex prompt reading until after startup. r=jonas. 2010-06-11 18:08:13 +03: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
Henri Sivonen 4f4d4564b1 Bug 561874 - Make the HTML5 parser clip deep trees (similar to the old HTML parser) to avoid crashes in recursive code elsewhere. r=bzbarsky 2010-05-20 12:03:11 +03: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
Henri Sivonen 9986f24b36 Bug 551344 part 1 - Address sicking's review comments in nsHtml5Parser.cpp. r=jonas. 2010-03-15 14:04:41 +02:00
Craig Topper 8b8747d605 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Henri Sivonen 470af75f5f Bug 555462 - Back out changeset a0f0fde99844 for causing a buffer overrun. 2010-03-30 11:21:36 +03:00
Henri Sivonen ced01aa917 Bug 543458 - Make the HTML5 tree op executor use nsContentSink code for deciding when to return to the event loop. r=bnewman.
--HG--
extra : rebase_source : fa41825753811279070d232c7d467600d7b2d523
2010-02-26 11:18:38 +02:00
Henri Sivonen 7b1c11d4a9 Bug 489820 and bug 483209 - Make the HTML5 parser check buffer bounds less often and place limits on buffer growth. rs=sicking.
--HG--
extra : rebase_source : 57088761bab23d50aab5bb6b2e5f22f50a48c2e8
2010-02-12 09:49:06 +02:00
Henri Sivonen d6cc0edab3 Bug 506090 - Speed up the tokenization of named character references in the HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : bee1464b806dd5b1ce85fe6257ffcad18de61825
2010-02-10 11:23:35 +02:00
Henri Sivonen c5c79cad7e Bug 540574 - Make the HTML5 parser break out of doc update on <body> and remove trailing white space from test_bug386782.html. r=bnewman.
--HG--
extra : rebase_source : 8a0b6e679c70c6d2429a9fdbf469cc59d285ca2f
2010-02-22 14:17:33 +02:00
Henri Sivonen deaa1352fa Bug 539887 - Make document.written meta charset affect the charset of document.opened documents in the HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : 71434258f5a6f330e1e0583826fbb415fb110b0b
2010-03-09 14:39:32 +02:00
Henri Sivonen 6b8df8aef8 Bug 541079 - Make app cache selection happen before speculative loads in the HTML5 parser. r=bnewman. 2010-02-02 09:43:18 +02:00
Henri Sivonen d65182d038 Bug 539895 - Flush tree ops in the HTML5 parser upon </select> and </textarea> to make form state restoration work. r=bnewman. 2010-01-20 15:43:58 +02:00
Henri Sivonen 9126f32030 Bug 515610 - Make defer and async work with the speculating HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : 19dc4eaddf51c50cb416d62081fcef4ecd8d11c4
2009-11-17 10:52:30 +02:00
Henri Sivonen 188dff41f7 Bug 527896 - Freeze script deferredness and asyncness upon insertion to tree by HTML5 parser. r&sr=sicking.
--HG--
extra : rebase_source : a070df9af738e1716929cecf6163f82b74ab4e1d
2009-11-17 10:52:30 +02:00
Henri Sivonen f7e733583b Bug 502568 - HTML5 parser should flush occasionally when loading pure text. r=bnewman.
--HG--
extra : rebase_source : f1de8b7729f1570bf859578bf04192a4c5b6df05
2009-11-17 10:52:30 +02:00
Henri Sivonen 7023e10038 Bug 497861 - Wrong form state preservation on reparse in HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : 841506bea91507339e89eefa95cde68ca2d9a5dd
2009-11-06 15:06:48 +02:00
Henri Sivonen d73344abd4 Bug 525229 - Crash [@ nsHtml5PendingNotification::nsHtml5PendingNotification] when document.writing an external script followed by start tag. r=bnewman, a=beltzner. 2009-10-30 13:47:17 +02:00
Henri Sivonen 9e62053310 Bug 483015 - Expose HTML line number to JS and CSS parsers in the HTML5 parser. r=bnewman, a=beltzner. 2009-10-28 15:48:37 +02:00
Henri Sivonen c49652133c Bug 523087 - Check for termination before every tree op in the HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : 8dea5208332e6aefd18416bce4533455c4a3c981
2009-10-21 15:10:14 +03:00
Henri Sivonen 98a6ad4f84 Bug 482919 - Add speculative parsing to the HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : d8b0840910d47aadee767fcbecf6832d244b1c4b
2009-10-12 16:08:04 +03:00
Henri Sivonen fb7c33c862 Bug 516406 - Make document.write() parser and stream parser have distinct tokenizers in the HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : d49df0ed8f2c205d97d3023ee88a62e5f8afb91f
2009-09-21 16:18:20 +03:00
Henri Sivonen c2979194d3 Bug 515338 - Make HTML5 parser internals not hold nsIContent or regular dynamic atoms. r=bnewman.
--HG--
extra : rebase_source : 955eb137d96a4ea1461417ada9809404a1218dd1
2009-09-21 14:43:43 +03:00
Jonas Sicking db58890767 Bug 516906: Remove XLink support from nsXMLElement. r/sr=jst 2009-10-24 21:33:47 -07:00
Henri Sivonen d2e28c3cf5 Bug 515142 - Make HTML5 parser never clone nodes. WHATWG spec SVN rev 2947. rs=sicking. 2009-09-21 10:00:10 +03:00
Henri Sivonen 217db1634c Bug 499642 - Split the HTML5 parser into stream parser, doc.write parser and tree op executor. r=bnewman, sr=mrbkap. 2009-09-18 12:21:47 +03:00
Henri Sivonen 731a5370a6 Bug 502973 - Suppress EOF upon Terminate() in HTML5 parser. r=mrbkap. 2009-08-27 10:57:57 +03:00
Henri Sivonen d481094346 Bug 502869 - Crash [@ nsHtml5TreeBuilder::appendToCurrentNodeAndPushElementMayFoster]. r=bnewman 2009-08-18 10:48:59 +03:00
Henri Sivonen a56ada6c11 Bug 502260 - Check mFlushTimer for null in nsHtml5TreeBuilder::DoUnlink. r=mrbkap 2009-07-17 13:46:33 +03:00
Henri Sivonen 00382e3718 Bug 501015 - Address code style comments from timeless. r+sr=mrbkap 2009-07-15 14:30:33 +03:00
timeless@mozdev.org a33943492e Bug 501113 - HTML5 Crash EXCEPTION_INT_DIVIDE_BY_ZERO [@ _aulldiv - nsHtml5TreeBuilder::Flush]. r+sr=jonas 2009-07-02 09:41:59 +03: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
Jonas Sicking ff259aceaf Move files to better location
--HG--
rename : content/html/parser/src/Makefile.in => parser/html/Makefile.in
rename : content/html/parser/src/jArray.h => parser/html/jArray.h
rename : content/html/parser/src/nsHtml5ArrayCopy.h => parser/html/nsHtml5ArrayCopy.h
rename : content/html/parser/src/nsHtml5AtomList.h => parser/html/nsHtml5AtomList.h
rename : content/html/parser/src/nsHtml5Atoms.cpp => parser/html/nsHtml5Atoms.cpp
rename : content/html/parser/src/nsHtml5Atoms.h => parser/html/nsHtml5Atoms.h
rename : content/html/parser/src/nsHtml5AttributeName.cpp => parser/html/nsHtml5AttributeName.cpp
rename : content/html/parser/src/nsHtml5AttributeName.h => parser/html/nsHtml5AttributeName.h
rename : content/html/parser/src/nsHtml5ByteReadable.h => parser/html/nsHtml5ByteReadable.h
rename : content/html/parser/src/nsHtml5DocumentMode.h => parser/html/nsHtml5DocumentMode.h
rename : content/html/parser/src/nsHtml5ElementName.cpp => parser/html/nsHtml5ElementName.cpp
rename : content/html/parser/src/nsHtml5ElementName.h => parser/html/nsHtml5ElementName.h
rename : content/html/parser/src/nsHtml5HtmlAttributes.cpp => parser/html/nsHtml5HtmlAttributes.cpp
rename : content/html/parser/src/nsHtml5HtmlAttributes.h => parser/html/nsHtml5HtmlAttributes.h
rename : content/html/parser/src/nsHtml5MetaScanner.cpp => parser/html/nsHtml5MetaScanner.cpp
rename : content/html/parser/src/nsHtml5MetaScanner.h => parser/html/nsHtml5MetaScanner.h
rename : content/html/parser/src/nsHtml5MetaScannerCppSupplement.h => parser/html/nsHtml5MetaScannerCppSupplement.h
rename : content/html/parser/src/nsHtml5MetaScannerHSupplement.h => parser/html/nsHtml5MetaScannerHSupplement.h
rename : content/html/parser/src/nsHtml5Module.cpp => parser/html/nsHtml5Module.cpp
rename : content/html/parser/public/nsHtml5Module.h => parser/html/nsHtml5Module.h
rename : content/html/parser/src/nsHtml5NamedCharacters.cpp => parser/html/nsHtml5NamedCharacters.cpp
rename : content/html/parser/src/nsHtml5NamedCharacters.h => parser/html/nsHtml5NamedCharacters.h
rename : content/html/parser/src/nsHtml5Parser.cpp => parser/html/nsHtml5Parser.cpp
rename : content/html/parser/src/nsHtml5Parser.h => parser/html/nsHtml5Parser.h
rename : content/html/parser/src/nsHtml5PendingNotification.h => parser/html/nsHtml5PendingNotification.h
rename : content/html/parser/src/nsHtml5Portability.cpp => parser/html/nsHtml5Portability.cpp
rename : content/html/parser/src/nsHtml5Portability.h => parser/html/nsHtml5Portability.h
rename : content/html/parser/src/nsHtml5ReleasableAttributeName.cpp => parser/html/nsHtml5ReleasableAttributeName.cpp
rename : content/html/parser/src/nsHtml5ReleasableAttributeName.h => parser/html/nsHtml5ReleasableAttributeName.h
rename : content/html/parser/src/nsHtml5ReleasableElementName.cpp => parser/html/nsHtml5ReleasableElementName.cpp
rename : content/html/parser/src/nsHtml5ReleasableElementName.h => parser/html/nsHtml5ReleasableElementName.h
rename : content/html/parser/src/nsHtml5StackNode.cpp => parser/html/nsHtml5StackNode.cpp
rename : content/html/parser/src/nsHtml5StackNode.h => parser/html/nsHtml5StackNode.h
rename : content/html/parser/src/nsHtml5StackNodeCppSupplement.h => parser/html/nsHtml5StackNodeCppSupplement.h
rename : content/html/parser/src/nsHtml5StackNodeHSupplement.h => parser/html/nsHtml5StackNodeHSupplement.h
rename : content/html/parser/src/nsHtml5StateSnapshot.cpp => parser/html/nsHtml5StateSnapshot.cpp
rename : content/html/parser/src/nsHtml5StateSnapshot.h => parser/html/nsHtml5StateSnapshot.h
rename : content/html/parser/src/nsHtml5Tokenizer.cpp => parser/html/nsHtml5Tokenizer.cpp
rename : content/html/parser/src/nsHtml5Tokenizer.h => parser/html/nsHtml5Tokenizer.h
rename : content/html/parser/src/nsHtml5TreeBuilder.cpp => parser/html/nsHtml5TreeBuilder.cpp
rename : content/html/parser/src/nsHtml5TreeBuilder.h => parser/html/nsHtml5TreeBuilder.h
rename : content/html/parser/src/nsHtml5TreeBuilderCppSupplement.h => parser/html/nsHtml5TreeBuilderCppSupplement.h
rename : content/html/parser/src/nsHtml5TreeBuilderHSupplement.h => parser/html/nsHtml5TreeBuilderHSupplement.h
rename : content/html/parser/src/nsHtml5TreeOperation.cpp => parser/html/nsHtml5TreeOperation.cpp
rename : content/html/parser/src/nsHtml5TreeOperation.h => parser/html/nsHtml5TreeOperation.h
rename : content/html/parser/src/nsHtml5UTF16Buffer.cpp => parser/html/nsHtml5UTF16Buffer.cpp
rename : content/html/parser/src/nsHtml5UTF16Buffer.h => parser/html/nsHtml5UTF16Buffer.h
rename : content/html/parser/src/nsHtml5UTF16BufferCppSupplement.h => parser/html/nsHtml5UTF16BufferCppSupplement.h
rename : content/html/parser/src/nsHtml5UTF16BufferHSupplement.h => parser/html/nsHtml5UTF16BufferHSupplement.h
2009-06-26 17:12:29 -07:00