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

345 Коммитов

Автор SHA1 Сообщение Дата
Henri Sivonen c76ccda074 Test for 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 5382ac4a45 Bug 650501 - Avoid assuming that a parser object has a non-null content sink when an attempt to execute a script is made. r=Olli.Pettay. 2011-04-19 10:10:48 +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 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
Josh Matthews 06b1dd71c8 Bug 619026 - Scope timer variable so it is not at risk of being garbage collected. r=hsivonen 2010-12-14 13:24:49 -08:00
Ehsan Akhgari cccdef8b2f Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge) 2011-04-01 12:23:48 -04:00
Josh Matthews 7b809e5997 Bug 619026 - Scope timer variable so it is not at risk of being garbage collected. r=hsivonen 2010-12-14 13:24:49 -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
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
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 e3fc1672bb Test for bug 620664 - Add tests for HTML5 void elements. r=jgriffin, a=test-only. 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
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 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 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 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 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 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 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 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 91f00bd7a1 Remove outdated <button> tests. Correct tests are bug 559023. r&a=orange. 2010-09-20 15:52:33 +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
Phil Ringnalda c411037f43 Bug 579867 followup, remove stray file 2010-08-08 11:26:39 -07:00
Henri Sivonen b27e3148a5 Bug 579867 - Make foreign content end tag handling not loop back after processing the token in the secondary insertion mode. SVG part of reftest by longsonr. rs=sicking, a=blocking2.0-betaN.
Bug 579867 - Make foreign content end tag handling not loop back after processing the token in the secondary insertion mode. SVG part of reftest by longsonr. rs=sicking, a=blocking2.0-betaN.
2010-07-21 16:10:58 +03:00
Henri Sivonen e21d71c019 Bug 582940 - Make the HTML5 parser URL unescape <a name> until HTML5-compliant fragment navigation is supported. r=bzbarsky, a=blocking2.0-betaN.
--HG--
extra : rebase_source : 0e4cb540161dfe445d58840618877f97cbe8eba0
2010-07-30 13:08:36 +03:00
Henri Sivonen ac49929194 Bug 582788 - Treat non-ASCII-superset encoding the same way in late meta handling as in meta prescan. r=bzbarsky, a=blocking2.0-betaN.
--HG--
extra : rebase_source : 53407afad2a7304d77c1faa3e43301db4fa84ff2
2010-07-30 13:03:54 +03:00