This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 18874 - Should the cookie property be enumerable and what should the [Has] operator return for cookies in the various situations?
Summary: Should the cookie property be enumerable and what should the [Has] operator r...
Status: RESOLVED WORKSFORME
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-14 09:16 UTC by contributor
Modified: 2013-03-28 06:27 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2012-09-14 09:16:30 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html
Multipage: http://www.whatwg.org/C#sandboxCookies
Complete: http://www.whatwg.org/c#sandboxCookies

Comment:
Should the cookie property be enumerable and what should the [Has] operator
return for cookies in the various situations?

Posted from: 2001:4c28:a030:30:68c4:cade:3263:5f5
User agent: Opera/9.80 (Windows NT 6.1; WOW64; U; en) Presto/2.10.289 Version/12.02
Comment 1 Ian 'Hixie' Hickson 2012-11-25 02:49:45 UTC
I don't understand the question. Why would it be any different than any other property? It's just a string, no?
Comment 2 Ian 'Hixie' Hickson 2012-12-31 05:33:45 UTC
zcorpan, if this was your bug, ping.
Comment 3 Simon Pieters 2013-03-26 10:34:27 UTC
I didn't file the bug, but a colleague did. He said the current spec is OK, so maybe it was fixed since he filed the bug.

"If the contents are sandboxed into a unique origin (e.g. in an iframe with the sandbox attribute), a SecurityError exception will be thrown on getting and setting."
Comment 4 Ian 'Hixie' Hickson 2013-03-28 06:27:20 UTC
Great, thanks!