[whatwg] Iframe IDL sandbox readonly attribute
Marta Pawlowska
m.pawlowska at samsung.com
Tue May 21 03:31:30 PDT 2013
Hello,
In spec I read that IDL sandbox is readonly:
[PutForwards=value] readonly attribute
<http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.
html#domsettabletokenlist> DOMSettableTokenList
<http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-elem
ent.html#dom-iframe-sandbox> sandbox;
<http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-elem
ent.html#the-iframe-element>
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-eleme
nt.html#the-iframe-element
I've prepared TC where I change sandbox value and it can be changes with
most browsers. How should I interpret this "readonly" in case of sandbox
attribute? Readonly indicates at least for me that we should not be able to
change it.
Example:
ifrm = document.createElement("IFRAME");
ifrm.sandbox="blabla";
I've tried to find answer on the whatwg discussion list, but no direct
answer how we should interpret this readonly for sandbox. Especially that
with other readonly attributes like "contentDocument" it does work as
expected - I can't change it.
Only reference on whatwg I found is Boris email, but I could not find any
further discussion about "readonly" sandbox :
http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2012-March/035180.html
Can you help me and explain it? I'll be grateful for your help.
Best regards,
Marta
More information about the whatwg
mailing list