Revision: 5684
Author:   [email protected]
Date:     Mon May 12 17:27:32 2014 UTC
Log:      Add scan definition for ArrayBuffer.isView.
https://codereview.appspot.com/98220043

Firefox 29 is the first browser we have seen to implement
ArrayBuffer.isView. It was included in the SES whitelist but not the
scanner, and therefore caused the scanner to fail.

[email protected]

http://code.google.com/p/google-caja/source/detail?r=5684

Modified:
 /trunk/tests/com/google/caja/plugin/test-scan-guest.js

=======================================
--- /trunk/tests/com/google/caja/plugin/test-scan-guest.js Wed Dec 18 19:52:11 2013 UTC +++ /trunk/tests/com/google/caja/plugin/test-scan-guest.js Mon May 12 17:27:32 2014 UTC
@@ -1268,6 +1268,8 @@
     (function() { // hide specialized locals

       argsByAnyFrame('ArrayBuffer', genNew(genSmallInteger));
+      argsByAnyFrame('ArrayBuffer.isView', genMethod(G.any(
+          genObject, genInstance(Int8Array))));
       argsByAnyFrame('ArrayBuffer.prototype.slice',
           freshResult(genMethod(genSmallInteger, genSmallInteger)));
       obtainInstance.define(ArrayBuffer, new ArrayBuffer(3));

--

--- You received this message because you are subscribed to the Google Groups "Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to