Commit e762199b authored by dimich@chromium.org's avatar dimich@chromium.org
Browse files

[Chromium] Not reviewed, rebaseline for a test.

The difference is because V8 has different error messages.

* platform/chromium-mac/fast/js/js-continue-break-restrictions-expected.txt: Added.
* platform/chromium-win/fast/js/js-continue-break-restrictions-expected.txt: Added.
* platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76631 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 5b5f0c3f
2011-01-25 Dmitry Titov <dimich@chromium.org>
[Chromium] Not reviewed, rebaseline for a test.
The difference is because V8 has different error messages.
* platform/chromium-mac/fast/js/js-continue-break-restrictions-expected.txt: Added.
* platform/chromium-win/fast/js/js-continue-break-restrictions-expected.txt: Added.
* platform/chromium/test_expectations.txt:
2011-01-25 James Robinson <jamesr@chromium.org>
 
Remove = TEXT PASS lines for tests that consistently pass.
......
Verify that invalid continue and break statements are handled correctly
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS L:{true;break L;false} is true
PASS if (0) { L:{ break; } } threw exception SyntaxError: Illegal break statement.
PASS if (0) { L:{ continue L; } } threw exception SyntaxError: Undefined label 'L'.
PASS if (0) { L:{ continue; } } threw exception SyntaxError: Illegal continue statement.
PASS if (0) { switch (1) { case 1: continue; } } threw exception SyntaxError: Illegal continue statement.
PASS A:L:{true;break L;false} is true
PASS if (0) { A:L:{ break; } } threw exception SyntaxError: Illegal break statement.
PASS if (0) { A:L:{ continue L; } } threw exception SyntaxError: Undefined label 'L'.
PASS if (0) { A:L:{ continue; } } threw exception SyntaxError: Illegal continue statement.
PASS L:A:{true;break L;false} is true
PASS if (0) { L:A:{ break; } } threw exception SyntaxError: Illegal break statement.
PASS if (0) { L:A:{ continue L; } } threw exception SyntaxError: Undefined label 'L'.
PASS if (0) { L:A:{ continue; } } threw exception SyntaxError: Illegal continue statement.
PASS if(0){ L:for(;;) continue L; } is undefined.
PASS if(0){ L:A:for(;;) continue L; } is undefined.
PASS if(0){ A:L:for(;;) continue L; } is undefined.
PASS if(0){ A:for(;;) L:continue L; } threw exception SyntaxError: Undefined label 'L'.
PASS if(0){ L:for(;;) A:continue L; } is undefined.
PASS if(0){ L:do continue L; while(0); } is undefined.
PASS if(0){ L:A:do continue L; while(0); } is undefined.
PASS if(0){ A:L:do continue L; while(0);} is undefined.
PASS if(0){ A:do L:continue L; while(0); } threw exception SyntaxError: Undefined label 'L'.
PASS if(0){ L:do A:continue L; while(0); } is undefined.
PASS if(0){ L:while(0) continue L; } is undefined.
PASS if(0){ L:A:while(0) continue L; } is undefined.
PASS if(0){ A:L:while(0) continue L; } is undefined.
PASS if(0){ A:while(0) L:continue L; } threw exception SyntaxError: Undefined label 'L'.
PASS if(0){ L:while(0) A:continue L; } is undefined.
PASS successfullyParsed is true
TEST COMPLETE
Verify that invalid continue and break statements are handled correctly
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS L:{true;break L;false} is true
PASS if (0) { L:{ break; } } threw exception SyntaxError: Illegal break statement.
PASS if (0) { L:{ continue L; } } threw exception SyntaxError: Undefined label 'L'.
PASS if (0) { L:{ continue; } } threw exception SyntaxError: Illegal continue statement.
PASS if (0) { switch (1) { case 1: continue; } } threw exception SyntaxError: Illegal continue statement.
PASS A:L:{true;break L;false} is true
PASS if (0) { A:L:{ break; } } threw exception SyntaxError: Illegal break statement.
PASS if (0) { A:L:{ continue L; } } threw exception SyntaxError: Undefined label 'L'.
PASS if (0) { A:L:{ continue; } } threw exception SyntaxError: Illegal continue statement.
PASS L:A:{true;break L;false} is true
PASS if (0) { L:A:{ break; } } threw exception SyntaxError: Illegal break statement.
PASS if (0) { L:A:{ continue L; } } threw exception SyntaxError: Undefined label 'L'.
PASS if (0) { L:A:{ continue; } } threw exception SyntaxError: Illegal continue statement.
PASS if(0){ L:for(;;) continue L; } is undefined.
PASS if(0){ L:A:for(;;) continue L; } is undefined.
PASS if(0){ A:L:for(;;) continue L; } is undefined.
PASS if(0){ A:for(;;) L:continue L; } threw exception SyntaxError: Undefined label 'L'.
PASS if(0){ L:for(;;) A:continue L; } is undefined.
PASS if(0){ L:do continue L; while(0); } is undefined.
PASS if(0){ L:A:do continue L; while(0); } is undefined.
PASS if(0){ A:L:do continue L; while(0);} is undefined.
PASS if(0){ A:do L:continue L; while(0); } threw exception SyntaxError: Undefined label 'L'.
PASS if(0){ L:do A:continue L; while(0); } is undefined.
PASS if(0){ L:while(0) continue L; } is undefined.
PASS if(0){ L:A:while(0) continue L; } is undefined.
PASS if(0){ A:L:while(0) continue L; } is undefined.
PASS if(0){ A:while(0) L:continue L; } threw exception SyntaxError: Undefined label 'L'.
PASS if(0){ L:while(0) A:continue L; } is undefined.
PASS successfullyParsed is true
TEST COMPLETE
......@@ -3072,9 +3072,6 @@ BUGCR69571 : plugins/destroy-on-setwindow.html = CRASH
// Failing after r75768
BUGCR69639 : http/tests/loading/cross-origin-XHR-willLoadRequest.html = TEXT
// New test, added in r75852 for JSC, fails in V8
BUGCR69736 : fast/js/js-continue-break-restrictions.html = TEXT
// New test added in http://trac.webkit.org/changeset/76185
// Fails in V8, perhaps needs a V8-specific fix.
BUGCR70334 : fast/js/toString-recursion.html = TEXT
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment