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

438 Коммитов

Автор SHA1 Сообщение Дата
Henri Sivonen 183f3cd3e5 Bug 535530 - Transition to the return state eagerly when a semicolon has matched when tokenizing a named character reference in HTML. r=smaug. 2011-11-30 15:11:37 +02:00
Henri Sivonen ae6ef685b6 Bug 704667 - Take transitions from the comment start state to the data state into account when doing syntax highlighting. r=smaug. 2011-11-29 08:55:09 +02:00
Henri Sivonen 030d0bffb8 Bug 704034 - Replace old pre-interned looping attributes with a single loop attribute in the HTML parser. rs=smaug. 2011-11-22 10:29:14 +02:00
Henri Sivonen 4a39f3f562 Bug 704058 - Sync HTML parser .java sources in m-c with the htmlparser repo. rs=smaug. DONTBUILD 2011-11-21 16:12:15 +02:00
Henri Sivonen b74c7dc6e2 Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Andrew 2aa0696362 Bug 466626 - Make nsStyleLinkElement::ParseLinkTypes return a bitmask; r=roc 2011-11-20 11:13:40 +00:00
Matt Brubeck e851f37192 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 7b166f8edf Merge mozilla-central to mozilla-inbound 2011-11-16 18:05:23 +00:00
Ms2ger 1049c156c8 Bug 697494 - Outparamdel nsIParser::GetStreamListener; r=hsivonen 2011-11-16 08:50:19 +01:00
Ms2ger 0ac11f32f0 Bug 698261 - Remove the aElementType argument of NS_NewElement; r=bz 2011-11-16 08:50:19 +01:00
Ms2ger 7a9dd20769 Bug 669012 - Part b: Introduce nsIScriptElement::AttemptToExecute; r=smaug+hsivonen. 2011-11-16 08:50:18 +01:00
Henri Sivonen 689c5fc755 Bug 651072 - Support HTML parsing in XMLHttpRequest. r=smaug. 2011-11-16 09:38:51 +02:00
Henri Sivonen 5579c150ca Bug 700260 - Honor the view_source.tab_size pref in a way that actually works. r=smaug. 2011-11-07 21:20:14 +02:00
Henri Sivonen 1a4dfbfc57 Bug 700042 - Support turning off View Source syntax highlighting. r=smaug. 2011-11-07 21:20:14 +02:00
Henri Sivonen caa30574e6 Bug 699752 - Remove stray preposition from parser error reporting. r=smaug. 2011-11-07 11:29:18 +02:00
Henri Sivonen 97ad92e748 Bug 699750 - Fix accidental use of int instead of PRInt32. r=smaug. 2011-11-07 11:29:17 +02:00
Henri Sivonen bb99952979 Bug 699749 - Avoid the term "astral" in error messages. r=l10n. 2011-11-04 15:36:29 +02:00
Henri Sivonen 793a84929a Bug 698935 addendum - Rename the errStrayStartTag string key because the value changed. r=l10n. 2011-11-04 15:36:29 +02:00
Henri Sivonen a4642bfe44 Bug 699347 - Avoid crashing when viewing source of XML files that have an XML declaration without the encoding pseudo-attribute. r=smaug. 2011-11-03 16:31:27 +02:00
Henri Sivonen bc6cd72c1d 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 0dba9093b0 Bug 479959 - Reimplement text/plain loading using the HTML5 parser. r=Olli.Pettay. 2011-11-01 17:27:36 +02:00
Henri Sivonen c718393931 Bug 482921 part 14 - Address review comments. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen 424d5d89ce Bug 482921 part 11 - Deduplicate the tokenizer loop in .cpp. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen 7506879167 Bug 482921 part 10 - Support parametrized error messages in new View Source. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen 4600ed7a01 Bug 482921 part 8 - Start a new <pre> occasionally in View Source refixing bug 86355. r=bzbarsky. 2011-11-01 13:33:11 +02:00
Henri Sivonen 976ec770d6 Bug 482921 part 7 - Add an id for each line in new View Source. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen b9a012bc7f Bug 482921 part 6 - Use the internal encoding declaration in the XML View Source case. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen 088b02553b 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 2de2833898 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 8fd5e88e4a Bug 482921 part 3 - Highlight tree builder-level errors in View Source. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen 2df8639026 Bug 482921 part 2 - Highligh tokenizer-level errors in View Source. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen 267803686e 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 95fb13c8d3 Bug 482921 part 0.5 - Restore support for using tree op queue to set document charset. r=bzbarsky. 2011-11-01 13:33:11 +02:00
Henri Sivonen d1640b5ba0 Bug 696651 part 3 - Refine part 2. r=Olli.Pettay. 2011-10-31 16:28:23 +02:00
Henri Sivonen 9eb7ebb819 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 8f3f216863 Back out changeset fc4ddddf142d and changeset d1766aec3d7e due to jsreftest orange. 2011-10-30 00:10:33 +03:00
Henri Sivonen ee0602fba9 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 a0ffb6e2b2 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
Henri Sivonen 0b83ec1985 Bug 697833 - Stop honoring html5.parser.enable. r=Olli.Pettay. 2011-10-29 13:51:52 +03:00
Olli Pettay 5a92aedb22 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 2c2da3099f 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 92064e6d3f 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
Jeff Walden b5e57820bf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Henri Sivonen 2cdea7cee0 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
Henri Sivonen 36a7dbec51 Bug 619043 - Check for parser termination after flushing speculative loads. r=bzbarsky. 2011-10-14 13:39:19 +03:00
Jeff Walden d0532c3e95 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden 0f30b277bf Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Jared Wein b8bc689faa Backout revision 379147b5215f due to video controls not showing when viewing standalone videos (bug 689106). r=jonas 2011-10-03 20:46:40 -07:00
Michael Wu d2b70213ac 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
Gabor Krizsanits d12dec5707 Bug 678465 - 'document-element-inserted' doesn't fire on ImageDocument; r=sicking 2011-09-22 17:35:25 +01:00
Henri Sivonen db11f1f87f Bug 685581 - Do not treat the empty string as a speculatively preloadable URL. r=bzbarsky. 2011-09-19 17:37:04 +03:00
Olli Pettay 3e3400ebbc Bug 675166 - Make DocumentTypeNode to use NodeInfoManager of the document, r=sicking
--HG--
extra : rebase_source : c05867591dc394695c35de92a0c62ca5df9db1d6
2011-09-17 06:32:32 -07:00
Ms2ger 09c97f4a38 Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst 2011-09-18 11:22:17 +02:00
Henri Sivonen ded8517389 Bug 657389 - nsHtml5MetaScanner should use PR_INT32_MAX instead of -1 as a special marker value for indeces. r=jonas. 2011-09-07 12:50:15 +03:00
Ms2ger 1e19eb80bc Bug 684469 - Various cleanup in nsHtml5TreeOpExecutor; r=hsivonen 2011-09-04 12:49:29 +02:00
Matheus Kerschbaum 0f5b3e839c Bug 680625 part 0b: Remove more workarounds for past century compilers. r=ted 2011-08-26 00:35:13 +01:00
Olli Pettay b3a4be3d45 Bug 680687, Follow COM rules - keep strong ref to object, r=jst 2011-08-23 15:57:29 +03:00
Rafael Ávila de Espíndola d17d0a0704 Bug 678209 - Fix c++0x initializer list error found by clang. r=jonas
The aLength argument is used in

