Release assert with <img usemap> in shadow tree
[WebKit-https.git] / JSTests / es6 / Symbol_new_Symbol_throws.js
1 function test() {
2
3 var symbol = Symbol();
4 try {
5   new Symbol();
6 } catch(e) {
7   return true;
8 }
9       
10 }
11
12 if (!test())
13     throw new Error("Test failed");
14