With an all-can-read property you can still return whatever you want for
iframes
that don't have access. See
https://code.google.com/p/chromium/codesearch#chromium/src/out/Debug/gen/blink/bindings/core/v8/V8Location.cpp&ct=xref_usages&gs=cpp:blink::LocationV8Internal::replaceOriginSafeMethodGetter(const%2520v8::PropertyCallbackInfo%253Cv8::Value%253E%2520&)@chromium/gen/blink/bindings/core/v8/V8Location.cpp%257Cdef&l=427&gsn=replaceOriginSafeMethodGetter
for an example. The getter could return an internally stored mutable
property to
origins that do have access, while returning a default value to origins
without
access.
https://codereview.chromium.org/1230793002/
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" 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.