bug 576716 - Crash [@ TypedArrayTemplate<int>::init] or [@ TypedArrayTemplate<int>::create], patch to tests r=vlad blocking2.0=betaN+
authorBen Turner <bent.mozilla@gmail.com>
Mon, 16 Aug 2010 14:48:32 -0700
changeset 50692 be7c2f122492fea7270266dad29d006978b6c5bb
parent 50691 6d383749eacfe5b841450d824da30289162d4634
child 50693 dbc17795f035c0b767fcbaae16ca33e54795e926
child 50694 7f27cd7d8e59e62852122f20abd63c5667cbf0e3
push idunknown
push userunknown
push dateunknown
reviewersvlad
bugs576716
milestone2.0b4pre
bug 576716 - Crash [@ TypedArrayTemplate<int>::init] or [@ TypedArrayTemplate<int>::create], patch to tests r=vlad blocking2.0=betaN+
dom/src/threads/test/json_worker.js
--- a/dom/src/threads/test/json_worker.js
+++ b/dom/src/threads/test/json_worker.js
@@ -280,16 +280,21 @@ var messages = [
     exception: true
   },
   {
     type: "object",
     value: self,
     exception: true
   },
   {
+    type: "object",
+    value: { p: ArrayBuffer.prototype },
+    exception: true
+  },
+  {
     type: "string",
     shouldEqual: true,
     value: "testFinished"
   }
 ];
 
 for (var index = 0; index < messages.length; index++) {
   var message = messages[index];