Commit Graph

89 Commits

Author SHA1 Message Date
Henri Sivonen
f60fcd6d07 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
00430f301c 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
1a92abc4f1 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
8bc14b6092 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
d85fd1a0c3 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
c7cc215395 Remove outdated <button> tests. Correct tests are bug 559023. r&a=orange. 2010-09-20 15:52:33 +03:00
Henri Sivonen
68c2f9968e 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
6409d09046 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
a40d14797f Bug 579867 followup, remove stray file 2010-08-08 11:26:39 -07:00
Henri Sivonen
7ac580bedd 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
39b513d6f4 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
6c54a1e646 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
Henri Sivonen
bc763f9bb1 Test case for bug 534293 - Make speculative loads initiated by the HTML5 parser take <base> into account. r=jst, a=blocking2.0-betaN.
--HG--
extra : rebase_source : 7641b185ed8704104f7dfaa4744959da8697537b
2010-07-26 13:55:43 +03:00
Henri Sivonen
5bf17b6fc0 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
Henri Sivonen
66c9c312ce Disable test for bug 568470 due to consistent orange on Linux. (orange fix) 2010-06-29 12:41:37 +03:00
Henri Sivonen
76669c69fe Tweak times on the test for bug 568470. (orange fix) 2010-06-29 12:01:43 +03:00
Henri Sivonen
0ad277522e Fix reftest fallout from bug 563526. (orange fix) 2010-06-29 11:08:08 +03:00
Henri Sivonen
f6c27604a6 Bug 568470 - Flush ops from off-the-main-thread HTML5 tree builder into executor immediately when stopping speculating. r=bnewman.
--HG--
extra : rebase_source : 12abdc2cab8f8e96587ef11ba8b62cabb2b2acbb
2010-05-28 15:20:13 +03:00
Henri Sivonen
1a4896bded Bug 566879 - Make innerHTML-inserted from controls not restore their state from history. r=Olli.Pettay. 2010-06-09 09:45:32 +03:00
Daniel Holbert
00d625e66a merge 2010-06-09 17:17:19 -07:00
Daniel Holbert
79fa9a7cdd Backed out changeset a8ac411e1653 (bug 552938) for causing some randomorange. 2010-06-09 17:16:25 -07:00
Henri Sivonen
7fa5b05a40 Bug 563514 - Avoid leaking or misplacing attributes on stray <html> and <body> tokens in the innerHTML case. r=jonas.
--HG--
extra : rebase_source : 174666b3ec6c0a7e6251fe34b6bf23c499ad3575
2010-06-09 09:44:25 +03:00
Henri Sivonen
977ed6243c Bug 566280 - Text run prefixed by U+0000 shows only U+FFFD. r=sicking.
--HG--
extra : rebase_source : 86afd6adeba2231c526857a19e27e291296f60d1
2010-05-27 16:08:19 +03:00
Henri Sivonen
8a99f75610 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.
--HG--
extra : rebase_source : 6b4eb0b424b328cbb7853d767c2552ed01abc519
2010-05-25 14:57:58 +03:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Henri Sivonen
8bfa38a78e Bug 558302 - Make <button> non-scoping in the HTML5 parser. r=bnewman. 2010-04-16 13:52:06 +03:00
Henri Sivonen
1601c4c313 Bug 555906 - </datalist> does not implicitly close an <option> in the HTML5 parser. r=bnewman. 2010-04-09 18:48:30 +03:00
Henri Sivonen
28a25f85ce Test adjustment for bug 500631 - Update html5lib tree builder test data to reflect the new isindex prompt from the spec. r=bnewman. 2010-04-09 17:11:56 +03:00
Henri Sivonen
c325b81e27 Test for bug 536097 - Copy endTag flag when copying HTML5 tokenizer state. r=jmuizelaar.
--HG--
extra : rebase_source : afca17c363c02d8e8594ea0eee4d435fdd500732
2010-03-12 12:27:15 +02:00
Jonathan Griffin
ed46314fb5 Bug 546635. Update html5 parser tests from html5lib sources. r=hsivonen
--HG--
extra : rebase_source : 9f59fb08aba7a3cf9cc1b5c3ba4a1ba5c357dd0a
2010-03-08 14:40:53 -08:00
Henri Sivonen
4ed8dd0ba9 Bug 547685 - Weaken test_bug418464.html to make both the old and the HTML5 parser pass. r=bzbarsky.
--HG--
extra : rebase_source : 36fb899487e57618e50b697a75c659c89defb4b7
2010-02-23 15:58:17 +02:00
Henri Sivonen
8e383819dc Crashtest for bug 525229 - Crash [@ nsHtml5PendingNotification::nsHtml5PendingNotification] when document.writing an external script followed by start tag. r=bnewman.
--HG--
extra : rebase_source : 706b0fd3c4eadfc39d984eee4d71288d7b8c46e2
2009-11-11 10:37:34 +02:00
Henri Sivonen
9c5afe21fa Bug 529544 - Shut down the HTML5 parser thread from an observer (random crash [@ mozilla::storage::Connection::Close()]). r=sdwilsh.
--HG--
extra : rebase_source : b63735cb935261066b0836d451967a87a5c22929
2009-11-24 14:28:18 +02:00
Jesse Ruderman
b4b916d596 Add crashtests for a few bugs 2009-12-06 17:53:38 -08:00
Jesse Ruderman
308e1a0311 Add crashtests for several bugs 2009-12-06 16:54:07 -08:00
Henri Sivonen
374fb3dd3e Fix the bad orange fix in the previous push. 2009-11-19 17:24:20 +02:00
Henri Sivonen
4c86f702bb Bug 529544 - Make the HTML5 parser not participate on Mochitest. (orange fix)
--HG--
extra : rebase_source : 95fd43ff5dbc85b48750bfd17f9f802506c92925
2009-11-19 17:13:19 +02:00
Phil Ringnalda
4ee2e4bdb1 Bug 523054 - Sweep out some more viewer orts, r=dbaron 2009-10-25 10:03:17 -07:00
Jesse Ruderman
25cd932599 Add bug 515816's testcase as a crashtest 2009-10-17 19:35:08 -07:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Mats Palmgren
24d627f9cf Fix reorderToMatchExpected by maintaining the inAttrList state correctly. Extend the test file syntax with comment and todo features. b=462701 r=sayrer 2009-08-24 01:22:22 +02:00
Dão Gottwald
0b99c9dd72 Backed out changeset fc7d931fd75b 2009-08-15 10:30:23 +02:00
Jonathan Griffin
c38d2d7030 Add html5 parser tests: tree construction, tokenizer, and comparison beteween Gecko and JS parsers. bug 373864; r=sayrer 2009-08-14 15:02:39 -07:00
Henri Sivonen
9fd5b6b79a Backout rev 58f91861b1f1. Accidental changes included. 2009-08-13 10:48:13 +03:00
Henri Sivonen
2b3ede7ed7 Bug 509672 - Make HTML5 parser not fire mutation events when adding attributes to root or body elements. r=jonas 2009-08-13 10:45:24 +03:00
Jonathan Griffin
db59ca0328 Add test for bug 502600; cause parser compatibility mode tests to be run with and without the HTML5 parser enabled. r=hsivonen, sr=bz 2009-08-06 13:22:01 -07:00
Jonathan Griffin
e83c1d8b93 Add mochitest for bug 502091. 2009-08-05 10:32:20 -07:00
Jesse Ruderman
dddd44794e Add crashtests 2009-05-26 11:53:12 -07:00
L. David Baron
8c38aba811 Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Bob Clary
5ceb37fc14 bug 328751 - crash test by Tom Ferris. 2009-04-24 10:08:11 -07:00