Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Unified Diff: test/webkit/fast/js/kde/lval-exceptions-expected.txt

Issue 21070002: Migrate more tests from blink repository. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/webkit/fast/js/kde/lval-exceptions.js ('k') | test/webkit/fast/js/kde/math.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/webkit/fast/js/kde/lval-exceptions-expected.txt
diff --git a/test/webkit/fast/regex/quantified-assertions-expected.txt b/test/webkit/fast/js/kde/lval-exceptions-expected.txt
similarity index 74%
copy from test/webkit/fast/regex/quantified-assertions-expected.txt
copy to test/webkit/fast/js/kde/lval-exceptions-expected.txt
index 717df05ad4c202da5d38d63baebcc024cece1c14..d8f29875eadecea825e6218492564e283f2838b3 100644
--- a/test/webkit/fast/regex/quantified-assertions-expected.txt
+++ b/test/webkit/fast/js/kde/lval-exceptions-expected.txt
@@ -21,28 +21,20 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-This page tests assertions followed by quantifiers.
+KDE JS Test
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-Testing regexp: /(?=a){0}/gm
-PASS regexp.test('a') is true
-PASS regexp.lastIndex is 0
-
-Testing regexp: /(?=a){1}/gm
-PASS regexp.test('a') is true
-PASS regexp.lastIndex is 0
-
-Testing regexp: /(?!a){0}/gm
-PASS regexp.test('b') is true
-PASS regexp.lastIndex is 0
-
-Testing regexp: /(?!a){1}/gm
-PASS regexp.test('b') is true
-PASS regexp.lastIndex is 0
-PASS /^(?=a)?b$/.test("b") is true
+PASS function () { a = x; } threw exception ReferenceError: x is not defined.
+PASS function () { x += "foo"; } threw exception ReferenceError: x is not defined.
+PASS function () { b = a.x; } did not throw an exception
+PASS function () { b = a['x']; } did not throw an exception
+PASS function () { a['x'] += 'baz'; } did not throw an exception
+PASS a['x'] is "undefinedbaz"
+PASS function () { b = a.y; } did not throw an exception
+PASS function () { a.y += 'glarch'; } did not throw an exception
+PASS a['y'] is "undefinedglarch"
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « test/webkit/fast/js/kde/lval-exceptions.js ('k') | test/webkit/fast/js/kde/math.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698