diff options
Diffstat (limited to 'js/debug_test.js')
-rw-r--r-- | js/debug_test.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/debug_test.js b/js/debug_test.js index 73810871..d0d646a5 100644 --- a/js/debug_test.js +++ b/js/debug_test.js @@ -77,7 +77,7 @@ describe('debugTest', function() { }); it('testBytes', function() { - if (COMPILED || !window['Uint8Array']) { + if (COMPILED || typeof Uint8Array == 'undefined') { return; } var message = new proto.jspb.test.TestAllTypes(); |