Files
engine/tests/parser
Hixie d7dbe841b4 This CL provides a bunch of new parser tests, and updates the
TestExpectations file to skip the ones that fail or crash. It also
updates the TestExpectations parser to support URLs pointing to the
mojo repo's issue tracker.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/685593006
2014-10-28 18:58:18 -07:00
..
2014-10-27 17:35:15 -07:00
2014-10-27 17:35:15 -07:00

The empty, cr, and utf16 tests don't import the test framework so they currently hang until timeout. Really they should just check that nothing crashes. For now they are disabled.

We should also test the following (each line is its own test):

<
<!
<!-
<!--
<!---
<!----
<!---->
<!----->
<a
<aa
<a 
<a a
<a a=
<a a=&
<a a=&#
<a a=&#x
<a a=&#x1
<a a=&#x1;
<a a=&#1
<a a=&#1;
<a a=&a
<a a=&a;
<a a=&;
<a a='
<a a="
<a a=a
<a>
<a >
<a a>
<a a=>
<a a=&>
<a a=&#>
<a a=&#x>
<a a=&#x1>
<a a=&#x1;>
<a a=&#1>
<a a=&#1;>
<a a=&a>
<a a=&a;>
<a a=&;>
<a a=''>
<a a="">
<a a=a>
<a a >
<a a= >
<a a=& >
<a a=&# >
<a a=&#x >
<a a=&#x1 >
<a a=&#x1; >
<a a=&#1 >
<a a=&#1; >
<a a=&a >
<a a=&a; >
<a a=&; >
<a a='' >
<a a="" >
<a a=a >
</a
</aa
</a 
</a a
</a a=
</a a=&
</a a=&#
</a a=&#x
</a a=&#x1
</a a=&#x1;
</a a=&#1
</a a=&#1;
</a a=&a
</a a=&a;
</a a=&;
</a a='
</a a="
</a a=a
</a>
</a >
</a a>
</a a=>
</a a=&>
</a a=&#>
</a a=&#x>
</a a=&#x1>
</a a=&#x1;>
</a a=&#1>
</a a=&#1;>
</a a=&a>
</a a=&a;>
</a a=&;>
</a a=''>
</a a="">
</a a=a>
</a a >
</a a= >
</a a=& >
</a a=&# >
</a a=&#x >
</a a=&#x1 >
</a a=&#x1; >
</a a=&#1 >
</a a=&#1; >
</a a=&a >
</a a=&a; >
</a a=&; >
</a a='' >
</a a="" >
</a a=a >
a
&
&#
&#x
&#x1
&#x1;
&#1
&#1;
&a
&a;
&;

We should also test:

  • multiple elements per page
  • signature stuff