<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[181618] trunk</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/181618">181618</a></dd>
<dt>Author</dt> <dd>rniwa@webkit.org</dd>
<dt>Date</dt> <dd>2015-03-16 22:55:46 -0700 (Mon, 16 Mar 2015)</dd>
</dl>
<h3>Log Message</h3>
<pre>Enable ES6 classes by default
https://bugs.webkit.org/show_bug.cgi?id=142774
Reviewed by Gavin Barraclough.
.:
* Source/cmake/WebKitFeatures.cmake:
Source/JavaScriptCore:
Enabled the feature and unskipped tests.
* Configurations/FeatureDefines.xcconfig:
* tests/stress/class-syntax-no-loop-tdz.js:
* tests/stress/class-syntax-no-tdz-in-catch.js:
* tests/stress/class-syntax-no-tdz-in-conditional.js:
* tests/stress/class-syntax-no-tdz-in-loop-no-inline-super.js:
* tests/stress/class-syntax-no-tdz-in-loop.js:
* tests/stress/class-syntax-no-tdz.js:
* tests/stress/class-syntax-tdz-in-catch.js:
* tests/stress/class-syntax-tdz-in-conditional.js:
* tests/stress/class-syntax-tdz-in-loop.js:
* tests/stress/class-syntax-tdz.js:
Source/WebCore:
* Configurations/FeatureDefines.xcconfig:
Source/WebKit/mac:
* Configurations/FeatureDefines.xcconfig:
Source/WebKit2:
* Configurations/FeatureDefines.xcconfig:
Source/WTF:
* wtf/FeatureDefines.h:
Tools:
* Scripts/webkitperl/FeatureList.pm:
LayoutTests:
Unskipped tests and also fixed tests so that they can run under run-javascript-tests.
* TestExpectations: Unskipped tests.
* js/class-syntax-call-expected.txt:
* js/class-syntax-declaration-expected.txt:
* js/class-syntax-default-constructor-expected.txt:
* js/class-syntax-expression-expected.txt:
* js/class-syntax-extends-expected.txt:
* js/class-syntax-super-expected.txt:
* js/dom/reserved-words-as-property-expected.txt: Rebaselined now that "class" is a non-reserved keyword.
* js/script-tests/class-syntax-call.js: Don't refer to "window" object as it doesn't exit when ran inside jsc.
* js/script-tests/class-syntax-declaration.js: Rebaselined after <a href="http://trac.webkit.org/projects/webkit/changeset/181611">r181611</a>, which added default constructor support.
* js/script-tests/class-syntax-default-constructor.js: Don't refer to "window" object. Also replaced shouldNotBe
by an explicit !== check as the former is not supported when ran inside jsc.
* js/script-tests/class-syntax-expression.js: Rebaselined after <a href="http://trac.webkit.org/projects/webkit/changeset/181611">r181611</a>.
* js/script-tests/class-syntax-extends.js: Ditto. Also replaced evalAndLog by shouldNotThrow as the former is not
supported inside jsc.
* js/script-tests/class-syntax-super.js: Don't refer to "window" object as it doesn't exist inside jsc.
* sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11-expected.txt:
* sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27-expected.txt:
* sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5-expected.txt:</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkChangeLog">trunk/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsTestExpectations">trunk/LayoutTests/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsjsclasssyntaxcallexpectedtxt">trunk/LayoutTests/js/class-syntax-call-expected.txt</a></li>
<li><a href="#trunkLayoutTestsjsclasssyntaxdeclarationexpectedtxt">trunk/LayoutTests/js/class-syntax-declaration-expected.txt</a></li>
<li><a href="#trunkLayoutTestsjsclasssyntaxdefaultconstructorexpectedtxt">trunk/LayoutTests/js/class-syntax-default-constructor-expected.txt</a></li>
<li><a href="#trunkLayoutTestsjsclasssyntaxexpressionexpectedtxt">trunk/LayoutTests/js/class-syntax-expression-expected.txt</a></li>
<li><a href="#trunkLayoutTestsjsclasssyntaxextendsexpectedtxt">trunk/LayoutTests/js/class-syntax-extends-expected.txt</a></li>
<li><a href="#trunkLayoutTestsjsclasssyntaxsuperexpectedtxt">trunk/LayoutTests/js/class-syntax-super-expected.txt</a></li>
<li><a href="#trunkLayoutTestsjsdomreservedwordsaspropertyexpectedtxt">trunk/LayoutTests/js/dom/reserved-words-as-property-expected.txt</a></li>
<li><a href="#trunkLayoutTestsjsscripttestsclasssyntaxcalljs">trunk/LayoutTests/js/script-tests/class-syntax-call.js</a></li>
<li><a href="#trunkLayoutTestsjsscripttestsclasssyntaxdeclarationjs">trunk/LayoutTests/js/script-tests/class-syntax-declaration.js</a></li>
<li><a href="#trunkLayoutTestsjsscripttestsclasssyntaxdefaultconstructorjs">trunk/LayoutTests/js/script-tests/class-syntax-default-constructor.js</a></li>
<li><a href="#trunkLayoutTestsjsscripttestsclasssyntaxexpressionjs">trunk/LayoutTests/js/script-tests/class-syntax-expression.js</a></li>
<li><a href="#trunkLayoutTestsjsscripttestsclasssyntaxextendsjs">trunk/LayoutTests/js/script-tests/class-syntax-extends.js</a></li>
<li><a href="#trunkLayoutTestsjsscripttestsclasssyntaxsuperjs">trunk/LayoutTests/js/script-tests/class-syntax-super.js</a></li>
<li><a href="#trunkLayoutTestssputnikConformance07_Lexical_Conventions75_Tokens753_Future_Reserved_WordsS753_A111expectedtxt">trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11-expected.txt</a></li>
<li><a href="#trunkLayoutTestssputnikConformance07_Lexical_Conventions75_Tokens753_Future_Reserved_WordsS753_A127expectedtxt">trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27-expected.txt</a></li>
<li><a href="#trunkLayoutTestssputnikConformance07_Lexical_Conventions75_Tokens753_Future_Reserved_WordsS753_A15expectedtxt">trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5-expected.txt</a></li>
<li><a href="#trunkSourceJavaScriptCoreChangeLog">trunk/Source/JavaScriptCore/ChangeLog</a></li>
<li><a href="#trunkSourceJavaScriptCoreConfigurationsFeatureDefinesxcconfig">trunk/Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig</a></li>
<li><a href="#trunkSourceJavaScriptCoretestsstressclasssyntaxnolooptdzjs">trunk/Source/JavaScriptCore/tests/stress/class-syntax-no-loop-tdz.js</a></li>
<li><a href="#trunkSourceJavaScriptCoretestsstressclasssyntaxnotdzincatchjs">trunk/Source/JavaScriptCore/tests/stress/class-syntax-no-tdz-in-catch.js</a></li>
<li><a href="#trunkSourceJavaScriptCoretestsstressclasssyntaxnotdzinconditionaljs">trunk/Source/JavaScriptCore/tests/stress/class-syntax-no-tdz-in-conditional.js</a></li>
<li><a href="#trunkSourceJavaScriptCoretestsstressclasssyntaxnotdzinloopnoinlinesuperjs">trunk/Source/JavaScriptCore/tests/stress/class-syntax-no-tdz-in-loop-no-inline-super.js</a></li>
<li><a href="#trunkSourceJavaScriptCoretestsstressclasssyntaxnotdzinloopjs">trunk/Source/JavaScriptCore/tests/stress/class-syntax-no-tdz-in-loop.js</a></li>
<li><a href="#trunkSourceJavaScriptCoretestsstressclasssyntaxnotdzjs">trunk/Source/JavaScriptCore/tests/stress/class-syntax-no-tdz.js</a></li>
<li><a href="#trunkSourceJavaScriptCoretestsstressclasssyntaxtdzincatchjs">trunk/Source/JavaScriptCore/tests/stress/class-syntax-tdz-in-catch.js</a></li>
<li><a href="#trunkSourceJavaScriptCoretestsstressclasssyntaxtdzinconditionaljs">trunk/Source/JavaScriptCore/tests/stress/class-syntax-tdz-in-conditional.js</a></li>
<li><a href="#trunkSourceJavaScriptCoretestsstressclasssyntaxtdzinloopjs">trunk/Source/JavaScriptCore/tests/stress/class-syntax-tdz-in-loop.js</a></li>
<li><a href="#trunkSourceJavaScriptCoretestsstressclasssyntaxtdzjs">trunk/Source/JavaScriptCore/tests/stress/class-syntax-tdz.js</a></li>
<li><a href="#trunkSourceWTFChangeLog">trunk/Source/WTF/ChangeLog</a></li>
<li><a href="#trunkSourceWTFwtfFeatureDefinesh">trunk/Source/WTF/wtf/FeatureDefines.h</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreConfigurationsFeatureDefinesxcconfig">trunk/Source/WebCore/Configurations/FeatureDefines.xcconfig</a></li>
<li><a href="#trunkSourceWebKitmacChangeLog">trunk/Source/WebKit/mac/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitmacConfigurationsFeatureDefinesxcconfig">trunk/Source/WebKit/mac/Configurations/FeatureDefines.xcconfig</a></li>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2ConfigurationsFeatureDefinesxcconfig">trunk/Source/WebKit2/Configurations/FeatureDefines.xcconfig</a></li>
<li><a href="#trunkSourcecmakeWebKitFeaturescmake">trunk/Source/cmake/WebKitFeatures.cmake</a></li>
<li><a href="#trunkToolsChangeLog">trunk/Tools/ChangeLog</a></li>
<li><a href="#trunkToolsScriptswebkitperlFeatureListpm">trunk/Tools/Scripts/webkitperl/FeatureList.pm</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/ChangeLog (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/ChangeLog        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/ChangeLog        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,3 +1,12 @@
</span><ins>+2015-03-16 Ryosuke Niwa <rniwa@webkit.org>
+
+ Enable ES6 classes by default
+ https://bugs.webkit.org/show_bug.cgi?id=142774
+
+ Reviewed by Gavin Barraclough.
+
+ * Source/cmake/WebKitFeatures.cmake:
+
</ins><span class="cx"> 2015-03-16 Gyuyoung Kim <gyuyoung.kim@samsung.com>
</span><span class="cx">
</span><span class="cx"> [CMake][EFL] Rearrange OptionEFL.cmake to improve readability
</span></span></pre></div>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/LayoutTests/ChangeLog        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,3 +1,32 @@
</span><ins>+2015-03-16 Ryosuke Niwa <rniwa@webkit.org>
+
+ Enable ES6 classes by default
+ https://bugs.webkit.org/show_bug.cgi?id=142774
+
+ Reviewed by Gavin Barraclough.
+
+ Unskipped tests and also fixed tests so that they can run under run-javascript-tests.
+
+ * TestExpectations: Unskipped tests.
+ * js/class-syntax-call-expected.txt:
+ * js/class-syntax-declaration-expected.txt:
+ * js/class-syntax-default-constructor-expected.txt:
+ * js/class-syntax-expression-expected.txt:
+ * js/class-syntax-extends-expected.txt:
+ * js/class-syntax-super-expected.txt:
+ * js/dom/reserved-words-as-property-expected.txt: Rebaselined now that "class" is a non-reserved keyword.
+ * js/script-tests/class-syntax-call.js: Don't refer to "window" object as it doesn't exit when ran inside jsc.
+ * js/script-tests/class-syntax-declaration.js: Rebaselined after r181611, which added default constructor support.
+ * js/script-tests/class-syntax-default-constructor.js: Don't refer to "window" object. Also replaced shouldNotBe
+ by an explicit !== check as the former is not supported when ran inside jsc.
+ * js/script-tests/class-syntax-expression.js: Rebaselined after r181611.
+ * js/script-tests/class-syntax-extends.js: Ditto. Also replaced evalAndLog by shouldNotThrow as the former is not
+ supported inside jsc.
+ * js/script-tests/class-syntax-super.js: Don't refer to "window" object as it doesn't exist inside jsc.
+ * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11-expected.txt:
+ * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27-expected.txt:
+ * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5-expected.txt:
+
</ins><span class="cx"> 2015-03-16 Joseph Pecoraro <pecoraro@apple.com>
</span><span class="cx">
</span><span class="cx"> Web Inspector: Better Console Previews for Arrays / Small Objects
</span></span></pre></div>
<a id="trunkLayoutTestsTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/TestExpectations (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/TestExpectations        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/LayoutTests/TestExpectations        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -66,15 +66,6 @@
</span><span class="cx">
</span><span class="cx"> webkit.org/b/127860 [ Debug ] js/function-apply-aliased.html [ Skip ]
</span><span class="cx">
</span><del>-# ES6 class syntax hasn't been enabled yet.
-webkit.org/b/140491 js/class-syntax-call.html [ Failure ]
-webkit.org/b/140491 js/class-syntax-declaration.html [ Failure ]
-webkit.org/b/140491 js/class-syntax-default-constructor.html [ Failure ]
-webkit.org/b/140491 js/class-syntax-expression.html [ Failure ]
-webkit.org/b/140491 js/class-syntax-extends.html [ Failure ]
-webkit.org/b/140491 js/class-syntax-scoping.html [ Failure ]
-webkit.org/b/140491 js/class-syntax-super.html [ Failure ]
-
</del><span class="cx"> # This test verifies dynamic manipulation of the mroot and msqrt elements.
</span><span class="cx"> mathml/roots-removeChild.html [ ImageOnlyFailure ]
</span><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsjsclasssyntaxcallexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/class-syntax-call-expected.txt (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/class-syntax-call-expected.txt        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/LayoutTests/js/class-syntax-call-expected.txt        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,6 +1,11 @@
</span><del>-PASS class A { constructor() {} }; window.A = A; new A did not throw exception.
</del><ins>+Tests for calling the constructors of ES6 classes
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS class A { constructor() {} }; new A did not throw exception.
</ins><span class="cx"> PASS A() threw exception TypeError: Cannot call a class constructor.
</span><del>-PASS class B extends A { constructor() { super() } }; window.B = B; new A did not throw exception.
</del><ins>+PASS class B extends A { constructor() { super() } }; new B did not throw exception.
</ins><span class="cx"> PASS B() threw exception TypeError: Cannot call a class constructor.
</span><span class="cx"> PASS new (class { constructor() {} })() did not throw exception.
</span><span class="cx"> PASS (class { constructor() {} })() threw exception TypeError: Cannot call a class constructor.
</span></span></pre></div>
<a id="trunkLayoutTestsjsclasssyntaxdeclarationexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/class-syntax-declaration-expected.txt (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/class-syntax-declaration-expected.txt        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/LayoutTests/js/class-syntax-declaration-expected.txt        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,3 +1,8 @@
</span><ins>+Tests for ES6 class syntax declarations
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
</ins><span class="cx"> PASS constructorCallCount is 0
</span><span class="cx"> PASS A.someStaticMethod() is staticMethodValue
</span><span class="cx"> PASS (new A).someInstanceMethod() is instanceMethodValue
</span><span class="lines">@@ -13,7 +18,7 @@
</span><span class="cx"> PASS class threw exception SyntaxError: Unexpected end of script.
</span><span class="cx"> PASS class X { threw exception SyntaxError: Unexpected end of script.
</span><span class="cx"> PASS class X { ( } threw exception SyntaxError: Unexpected token '('. Expected an indentifier..
</span><del>-PASS class X {} threw exception SyntaxError: Class declaration without a constructor is not supported yet..
</del><ins>+PASS class X {} did not throw exception.
</ins><span class="cx"> PASS class X { constructor() {} constructor() {} } threw exception SyntaxError: Cannot declare multiple constructors in a single class..
</span><span class="cx"> PASS class X { constructor() {} static constructor() { return staticMethodValue; } } did not throw exception.
</span><span class="cx"> PASS X.constructor() is staticMethodValue
</span></span></pre></div>
<a id="trunkLayoutTestsjsclasssyntaxdefaultconstructorexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/class-syntax-default-constructor-expected.txt (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/class-syntax-default-constructor-expected.txt        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/LayoutTests/js/class-syntax-default-constructor-expected.txt        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -3,14 +3,14 @@
</span><span class="cx"> On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
</span><span class="cx">
</span><span class="cx">
</span><del>-PASS class A { }; window.A = A; new A instanceof A is true
</del><ins>+PASS class A { }; new A instanceof A is true
</ins><span class="cx"> PASS A() threw exception TypeError: Cannot call a class constructor.
</span><span class="cx"> PASS A.prototype.constructor instanceof Function is true
</span><span class="cx"> PASS A.prototype.constructor.name is "A"
</span><span class="cx"> PASS class B extends A { }; new B instanceof A; new B instanceof A is true
</span><span class="cx"> PASS B() threw exception TypeError: Cannot call a class constructor.
</span><span class="cx"> PASS B.prototype.constructor.name is "B"
</span><del>-PASS A is not B
</del><ins>+PASS A !== B is true
</ins><span class="cx"> FAIL A.prototype.constructor should be function B() { super(...arguments); }. Was function A() { }.
</span><span class="cx"> PASS new (class extends (class { constructor(a, b) { return [a, b]; } }) {})(1, 2) is [1, 2]
</span><span class="cx"> PASS successfullyParsed is true
</span></span></pre></div>
<a id="trunkLayoutTestsjsclasssyntaxexpressionexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/class-syntax-expression-expected.txt (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/class-syntax-expression-expected.txt        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/LayoutTests/js/class-syntax-expression-expected.txt        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,3 +1,8 @@
</span><ins>+Tests for ES6 class syntax expressions
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
</ins><span class="cx"> PASS constructorCallCount is 0
</span><span class="cx"> PASS A.someStaticMethod() is staticMethodValue
</span><span class="cx"> PASS (new A).someInstanceMethod() is instanceMethodValue
</span><span class="lines">@@ -13,7 +18,7 @@
</span><span class="cx"> PASS x = class threw exception SyntaxError: Unexpected end of script.
</span><span class="cx"> PASS x = class { threw exception SyntaxError: Unexpected end of script.
</span><span class="cx"> PASS x = class { ( } threw exception SyntaxError: Unexpected token '('. Expected an indentifier..
</span><del>-PASS x = class {} threw exception SyntaxError: Class declaration without a constructor is not supported yet..
</del><ins>+PASS x = class {} did not throw exception.
</ins><span class="cx"> PASS x = class { constructor() {} constructor() {} } threw exception SyntaxError: Cannot declare multiple constructors in a single class..
</span><span class="cx"> PASS x = class { constructor() {} static constructor() { return staticMethodValue; } } did not throw exception.
</span><span class="cx"> PASS x.constructor() is staticMethodValue
</span></span></pre></div>
<a id="trunkLayoutTestsjsclasssyntaxextendsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/class-syntax-extends-expected.txt (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/class-syntax-extends-expected.txt        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/LayoutTests/js/class-syntax-extends-expected.txt        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -12,7 +12,7 @@
</span><span class="cx"> PASS x = class extends threw exception SyntaxError: Unexpected end of script.
</span><span class="cx"> PASS x = class extends threw exception SyntaxError: Unexpected end of script.
</span><span class="cx"> PASS x = class extends Base { threw exception SyntaxError: Unexpected end of script.
</span><del>-PASS x = class extends Base {} threw exception SyntaxError: Class declaration without a constructor is not supported yet..
</del><ins>+PASS x = class extends Base { } did not throw exception.
</ins><span class="cx"> PASS x = class extends Base { constructor() { } } did not throw exception.
</span><span class="cx"> PASS x.__proto__ is Base
</span><span class="cx"> PASS x.prototype.__proto__ is Base.prototype
</span><span class="lines">@@ -20,9 +20,9 @@
</span><span class="cx"> PASS x.__proto__ is Function.prototype
</span><span class="cx"> PASS x = class extends 3 { constructor() { } }; x.__proto__ threw exception TypeError: The superclass is not an object..
</span><span class="cx"> PASS x = class extends "abc" { constructor() { } }; x.__proto__ threw exception TypeError: The superclass is not an object..
</span><del>-baseWithBadPrototype = class { constructor() { } }; baseWithBadPrototype.prototype = 3
</del><ins>+PASS baseWithBadPrototype = class { constructor() { } }; baseWithBadPrototype.prototype = 3 did not throw exception.
</ins><span class="cx"> PASS x = class extends baseWithBadPrototype { constructor() { } } threw exception TypeError: The superclass's prototype is not an object..
</span><del>-baseWithBadPrototype.prototype = "abc"
</del><ins>+PASS baseWithBadPrototype.prototype = "abc" did not throw exception.
</ins><span class="cx"> PASS x = class extends baseWithBadPrototype { constructor() { } } threw exception TypeError: The superclass's prototype is not an object..
</span><span class="cx"> PASS baseWithBadPrototype.prototype = null; x = class extends baseWithBadPrototype { constructor() { } } did not throw exception.
</span><span class="cx"> PASS successfullyParsed is true
</span></span></pre></div>
<a id="trunkLayoutTestsjsclasssyntaxsuperexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/class-syntax-super-expected.txt (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/class-syntax-super-expected.txt        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/LayoutTests/js/class-syntax-super-expected.txt        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -27,12 +27,12 @@
</span><span class="cx"> PASS new (class extends Base { constructor() { return undefined } }) is undefined
</span><span class="cx"> PASS x = { }; new (class extends Base { constructor() { return x } }); is x
</span><span class="cx"> PASS x instanceof Base is false
</span><del>-PASS new (class extends Base { constructor() { } }) threw exception TypeError: Cannot return a non-object type in the constructor of a derived class..
</del><ins>+PASS new (class extends Base { constructor() { } }) threw exception ReferenceError: Cannot access uninitialized variable..
</ins><span class="cx"> PASS new (class extends Base { constructor() { return 1; } }) threw exception TypeError: Cannot return a non-object type in the constructor of a derived class..
</span><span class="cx"> PASS new (class extends null { constructor() { return undefined } }) is undefined
</span><span class="cx"> PASS x = { }; new (class extends null { constructor() { return x } }); is x
</span><span class="cx"> PASS x instanceof Object is true
</span><del>-PASS new (class extends null { constructor() { } }) threw exception TypeError: Cannot return a non-object type in the constructor of a derived class..
</del><ins>+PASS new (class extends null { constructor() { } }) threw exception ReferenceError: Cannot access uninitialized variable..
</ins><span class="cx"> PASS new (class extends null { constructor() { return 1; } }) threw exception TypeError: Cannot return a non-object type in the constructor of a derived class..
</span><span class="cx"> PASS new (class extends null { constructor() { super() } }) did not throw exception.
</span><span class="cx"> PASS new (class { constructor() { super() } }) threw exception SyntaxError: Cannot call super() in a base class constructor..
</span></span></pre></div>
<a id="trunkLayoutTestsjsdomreservedwordsaspropertyexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/dom/reserved-words-as-property-expected.txt (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/dom/reserved-words-as-property-expected.txt        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/LayoutTests/js/dom/reserved-words-as-property-expected.txt        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1047,36 +1047,36 @@
</span><span class="cx"> PASS (function(){"use strict";({ with: 42 }.with === 42)}); true is true
</span><span class="cx"> PASS "use strict";({ get with(){}, set with(){}, parsedOkay: 42 }.parsedOkay === 42) is true
</span><span class="cx"> PASS (function(){"use strict";({ get with(){}, set with(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true
</span><del>-PASS var class; true threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name..
-PASS (function(){var class; true}); true threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name..
-PASS var class = 42; class === 42 threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name..
-PASS (function(){var class = 42; class === 42}); true threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name..
-PASS function g(class){ }; true threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name..
-PASS (function(){function g(class){ }; true}); true threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name..
-PASS /class/.test(function g(class){ }) threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name..
-PASS (function(){/class/.test(function g(class){ })}); true threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name..
-PASS try{}catch(class){}; true threw exception SyntaxError: Cannot use the reserved word 'class' as a catch variable name..
-PASS (function(){try{}catch(class){}; true}); true threw exception SyntaxError: Cannot use the reserved word 'class' as a catch variable name..
-PASS function class(){ }; true threw exception SyntaxError: Cannot use the reserved word 'class' as a function name..
-PASS (function(){function class(){ }; true}); true threw exception SyntaxError: Cannot use the reserved word 'class' as a function name..
</del><ins>+PASS var class; true threw exception SyntaxError: Cannot use the keyword 'class' as a variable name..
+PASS (function(){var class; true}); true threw exception SyntaxError: Cannot use the keyword 'class' as a variable name..
+PASS var class = 42; class === 42 threw exception SyntaxError: Cannot use the keyword 'class' as a variable name..
+PASS (function(){var class = 42; class === 42}); true threw exception SyntaxError: Cannot use the keyword 'class' as a variable name..
+PASS function g(class){ }; true threw exception SyntaxError: Cannot use the keyword 'class' as a variable name..
+PASS (function(){function g(class){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'class' as a variable name..
+PASS /class/.test(function g(class){ }) threw exception SyntaxError: Cannot use the keyword 'class' as a variable name..
+PASS (function(){/class/.test(function g(class){ })}); true threw exception SyntaxError: Cannot use the keyword 'class' as a variable name..
+PASS try{}catch(class){}; true threw exception SyntaxError: Cannot use the keyword 'class' as a catch variable name..
+PASS (function(){try{}catch(class){}; true}); true threw exception SyntaxError: Cannot use the keyword 'class' as a catch variable name..
+PASS function class(){ }; true threw exception SyntaxError: Cannot use the keyword 'class' as a function name..
+PASS (function(){function class(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'class' as a function name..
</ins><span class="cx"> PASS ({ "class": 42 }.class === 42) is true
</span><span class="cx"> PASS (function(){({ "class": 42 }.class === 42)}); true is true
</span><span class="cx"> PASS ({ class: 42 }.class === 42) is true
</span><span class="cx"> PASS (function(){({ class: 42 }.class === 42)}); true is true
</span><span class="cx"> PASS ({ get class(){}, set class(){}, parsedOkay: 42 }.parsedOkay === 42) is true
</span><span class="cx"> PASS (function(){({ get class(){}, set class(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true
</span><del>-PASS "use strict";var class; true threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name..
-PASS (function(){"use strict";var class; true}); true threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name..
-PASS "use strict";var class = 42; class === 42 threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name..
-PASS (function(){"use strict";var class = 42; class === 42}); true threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name..
-PASS "use strict";function g(class){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name..
-PASS (function(){"use strict";function g(class){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name..
-PASS "use strict";/class/.test(function g(class){ "use strict"; }) threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name..
-PASS (function(){"use strict";/class/.test(function g(class){ "use strict"; })}); true threw exception SyntaxError: Cannot use the reserved word 'class' as a variable name..
-PASS "use strict";try{}catch(class){}; true threw exception SyntaxError: Cannot use the reserved word 'class' as a catch variable name..
-PASS (function(){"use strict";try{}catch(class){}; true}); true threw exception SyntaxError: Cannot use the reserved word 'class' as a catch variable name..
-PASS "use strict";function class(){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'class' as a function name..
-PASS (function(){"use strict";function class(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'class' as a function name..
</del><ins>+PASS "use strict";var class; true threw exception SyntaxError: Cannot use the keyword 'class' as a variable name..
+PASS (function(){"use strict";var class; true}); true threw exception SyntaxError: Cannot use the keyword 'class' as a variable name..
+PASS "use strict";var class = 42; class === 42 threw exception SyntaxError: Cannot use the keyword 'class' as a variable name..
+PASS (function(){"use strict";var class = 42; class === 42}); true threw exception SyntaxError: Cannot use the keyword 'class' as a variable name..
+PASS "use strict";function g(class){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'class' as a variable name..
+PASS (function(){"use strict";function g(class){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'class' as a variable name..
+PASS "use strict";/class/.test(function g(class){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'class' as a variable name..
+PASS (function(){"use strict";/class/.test(function g(class){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'class' as a variable name..
+PASS "use strict";try{}catch(class){}; true threw exception SyntaxError: Cannot use the keyword 'class' as a catch variable name..
+PASS (function(){"use strict";try{}catch(class){}; true}); true threw exception SyntaxError: Cannot use the keyword 'class' as a catch variable name..
+PASS "use strict";function class(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'class' as a function name..
+PASS (function(){"use strict";function class(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'class' as a function name..
</ins><span class="cx"> PASS "use strict";({ "class": 42 }.class === 42) is true
</span><span class="cx"> PASS (function(){"use strict";({ "class": 42 }.class === 42)}); true is true
</span><span class="cx"> PASS "use strict";({ class: 42 }.class === 42) is true
</span><span class="lines">@@ -1191,36 +1191,36 @@
</span><span class="cx"> PASS (function(){"use strict";({ export: 42 }.export === 42)}); true is true
</span><span class="cx"> PASS "use strict";({ get export(){}, set export(){}, parsedOkay: 42 }.parsedOkay === 42) is true
</span><span class="cx"> PASS (function(){"use strict";({ get export(){}, set export(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true
</span><del>-PASS var extends; true threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name..
-PASS (function(){var extends; true}); true threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name..
-PASS var extends = 42; extends === 42 threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name..
-PASS (function(){var extends = 42; extends === 42}); true threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name..
-PASS function g(extends){ }; true threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name..
-PASS (function(){function g(extends){ }; true}); true threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name..
-PASS /extends/.test(function g(extends){ }) threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name..
-PASS (function(){/extends/.test(function g(extends){ })}); true threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name..
-PASS try{}catch(extends){}; true threw exception SyntaxError: Cannot use the reserved word 'extends' as a catch variable name..
-PASS (function(){try{}catch(extends){}; true}); true threw exception SyntaxError: Cannot use the reserved word 'extends' as a catch variable name..
-PASS function extends(){ }; true threw exception SyntaxError: Cannot use the reserved word 'extends' as a function name..
-PASS (function(){function extends(){ }; true}); true threw exception SyntaxError: Cannot use the reserved word 'extends' as a function name..
</del><ins>+PASS var extends; true threw exception SyntaxError: Cannot use the keyword 'extends' as a variable name..
+PASS (function(){var extends; true}); true threw exception SyntaxError: Cannot use the keyword 'extends' as a variable name..
+PASS var extends = 42; extends === 42 threw exception SyntaxError: Cannot use the keyword 'extends' as a variable name..
+PASS (function(){var extends = 42; extends === 42}); true threw exception SyntaxError: Cannot use the keyword 'extends' as a variable name..
+PASS function g(extends){ }; true threw exception SyntaxError: Cannot use the keyword 'extends' as a variable name..
+PASS (function(){function g(extends){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'extends' as a variable name..
+PASS /extends/.test(function g(extends){ }) threw exception SyntaxError: Cannot use the keyword 'extends' as a variable name..
+PASS (function(){/extends/.test(function g(extends){ })}); true threw exception SyntaxError: Cannot use the keyword 'extends' as a variable name..
+PASS try{}catch(extends){}; true threw exception SyntaxError: Cannot use the keyword 'extends' as a catch variable name..
+PASS (function(){try{}catch(extends){}; true}); true threw exception SyntaxError: Cannot use the keyword 'extends' as a catch variable name..
+PASS function extends(){ }; true threw exception SyntaxError: Cannot use the keyword 'extends' as a function name..
+PASS (function(){function extends(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'extends' as a function name..
</ins><span class="cx"> PASS ({ "extends": 42 }.extends === 42) is true
</span><span class="cx"> PASS (function(){({ "extends": 42 }.extends === 42)}); true is true
</span><span class="cx"> PASS ({ extends: 42 }.extends === 42) is true
</span><span class="cx"> PASS (function(){({ extends: 42 }.extends === 42)}); true is true
</span><span class="cx"> PASS ({ get extends(){}, set extends(){}, parsedOkay: 42 }.parsedOkay === 42) is true
</span><span class="cx"> PASS (function(){({ get extends(){}, set extends(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true
</span><del>-PASS "use strict";var extends; true threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name..
-PASS (function(){"use strict";var extends; true}); true threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name..
-PASS "use strict";var extends = 42; extends === 42 threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name..
-PASS (function(){"use strict";var extends = 42; extends === 42}); true threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name..
-PASS "use strict";function g(extends){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name..
-PASS (function(){"use strict";function g(extends){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name..
-PASS "use strict";/extends/.test(function g(extends){ "use strict"; }) threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name..
-PASS (function(){"use strict";/extends/.test(function g(extends){ "use strict"; })}); true threw exception SyntaxError: Cannot use the reserved word 'extends' as a variable name..
-PASS "use strict";try{}catch(extends){}; true threw exception SyntaxError: Cannot use the reserved word 'extends' as a catch variable name..
-PASS (function(){"use strict";try{}catch(extends){}; true}); true threw exception SyntaxError: Cannot use the reserved word 'extends' as a catch variable name..
-PASS "use strict";function extends(){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'extends' as a function name..
-PASS (function(){"use strict";function extends(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'extends' as a function name..
</del><ins>+PASS "use strict";var extends; true threw exception SyntaxError: Cannot use the keyword 'extends' as a variable name..
+PASS (function(){"use strict";var extends; true}); true threw exception SyntaxError: Cannot use the keyword 'extends' as a variable name..
+PASS "use strict";var extends = 42; extends === 42 threw exception SyntaxError: Cannot use the keyword 'extends' as a variable name..
+PASS (function(){"use strict";var extends = 42; extends === 42}); true threw exception SyntaxError: Cannot use the keyword 'extends' as a variable name..
+PASS "use strict";function g(extends){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'extends' as a variable name..
+PASS (function(){"use strict";function g(extends){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'extends' as a variable name..
+PASS "use strict";/extends/.test(function g(extends){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'extends' as a variable name..
+PASS (function(){"use strict";/extends/.test(function g(extends){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'extends' as a variable name..
+PASS "use strict";try{}catch(extends){}; true threw exception SyntaxError: Cannot use the keyword 'extends' as a catch variable name..
+PASS (function(){"use strict";try{}catch(extends){}; true}); true threw exception SyntaxError: Cannot use the keyword 'extends' as a catch variable name..
+PASS "use strict";function extends(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'extends' as a function name..
+PASS (function(){"use strict";function extends(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'extends' as a function name..
</ins><span class="cx"> PASS "use strict";({ "extends": 42 }.extends === 42) is true
</span><span class="cx"> PASS (function(){"use strict";({ "extends": 42 }.extends === 42)}); true is true
</span><span class="cx"> PASS "use strict";({ extends: 42 }.extends === 42) is true
</span><span class="lines">@@ -1263,36 +1263,36 @@
</span><span class="cx"> PASS (function(){"use strict";({ import: 42 }.import === 42)}); true is true
</span><span class="cx"> PASS "use strict";({ get import(){}, set import(){}, parsedOkay: 42 }.parsedOkay === 42) is true
</span><span class="cx"> PASS (function(){"use strict";({ get import(){}, set import(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true
</span><del>-PASS var super; true threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name..
-PASS (function(){var super; true}); true threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name..
-PASS var super = 42; super === 42 threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name..
-PASS (function(){var super = 42; super === 42}); true threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name..
-PASS function g(super){ }; true threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name..
-PASS (function(){function g(super){ }; true}); true threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name..
-PASS /super/.test(function g(super){ }) threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name..
-PASS (function(){/super/.test(function g(super){ })}); true threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name..
-PASS try{}catch(super){}; true threw exception SyntaxError: Cannot use the reserved word 'super' as a catch variable name..
-PASS (function(){try{}catch(super){}; true}); true threw exception SyntaxError: Cannot use the reserved word 'super' as a catch variable name..
-PASS function super(){ }; true threw exception SyntaxError: Cannot use the reserved word 'super' as a function name..
-PASS (function(){function super(){ }; true}); true threw exception SyntaxError: Cannot use the reserved word 'super' as a function name..
</del><ins>+PASS var super; true threw exception SyntaxError: Cannot use the keyword 'super' as a variable name..
+PASS (function(){var super; true}); true threw exception SyntaxError: Cannot use the keyword 'super' as a variable name..
+PASS var super = 42; super === 42 threw exception SyntaxError: Cannot use the keyword 'super' as a variable name..
+PASS (function(){var super = 42; super === 42}); true threw exception SyntaxError: Cannot use the keyword 'super' as a variable name..
+PASS function g(super){ }; true threw exception SyntaxError: Cannot use the keyword 'super' as a variable name..
+PASS (function(){function g(super){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'super' as a variable name..
+PASS /super/.test(function g(super){ }) threw exception SyntaxError: Cannot use the keyword 'super' as a variable name..
+PASS (function(){/super/.test(function g(super){ })}); true threw exception SyntaxError: Cannot use the keyword 'super' as a variable name..
+PASS try{}catch(super){}; true threw exception SyntaxError: Cannot use the keyword 'super' as a catch variable name..
+PASS (function(){try{}catch(super){}; true}); true threw exception SyntaxError: Cannot use the keyword 'super' as a catch variable name..
+PASS function super(){ }; true threw exception SyntaxError: Cannot use the keyword 'super' as a function name..
+PASS (function(){function super(){ }; true}); true threw exception SyntaxError: Cannot use the keyword 'super' as a function name..
</ins><span class="cx"> PASS ({ "super": 42 }.super === 42) is true
</span><span class="cx"> PASS (function(){({ "super": 42 }.super === 42)}); true is true
</span><span class="cx"> PASS ({ super: 42 }.super === 42) is true
</span><span class="cx"> PASS (function(){({ super: 42 }.super === 42)}); true is true
</span><span class="cx"> PASS ({ get super(){}, set super(){}, parsedOkay: 42 }.parsedOkay === 42) is true
</span><span class="cx"> PASS (function(){({ get super(){}, set super(){}, parsedOkay: 42 }.parsedOkay === 42)}); true is true
</span><del>-PASS "use strict";var super; true threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name..
-PASS (function(){"use strict";var super; true}); true threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name..
-PASS "use strict";var super = 42; super === 42 threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name..
-PASS (function(){"use strict";var super = 42; super === 42}); true threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name..
-PASS "use strict";function g(super){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name..
-PASS (function(){"use strict";function g(super){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name..
-PASS "use strict";/super/.test(function g(super){ "use strict"; }) threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name..
-PASS (function(){"use strict";/super/.test(function g(super){ "use strict"; })}); true threw exception SyntaxError: Cannot use the reserved word 'super' as a variable name..
-PASS "use strict";try{}catch(super){}; true threw exception SyntaxError: Cannot use the reserved word 'super' as a catch variable name..
-PASS (function(){"use strict";try{}catch(super){}; true}); true threw exception SyntaxError: Cannot use the reserved word 'super' as a catch variable name..
-PASS "use strict";function super(){ "use strict"; }; true threw exception SyntaxError: Cannot use the reserved word 'super' as a function name..
-PASS (function(){"use strict";function super(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the reserved word 'super' as a function name..
</del><ins>+PASS "use strict";var super; true threw exception SyntaxError: Cannot use the keyword 'super' as a variable name..
+PASS (function(){"use strict";var super; true}); true threw exception SyntaxError: Cannot use the keyword 'super' as a variable name..
+PASS "use strict";var super = 42; super === 42 threw exception SyntaxError: Cannot use the keyword 'super' as a variable name..
+PASS (function(){"use strict";var super = 42; super === 42}); true threw exception SyntaxError: Cannot use the keyword 'super' as a variable name..
+PASS "use strict";function g(super){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'super' as a variable name..
+PASS (function(){"use strict";function g(super){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'super' as a variable name..
+PASS "use strict";/super/.test(function g(super){ "use strict"; }) threw exception SyntaxError: Cannot use the keyword 'super' as a variable name..
+PASS (function(){"use strict";/super/.test(function g(super){ "use strict"; })}); true threw exception SyntaxError: Cannot use the keyword 'super' as a variable name..
+PASS "use strict";try{}catch(super){}; true threw exception SyntaxError: Cannot use the keyword 'super' as a catch variable name..
+PASS (function(){"use strict";try{}catch(super){}; true}); true threw exception SyntaxError: Cannot use the keyword 'super' as a catch variable name..
+PASS "use strict";function super(){ "use strict"; }; true threw exception SyntaxError: Cannot use the keyword 'super' as a function name..
+PASS (function(){"use strict";function super(){ "use strict"; }; true}); true threw exception SyntaxError: Cannot use the keyword 'super' as a function name..
</ins><span class="cx"> PASS "use strict";({ "super": 42 }.super === 42) is true
</span><span class="cx"> PASS (function(){"use strict";({ "super": 42 }.super === 42)}); true is true
</span><span class="cx"> PASS "use strict";({ super: 42 }.super === 42) is true
</span></span></pre></div>
<a id="trunkLayoutTestsjsscripttestsclasssyntaxcalljs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/script-tests/class-syntax-call.js (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/script-tests/class-syntax-call.js        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/LayoutTests/js/script-tests/class-syntax-call.js        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,8 +1,8 @@
</span><del>-//@ skip
</del><ins>+description('Tests for calling the constructors of ES6 classes');
</ins><span class="cx">
</span><del>-shouldNotThrow('class A { constructor() {} }; window.A = A; new A');
</del><ins>+shouldNotThrow('class A { constructor() {} }; new A');
</ins><span class="cx"> shouldThrow('A()', '"TypeError: Cannot call a class constructor"');
</span><del>-shouldNotThrow('class B extends A { constructor() { super() } }; window.B = B; new A');
</del><ins>+shouldNotThrow('class B extends A { constructor() { super() } }; new B');
</ins><span class="cx"> shouldThrow('B()', '"TypeError: Cannot call a class constructor"');
</span><span class="cx"> shouldNotThrow('new (class { constructor() {} })()');
</span><span class="cx"> shouldThrow('(class { constructor() {} })()', '"TypeError: Cannot call a class constructor"');
</span></span></pre></div>
<a id="trunkLayoutTestsjsscripttestsclasssyntaxdeclarationjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/script-tests/class-syntax-declaration.js (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/script-tests/class-syntax-declaration.js        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/LayoutTests/js/script-tests/class-syntax-declaration.js        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,5 +1,6 @@
</span><del>-//@ skip
</del><span class="cx">
</span><ins>+description('Tests for ES6 class syntax declarations');
+
</ins><span class="cx"> var constructorCallCount = 0;
</span><span class="cx"> const staticMethodValue = [1];
</span><span class="cx"> const instanceMethodValue = [2];
</span><span class="lines">@@ -29,7 +30,7 @@
</span><span class="cx"> shouldThrow("class", "'SyntaxError: Unexpected end of script'");
</span><span class="cx"> shouldThrow("class X {", "'SyntaxError: Unexpected end of script'");
</span><span class="cx"> shouldThrow("class X { ( }", "'SyntaxError: Unexpected token \\'(\\'. Expected an indentifier.'");
</span><del>-shouldThrow("class X {}", "'SyntaxError: Class declaration without a constructor is not supported yet.'");
</del><ins>+shouldNotThrow("class X {}");
</ins><span class="cx"> shouldThrow("class X { constructor() {} constructor() {} }", "'SyntaxError: Cannot declare multiple constructors in a single class.'");
</span><span class="cx"> shouldNotThrow("class X { constructor() {} static constructor() { return staticMethodValue; } }");
</span><span class="cx"> shouldBe("X.constructor()", "staticMethodValue");
</span></span></pre></div>
<a id="trunkLayoutTestsjsscripttestsclasssyntaxdefaultconstructorjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/script-tests/class-syntax-default-constructor.js (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/script-tests/class-syntax-default-constructor.js        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/LayoutTests/js/script-tests/class-syntax-default-constructor.js        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,15 +1,14 @@
</span><del>-//@ skip
</del><span class="cx">
</span><span class="cx"> description('Tests for ES6 class syntax default constructor');
</span><span class="cx">
</span><del>-shouldBeTrue('class A { }; window.A = A; new A instanceof A');
</del><ins>+shouldBeTrue('class A { }; new A instanceof A');
</ins><span class="cx"> shouldThrow('A()', '"TypeError: Cannot call a class constructor"');
</span><span class="cx"> shouldBeTrue('A.prototype.constructor instanceof Function');
</span><span class="cx"> shouldBe('A.prototype.constructor.name', '"A"');
</span><span class="cx"> shouldBeTrue('class B extends A { }; new B instanceof A; new B instanceof A');
</span><span class="cx"> shouldThrow('B()', '"TypeError: Cannot call a class constructor"');
</span><span class="cx"> shouldBe('B.prototype.constructor.name', '"B"');
</span><del>-shouldNotBe('A', 'B');
</del><ins>+shouldBeTrue('A !== B');
</ins><span class="cx"> shouldBe('A.prototype.constructor', 'B.prototype.constructor');
</span><span class="cx"> shouldBe('new (class extends (class { constructor(a, b) { return [a, b]; } }) {})(1, 2)', '[1, 2]');
</span><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsjsscripttestsclasssyntaxexpressionjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/script-tests/class-syntax-expression.js (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/script-tests/class-syntax-expression.js        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/LayoutTests/js/script-tests/class-syntax-expression.js        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,5 +1,6 @@
</span><del>-//@ skip
</del><span class="cx">
</span><ins>+description('Tests for ES6 class syntax expressions');
+
</ins><span class="cx"> var constructorCallCount = 0;
</span><span class="cx"> const staticMethodValue = [1];
</span><span class="cx"> const instanceMethodValue = [2];
</span><span class="lines">@@ -29,7 +30,7 @@
</span><span class="cx"> shouldThrow("x = class", "'SyntaxError: Unexpected end of script'");
</span><span class="cx"> shouldThrow("x = class {", "'SyntaxError: Unexpected end of script'");
</span><span class="cx"> shouldThrow("x = class { ( }", "'SyntaxError: Unexpected token \\'(\\'. Expected an indentifier.'");
</span><del>-shouldThrow("x = class {}", "'SyntaxError: Class declaration without a constructor is not supported yet.'");
</del><ins>+shouldNotThrow("x = class {}");
</ins><span class="cx"> shouldThrow("x = class { constructor() {} constructor() {} }", "'SyntaxError: Cannot declare multiple constructors in a single class.'");
</span><span class="cx"> shouldNotThrow("x = class { constructor() {} static constructor() { return staticMethodValue; } }");
</span><span class="cx"> shouldBe("x.constructor()", "staticMethodValue");
</span></span></pre></div>
<a id="trunkLayoutTestsjsscripttestsclasssyntaxextendsjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/script-tests/class-syntax-extends.js (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/script-tests/class-syntax-extends.js        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/LayoutTests/js/script-tests/class-syntax-extends.js        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,4 +1,3 @@
</span><del>-//@ skip
</del><span class="cx">
</span><span class="cx"> description('Tests for ES6 class syntax "extends"');
</span><span class="cx">
</span><span class="lines">@@ -26,7 +25,7 @@
</span><span class="cx"> shouldThrow('x = class extends', '"SyntaxError: Unexpected end of script"');
</span><span class="cx"> shouldThrow('x = class extends', '"SyntaxError: Unexpected end of script"');
</span><span class="cx"> shouldThrow('x = class extends Base {', '"SyntaxError: Unexpected end of script"');
</span><del>-shouldThrow('x = class extends Base {}', '"SyntaxError: Class declaration without a constructor is not supported yet."');
</del><ins>+shouldNotThrow('x = class extends Base { }');
</ins><span class="cx"> shouldNotThrow('x = class extends Base { constructor() { } }');
</span><span class="cx"> shouldBe('x.__proto__', 'Base');
</span><span class="cx"> shouldBe('x.prototype.__proto__', 'Base.prototype');
</span><span class="lines">@@ -34,9 +33,9 @@
</span><span class="cx"> shouldBe('x.__proto__', 'Function.prototype');
</span><span class="cx"> shouldThrow('x = class extends 3 { constructor() { } }; x.__proto__', '"TypeError: The superclass is not an object."');
</span><span class="cx"> shouldThrow('x = class extends "abc" { constructor() { } }; x.__proto__', '"TypeError: The superclass is not an object."');
</span><del>-evalAndLog('baseWithBadPrototype = class { constructor() { } }; baseWithBadPrototype.prototype = 3');
</del><ins>+shouldNotThrow('baseWithBadPrototype = class { constructor() { } }; baseWithBadPrototype.prototype = 3');
</ins><span class="cx"> shouldThrow('x = class extends baseWithBadPrototype { constructor() { } }', '"TypeError: The superclass\'s prototype is not an object."');
</span><del>-evalAndLog('baseWithBadPrototype.prototype = "abc"');
</del><ins>+shouldNotThrow('baseWithBadPrototype.prototype = "abc"');
</ins><span class="cx"> shouldThrow('x = class extends baseWithBadPrototype { constructor() { } }', '"TypeError: The superclass\'s prototype is not an object."');
</span><span class="cx"> shouldNotThrow('baseWithBadPrototype.prototype = null; x = class extends baseWithBadPrototype { constructor() { } }');
</span><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsjsscripttestsclasssyntaxsuperjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/script-tests/class-syntax-super.js (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/script-tests/class-syntax-super.js        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/LayoutTests/js/script-tests/class-syntax-super.js        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,4 +1,3 @@
</span><del>-//@ skip
</del><span class="cx">
</span><span class="cx"> description('Tests for ES6 class syntax "super"');
</span><span class="cx">
</span><span class="lines">@@ -17,9 +16,9 @@
</span><span class="cx"> chainMethod() { return [super.chainMethod(), 'derived']; }
</span><span class="cx"> callBaseMethod() { return super.baseMethod(); }
</span><span class="cx"> get callBaseMethodInGetter() { return super['baseMethod'](); }
</span><del>- set callBaseMethodInSetter() { window.valueInSetter = super.baseMethod(); }
</del><ins>+ set callBaseMethodInSetter() { valueInSetter = super.baseMethod(); }
</ins><span class="cx"> get baseMethodInGetterSetter() { return super.baseMethod; }
</span><del>- set baseMethodInGetterSetter() { window.valueInSetter = super['baseMethod']; }
</del><ins>+ set baseMethodInGetterSetter() { valueInSetter = super['baseMethod']; }
</ins><span class="cx"> static staticMethod() { return super.staticMethod(); }
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -53,12 +52,12 @@
</span><span class="cx"> shouldBe('new (class extends Base { constructor() { return undefined } })', 'undefined');
</span><span class="cx"> shouldBe('x = { }; new (class extends Base { constructor() { return x } });', 'x');
</span><span class="cx"> shouldBeFalse('x instanceof Base');
</span><del>-shouldThrow('new (class extends Base { constructor() { } })', '"TypeError: Cannot return a non-object type in the constructor of a derived class."');
</del><ins>+shouldThrow('new (class extends Base { constructor() { } })', '"ReferenceError: Cannot access uninitialized variable."');
</ins><span class="cx"> shouldThrow('new (class extends Base { constructor() { return 1; } })', '"TypeError: Cannot return a non-object type in the constructor of a derived class."');
</span><span class="cx"> shouldBe('new (class extends null { constructor() { return undefined } })', 'undefined');
</span><span class="cx"> shouldBe('x = { }; new (class extends null { constructor() { return x } });', 'x');
</span><span class="cx"> shouldBeTrue('x instanceof Object');
</span><del>-shouldThrow('new (class extends null { constructor() { } })', '"TypeError: Cannot return a non-object type in the constructor of a derived class."');
</del><ins>+shouldThrow('new (class extends null { constructor() { } })', '"ReferenceError: Cannot access uninitialized variable."');
</ins><span class="cx"> shouldThrow('new (class extends null { constructor() { return 1; } })', '"TypeError: Cannot return a non-object type in the constructor of a derived class."');
</span><span class="cx"> shouldNotThrow('new (class extends null { constructor() { super() } })');
</span><span class="cx"> shouldThrow('new (class { constructor() { super() } })', '"SyntaxError: Cannot call super() in a base class constructor."');
</span></span></pre></div>
<a id="trunkLayoutTestssputnikConformance07_Lexical_Conventions75_Tokens753_Future_Reserved_WordsS753_A111expectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11-expected.txt (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11-expected.txt        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11-expected.txt        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><del>-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected use of reserved word 'extends'
</del><ins>+CONSOLE MESSAGE: line 76: SyntaxError: Unexpected keyword 'extends'
</ins><span class="cx"> S7.5.3_A1.11
</span><span class="cx">
</span><span class="cx"> PASS Expected parsing failure
</span></span></pre></div>
<a id="trunkLayoutTestssputnikConformance07_Lexical_Conventions75_Tokens753_Future_Reserved_WordsS753_A127expectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27-expected.txt (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27-expected.txt        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27-expected.txt        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><del>-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected use of reserved word 'super'
</del><ins>+CONSOLE MESSAGE: line 76: SyntaxError: Cannot reference super.
</ins><span class="cx"> S7.5.3_A1.27
</span><span class="cx">
</span><span class="cx"> PASS Expected parsing failure
</span></span></pre></div>
<a id="trunkLayoutTestssputnikConformance07_Lexical_Conventions75_Tokens753_Future_Reserved_WordsS753_A15expectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5-expected.txt (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5-expected.txt        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/LayoutTests/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5-expected.txt        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><del>-CONSOLE MESSAGE: line 76: SyntaxError: Unexpected use of reserved word 'class'
</del><ins>+CONSOLE MESSAGE: line 76: SyntaxError: Unexpected keyword 'class'. Class declaration is not allowed in a lexically nested statement.
</ins><span class="cx"> S7.5.3_A1.5
</span><span class="cx">
</span><span class="cx"> PASS Expected parsing failure
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/ChangeLog (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/ChangeLog        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/Source/JavaScriptCore/ChangeLog        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,3 +1,24 @@
</span><ins>+2015-03-16 Ryosuke Niwa <rniwa@webkit.org>
+
+ Enable ES6 classes by default
+ https://bugs.webkit.org/show_bug.cgi?id=142774
+
+ Reviewed by Gavin Barraclough.
+
+ Enabled the feature and unskipped tests.
+
+ * Configurations/FeatureDefines.xcconfig:
+ * tests/stress/class-syntax-no-loop-tdz.js:
+ * tests/stress/class-syntax-no-tdz-in-catch.js:
+ * tests/stress/class-syntax-no-tdz-in-conditional.js:
+ * tests/stress/class-syntax-no-tdz-in-loop-no-inline-super.js:
+ * tests/stress/class-syntax-no-tdz-in-loop.js:
+ * tests/stress/class-syntax-no-tdz.js:
+ * tests/stress/class-syntax-tdz-in-catch.js:
+ * tests/stress/class-syntax-tdz-in-conditional.js:
+ * tests/stress/class-syntax-tdz-in-loop.js:
+ * tests/stress/class-syntax-tdz.js:
+
</ins><span class="cx"> 2015-03-16 Joseph Pecoraro <pecoraro@apple.com>
</span><span class="cx">
</span><span class="cx"> Web Inspector: Better Console Previews for Arrays / Small Objects
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreConfigurationsFeatureDefinesxcconfig"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -44,7 +44,7 @@
</span><span class="cx"> ENABLE_CANVAS_PATH = ENABLE_CANVAS_PATH;
</span><span class="cx"> ENABLE_CANVAS_PROXY = ;
</span><span class="cx"> ENABLE_CHANNEL_MESSAGING = ENABLE_CHANNEL_MESSAGING;
</span><del>-ENABLE_ES6_CLASS_SYNTAX = ;
</del><ins>+ENABLE_ES6_CLASS_SYNTAX = ENABLE_ES6_CLASS_SYNTAX;
</ins><span class="cx"> ENABLE_CONTENT_FILTERING = ENABLE_CONTENT_FILTERING;
</span><span class="cx"> ENABLE_CSP_NEXT = ;
</span><span class="cx"> ENABLE_CSS_ANIMATIONS_LEVEL_2 = ENABLE_CSS_ANIMATIONS_LEVEL_2;
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoretestsstressclasssyntaxnolooptdzjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/tests/stress/class-syntax-no-loop-tdz.js (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/tests/stress/class-syntax-no-loop-tdz.js        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/Source/JavaScriptCore/tests/stress/class-syntax-no-loop-tdz.js        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,4 +1,3 @@
</span><del>-//@ skip
</del><span class="cx">
</span><span class="cx"> class A {
</span><span class="cx"> constructor() { }
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoretestsstressclasssyntaxnotdzincatchjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/tests/stress/class-syntax-no-tdz-in-catch.js (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/tests/stress/class-syntax-no-tdz-in-catch.js        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/Source/JavaScriptCore/tests/stress/class-syntax-no-tdz-in-catch.js        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,4 +1,3 @@
</span><del>-//@ skip
</del><span class="cx">
</span><span class="cx"> class A {
</span><span class="cx"> constructor() { }
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoretestsstressclasssyntaxnotdzinconditionaljs"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/tests/stress/class-syntax-no-tdz-in-conditional.js (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/tests/stress/class-syntax-no-tdz-in-conditional.js        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/Source/JavaScriptCore/tests/stress/class-syntax-no-tdz-in-conditional.js        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,4 +1,3 @@
</span><del>-//@ skip
</del><span class="cx">
</span><span class="cx"> class A {
</span><span class="cx"> constructor() { }
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoretestsstressclasssyntaxnotdzinloopnoinlinesuperjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/tests/stress/class-syntax-no-tdz-in-loop-no-inline-super.js (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/tests/stress/class-syntax-no-tdz-in-loop-no-inline-super.js        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/Source/JavaScriptCore/tests/stress/class-syntax-no-tdz-in-loop-no-inline-super.js        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,4 +1,3 @@
</span><del>-//@ skip
</del><span class="cx">
</span><span class="cx"> class A {
</span><span class="cx"> constructor() { }
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoretestsstressclasssyntaxnotdzinloopjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/tests/stress/class-syntax-no-tdz-in-loop.js (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/tests/stress/class-syntax-no-tdz-in-loop.js        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/Source/JavaScriptCore/tests/stress/class-syntax-no-tdz-in-loop.js        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,4 +1,3 @@
</span><del>-//@ skip
</del><span class="cx">
</span><span class="cx"> class A {
</span><span class="cx"> constructor() { }
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoretestsstressclasssyntaxnotdzjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/tests/stress/class-syntax-no-tdz.js (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/tests/stress/class-syntax-no-tdz.js        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/Source/JavaScriptCore/tests/stress/class-syntax-no-tdz.js        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,4 +1,3 @@
</span><del>-//@ skip
</del><span class="cx">
</span><span class="cx"> class A {
</span><span class="cx"> constructor() { }
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoretestsstressclasssyntaxtdzincatchjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/tests/stress/class-syntax-tdz-in-catch.js (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/tests/stress/class-syntax-tdz-in-catch.js        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/Source/JavaScriptCore/tests/stress/class-syntax-tdz-in-catch.js        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,4 +1,3 @@
</span><del>-//@ skip
</del><span class="cx">
</span><span class="cx"> class A {
</span><span class="cx"> constructor() { }
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoretestsstressclasssyntaxtdzinconditionaljs"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/tests/stress/class-syntax-tdz-in-conditional.js (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/tests/stress/class-syntax-tdz-in-conditional.js        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/Source/JavaScriptCore/tests/stress/class-syntax-tdz-in-conditional.js        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,4 +1,3 @@
</span><del>-//@ skip
</del><span class="cx">
</span><span class="cx"> class A {
</span><span class="cx"> constructor() { }
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoretestsstressclasssyntaxtdzinloopjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/tests/stress/class-syntax-tdz-in-loop.js (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/tests/stress/class-syntax-tdz-in-loop.js        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/Source/JavaScriptCore/tests/stress/class-syntax-tdz-in-loop.js        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,4 +1,3 @@
</span><del>-//@ skip
</del><span class="cx">
</span><span class="cx"> class A {
</span><span class="cx"> constructor() { }
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoretestsstressclasssyntaxtdzjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/tests/stress/class-syntax-tdz.js (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/tests/stress/class-syntax-tdz.js        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/Source/JavaScriptCore/tests/stress/class-syntax-tdz.js        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,4 +1,3 @@
</span><del>-//@ skip
</del><span class="cx">
</span><span class="cx"> class A {
</span><span class="cx"> constructor() { }
</span></span></pre></div>
<a id="trunkSourceWTFChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/ChangeLog (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/ChangeLog        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/Source/WTF/ChangeLog        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,3 +1,12 @@
</span><ins>+2015-03-16 Ryosuke Niwa <rniwa@webkit.org>
+
+ Enable ES6 classes by default
+ https://bugs.webkit.org/show_bug.cgi?id=142774
+
+ Reviewed by Gavin Barraclough.
+
+ * wtf/FeatureDefines.h:
+
</ins><span class="cx"> 2015-03-16 Csaba Osztrogonác <ossy@webkit.org>
</span><span class="cx">
</span><span class="cx"> [ARM] Enable generating idiv instructions if it is supported
</span></span></pre></div>
<a id="trunkSourceWTFwtfFeatureDefinesh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/wtf/FeatureDefines.h (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/wtf/FeatureDefines.h        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/Source/WTF/wtf/FeatureDefines.h        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -328,7 +328,7 @@
</span><span class="cx"> #endif
</span><span class="cx">
</span><span class="cx"> #if !defined(ENABLE_ES6_CLASS_SYNTAX)
</span><del>-#define ENABLE_ES6_CLASS_SYNTAX 0
</del><ins>+#define ENABLE_ES6_CLASS_SYNTAX 1
</ins><span class="cx"> #endif
</span><span class="cx">
</span><span class="cx"> #if !defined(ENABLE_CONTENT_EXTENSIONS)
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/Source/WebCore/ChangeLog        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,3 +1,12 @@
</span><ins>+2015-03-16 Ryosuke Niwa <rniwa@webkit.org>
+
+ Enable ES6 classes by default
+ https://bugs.webkit.org/show_bug.cgi?id=142774
+
+ Reviewed by Gavin Barraclough.
+
+ * Configurations/FeatureDefines.xcconfig:
+
</ins><span class="cx"> 2015-03-16 Simon Fraser <simon.fraser@apple.com>
</span><span class="cx">
</span><span class="cx"> Update the debug overlays after layout
</span></span></pre></div>
<a id="trunkSourceWebCoreConfigurationsFeatureDefinesxcconfig"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Configurations/FeatureDefines.xcconfig (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Configurations/FeatureDefines.xcconfig        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/Source/WebCore/Configurations/FeatureDefines.xcconfig        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -44,7 +44,7 @@
</span><span class="cx"> ENABLE_CANVAS_PATH = ENABLE_CANVAS_PATH;
</span><span class="cx"> ENABLE_CANVAS_PROXY = ;
</span><span class="cx"> ENABLE_CHANNEL_MESSAGING = ENABLE_CHANNEL_MESSAGING;
</span><del>-ENABLE_ES6_CLASS_SYNTAX = ;
</del><ins>+ENABLE_ES6_CLASS_SYNTAX = ENABLE_ES6_CLASS_SYNTAX;
</ins><span class="cx"> ENABLE_CONTENT_FILTERING = ENABLE_CONTENT_FILTERING;
</span><span class="cx"> ENABLE_CSP_NEXT = ;
</span><span class="cx"> ENABLE_CSS_ANIMATIONS_LEVEL_2 = ENABLE_CSS_ANIMATIONS_LEVEL_2;
</span></span></pre></div>
<a id="trunkSourceWebKitmacChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/ChangeLog (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/ChangeLog        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/Source/WebKit/mac/ChangeLog        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,3 +1,12 @@
</span><ins>+2015-03-16 Ryosuke Niwa <rniwa@webkit.org>
+
+ Enable ES6 classes by default
+ https://bugs.webkit.org/show_bug.cgi?id=142774
+
+ Reviewed by Gavin Barraclough.
+
+ * Configurations/FeatureDefines.xcconfig:
+
</ins><span class="cx"> 2015-03-16 Brent Fulgham <bfulgham@apple.com>
</span><span class="cx">
</span><span class="cx"> WebKit1 Clients Are Not Reliably Repainted
</span></span></pre></div>
<a id="trunkSourceWebKitmacConfigurationsFeatureDefinesxcconfig"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/Configurations/FeatureDefines.xcconfig (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/Configurations/FeatureDefines.xcconfig        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/Source/WebKit/mac/Configurations/FeatureDefines.xcconfig        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -44,7 +44,7 @@
</span><span class="cx"> ENABLE_CANVAS_PATH = ENABLE_CANVAS_PATH;
</span><span class="cx"> ENABLE_CANVAS_PROXY = ;
</span><span class="cx"> ENABLE_CHANNEL_MESSAGING = ENABLE_CHANNEL_MESSAGING;
</span><del>-ENABLE_ES6_CLASS_SYNTAX = ;
</del><ins>+ENABLE_ES6_CLASS_SYNTAX = ENABLE_ES6_CLASS_SYNTAX;
</ins><span class="cx"> ENABLE_CONTENT_FILTERING = ENABLE_CONTENT_FILTERING;
</span><span class="cx"> ENABLE_CSP_NEXT = ;
</span><span class="cx"> ENABLE_CSS_ANIMATIONS_LEVEL_2 = ENABLE_CSS_ANIMATIONS_LEVEL_2;
</span></span></pre></div>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/Source/WebKit2/ChangeLog        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,3 +1,12 @@
</span><ins>+2015-03-16 Ryosuke Niwa <rniwa@webkit.org>
+
+ Enable ES6 classes by default
+ https://bugs.webkit.org/show_bug.cgi?id=142774
+
+ Reviewed by Gavin Barraclough.
+
+ * Configurations/FeatureDefines.xcconfig:
+
</ins><span class="cx"> 2015-03-16 Conrad Shultz <conrad_shultz@apple.com>
</span><span class="cx">
</span><span class="cx"> Don't pass nil as a fireDate for NSTimer
</span></span></pre></div>
<a id="trunkSourceWebKit2ConfigurationsFeatureDefinesxcconfig"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Configurations/FeatureDefines.xcconfig (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Configurations/FeatureDefines.xcconfig        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/Source/WebKit2/Configurations/FeatureDefines.xcconfig        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -44,7 +44,7 @@
</span><span class="cx"> ENABLE_CANVAS_PATH = ENABLE_CANVAS_PATH;
</span><span class="cx"> ENABLE_CANVAS_PROXY = ;
</span><span class="cx"> ENABLE_CHANNEL_MESSAGING = ENABLE_CHANNEL_MESSAGING;
</span><del>-ENABLE_ES6_CLASS_SYNTAX = ;
</del><ins>+ENABLE_ES6_CLASS_SYNTAX = ENABLE_ES6_CLASS_SYNTAX;
</ins><span class="cx"> ENABLE_CONTENT_FILTERING = ENABLE_CONTENT_FILTERING;
</span><span class="cx"> ENABLE_CSP_NEXT = ;
</span><span class="cx"> ENABLE_CSS_ANIMATIONS_LEVEL_2 = ENABLE_CSS_ANIMATIONS_LEVEL_2;
</span></span></pre></div>
<a id="trunkSourcecmakeWebKitFeaturescmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/cmake/WebKitFeatures.cmake (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/cmake/WebKitFeatures.cmake        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/Source/cmake/WebKitFeatures.cmake        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -27,7 +27,7 @@
</span><span class="cx"> WEBKIT_OPTION_DEFINE(ENABLE_CANVAS_PATH "Toggle Canvas Path support" ON)
</span><span class="cx"> WEBKIT_OPTION_DEFINE(ENABLE_CANVAS_PROXY "Toggle CanvasProxy support" OFF)
</span><span class="cx"> WEBKIT_OPTION_DEFINE(ENABLE_CHANNEL_MESSAGING "Toggle MessageChannel and MessagePort support" ON)
</span><del>- WEBKIT_OPTION_DEFINE(ENABLE_ES6_CLASS_SYNTAX "Toggle ES6 class syntax support" OFF)
</del><ins>+ WEBKIT_OPTION_DEFINE(ENABLE_ES6_CLASS_SYNTAX "Toggle ES6 class syntax support" ON)
</ins><span class="cx"> WEBKIT_OPTION_DEFINE(ENABLE_CONTENT_FILTERING "Toggle content filtering support" OFF)
</span><span class="cx"> WEBKIT_OPTION_DEFINE(ENABLE_CONTEXT_MENUS "Toggle Context Menu support" ON)
</span><span class="cx"> WEBKIT_OPTION_DEFINE(ENABLE_CSP_NEXT "Toggle Content Security Policy 1.1 support" OFF)
</span></span></pre></div>
<a id="trunkToolsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Tools/ChangeLog (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/ChangeLog        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/Tools/ChangeLog        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -1,3 +1,12 @@
</span><ins>+2015-03-16 Ryosuke Niwa <rniwa@webkit.org>
+
+ Enable ES6 classes by default
+ https://bugs.webkit.org/show_bug.cgi?id=142774
+
+ Reviewed by Gavin Barraclough.
+
+ * Scripts/webkitperl/FeatureList.pm:
+
</ins><span class="cx"> 2015-03-16 Alexey Proskuryakov <ap@apple.com>
</span><span class="cx">
</span><span class="cx"> Fix webkitpy tests after r181585.
</span></span></pre></div>
<a id="trunkToolsScriptswebkitperlFeatureListpm"></a>
<div class="modfile"><h4>Modified: trunk/Tools/Scripts/webkitperl/FeatureList.pm (181617 => 181618)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/Scripts/webkitperl/FeatureList.pm        2015-03-17 05:30:46 UTC (rev 181617)
+++ trunk/Tools/Scripts/webkitperl/FeatureList.pm        2015-03-17 05:55:46 UTC (rev 181618)
</span><span class="lines">@@ -167,7 +167,7 @@
</span><span class="cx"> define => "ENABLE_CHANNEL_MESSAGING", default => 1, value => \$channelMessagingSupport },
</span><span class="cx">
</span><span class="cx"> { option => "class-syntax", desc => "Toggle ES6 class syntax support",
</span><del>- define => "ENABLE_ES6_CLASS_SYNTAX", default => 0, value => \$classSyntax },
</del><ins>+ define => "ENABLE_ES6_CLASS_SYNTAX", default => 1, value => \$classSyntax },
</ins><span class="cx">
</span><span class="cx"> { option => "csp-next", desc => "Toggle Content Security Policy 1.1 support",
</span><span class="cx"> define => "ENABLE_CSP_NEXT", default => isGtk(), value => \$cspNextSupport },
</span></span></pre>
</div>
</div>
</body>
</html>