CharacterDataChangeInfo info = {
  PR_TRUE,
  oldLength,
  oldLength,
  aLength
};

and the last field of CharacterDataChangeInfo is a PRUint32, so
aLength should be one to for this to be valid c++0x.

--HG--
extra : rebase_source : 267982352c7075a1189555cb6e0b8f025c57b036
2011-08-22 15:35:19 -04:00
Marco Castelluccio d3f9d68e9e Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen 2011-08-14 10:39:26 -07:00
Jan Varga a298beaa2e Bug 617528 Part 2 - Core implementation r=smaug
--HG--
rename : content/html/content/test/test_bug418756.html => content/html/content/test/test_checked.html
2011-08-08 19:31:32 +02:00
Jan Varga e76c71aac4 Bug 676236 - Add support for the <menuitem> element to the HTML parser (not enabled by default) r=hsivonen 2011-08-06 08:41:36 +02:00
Marco Bonardo 0e079365b6 Backout changeset d43b06e79794 (Bug 612839) due to build bustage. 2011-08-04 11:02:49 +02:00
Marco Castelluccio 3cfcb2e4ef Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen 2011-08-03 19:54:55 +02:00
Daniel Holbert c27859e5d4 Bug 482919 followup: Add newline at end of nsHtml5Speculation.h to fix build warning. [whitespace-only] 2011-08-02 12:10:29 -07:00
Daniel Holbert 8e5493ce11 Bug 675499 followup: Remove comma at end of enum list, to fix maemo build bustage. 2011-08-02 12:10:23 -07:00
Henri Sivonen 3c00c2b665 Bug 675499 - Transfer initially sniffed document charset through the speculative load queue to avoid race conditions. r=bzbarsky. 2011-08-02 20:45:38 +03:00
Henri Sivonen 9ebccb6c57 Bug 563322 part 2 - Avoid calling nsScriptLoader::SetEnabled in the innerHTML setter when using the XML parser. r=Olli.Pettay. 2011-08-01 10:48:28 +03:00
Henri Sivonen 21d32e82f3 Bug 596182 - Make fragment parsers global. Remove resulting dead code. r=Olli.Pettay, r=bzbarsky. 2011-08-01 10:48:24 +03:00
Boris Zbarsky 8983ada153 Bug 672014. Pass the crossorigin attribute through to image preloading code. r=joe,hsivonen 2011-07-29 14:30:00 -04:00
Boris Zbarsky 1242922ac9 Back out changeset f5aecf9010ef (bug 672014) due to build bustage. 2011-07-29 15:29:01 -04:00
Boris Zbarsky 23f2cddc95 Bug 672014. Pass the crossorigin attribute through to image preloading code. r=joe,hsivonen 2011-07-29 14:30:00 -04:00
Henri Sivonen 8f4c228884 Bug 672081 - Stop feeding chardet when seeing an actionable late charset <meta>. r=bzbarsky. 2011-07-28 13:45:29 +03:00
Mats Palmgren 24126c8471 Bug 672438 - Notify only if AppendChildTo succeeds. r=hsivonen 2011-07-20 22:22:27 +02:00
Ed Morley 41438b42dd Bug 665387 - Remove unused variable document from nsHtml5TreeOperation::Perform; r=hsivonen 2011-06-21 17:37:41 +02:00
Jonas Sicking e3e6dd6825 Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz 2011-06-14 00:56:49 -07:00
Ed Morley f13392fb42 Bug 614515 - Remove MOZ_SVG conditions. r=roc 2011-05-30 09:34:50 +02:00
Masayuki Nakano 4a5030c91a Bug 660121 Remove all pref related methods from nsContentUtils r=roc 2011-05-29 08:42:57 +09:00
Masayuki Nakano 60459f3de7 Bug 660401 Re-land the previous backed out patch 2011-05-28 16:03:00 +09:00
Masayuki Nakano c1ab9c6d97 Bug 660401 temporary backout the patches for bug 659820 and bug 659821 for investigating talos regression 2011-05-28 13:50:19 +09:00
Masayuki Nakano 3f360020b4 Bug 659821 Replace nsContentUtils::GetLocalizedStringPref() with Preferences::GetLocalizedC?String() r=roc 2011-05-27 13:53:03 +09:00
Jonas Sicking 241be7f705 Bug 659530: Clean up and remove unused code that we no longer need with the safer mutation events implementation. r=smaug 2011-05-25 10:58:23 -07:00
Henri Sivonen eaaadb6040 Bug 655682 - Perform discretionary flushes in the HTML parser even if the current node is foster-parenting. r=bzbarsky. 2011-05-19 11:42:01 +03:00
Ed Morley 91238e76b1 Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
Henri Sivonen d6617b6996 Bug 651441 - Make sure the HTML5 application cache selection algorithm runs properly when there is no manifest attribute. r=honzab.moz. 2011-05-13 11:31:12 +03:00
Timothy Nikkel e0ca8544d7 Backed out changeset ed867467d35b (bug 645075) because it doesn't build. 2011-05-12 11:07:42 -05:00
Timothy Nikkel 603ea21d74 Bug 645075. Move scrolling to ref handling back from the document to the content sink so that it works with XSLT transformed documents. r=sicking 2011-05-12 10:36:21 -05:00
Zack Weinberg 3febb9d39a Bug 541496 prelim 1: remove nsIUnicharStreamListener (no in-tree implementations). r=hsivonen 2011-05-06 08:45:33 -07:00
Henri Sivonen 3c5ae26d4a Bug 654106 - Avoid registering a script observer in the fragment parsing case. r=bzbarsky. 2011-05-04 09:35:14 +03:00
Henri Sivonen fc47678885 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
Ms2ger dcca90ed82 Bug 604595, part b - Remove the nsIDOMNamedNodeMap* arguments to NS_NewDOMDocumentType; r=sicking 2011-04-14 14:04:21 +02:00
Henri Sivonen e9f116d66d Bug 642145 - Avoid firing document-element-inserted for non-element insertions to the document node. r=jonas. 2011-04-08 09:07:28 +03:00
Henri Sivonen 5d947243ad Bug 643410 - Reconstruct active formatting elements on text in an HTML integration point; handle U+0000 per spec in a MathML text integration point. r=jonas. 2011-04-08 09:07:28 +03:00
Henri Sivonen 2b19692c02 Bug 643395 - Update the HTML parser Java code to the state in the htmlparser repo (NPOTB). rs=jonas. 2011-04-08 09:07:27 +03:00
Henri Sivonen 9763f77723 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
Simon Montagu 4587536cef Remove UTF-32 encoder and decoder. Bug 604317, r=emk 2011-03-30 08:35:34 +02:00
Boris Zbarsky c634f43209 Bug 313351. ContentStatesChanged should take only one argument. r=dbaron 2011-03-28 23:32:11 -04:00
Henri Sivonen 57830d19b6 Bug 638318 - Require all zero bytes to be in either odd or even position when sniffing for UTF-16BE/LE-encoded Basic Latin. r=bz, a=beltzner 2011-03-03 08:52:47 +02:00
hsivonen@iki.fi 67cd6457cb Remove the Hotmail-specific hack that forces the old parser for document.open() (bug 636692, r=bz, a=blocker). 2011-03-02 13:15:02 -08:00
Henri Sivonen 4734b8d364 Bug 636689 - Rename the HTML5 parser enablement pref and make it show in about:support. r+a=jst. 2011-02-25 18:23:02 +02:00
Henri Sivonen 0f9a6ac204 Bug 627729 - Force the old HTML parser for document.open()ed documents whose host name ends with ".mail.live.com". r=bzbarsky, a=blocking2.0-final. 2011-02-26 10:57:00 +02:00
Mats Palmgren d18d8f587b Bug 635085 - Reconstruct any active formatting elements after auto closing a <nobr> in a nested <nobr> situation, per HTML spec. r=hsivonen approval2.0=shaver 2011-02-22 00:06:27 +01:00
Henri Sivonen 46bbea1ce1 Bug 634262 - Correct assertions in nsHtml5StreamParser::WriteStreamBytes. r=smontagu, a=beltzner. 2011-02-18 13:54:23 +02:00
timeless@mozdev.org f94aa928dd Bug 619045 - crash [@ nsHtml5TreeOpExecutor::RunScript(nsIContent*)]
r=hsivonen a=jst
2011-02-16 14:14:11 +01:00
Henri Sivonen f68ddc8cba Bug 631751 - Sniff Basic Latin BOMless UTF-16 for IE compat. r=bzbarsky, a=bzbarsky. 2011-02-16 08:40:35 +02:00
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
Dave Townsend 23fdf3025d Backout of changeset 9acd51502a65 from bug 579846. a=bustage 2011-01-24 14:59:51 -08:00
Honza Bambas 46257e93e3 Bug 579846 - nsIHttpChannel::SetResponseHeader should work after the stream has ended, r=bzbarsky+hsivonen, a=betaN+ 2011-01-23 23:49:30 +01: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
Michael(tm) Smith d73d2ea19d Bug 620664 - Add support for the track element to the HTML5 parser. r=hsivonen, a=jst. 2011-01-12 10:05:09 +02:00
Henri Sivonen ae4be142ed Bug 490916 - Trim space characters from encoding names in the HTML5 parser. r=jonas, a=jst. 2011-01-12 10:05:09 +02:00
Neil Rashbrook b22f4f1a18 Bug 620267 Certain LFs following a <pre> or <textarea> get erroneously stripped r=hsivonen a=bz 2011-01-05 23:49:55 +00:00
Henri Sivonen 137495a7a9 Bug 619497 - Use the WHATWG license in the license header of files transformed from the WHATWG spec. r=lvilla, r=gerv, a=comment-only. DONTBUILD 2011-01-05 14:40:55 +02:00
Mounir Lamouri 3a28b96109 Bug 569399 - autofocus sometimes does not work because the element has no frame yet. r=hsivonen a=blocking-betaN 2011-01-03 13:57:45 +01:00
Mihai Sucan 116aa5fbdc 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
Henri Sivonen 85589a6dab Bug 614241 - Make a late <body> start tag set frameset-ok to "not ok". rs=jonas, a=blocking2.0-betaN. 2010-12-09 11:27:58 +02:00
Henri Sivonen 69594f3f8f Bug 612528 - Make <option> and <optgroup> imply </option> in the "in body" insertion mode only if the current node is "option". rs=jonas, a=blocking2.0-betaN. 2010-12-09 11:27:58 +02:00
Henri Sivonen 854b09ec25 Bug 612527 - Implement spec tweaks to U+0000 handling in the HTML5 parser. rs=jonas, a=blocking2.0-betaN. 2010-12-09 11:27:58 +02:00
Henri Sivonen 4fb9916a52 Bug 606925 - Get rid of the "in foreign content" insertion mode. Check the namespace of the current node instead. rs=jonas, a=blocking2.0-betaN. 2010-12-09 11:27:58 +02:00
Henri Sivonen e6fbe390cb Bug 612529 part 3 - Make <annotation-xml> an HTML integration point depending on the encoding attribute. rs=jonas, a=blocking2.0-betaN. 2010-12-09 11:27:58 +02:00
Henri Sivonen 84881910ae Bug 612529 part 2 - Rework how scopingness and specialness is handled in stack nodes; refresh the set of scoping elements to spec. rs=jonas, a=blocking2.0-betaN. 2010-12-09 11:27:58 +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 f6fa927986 Bug 594730 - Make the content attribute in <meta> act as an encoding declaration only if http-equiv="Content-Type" is present. rs=jonas, a=blocking2.0-betaN. 2010-12-08 14:37:19 +02:00
Henri Sivonen be4cdc6c1a Bug 610345 - Add MathML named characters that expand to two code points to the HTML5 parser. rs=jonas, a=blocking2.0-betaN. 2010-11-23 13:49:27 +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 4531f71b9a Bug 607573 - Make <input type=hidden> not set frameset-ok to "not ok". r=jonas, a=blocking2.0-betaN. 2010-11-18 10:19:59 +02:00
Henri Sivonen 0f8fe8c54a 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 6b69faed33 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
Simon Montagu e3bb6ebd56 Don't propagate error getting a Unicode decoder to caller. Bug 603423, r=hsivonen, a=bsmedberg 2010-11-14 06:40:14 -08:00
Henri Sivonen 76999c3787 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
Henri Sivonen e00c8d1067 Bug 605466 - Implement new spec-based limits for formatting element proliferation in the HTML5 parsing algorithm. rs=jonas, a=blocking2.0-betaN.
--HG--
extra : rebase_source : b8d9c7fb5c4ef094af89ed9c29d49bd38d8fcca1
2010-10-15 12:23:42 +03:00
Henri Sivonen e801a7e1ba Bug 596169 - Make <summary> and <figcaption> behave per spec. Remove <datagrid>. rs=jonas, a=blocking2.0-betaN. 2010-10-07 10:27:16 +03:00
Henri Sivonen ad46c1b368 Bug 502176 bustage fix - Restore the refcount tracing code to nsHtml5Tokenizer. a=orange. 2010-11-10 12:03:48 +02:00
Henri Sivonen 85432fd75b Bug 555940 - Make named character names use a dedicated data type. r=tglek, a=jst.
--HG--
extra : rebase_source : d201cbad639f7ce87caa04f4260d1a9f3b3da867
2010-09-28 10:32:31 +03: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
Ms2ger a495819ba2 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
Henri Sivonen 05b0e57696 Bug 570309 - Remove the dead code for the "comment end space" state. rs=jonas, a=blocking2.0-betaN.
--HG--
extra : rebase_source : 179fc95e1ed00bc85ea6245ece49ec3944507d62
2010-10-25 12:22:59 +03:00
Mounir Lamouri 06426cc202 Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz 2010-10-20 13:26:32 +02:00
Henri Sivonen ec0c87ef77 Bug 482921 part 0 - Make preparations for enabling transition reporting in the HTML5 tokenizer. rs=jonas, a=jst.
--HG--
extra : rebase_source : 2e5ae5e2a6498d7b956d8e39d1ed3c6c09dce7fa
2010-09-28 10:32:31 +03:00
Henri Sivonen 541bd617e0 Bug 596168 - Make non-space characters in the "in foreign content" insertion mode set frameset-ok to not OK. rs=jonas, a=jst.
--HG--
extra : rebase_source : e87024a6536be71b1670cb834e4d675523bb8c93
2010-09-15 11:37:55 +03:00
Henri Sivonen d9758ac3ac Bug 601604 - Emit ]] or ] when ]]EOF or ]EOF appears in a CDATA section in text/html. rs=jonas, a=jst.
--HG--
extra : rebase_source : 8f83d4a619ff8893976db75f63b9ed81e4292e2f
2010-10-07 10:27:16 +03:00
Henri Sivonen 90fc2f0f24 Bug 598886 - Relicense HTML5 parser C++ files that are not Gecko-specific. r=gerv, a=NPOTB.
--HG--
extra : rebase_source : bc892ef86657a39aac22e3bfc0441586a1b7c254
2010-09-28 10:32:31 +03:00
Henri Sivonen f8f7ce8b0d Bug 596180 - Limit the number of iterations in the adoption agency algorithm. rs=jonas, a=blocking2.0-betaN.
--HG--
extra : rebase_source : 3fd176ad6b1bddee3c11b9f9002e21c64a5c1927
2010-09-15 11:37:55 +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
Dan Witte bc7e0c6291 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
Henri Sivonen 86e071c125 Bug 595844 - Check the namespace of the current element on the tree builder stack when deciding whether to support CDATA sections in text/html. rs=jonas, a=blocking2.0-betaN. 2010-09-15 11:37:55 +03:00
Henri Sivonen 571c7e6f20 Bug 595797 - Add the attributes of an <html> start tag to the root element if the <html> tag is seen after a frameset. rs=jonas, a=blocking2.0-betaN. 2010-09-15 11:37:55 +03:00
Henri Sivonen 532db120d1 Bug 595643 - Make space characters reconstruct active formatting elements when frameset-ok is OK. rs=jonas, a=blocking2.0-betaN. 2010-09-15 11:37:55 +03:00
Henri Sivonen 212a2f8dfc Bug 580091 - Make the HTML5 parser reconstruct formatting elements properly when text inside table gets foster-parented. rs=jonas, a=blocking2.0-betaN. 2010-09-15 11:37:55 +03:00
Henri Sivonen f85eba095c Bug 590498 - Change popping condition when forcibly breaking out of foreign content in HTML5 parser. rs=jonas, a=blocking2.0-betaN.
--HG--
extra : rebase_source : 4b673ba39fd24d120347b9752ba04a4904f764cd
2010-09-15 11:37:55 +03:00