New issue
Advanced search Search tips

Issue 664681 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

Make Location an immutable prototype exotic object

Project Member Reported by littledan@chromium.org, Nov 12 2016

Issue description

This is required by HTML in https://html.spec.whatwg.org/#location-setprototypeof . It can be implemented with V8's immutable prototype support. Note that the spec text is motivated by security, but we don't seem to have this security issue since we already do access checks when setting the prototype.
 

Comment 2 by adamk@chromium.org, Mar 15 2017

Labels: -Pri-3 Pri-2

Comment 3 by adamk@chromium.org, Mar 15 2017

Components: Blink>HTML
Cc: peria@chromium.org yukishiino@chromium.org
Components: -Blink>HTML
Labels: OS-All
Owner: yuzus@chromium.org
https://codereview.chromium.org/2452073002
Fixed the same issue on Window.  You should be able to use [ImmutablePrototype] extended attribute in Location.idl, like it's used in Window.idl.

Sign in to add a comment