Commit Graph

79 Commits

Author SHA1 Message Date
Henri Sivonen
7bcb2df73f Bug 102699 - Support text/html in DOMParser.parseFromString(). r=smaug.
--HG--
rename : content/base/test/file_html_in_xhr.sjs => parser/htmlparser/tests/mochitest/file_bug102699.sjs
2012-01-20 14:03:49 +02:00
Henri Sivonen
556cef528f Bug 714777 - Refactor fragment parsing out of nsHtml5Parser. r=smaug. 2012-01-20 13:16:27 +02:00
Henri Sivonen
6db281e157 Bug 715103 - Move parser unblocking management from nsContentSink to nsScriptLoader. r=smaug. 2012-01-20 13:16:27 +02:00
Henri Sivonen
d06cb2cc48 Bug 715739 - Make document.write from inside a script-created parser not add to the wyciwyg channel. r=smaug. 2012-01-20 13:16:27 +02:00
Henri Sivonen
3b854aa20f Bug 715112 - Remove duplicate document.close() state tracking. r=smaug. 2012-01-20 13:16:26 +02:00
Henri Sivonen
898a4771fc Bug 655261 - Remove nsIParserFilter from the tree. r=mrbkap. 2012-01-09 14:20:43 +02:00
Henri Sivonen
ced0005834 Bug 703965 - Use View Source styling when viewing plain text source. r=smaug. 2011-11-30 19:44:31 +02:00
Henri Sivonen
d703c69de0 Bug 699356 - Show the URL of the page in the title of the View Source window. r=smaug. 2011-11-30 19:44:31 +02:00
Matt Brubeck
a2398505d6 Back out 38814e0bafb9 through c5d44e6e957b because of test failures 2011-11-30 11:44:50 -08:00
Henri Sivonen
559bf46562 Bug 703965 - Use View Source styling when viewing plain text source. r=smaug. 2011-11-30 19:44:31 +02:00
Henri Sivonen
3fb9a17956 Bug 699356 - Show the URL of the page in the title of the View Source window. r=smaug. 2011-11-30 19:44:31 +02:00
Henri Sivonen
e89f138ca9 Bug 699365 - Avoid asserting when the parser command is "external-resource". r=smaug. 2011-11-30 15:11:38 +02:00
Henri Sivonen
c8106b707a Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Matt Brubeck
41f27a05ad Back out 75ace50df008 to try to fix failures after last central/inbound merge on a CLOSED TREE 2011-11-16 11:50:48 -08:00
Ed Morley
f40e833352 Merge mozilla-central to mozilla-inbound 2011-11-16 18:05:23 +00:00
Ms2ger
4441d352ad Bug 697494 - Outparamdel nsIParser::GetStreamListener; r=hsivonen 2011-11-16 08:50:19 +01:00
Henri Sivonen
449e6f57ec Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Henri Sivonen
7b60462692 Bug 659763 - Make document.open("text/plain") work with the new parser. r=Olli.Pettay. 2011-11-01 17:27:36 +02:00
Henri Sivonen
8b1f8a82bb Bug 479959 - Reimplement text/plain loading using the HTML5 parser. r=Olli.Pettay. 2011-11-01 17:27:36 +02:00
Henri Sivonen
17cf658b47 Bug 482921 part 5 - Add entry point for new View Source for XML; Make new View Source easy to disable. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen
216045a5cb Bug 482921 part 4 - Support XML syntax highlighting in the parser core. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen
3b72f9a1ea Bug 482921 part 1 - Implement HTML syntax highlighting using the new parser. r=Olli.Pettay. 2010-07-30 13:15:38 +03:00
Henri Sivonen
b4411252a9 Bug 696651 part 3 - Refine part 2. r=Olli.Pettay. 2011-10-31 16:28:23 +02:00
Henri Sivonen
10abaa62cb Bug 696651 part 2 - Establish document.write() insertion position before re-entrant calls can occur. r=Olli.Pettay. 2011-10-29 23:14:31 +03:00
Henri Sivonen
55b8ec29f8 Back out changeset fc4ddddf142d and changeset d1766aec3d7e due to jsreftest orange. 2011-10-30 00:10:33 +03:00
Henri Sivonen
011550c076 Bug 696651 part 2 - Establish document.write() insertion position before re-entrant calls can occur. r=Olli.Pettay. 2011-10-29 23:14:31 +03:00
Henri Sivonen
84c70e7604 Bug 696651 part 1 - Deal more gracefully with the parser getting terminated during document.write() and with document.close() getting called while document.write() is on the call stack. r=Olli.Pettay. 2011-10-29 23:14:31 +03:00
Olli Pettay
e5b7e8ee46 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 2, r=jst
--HG--
extra : rebase_source : 53dc2ec386f6e4147587e6be3c53d297ad71d57a
2011-10-18 14:19:44 +03:00
Olli Pettay
a86b1a4d43 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Henri Sivonen
2c7ccac42d Bug 687744 and bug 573078 - Make buffer allocations in the HTML parser fallible; deal with allocation failures; reuse the buffers of strings passed to the parser. r=Olli.Pettay. 2011-09-28 15:45:17 +03:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Marco Castelluccio
b8fd68e0c6 Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen 2011-08-14 10:39:26 -07:00
Henri Sivonen
0176915bb7 Bug 596182 - Make fragment parsers global. Remove resulting dead code. r=Olli.Pettay, r=bzbarsky. 2011-08-01 10:48:24 +03:00
Henri Sivonen
35f3c40695 Bug 654106 - Avoid registering a script observer in the fragment parsing case. r=bzbarsky. 2011-05-04 09:35:14 +03:00
Henri Sivonen
9fbed8e805 Bug 642908 - Make the <noscript> handling state in the speculative document.write tree builder match the state of the non-speculative document.write tree builder. r=bzbarsky. 2011-04-28 10:01:13 +03:00
Henri Sivonen
53260527a8 Bug 645115 - Flush tree ops in the fragment case when the tree builder yields due to a script. r=bzbarsky. 2011-04-06 08:42:09 +03:00
Henri Sivonen
9619ed85e5 Bug 490916 - Trim space characters from encoding names in the HTML5 parser. r=jonas, a=jst. 2011-01-12 10:05:09 +02:00
Henri Sivonen
76af5ed80d 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
fa141d61fd 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
61ad70a824 Bug 608373 - Do not call document.close() when stopping a script-created document load; flush tree ops when the parser exhausts the stream in the script-created case. r=bzbarsky, a=blocking2.0-betaN.
--HG--
extra : rebase_source : c4f51cc0d40db3495ba6f56fc72f3afb2da70abd
2010-11-16 09:48:30 +02:00
Henri Sivonen
037d45c4a7 Bug 599588 addendum - Revert change to nsIParser and introduce a new abstract class instead to avoid changing the interface during an interface freeze. r=jonas, a=blocking2.0-final.
--HG--
extra : rebase_source : 3272dc97668c262945b91809a918ac5c013d8569
2010-11-16 09:47:10 +02:00
Henri Sivonen
0e5c39fc7b Bug 599588 - Make scripts created by createContextualFragment() executable. r=jonas, a=blocking2.0-final.
--HG--
extra : rebase_source : cfe476ed6ac2b1ee4cc243034659290d1226bd42
2010-11-01 11:50:01 +01:00
Dan Witte
ea67f1c5d2 Bug 577952 - Deep recursion in Release crashes on double-free in [@ nsHtml5UTF16Buffer::~nsHtml5UTF16Buffer()]. r=hsivonen, a=betaN+ 2010-10-07 14:00:17 -07:00
Olli Pettay
8d289f0549 Bug 580094 - Few SetInnerHTML micro optimizations , r=jst, a=benjamin
--HG--
extra : rebase_source : d23e9583ef631e1a93d6aece9c3543c4b23ed9c2
2010-07-21 19:03:21 +03:00
Henri Sivonen
711ffaef52 Bug 548232 - Make meta charset not have an effect on document.open()ed documents in the HTML5 parser (reverting most of bug 539887). r=bzbarsky.
--HG--
extra : rebase_source : 3f001d62e55a4ecd02c4ab8d1f6997e1547aef4e
2010-04-16 13:52:06 +03:00
Henri Sivonen
3347cbeda8 Bug 551344 part 4.5 - Drop flush timer safely when the cycle collector unlink nsHtml5Parser before nsHtml5StreamParser. r=jonas.
--HG--
extra : rebase_source : 1074aa1d53c749d2cb402abc5d084dfa969c352f
2010-04-27 10:33:06 +03:00
Jonas Sicking
930783a5d2 Bug 515401: Make implementation of <base> HTML5 compliant, and clean it up. r=benjamn a=dholbert 2010-04-23 09:10:07 -07:00
Olli Pettay
857f96fac4 Bug 559311 - [HTML5] nsContentUtils::CreateContextualFragment doesn't cache HTML5 parser properly, r=smaug 2010-04-21 14:54:40 +03:00
Henri Sivonen
47c742aea1 Bug 551344 part 1 - Address sicking's review comments in nsHtml5Parser.cpp. r=jonas. 2010-03-15 14:04:41 +02:00