Skip to content

no permission to delete 5th property on BigInt64Array #479

@dckc

Description

@dckc

Build environment: Linux
Target device: xsnap

Description
BigInt64Array has a 5th property whose name is a symbol. It cannot be deleted.

SES requires that all non-whitelisted properties on primordials be deletable.

Steps to Reproduce

run this as a module, i.e. in strict mode:

// surprising property on BigInt64Array
// undeletable even though not frozen
// will be a problem when SES whitelist...

const props = Reflect.ownKeys(BigInt64Array);
print(typeof props[4]);
delete BigInt64Array[props[4]];  // must succeed in order for SES to work. non-whitelist must be deletable
// bug1.js:6: exception: bug1.js: delete ?: no permission (strict mode)!

cc @warner @erights @kriskowal @phoddie

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmedissue reported has been reproducedfixed - please verifyIssue has been fixed. Please verify and close.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions