Diff
Modified: branches/safari-601.1-branch/LayoutTests/TestExpectations (187334 => 187335)
--- branches/safari-601.1-branch/LayoutTests/TestExpectations 2015-07-24 08:23:12 UTC (rev 187334)
+++ branches/safari-601.1-branch/LayoutTests/TestExpectations 2015-07-24 08:48:44 UTC (rev 187335)
@@ -529,3 +529,14 @@
# Intl is not enabled yet
js/intl.html [ Skip ]
+# Arrow functions are not implemented in a semantically correct way.
+# <rdar://problem/21953865>
+js/arrowfunction-asparamter-1.html [ Skip ]
+js/arrowfunction-asparamter-2.html [ Skip ]
+js/arrowfunction-associativity-1.html [ Skip ]
+js/arrowfunction-associativity-2.html [ Skip ]
+js/arrowfunction-block-1.html [ Skip ]
+js/arrowfunction-block-2.html [ Skip ]
+js/arrowfunction-syntax-endings.html [ Skip ]
+js/arrowfunction-syntax-errors.html [ Skip ]
+js/arrowfunction-syntax.html [ Skip ]
Modified: branches/safari-601.1-branch/LayoutTests/js/script-tests/arrowfunction-asparamter-1.js (187334 => 187335)
--- branches/safari-601.1-branch/LayoutTests/js/script-tests/arrowfunction-asparamter-1.js 2015-07-24 08:23:12 UTC (rev 187334)
+++ branches/safari-601.1-branch/LayoutTests/js/script-tests/arrowfunction-asparamter-1.js 2015-07-24 08:48:44 UTC (rev 187335)
@@ -1,3 +1,5 @@
+//@ skip
+
description('Tests for ES6 arrow function, passing arrow function as the paramter');
shouldBe('"" + [1, 2, 3, 4].map(x => x, 32)', "'1,2,3,4'");
Modified: branches/safari-601.1-branch/LayoutTests/js/script-tests/arrowfunction-asparamter-2.js (187334 => 187335)
--- branches/safari-601.1-branch/LayoutTests/js/script-tests/arrowfunction-asparamter-2.js 2015-07-24 08:23:12 UTC (rev 187334)
+++ branches/safari-601.1-branch/LayoutTests/js/script-tests/arrowfunction-asparamter-2.js 2015-07-24 08:48:44 UTC (rev 187335)
@@ -1,3 +1,5 @@
+//@ skip
+
description('Tests for ES6 arrow function, passing arrow function as the paramter');
var f = function (cl, paramter) { return cl(paramter); };
Modified: branches/safari-601.1-branch/LayoutTests/js/script-tests/arrowfunction-associativity-1.js (187334 => 187335)
--- branches/safari-601.1-branch/LayoutTests/js/script-tests/arrowfunction-associativity-1.js 2015-07-24 08:23:12 UTC (rev 187334)
+++ branches/safari-601.1-branch/LayoutTests/js/script-tests/arrowfunction-associativity-1.js 2015-07-24 08:48:44 UTC (rev 187335)
@@ -1,3 +1,5 @@
+//@ skip
+
description('Tests for ES6 arrow function nested declaration');
var af1, af2, af3;
Modified: branches/safari-601.1-branch/LayoutTests/js/script-tests/arrowfunction-associativity-2.js (187334 => 187335)
--- branches/safari-601.1-branch/LayoutTests/js/script-tests/arrowfunction-associativity-2.js 2015-07-24 08:23:12 UTC (rev 187334)
+++ branches/safari-601.1-branch/LayoutTests/js/script-tests/arrowfunction-associativity-2.js 2015-07-24 08:48:44 UTC (rev 187335)
@@ -1,3 +1,5 @@
+//@ skip
+
description('Tests for ES6 arrow function nested declaration');
debug("af = a => b => a")
Modified: branches/safari-601.1-branch/LayoutTests/js/script-tests/arrowfunction-block-1.js (187334 => 187335)
--- branches/safari-601.1-branch/LayoutTests/js/script-tests/arrowfunction-block-1.js 2015-07-24 08:23:12 UTC (rev 187334)
+++ branches/safari-601.1-branch/LayoutTests/js/script-tests/arrowfunction-block-1.js 2015-07-24 08:48:44 UTC (rev 187335)
@@ -1,3 +1,5 @@
+//@ skip
+
description('Tests for ES6 arrow function declaration body as block');
debug('f = () => {}');
Modified: branches/safari-601.1-branch/LayoutTests/js/script-tests/arrowfunction-block-2.js (187334 => 187335)
--- branches/safari-601.1-branch/LayoutTests/js/script-tests/arrowfunction-block-2.js 2015-07-24 08:23:12 UTC (rev 187334)
+++ branches/safari-601.1-branch/LayoutTests/js/script-tests/arrowfunction-block-2.js 2015-07-24 08:48:44 UTC (rev 187335)
@@ -1,3 +1,5 @@
+//@ skip
+
description('Tests for ES6 arrow function declaration body as block');
var af = a => { a + 1; };
Modified: branches/safari-601.1-branch/LayoutTests/js/script-tests/arrowfunction-syntax-endings.js (187334 => 187335)
--- branches/safari-601.1-branch/LayoutTests/js/script-tests/arrowfunction-syntax-endings.js 2015-07-24 08:23:12 UTC (rev 187334)
+++ branches/safari-601.1-branch/LayoutTests/js/script-tests/arrowfunction-syntax-endings.js 2015-07-24 08:48:44 UTC (rev 187335)
@@ -1,3 +1,5 @@
+//@ skip
+
description("Tests for ES6 arrow function endings");
var afEOL = x=>x+1
Modified: branches/safari-601.1-branch/LayoutTests/js/script-tests/arrowfunction-syntax-errors.js (187334 => 187335)
--- branches/safari-601.1-branch/LayoutTests/js/script-tests/arrowfunction-syntax-errors.js 2015-07-24 08:23:12 UTC (rev 187334)
+++ branches/safari-601.1-branch/LayoutTests/js/script-tests/arrowfunction-syntax-errors.js 2015-07-24 08:48:44 UTC (rev 187335)
@@ -1,3 +1,5 @@
+//@ skip
+
description("Tests for ES6 arrow function syntax errors");
shouldThrow('=>{}');
Modified: branches/safari-601.1-branch/LayoutTests/js/script-tests/arrowfunction-syntax.js (187334 => 187335)
--- branches/safari-601.1-branch/LayoutTests/js/script-tests/arrowfunction-syntax.js 2015-07-24 08:23:12 UTC (rev 187334)
+++ branches/safari-601.1-branch/LayoutTests/js/script-tests/arrowfunction-syntax.js 2015-07-24 08:48:44 UTC (rev 187335)
@@ -1,3 +1,5 @@
+//@ skip
+
description("Tests for ES6 arrow function calling");
var af0 = v => v + 1;
Modified: branches/safari-601.1-branch/Source/_javascript_Core/Configurations/FeatureDefines.xcconfig (187334 => 187335)
--- branches/safari-601.1-branch/Source/_javascript_Core/Configurations/FeatureDefines.xcconfig 2015-07-24 08:23:12 UTC (rev 187334)
+++ branches/safari-601.1-branch/Source/_javascript_Core/Configurations/FeatureDefines.xcconfig 2015-07-24 08:48:44 UTC (rev 187335)
@@ -45,7 +45,7 @@
ENABLE_CANVAS_PATH = ENABLE_CANVAS_PATH;
ENABLE_CANVAS_PROXY = ;
ENABLE_CHANNEL_MESSAGING = ENABLE_CHANNEL_MESSAGING;
-ENABLE_ES6_ARROWFUNCTION_SYNTAX = ENABLE_ES6_ARROWFUNCTION_SYNTAX;
+ENABLE_ES6_ARROWFUNCTION_SYNTAX = ;
ENABLE_ES6_CLASS_SYNTAX = ENABLE_ES6_CLASS_SYNTAX;
ENABLE_ES6_TEMPLATE_LITERAL_SYNTAX = ENABLE_ES6_TEMPLATE_LITERAL_SYNTAX;
ENABLE_CONTENT_FILTERING = ENABLE_CONTENT_FILTERING;
Modified: branches/safari-601.1-branch/Source/WTF/wtf/FeatureDefines.h (187334 => 187335)
--- branches/safari-601.1-branch/Source/WTF/wtf/FeatureDefines.h 2015-07-24 08:23:12 UTC (rev 187334)
+++ branches/safari-601.1-branch/Source/WTF/wtf/FeatureDefines.h 2015-07-24 08:48:44 UTC (rev 187335)
@@ -354,7 +354,7 @@
#endif
#if !defined(ENABLE_ES6_ARROWFUNCTION_SYNTAX)
-#define ENABLE_ES6_ARROWFUNCTION_SYNTAX 1
+#define ENABLE_ES6_ARROWFUNCTION_SYNTAX 0
#endif
#if !defined(ENABLE_ES6_CLASS_SYNTAX)