OLD | NEW |
1 /* | 1 /* |
2 Distributed under both the W3C Test Suite License [1] and the W3C | 2 Distributed under both the W3C Test Suite License [1] and the W3C |
3 3-clause BSD License [2]. To contribute to a W3C Test Suite, see the | 3 3-clause BSD License [2]. To contribute to a W3C Test Suite, see the |
4 policies and contribution forms [3]. | 4 policies and contribution forms [3]. |
5 | 5 |
6 [1] http://www.w3.org/Consortium/Legal/2008/04-testsuite-license | 6 [1] http://www.w3.org/Consortium/Legal/2008/04-testsuite-license |
7 [2] http://www.w3.org/Consortium/Legal/2008/03-bsd-license | 7 [2] http://www.w3.org/Consortium/Legal/2008/03-bsd-license |
8 [3] http://www.w3.org/2004/10/27-testcases | 8 [3] http://www.w3.org/2004/10/27-testcases |
9 */ | 9 */ |
10 | 10 |
(...skipping 1376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1387 this.test_member_const(member); | 1387 this.test_member_const(member); |
1388 break; | 1388 break; |
1389 | 1389 |
1390 case "attribute": | 1390 case "attribute": |
1391 // For unforgeable attributes, we do the checks in | 1391 // For unforgeable attributes, we do the checks in |
1392 // test_interface_of instead. | 1392 // test_interface_of instead. |
1393 if (!member.isUnforgeable) | 1393 if (!member.isUnforgeable) |
1394 { | 1394 { |
1395 this.test_member_attribute(member); | 1395 this.test_member_attribute(member); |
1396 } | 1396 } |
| 1397 if (member.stringifier) { |
| 1398 this.test_member_stringifier(member); |
| 1399 } |
1397 break; | 1400 break; |
1398 | 1401 |
1399 case "operation": | 1402 case "operation": |
1400 // TODO: Need to correctly handle multiple operations with the same | 1403 // TODO: Need to correctly handle multiple operations with the same |
1401 // identifier. | 1404 // identifier. |
1402 // For unforgeable operations, we do the checks in | 1405 // For unforgeable operations, we do the checks in |
1403 // test_interface_of instead. | 1406 // test_interface_of instead. |
1404 if (member.name) { | 1407 if (member.name) { |
1405 if (!member.isUnforgeable) | 1408 if (!member.isUnforgeable) |
1406 { | 1409 { |
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1841 /** An array of values produced by the "typedef" production. */ | 1844 /** An array of values produced by the "typedef" production. */ |
1842 this.values = obj.values; | 1845 this.values = obj.values; |
1843 | 1846 |
1844 } | 1847 } |
1845 //@} | 1848 //@} |
1846 | 1849 |
1847 IdlTypedef.prototype = Object.create(IdlObject.prototype); | 1850 IdlTypedef.prototype = Object.create(IdlObject.prototype); |
1848 | 1851 |
1849 }()); | 1852 }()); |
1850 // vim: set expandtab shiftwidth=4 tabstop=4 foldmarker=@{,@} foldmethod=marker: | 1853 // vim: set expandtab shiftwidth=4 tabstop=4 foldmarker=@{,@} foldmethod=marker: |
OLD | NEW |