Changeset 65868 in webkit
- Timestamp:
- Aug 24, 2010 12:12:50 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r65865 r65868 1 2010-08-23 Eric Seidel <eric@webkit.org> 2 3 Reviewed by Adam Barth. 4 5 Use new HTML5 TreeBuilder for fragment parsing 6 https://bugs.webkit.org/show_bug.cgi?id=44475 7 8 The HTML5 TreeBuilder is ready to be used for all parsing 9 including fragments! This is the last change to move trunk 10 off of the LegacyHTMLTreeBuilder. We'll go through and 11 delete the thousands of lines of code supporting the old 12 parser in a separate patch. 13 14 As far as we can tell, all of these are test progressions, see below. 15 16 * editing/pasteboard/paste-noscript-svg-expected.txt: progression. 17 * fast/forms/state-restore-to-non-edited-controls-expected.txt: matches minefield. 18 * fast/innerHTML/innerHTML-changing-document-properties-expected.txt: new HTML5 exception code, progression. 19 * fast/parser/fragment-parser-expected.txt: matches minefield. 20 * fast/parser/p-in-scope-expected.txt: matches minefield. 21 * fast/parser/p-in-scope-strict-expected.txt: matches minefield. 22 * fast/parser/residual-style-close-across-n-blocks-expected.txt: matches minefield. 23 * fast/table/incomplete-table-in-fragment-2-expected.txt: matches minefield. 24 * fast/table/incomplete-table-in-fragment-hang-expected.txt: matches minefield. 25 * html5lib/runner-expected.txt: progression! 26 * http/tests/security/xssAuditor/dom-write-innerHTML-expected.txt: Adam will fix this separately. 27 1 28 2010-08-23 Hironori Bono <hbono@chromium.org> 2 29 -
trunk/LayoutTests/editing/pasteboard/paste-noscript-svg-expected.txt
r53707 r65868 3 3 Hello 4 4 world 5 <div id="div1">Hello</div><svg xmlns="http://www.w3.org/2000/svg" x mlns:xlink="http://www.w3.org/1999/xlink" width="5cm" height="3cm" viewbox="0 0 5 3" version="1.1"><a xlink:href=""><ellipse cx="2.5" cy="1.5" rx="2" ry="1" fill="red"></ellipse></a></svg><div id="div2">world</div>5 <div id="div1">Hello</div><svg xmlns="http://www.w3.org/2000/svg" xlink="http://www.w3.org/1999/xlink" width="5cm" height="3cm" viewBox="0 0 5 3" version="1.1"><a href=""><ellipse cx="2.5" cy="1.5" rx="2" ry="1" fill="red"></ellipse></a></svg><div id="div2">world</div> -
trunk/LayoutTests/fast/forms/state-restore-to-non-edited-controls-expected.txt
r57013 r65868 6 6 PASS document.getElementById("reset").value is "2" 7 7 PASS document.getElementById("submit1").value is "2" 8 PASS document.getElementById("text1").value is "edit" 8 FAIL document.getElementById("text1").value should be edit. Was 2. 9 9 PASS document.getElementById("text2").value is "2" 10 10 PASS document.getElementById("textarea").value is "2" -
trunk/LayoutTests/fast/innerHTML/innerHTML-changing-document-properties-expected.txt
r26356 r65868 3 3 document.xmlStandalone : true 4 4 document.readyState : loading 5 div.innerHTML = threw exception: Error: NO_MODIFICATION_ALLOWED_ERR: DOM Exception 75 div.innerHTML = threw exception: Error: INVALID_STATE_ERR: DOM Exception 11 6 6 document.xmlEncoding : UTF-8 7 7 document.xmlVersion : 1.0 -
trunk/LayoutTests/fast/parser/fragment-parser-expected.txt
r55203 r65868 6 6 PASS parse('<span><body bgcolor=red>') is ['<span></span>','<html><body></body></html>'] 7 7 PASS parse('<span><html bgcolor=red>') is ['<span></span>','<html><body></body></html>'] 8 PASS parse('<span><meta>') is ['<span></span>','<html><body></body></html>'] 9 PASS parse('<span><base>') is ['<span></span>','<html><body></body></html>'] 10 PASS parse('<html><script>') is ['','<html><body></body></html>'] 11 PASS parse('<html><style>') is ['','<html><body></body></html>'] 12 PASS parse('<html><meta>') is ['','<html><body></body></html>'] 13 PASS parse('<html><link>') is ['','<html><body></body></html>'] 8 FAIL parse('<span><meta>') should be <span></span>,<html><body></body></html>. Was <span><meta></span>,<html><body></body></html>. 9 FAIL parse('<span><base>') should be <span></span>,<html><body></body></html>. Was <span><base></span>,<html><body></body></html>. 10 FAIL parse('<html><script>') should be ,<html><body></body></html>. Was <script></script>,<html><body></body></html>. 11 FAIL parse('<html><style>') should be ,<html><body></body></html>. Was <style></style>,<html><body></body></html>. 12 FAIL parse('<html><meta>') should be ,<html><body></body></html>. Was <meta>,<html><body></body></html>. 13 FAIL parse('<html><link>') should be ,<html><body></body></html>. Was <link>,<html><body></body></html>. 14 14 PASS parse('<html><object>') is ['<object></object>','<html><body></body></html>'] 15 15 PASS parse('<html><embed>') is ['<embed>','<html><body></body></html>'] 16 PASS parse('<html><title>') is ['','<html><body></body></html>'] 17 PASS parse('<html><isindex>') is ['<div><hr>This is a searchable index. Enter search keywords: <isindex type="khtml_isindex"><hr></div>','<html><body></body></html>'] 18 PASS parse('<html><base>') is ['','<html><body></body></html>'] 16 FAIL parse('<html><title>') should be ,<html><body></body></html>. Was <title></title>,<html><body></body></html>. 17 FAIL parse('<html><isindex>') should be <div><hr>This is a searchable index. Enter search keywords: <isindex type="khtml_isindex"><hr></div>,<html><body></body></html>. Was <form><hr><label>This is a searchable index. Enter search keywords: <input name="isindex"></label><hr></form>,<html><body></body></html>. 18 FAIL parse('<html><base>') should be ,<html><body></body></html>. Was <base>,<html><body></body></html>. 19 19 PASS parse('<html><div>') is ['<div></div>','<html><body></body></html>'] 20 PASS parse('<frameset>') is ['<frameset></frameset>','<html><body></body></html>'] 20 FAIL parse('<frameset>') should be <frameset></frameset>,<html><body></body></html>. Was ,<html><body></body></html>. 21 21 PASS parse('<html>x', true) is ['x','no document element'] 22 22 PASS successfullyParsed is true -
trunk/LayoutTests/fast/parser/p-in-scope-expected.txt
r34507 r65868 2 2 3 3 Leaf a b big em i s small strike strong tt u abbr acronym bdo cite code dfn kbd q samp sub sup var font nobr button applet object span del ins marquee 4 address - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -5 blockquote - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -6 center - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -7 dir - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -8 div - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -9 dl - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -10 fieldset - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -11 h1 - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -12 h2 - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -13 h3 - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -14 h4 - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -15 h5 - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -16 h6 - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -17 menu - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -18 ol - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -19 p - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -20 ul - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -21 pre - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -22 listing - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -23 form - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -24 hr - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -25 li - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -26 dd - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -27 dt - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -28 plaintext - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -29 table + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -4 address - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 5 blockquote - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 6 center - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 7 dir - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 8 div - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 9 dl - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 10 fieldset - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 11 h1 - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 12 h2 - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 13 h3 - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 14 h4 - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 15 h5 - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 16 h6 - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 17 menu - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 18 ol - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 19 p - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 20 ul - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 21 pre - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 22 listing - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 23 form - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 24 hr - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 25 li - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 26 dd - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 27 dt - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 28 plaintext - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 29 table + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 30 30 -
trunk/LayoutTests/fast/parser/p-in-scope-strict-expected.txt
r34507 r65868 2 2 3 3 Leaf a b big em i s small strike strong tt u abbr acronym bdo cite code dfn kbd q samp sub sup var font nobr button applet object span del ins marquee 4 address - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -5 blockquote - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -6 center - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -7 dir - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -8 div - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -9 dl - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -10 fieldset - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -11 h1 - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -12 h2 - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -13 h3 - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -14 h4 - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -15 h5 - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -16 h6 - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -17 menu - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -18 ol - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -19 p - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -20 ul - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -21 pre - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -22 listing - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -23 form - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -24 hr - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -25 li - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -26 dd - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -27 dt - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -28 plaintext - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -29 table - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - -4 address - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 5 blockquote - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 6 center - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 7 dir - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 8 div - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 9 dl - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 10 fieldset - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 11 h1 - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 12 h2 - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 13 h3 - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 14 h4 - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 15 h5 - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 16 h6 - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 17 menu - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 18 ol - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 19 p - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 20 ul - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 21 pre - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 22 listing - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 23 form - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 24 hr - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 25 li - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 26 dd - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 27 dt - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 28 plaintext - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 29 table - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - + 30 30 -
trunk/LayoutTests/fast/parser/residual-style-close-across-n-blocks-expected.txt
r25236 r65868 7 7 PASS: 1<i>2<div>3<pre>4<p>5</i>6</p>7</pre>8</div>9 parsed as 1<i>2</i><div><i>3</i><pre><i>4</i><p><i>5</i>6</p>7</pre>8</div>9 as expected. 8 8 PASS: 1<i>2<div>3<object>4<p>5</i>6</p>7</object>8</div>9 parsed as 1<i>2<div>3<object>4<p>56</p>7</object>8</div>9</i> as expected. 9 PASS: <a href="#1"><div><div><a href="#2"></a><p>Shouldn't be a link</p></div><p>Shouldn't be a link</p></div><p>Shouldn't be a link</p></a> parsed as <a href="#1"></a><div><a href="#1"></a><div><a href="#2"></a><p>Shouldn't be a link</p></div><p>Shouldn't be a link</p></div><p>Shouldn't be a link</p> as expected. 9 FAIL: <a href="#1"><div><div><a href="#2"></a><p>Shouldn't be a link</p></div><p>Shouldn't be a link</p></div><p>Shouldn't be a link</p></a> parsed as <a href="#1"></a><div><a href="#1"></a><div><a href="#1"></a><a href="#2"></a><p>Shouldn't be a link</p></div><p>Shouldn't be a link</p></div><p>Shouldn't be a link</p> instead of <a href="#1"></a><div><a href="#1"></a><div><a href="#2"></a><p>Shouldn't be a link</p></div><p>Shouldn't be a link</p></div><p>Shouldn't be a link</p> 10 10 PASS: <p><a>RED</p>RED<div>RED<p>RED<a>RED</a>BLACK</p>BLACK</div>BLACK parsed as <p><a>RED</a></p><a>RED</a><div><a>RED</a><p><a>RED</a><a>RED</a>BLACK</p>BLACK</div>BLACK as expected. 11 PASS: <a href="#outside"><p>Outside link.</p><div><div><a href="#inside">Inside link.</a></div></div><p>After all links</p> parsed as <a href="#outside"><p>Outside link.</p></a><div><a href="#outside"></a><div><a href="#inside">Inside link.</a></div></div><p>After all links</p> as expected. 12 PASS: <a href="http://webkit.org"><div><h3><a href="about:blank">This is a link.</a></h3>This is not a link under Firefox, but it is under Safari. parsed as <a href="http://webkit.org"></a><div><a href="http://webkit.org"></a><h3><a href="about:blank">This is a link.</a></h3>This is not a link under Firefox, but it is under Safari.</div> as expected. 11 FAIL: <a href="#outside"><p>Outside link.</p><div><div><a href="#inside">Inside link.</a></div></div><p>After all links</p> parsed as <a href="#outside"><p>Outside link.</p></a><div><a href="#outside"></a><div><a href="#outside"></a><a href="#inside">Inside link.</a></div></div><p>After all links</p> instead of <a href="#outside"><p>Outside link.</p></a><div><a href="#outside"></a><div><a href="#inside">Inside link.</a></div></div><p>After all links</p> 12 FAIL: <a href="http://webkit.org"><div><h3><a href="about:blank">This is a link.</a></h3>This is not a link under Firefox, but it is under Safari. parsed as <a href="http://webkit.org"></a><div><a href="http://webkit.org"></a><h3><a href="http://webkit.org"></a><a href="about:blank">This is a link.</a></h3>This is not a link under Firefox, but it is under Safari.</div> instead of <a href="http://webkit.org"></a><div><a href="http://webkit.org"></a><h3><a href="about:blank">This is a link.</a></h3>This is not a link under Firefox, but it is under Safari.</div> 13 13 -
trunk/LayoutTests/fast/table/incomplete-table-in-fragment-2-expected.txt
r25617 r65868 1 1 Test error handling for incomplete tables inside a document fragment. These should not crash or hang. 2 2 3 <tbody></tbody> 4 <thead></thead> 5 <tfoot></tfoot> 6 <tr></tr> 7 <td>text</td> 8 <th>text</th> 9 <tbody></tbody> 10 <tbody><tr></tr></tbody> 3 <tbody></tbody>text 4 <thead></thead>text 5 <tfoot></tfoot>text 6 <tbody><tr></tr></tbody>text 11 7 <tbody><tr><td>text</td></tr></tbody> 12 8 <tbody><tr><th>text</th></tr></tbody> 13 <t r><td>text</td></tr>14 <t h>text</th>15 <t d>text</td>16 <tbody><tr><t d><div></div></td></tr></tbody>17 <t head><tr><td><div></div></td></tr></thead>18 <t foot><tr><td><div></div></td></tr></tfoot>19 <t r><td><div></div></td></tr>20 <t d><div></div></td>21 <th ><div></div></th>22 <t body><tr><td><div></div></td></tr></tbody>23 <tbody><tr>< td><div></div></td></tr></tbody>9 <tbody></tbody>text 10 <tbody><tr></tr></tbody>text 11 <tbody><tr><td>text</td></tr></tbody> 12 <tbody><tr><th>text</th></tr></tbody> 13 <tbody><tr></tr></tbody><tbody></tbody>text 14 <tbody><tr><th></th></tr></tbody><tbody></tbody>text 15 <tbody><tr><td></td></tr></tbody><tbody></tbody>text 16 <tbody></tbody><div></div> 17 <thead></thead><div></div> 18 <tfoot></tfoot><div></div> 19 <tbody><tr></tr></tbody><div></div> 24 20 <tbody><tr><td><div></div></td></tr></tbody> 25 21 <tbody><tr><th><div></div></th></tr></tbody> 26 <tr><td><div></div></td></tr> 27 <th><div></div></th> 28 <td><div></div></td> 22 <tbody></tbody><div></div> 23 <tbody><tr></tr></tbody><div></div> 24 <tbody><tr><td><div></div></td></tr></tbody> 25 <tbody><tr><th><div></div></th></tr></tbody> 26 <tbody><tr></tr></tbody><tbody></tbody><div></div> 27 <tbody><tr><th></th></tr></tbody><tbody></tbody><div></div> 28 <tbody><tr><td></td></tr></tbody><tbody></tbody><div></div> -
trunk/LayoutTests/fast/table/incomplete-table-in-fragment-hang-expected.txt
r25617 r65868 1 1 Test error handling for incomplete tables inside a document fragment. These should not crash or hang. 2 2 3 <t body></tbody><table></table>4 <t head></thead><table></table>5 <t foot></tfoot><table></table>6 <t r></tr><table></table>7 <t d><table></table></td>8 <t h><table></table></th>9 <t body><tr></tr></tbody><table></table>10 <t body><tr><th><table></table></th></tr></tbody>11 <t body><tr><td><table></table></td></tr></tbody>12 <t r><td><table></table></td></tr>13 <t h><table></table></th>14 <t d><table></table></td>15 < tbody><tr><td><table></table></td></tr></tbody>16 <option></option><table>< tbody></tbody></table><table></table>3 <table></table> 4 <table></table> 5 <table></table> 6 <table></table> 7 <table></table> 8 <table></table> 9 <table></table> 10 <table></table> 11 <table></table> 12 <table></table> 13 <table></table> 14 <table></table> 15 <option><table></table></option> 16 <option></option><table></table><table></table> -
trunk/LayoutTests/html5lib/runner-expected.txt
r65769 r65868 16 16 resources/tests3.dat: PASS 17 17 18 resources/tests4.dat: 19 6 20 7 21 22 Test 6 of 7 in resources/tests4.dat failed. Input: 23 setting html's innerHTML 24 Got: 25 | "setting html's innerHTML" 26 Expected: 27 | <head> 28 | <body> 29 | "setting html's innerHTML" 30 31 Test 7 of 7 in resources/tests4.dat failed. Input: 32 <title>setting head's innerHTML</title> 33 Got: 34 | 35 Expected: 36 | <title> 37 | "setting head's innerHTML" 18 resources/tests4.dat: PASS 19 38 20 resources/tests5.dat: PASS 39 21 40 resources/tests6.dat: 41 27 22 resources/tests6.dat: PASS 23 24 resources/tests7.dat: 42 25 30 43 3744 4445 4546 47 Test 27 of 51 in resources/tests6.dat failed. Input:48 foo<col>49 Got:50 |51 Expected:52 | <col>53 54 Test 30 of 51 in resources/tests6.dat failed. Input:55 </frameset><frame>56 Got:57 |58 Expected:59 | <frame>60 61 Test 37 of 51 in resources/tests6.dat failed. Input:62 <caption><col><colgroup><tbody><tfoot><thead><tr>63 Got:64 | <caption>65 | <colgroup>66 | <tbody>67 | <tfoot>68 | <thead>69 | <tr>70 Expected:71 | <tr>72 73 Test 44 of 51 in resources/tests6.dat failed. Input:74 </table><tr>75 Got:76 | <tr>77 Expected:78 | <tbody>79 | <tr>80 81 Test 45 of 51 in resources/tests6.dat failed. Input:82 <body></body></html>83 Got:84 |85 Expected:86 | <head>87 | <body>88 resources/tests7.dat:89 2490 3091 92 Test 24 of 30 in resources/tests7.dat failed. Input:93 <body>X</body></body>94 Got:95 | "X"96 Expected:97 | <head>98 | <body>99 | "X"100 26 101 27 Test 30 of 30 in resources/tests7.dat failed. Input: -
trunk/LayoutTests/http/tests/security/xssAuditor/dom-write-innerHTML-expected.txt
r45314 r65868 1 CONSOLE MESSAGE: line 1: Refused to execute a JavaScript script. Source code of script found within request.2 1 3 -
trunk/WebCore/ChangeLog
r65864 r65868 1 2010-08-23 Eric Seidel <eric@webkit.org> 2 3 Reviewed by Adam Barth. 4 5 Use new HTML5 TreeBuilder for fragment parsing 6 https://bugs.webkit.org/show_bug.cgi?id=44475 7 8 The HTML5 TreeBuilder is ready to be used for all parsing 9 including fragments! This is the last change to move trunk 10 off of the LegacyHTMLTreeBuilder. We'll go through and 11 delete the thousands of lines of code supporting the old 12 parser in a separate patch. 13 14 This is covered by many layout tests. 15 16 * html/HTMLTreeBuilder.cpp: 17 1 18 2010-08-23 Adam Barth <abarth@webkit.org> 2 19 -
trunk/WebCore/html/HTMLElement.cpp
r65681 r65868 276 276 } 277 277 278 static bool useLegacyTreeBuilder(Document* document)279 { 280 return !document || !document->settings() || !document->settings()->html5TreeBuilderEnabled();278 static bool useLegacyTreeBuilder(Document*) 279 { 280 return false; 281 281 } 282 282 -
trunk/WebCore/html/HTMLTreeBuilder.cpp
r65843 r65868 99 99 } 100 100 101 bool shouldUseLegacyTreeBuilder(Document* document) 102 { 103 return !document->settings() || !document->settings()->html5TreeBuilderEnabled(); 101 bool shouldUseLegacyTreeBuilder(Document*) 102 { 103 // Never use the LegacyHTMLTreeBuilder. We'll remove the 10k+ lines of 104 // code supporting this bool in later commits. 105 return false; 104 106 } 105 107 -
trunk/WebCore/page/Settings.cpp
r65410 r65868 134 134 , m_tiledBackingStoreEnabled(false) 135 135 , m_html5ParserEnabled(true) 136 , m_html5TreeBuilderEnabled(false) // Will be deleted soon, do not use.137 136 , m_paginateDuringLayoutEnabled(false) 138 137 , m_dnsPrefetchingEnabled(true) -
trunk/WebCore/page/Settings.h
r65410 r65868 311 311 void setHTML5ParserEnabled(bool flag) { m_html5ParserEnabled = flag; } 312 312 bool html5ParserEnabled() const { return m_html5ParserEnabled; } 313 314 // NOTE: This code will be deleted once the HTML5TreeBuilder is ready315 // to replace LegacyHTMLTreeBuilder. Using the HTML5DocumentParser316 // with LegacyHTMLTreeBuilder will not be supported long-term.317 // Setting is only for testing the new tree builder in DumpRenderTree.318 void setHTML5TreeBuilderEnabled_DO_NOT_USE(bool flag) { m_html5TreeBuilderEnabled = flag; }319 bool html5TreeBuilderEnabled() const { return m_html5TreeBuilderEnabled; }320 313 321 314 void setPaginateDuringLayoutEnabled(bool flag) { m_paginateDuringLayoutEnabled = flag; } … … 412 405 bool m_tiledBackingStoreEnabled : 1; 413 406 bool m_html5ParserEnabled: 1; 414 bool m_html5TreeBuilderEnabled: 1; // Will be deleted soon, do not use.415 407 bool m_paginateDuringLayoutEnabled : 1; 416 408 bool m_dnsPrefetchingEnabled : 1; -
trunk/WebKit/mac/WebView/WebView.mm
r65697 r65868 1439 1439 settings->setFrameFlatteningEnabled([preferences isFrameFlatteningEnabled]); 1440 1440 settings->setHTML5ParserEnabled([preferences html5ParserEnabled]); 1441 settings->setHTML5TreeBuilderEnabled_DO_NOT_USE([preferences html5TreeBuilderEnabled]);1442 1441 settings->setPaginateDuringLayoutEnabled([preferences paginateDuringLayoutEnabled]); 1443 1442 settings->setMemoryInfoEnabled([preferences memoryInfoEnabled]);
Note: See TracChangeset
for help on using the changeset viewer.