svnlabs / google-caja

Automatically exported from code.google.com/p/google-caja
0 stars 1 forks source link

Missing typeof operator in test_TYPED_ARRAYS_THROW_DOMEXCEPTION #1918

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
https://code.google.com/p/google-caja/source/browse/trunk/src/com/google/caja/se
s/repairES5.js#2568

Both if-statements in test_TYPED_ARRAYS_THROW_DOMEXCEPTION() should probably 
use the typeof operator instead of using simple string comparison.

Original issue reported on code.google.com by andrebar...@googlemail.com on 15 May 2014 at 12:47

GoogleCodeExporter commented 9 years ago

Original comment by kpreid@google.com on 15 May 2014 at 6:28

GoogleCodeExporter commented 9 years ago
@r5685

Original comment by kpreid@google.com on 16 May 2014 at 4:42