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

2854 Коммитов

Автор SHA1 Сообщение Дата
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 af2e0016e4 Test for bug 635085 - Reconstruct any active formatting elements after auto closing a <nobr> in a nested <nobr> situation, per HTML spec. r=hsivonen, a=test-only. 2011-02-23 11:32:19 +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
Justin Wood 68ff640a9e Bug 589506 - Scrub the codebase of MOZ_VIEW_SOURCE and MOZ_JSLOADER. r+=ted 2010-08-24 23:27:34 -04:00
timeless@mozdev.org af6b524d43 Bug 577918 - mark DEBUG only variables as ifdef DEBUG in parser r=mrbkap a=jst 2010-07-11 15:55:52 +03: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
Phil Ringnalda f1f180c5b0 Bug 621260 - Remove ancient and frightening htmlgen, r=hsivonen, a=NPOTB 2010-12-24 15:02:55 -08:00
Robert O'Callahan e572f26d47 backing out 2d7561bc0cb0 2011-01-17 09:37:09 +13:00
Honza Bambas 9ea9773c0f Bug 579846 - nsIHttpChannel::SetResponseHeader should work after the stream has ended, r=bzbarsky, a=betaN+ 2011-01-16 17:58:49 +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
Henri Sivonen e3fc1672bb Test for bug 620664 - Add tests for HTML5 void elements. r=jgriffin, a=test-only. 2011-01-12 10:05:09 +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
Henri Sivonen 993e5f2c47 Tests for bug 620267 - Test CRLF, CR and escaped LF immediately following <pre>. r=jgriffin, a=test-only. 2011-01-07 10:57:03 +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
Mihai Sucan 2478390f1c Bug 606498 - Make sure the new nsIScriptError2 is used in all possible places- part 1; r=bzbarsky,dbaron,mrbkap sr=jst a=blocking2.0 2010-12-20 12:21:58 -04:00
Jesse Ruderman 1f4380b26a Bug 445171 - add crashtest 2010-12-12 12:54:25 -08: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 f192a73235 Bug 592366 - Do not execute scripts whose owner doc is not the doc of the inserter parser or not the owner doc at the time of starting the script load. r=jonas, a=blocking2.0-betaN. 2010-12-08 14:37:19 +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 b9038674c6 Bug 612530 - Sync html5lib tree builder tests into m-c. r=jgriffin, a=test-only. 2010-11-17 11:06:12 +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
Mounir Lamouri d9402c590c Bug 611352 - Create a HTMLElement when createElement('isindex') is called and the html5 parser is enabled. r+a=sicking 2010-11-13 00:29:25 +01: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 01fa16e8c5 Bug 592656 part 1 - Use the current parser-inserted script as the insertion point key. r=jonas, a=blocking2.0-final.
--HG--
extra : rebase_source : 92320d48b27c984e25c72be6dafbaef9d6133038
2010-09-06 10:41:26 +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 68fe250adb Bug 582712 - Remove nsHTMLDocument::TryBookmarkCharset; r=bz a=bsmedberg 2010-11-05 11:57:10 +01: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
Justin Lebar ext:(%2C%20Kyle%20Huey%20%3Cme%40kylehuey.com%3E) a6e293112f Bug 145975 - Implement nsCaseInsensitiveUTF8StringComparator r=smontagu
--HG--
extra : rebase_source : 8e5d63a6a5ca50b6e95a80421ad96a1d4a52ae77
2010-08-31 18:03:40 -07: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 e1e188c334 Bug 602727 - Split HTML5 tree builder tests into two mochitests to avoid timeouts on slow computers. r=jgriffin, a=test-only.
--HG--
rename : parser/htmlparser/tests/mochitest/test_html5_tree_construction.html => parser/htmlparser/tests/mochitest/test_html5_tree_construction_part2.html
2010-10-15 12:23:42 +03: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
Ehsan Akhgari aeb5412ed5 Bug 593758 - Part 2: unit tests for the plaintext serializer; r=bzbarsky a=blocking-betaN+
--HG--
rename : parser/htmlparser/tests/outsinks/simplecopy.out => parser/htmlparser/tests/outsinks/simplecopy-formatted.out
2010-10-13 01:34:20 -04: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 799205353c Bug 559023 part 3 - Refresh the html5lib test data to include recent WebKit contributions. r=jgriffin, a=test-only. 2010-10-07 10:03:48 +03:00
Henri Sivonen de036ccfe3 Bug 559023 part 2 - Import all the current tree builder tests from html5lib and adjust the test harness to support the new test features. r=jgriffin, a=test-only. 2010-09-08 11:36:01 +03:00
Henri Sivonen 97a0b2593f Bug 559023 part 1 - Move html5lib tree builder tests to a directory of their own. r=jgriffin, a=test-only.
--HG--
rename : parser/htmlparser/tests/mochitest/html5lib_license.txt => parser/htmlparser/tests/mochitest/html5lib_tree_construction/html5lib_license.txt
rename : parser/htmlparser/tests/mochitest/html5lib_tree_dat1.txt => parser/htmlparser/tests/mochitest/html5lib_tree_construction/tests1.dat
rename : parser/htmlparser/tests/mochitest/html5lib_tree_dat2.txt => parser/htmlparser/tests/mochitest/html5lib_tree_construction/tests2.dat
rename : parser/htmlparser/tests/mochitest/html5lib_tree_dat3.txt => parser/htmlparser/tests/mochitest/html5lib_tree_construction/tests3.dat
2010-09-01 14:41:12 +03:00
Henri Sivonen bd2e412583 Bug 559023 part 0 - Revert firefight changeset b439e73f33b7 to make parts 1 and 2 apply. r=jgriffin, a=test-only. 2010-09-21 17:13:44 +03: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
Jonas Sicking fbc42d690c Bug 592829: Make parsing code able to deal with element creation failing. r=jst/peterv a=blocker 2010-10-04 18:25:44 -07:00
Henri Sivonen 91f00bd7a1 Remove outdated <button> tests. Correct tests are bug 559023. r&a=orange. 2010-09-20 15:52:33 +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
Henri Sivonen d287487de3 Bug 590495 - Check for foreign elements in scope after processing a foreign end tag without forwarding to the secondary insertion mode. rs=jonas, a=blocking2.0-betaN.
--HG--
extra : rebase_source : b23a9ecbbfe38dfb3878de447e61a23ab9594c9f
2010-09-09 10:30:07 +03:00
Henri Sivonen a5d88062d8 Bug 569528 - Make <p> not close implicitly across a <button> on stack. rs=jonas, a=blocking2.0-final.
--HG--
extra : rebase_source : cb0b77f12787278883c3c1ef8d3d0906c86a327a
2010-09-08 19:31:22 +03:00
Henri Sivonen 88a9ce7929 Bug 531056 - Make the HTML5 parser unaware of <spacer>. r=jonas, a=jst.
--HG--
extra : rebase_source : 97ef3b60edcd87e3a8ebe4fbb0ee9de75d7ab5c9
2010-09-15 11:37:55 +03:00
Henri Sivonen 05a6d294d6 Bug 590874 - Disable test_bug534293.html due to frequent orange until bug 590713 is fixed. r=bzbarsky, a=test-only. 2010-09-15 11:37: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
Mounir Lamouri 06546aad23 Bug 555840 - Implement datalist element. r=sicking,mrbkap,ehsan sr=smaug a2.0=roc 2010-09-10 07:16:56 +02:00
Henri Sivonen d77d338142 Bug 577508 - Make the HTML5 parser hide the old page from view when the page being loaded shows a dialog. r=bzbarsky, a=blocking2.0-final. 2010-07-21 12:49:36 +03:00
Chris Pearce 3313bd2660 Bug 485288 - Update media load algorithm. r=roc a=blocking2.0 2010-09-03 12:03:03 +12:00
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
Joel Maher adaba45072 Bug 586754 Xpcshell tests should use relativesrcdir instead of $MODULE (android prepartion) r=mitchell.field a=NPOTB 2010-08-26 14:47:28 -07:00
Clint Talbert 4fa6358e1b Backed out changeset 49beef9387a0 due to Xpcshell orange a=backout
--HG--
extra : rebase_source : 01307f705ab07b7784401d69a53921b200544978
2010-08-25 14:03:44 -07:00
Joel Maher fecae963b6 Bug 586754 Change xpcshell to use $relativesrcdir instead of $module for android support a=NPOTB r=mitchell.field 2010-08-25 11:47:39 -07:00
Ms2ger 007a644125 Bug 562698 - Part b: Pass Elements to nsNodeUtils::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-24 09:06:07 +02:00
Mounir Lamouri 1031deaded Bug 588683 - Implement the form attribute. r=sicking sr=jst a2.0=blocking 2010-08-24 03:11:04 +02:00
Jonas Sicking 32a03526e0 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher a6d440687b Bug 586754 xpcshell tests should use relativesrcdir instead of $MODULE r=:Mitch a=NPOTB 2010-08-20 09:32:58 -07:00
Ms2ger b00453d727 Bug 531030 - Remove support for the spacer element; r=bzbarsky a=blocking-betaN 2010-08-20 08:05:05 +02:00
Peter Van der Beken 75ba54d84d Fix for bug 584048 (Clean up cycle collection code) - remove NS_IMPL_CYCLE_COLLECTING_ADDREF_AMBIGUOUS/NS_IMPL_CYCLE_COLLECTING_RELEASE_AMBIGUOUS. r=bent. 2011-03-06 12:11:31 +01:00
Henri Sivonen f4927c17c9 Bug 581944 - Reorder the tokenizer states in the HTML5 tokenizer. rs=sicking. 2010-07-26 16:13:51 +03:00
Dão Gottwald bb067882b4 Backed out changeset 783151ff2018 2010-08-10 15:09:01 +02:00
Ms2ger 044234b044 Bug 562698 - Part b: Pass Elements to nsNodeUtils::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-10 14:25:36 +02:00
Phil Ringnalda c411037f43 Bug 579867 followup, remove stray file 2010-08-08 11:26:39 -07:00