Commit Graph

48 Commits

Author SHA1 Message Date
Henri Sivonen
21911581ea 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
b40e883623 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
b08bd7a552 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
46f71117ae 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
a00ca20e07 Bug 502176 - Replace static use of jArray with a plain old data staticJArray, introduce an autoJArray for nicer memory management. r=tglek, a=jst. 2010-09-28 10:32:31 +03:00
Henri Sivonen
533ff1a58b Bug 599584 - Do not let nsContentSink process <meta> tags when parsing an HTML fragment. r=bzbarsky, a=blocking2.0-betaN. 2010-10-13 10:12:55 +03:00
Henri Sivonen
ea6b908bf5 Bug 591330 - Make deep nesting prevention code in the HTML5 parser not crash when there are speculations involved. r=jonas, a=blocking2.0-betaN. 2010-09-06 10:41:26 +03:00
Chris Pearce
0027a22b17 Bug 485288 - Update media load algorithm. r=roc a=blocking2.0 2010-09-03 12:03:03 +12:00
Henri Sivonen
1e44df8f79 Bug 534293 - Make speculative loads initiated by the HTML5 parser take <base> into account. r=jst, a=blocking2.0-betaN. 2010-07-26 14:18:43 +03:00
Henri Sivonen
6c34f708a5 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
16fafd331c Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Henri Sivonen
ba3526f337 Bug 570898 - Defer isindex prompt reading until after startup. r=jonas. 2010-06-11 18:08:13 +03:00
Daniel Holbert
5b78c1fcbe Backed out changeset a8ac411e1653 (bug 552938) for causing some randomorange. 2010-06-09 17:16:25 -07:00
Henri Sivonen
7b5cf1ffc4 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. 2010-05-25 14:57:58 +03:00
Henri Sivonen
0dd4c83505 Bug 569538 - Make aFromParser distinguish network, document.write and fragments in the HTML case. r=Olli.Pettay. 2010-06-09 09:44:25 +03:00
Henri Sivonen
7b85751be7 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
896b731723 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
b1663de57d Bug 551344 part 1 - Address sicking's review comments in nsHtml5Parser.cpp. r=jonas. 2010-03-15 14:04:41 +02:00
Craig Topper
076bc13756 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Henri Sivonen
d008649fab Bug 555462 - Back out changeset a0f0fde99844 for causing a buffer overrun. 2010-03-30 11:21:36 +03:00
Henri Sivonen
4793e2d1fd Bug 543458 - Make the HTML5 tree op executor use nsContentSink code for deciding when to return to the event loop. r=bnewman. 2010-02-26 11:18:38 +02:00
Henri Sivonen
c7fd798070 Bug 489820 and bug 483209 - Make the HTML5 parser check buffer bounds less often and place limits on buffer growth. rs=sicking. 2010-02-12 09:49:06 +02:00
Henri Sivonen
382fdd2350 Bug 506090 - Speed up the tokenization of named character references in the HTML5 parser. r=bnewman. 2010-02-10 11:23:35 +02:00
Henri Sivonen
898d60c4ea Bug 540574 - Make the HTML5 parser break out of doc update on <body> and remove trailing white space from test_bug386782.html. r=bnewman. 2010-02-22 14:17:33 +02:00
Henri Sivonen
b70fd25289 Bug 539887 - Make document.written meta charset affect the charset of document.opened documents in the HTML5 parser. r=bnewman. 2010-03-09 14:39:32 +02:00
Henri Sivonen
c31d88132a 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
ecc621866b 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
4f54fc8c20 Bug 515610 - Make defer and async work with the speculating HTML5 parser. r=bnewman. 2009-11-17 10:52:30 +02:00
Henri Sivonen
2d5d1ffdda Bug 527896 - Freeze script deferredness and asyncness upon insertion to tree by HTML5 parser. r&sr=sicking. 2009-11-17 10:52:30 +02:00
Henri Sivonen
b90f753473 Bug 502568 - HTML5 parser should flush occasionally when loading pure text. r=bnewman. 2009-11-17 10:52:30 +02:00
Henri Sivonen
8017ba2092 Bug 497861 - Wrong form state preservation on reparse in HTML5 parser. r=bnewman. 2009-11-06 15:06:48 +02:00
Henri Sivonen
945b9c0521 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
6d5095eb25 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
875857fc6b Bug 523087 - Check for termination before every tree op in the HTML5 parser. r=bnewman. 2009-10-21 15:10:14 +03:00
Henri Sivonen
e5e8f90558 Bug 482919 - Add speculative parsing to the HTML5 parser. r=bnewman. 2009-10-12 16:08:04 +03:00
Henri Sivonen
2cf48a3ad5 Bug 516406 - Make document.write() parser and stream parser have distinct tokenizers in the HTML5 parser. r=bnewman. 2009-09-21 16:18:20 +03:00
Henri Sivonen
4384f2fdf0 Bug 515338 - Make HTML5 parser internals not hold nsIContent or regular dynamic atoms. r=bnewman. 2009-09-21 14:43:43 +03:00
Jonas Sicking
f37c0c0f34 Bug 516906: Remove XLink support from nsXMLElement. r/sr=jst 2009-10-24 21:33:47 -07:00
Henri Sivonen
78b7b31988 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
2b8f6a2e36 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
d90499e4f9 Bug 502973 - Suppress EOF upon Terminate() in HTML5 parser. r=mrbkap. 2009-08-27 10:57:57 +03:00
Henri Sivonen
3d71c66683 Bug 502869 - Crash [@ nsHtml5TreeBuilder::appendToCurrentNodeAndPushElementMayFoster]. r=bnewman 2009-08-18 10:48:59 +03:00
Henri Sivonen
48daa9ddbd Bug 502260 - Check mFlushTimer for null in nsHtml5TreeBuilder::DoUnlink. r=mrbkap 2009-07-17 13:46:33 +03:00
Henri Sivonen
3cb3b0a9bc Bug 501015 - Address code style comments from timeless. r+sr=mrbkap 2009-07-15 14:30:33 +03:00
405939176b 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
2f19c38b3b Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas 2009-06-29 00:44:22 +02:00
Johnny Stenback
64cf7ea628 Backed out changeset 168dd0eb7283 2009-06-28 11:47:11 -07:00
Jonas Sicking
6a0cbe0e68 Move files to better location 2009-06-26 17:12:29 -07:00