Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Medium Component-Test

New issue 1933 by kpreid.switchb.org: Scanner rules need updating for typed arrays on Firefox
http://code.google.com/p/google-caja/issues/detail?id=1933

It appears that typed array constructors are now usable as plain functions on Firefox, where the scanner isn't expecting fresh objects. This should be fixed by telling the scanner to expect fresh objects in that case.

Problem: Object is extensible
| Path:     cajaVM.makeImports<THIS>().Float32Array<PLAIN>()
| Program: (0,window.cajaVM.makeImports.call(.../* [object Object] */, ).Float32Array)()
| toString: [object Float32Array]
Problem: Object is extensible
| Path:     cajaVM.makeImports<THIS>().Float64Array<PLAIN>()
| Program: (0,window.cajaVM.makeImports.call(.../* [object Object] */, ).Float64Array)()
| toString: [object Float64Array]
Problem: Object is extensible
| Path:     cajaVM.makeImports<THIS>().Int16Array<PLAIN>()
| Program: (0,window.cajaVM.makeImports.call(.../* [object Object] */, ).Int16Array)()
| toString: [object Int16Array]
Problem: Object is extensible
| Path:     cajaVM.makeImports<THIS>().Int32Array<PLAIN>()
| Program: (0,window.cajaVM.makeImports.call(.../* [object Object] */, ).Int32Array)()
| toString: [object Int32Array]
Problem: Object is extensible
| Path:     cajaVM.makeImports<THIS>().Int8Array<PLAIN>()
| Program: (0,window.cajaVM.makeImports.call(.../* [object Object] */, ).Int8Array)()
| toString: [object Int8Array]
Problem: Object is extensible
| Path:     cajaVM.makeImports<THIS>().Uint16Array<PLAIN>()
| Program: (0,window.cajaVM.makeImports.call(.../* [object Object] */, ).Uint16Array)()
| toString: [object Uint16Array]
Problem: Object is extensible
| Path:     cajaVM.makeImports<THIS>().Uint32Array<PLAIN>()
| Program: (0,window.cajaVM.makeImports.call(.../* [object Object] */, ).Uint32Array)()
| toString: [object Uint32Array]
Problem: Object is extensible
| Path:     cajaVM.makeImports<THIS>().Uint8Array<PLAIN>()
| Program: (0,window.cajaVM.makeImports.call(.../* [object Object] */, ).Uint8Array)()
| toString: [object Uint8Array]
Problem: Object is extensible
| Path:     cajaVM.makeImports<THIS>().Uint8ClampedArray<PLAIN>()
| Program: (0,window.cajaVM.makeImports.call(.../* [object Object] */, ).Uint8ClampedArray)()
| toString: [object Uint8ClampedArray]

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- 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