Title: [108460] trunk/LayoutTests
Revision
108460
Author
[email protected]
Date
2012-02-22 01:03:02 -0800 (Wed, 22 Feb 2012)

Log Message

[GTK] fast/mediastream/peerconnection-argument-types.html fails
https://bugs.webkit.org/show_bug.cgi?id=79096

Patch by Yanbin Zhang <[email protected]> on 2012-02-22
Reviewed by Adam Barth.

* fast/mediastream/peerconnection-argument-types-expected.txt:
* fast/mediastream/script-tests/argument-types.js:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (108459 => 108460)


--- trunk/LayoutTests/ChangeLog	2012-02-22 08:55:46 UTC (rev 108459)
+++ trunk/LayoutTests/ChangeLog	2012-02-22 09:03:02 UTC (rev 108460)
@@ -1,3 +1,13 @@
+2012-02-22  Yanbin Zhang  <[email protected]>
+
+        [GTK] fast/mediastream/peerconnection-argument-types.html fails
+        https://bugs.webkit.org/show_bug.cgi?id=79096
+
+        Reviewed by Adam Barth.
+
+        * fast/mediastream/peerconnection-argument-types-expected.txt:
+        * fast/mediastream/script-tests/argument-types.js:
+
 2012-02-22  Carlos Garcia Campos  <[email protected]>
 
         Unreviewed, rolling out r107351.

Modified: trunk/LayoutTests/fast/mediastream/peerconnection-argument-types-expected.txt (108459 => 108460)


--- trunk/LayoutTests/fast/mediastream/peerconnection-argument-types-expected.txt	2012-02-22 08:55:46 UTC (rev 108459)
+++ trunk/LayoutTests/fast/mediastream/peerconnection-argument-types-expected.txt	2012-02-22 09:03:02 UTC (rev 108460)
@@ -23,8 +23,8 @@
 PASS new webkitPeerConnection("STUNS NONE") threw exception TypeError: Not enough arguments.
 PASS new webkitPeerConnection("undefined") threw exception TypeError: Not enough arguments.
 PASS new webkitPeerConnection("null") threw exception TypeError: Not enough arguments.
-PASS new webkitPeerConnection({})) threw exception SyntaxError: Unexpected token ).
-PASS new webkitPeerConnection(42)) threw exception SyntaxError: Unexpected token ).
+PASS new webkitPeerConnection({}) threw exception TypeError: Not enough arguments.
+PASS new webkitPeerConnection(42) threw exception TypeError: Not enough arguments.
 PASS new webkitPeerConnection(Infinity) threw exception TypeError: Not enough arguments.
 PASS new webkitPeerConnection(-Infinity) threw exception TypeError: Not enough arguments.
 PASS new webkitPeerConnection(emptyFunction) threw exception TypeError: Not enough arguments.

Modified: trunk/LayoutTests/fast/mediastream/script-tests/argument-types.js (108459 => 108460)


--- trunk/LayoutTests/fast/mediastream/script-tests/argument-types.js	2012-02-22 08:55:46 UTC (rev 108459)
+++ trunk/LayoutTests/fast/mediastream/script-tests/argument-types.js	2012-02-22 09:03:02 UTC (rev 108460)
@@ -55,8 +55,8 @@
 test('new webkitPeerConnection("STUNS NONE")', true, 'TypeError: Not enough arguments');
 test('new webkitPeerConnection("undefined")', true, 'TypeError: Not enough arguments');
 test('new webkitPeerConnection("null")', true, 'TypeError: Not enough arguments');
-test('new webkitPeerConnection({}))', true, 'SyntaxError: Unexpected token )');
-test('new webkitPeerConnection(42))', true, 'SyntaxError: Unexpected token )');
+test('new webkitPeerConnection({})', true, 'TypeError: Not enough arguments');
+test('new webkitPeerConnection(42)', true, 'TypeError: Not enough arguments');
 test('new webkitPeerConnection(Infinity)', true, 'TypeError: Not enough arguments');
 test('new webkitPeerConnection(-Infinity)', true, 'TypeError: Not enough arguments');
 test('new webkitPeerConnection(emptyFunction)', true, 'TypeError: Not enough arguments');
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to