Reviewers: MarkM,
Description:
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.
Please review this at https://codereview.appspot.com/98220043/
Affected files (+2, -0 lines):
M tests/com/google/caja/plugin/test-scan-guest.js
Index: tests/com/google/caja/plugin/test-scan-guest.js
===================================================================
--- tests/com/google/caja/plugin/test-scan-guest.js (revision 5683)
+++ tests/com/google/caja/plugin/test-scan-guest.js (working copy)
@@ -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.