Title: [218904] trunk/Websites/webkit.org
- Revision
- 218904
- Author
- sbar...@apple.com
- Date
- 2017-06-28 17:08:46 -0700 (Wed, 28 Jun 2017)
Log Message
Add a Object rest/spread test to the experimental features test page
https://bugs.webkit.org/show_bug.cgi?id=173947
Rubber stamped by Dean Jackson.
* experimental-features.html:
Modified Paths
Diff
Modified: trunk/Websites/webkit.org/ChangeLog (218903 => 218904)
--- trunk/Websites/webkit.org/ChangeLog 2017-06-28 23:24:42 UTC (rev 218903)
+++ trunk/Websites/webkit.org/ChangeLog 2017-06-29 00:08:46 UTC (rev 218904)
@@ -1,3 +1,12 @@
+2017-06-28 Saam Barati <sbar...@apple.com>
+
+ Add a Object rest/spread test to the experimental features test page
+ https://bugs.webkit.org/show_bug.cgi?id=173947
+
+ Rubber stamped by Dean Jackson.
+
+ * experimental-features.html:
+
2017-06-07 Jon Davis <j...@apple.com>
Update the design of the WebKit Feature Status page
Modified: trunk/Websites/webkit.org/experimental-features.html (218903 => 218904)
--- trunk/Websites/webkit.org/experimental-features.html 2017-06-28 23:24:42 UTC (rev 218903)
+++ trunk/Websites/webkit.org/experimental-features.html 2017-06-29 00:08:46 UTC (rev 218904)
@@ -107,6 +107,15 @@
return window.RTCPeerConnection;
}
+function testObjectRest() {
+ try {
+ eval(`function foo() { let {x, ...rest} = 20; ;({...foo} = 20); };`);
+ } catch (e) {
+ return false;
+ }
+ return true;
+}
+
window.addEventListener("load", function () {
Array.from(document.querySelectorAll(".test")).forEach(element => {
var enabled = false;
@@ -136,6 +145,7 @@
<div class="test" id="WebGL2"><p>WebGL 2.0</p></div>
<div class="test" id="WebGPU"><p>WebGPU</p></div>
<div class="test" id="WebRTC"><p>WebRTC</p></div>
+ <div class="test" id="ObjectRest"><p>ObjectRest</p></div>
</div>
</body>
</html>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes