Re: [css-variables] How to spec the OM for vars?

On 9/3/12 9:07 PM, Garrett Smith wrote:
> (for amnesiacs/those new to this thread: obj.var will throw an error
> in some implementations. obj.cssVar won't).

Ah, fair.  Does that throw in IE8?  That might be a good reason not to 
do it, yes.

> But the resulting of the `delete` operator is and has been what? (for
> the past 13 years).

That depends on what object the property it's being invoked on lives on, 
for many of those 13 years.

>> Also note that even in ES-262 the delete operator does different things
>> on different objects.  For example, see the custom [[Delete]] that
>> arguments objects have in ECMA-262 section 10.6 (sorry, no subsection
>> number for the relevant part of the spec because it's all flat in 10.6;
>> you'll just have to search for "[[Delete]] internal method of an
>> arguments object".
>>
> That what, it's got a [[DontDelete]], redefined [[Configurable]].

No.  Please see the part about [[Delete]].

> It's only two messages up, IIRC. Try reading the quote from the spec.

Which exact spec?

> I'm not re-quoting it for you again :-(.

That's fine, but the deleter has nothing to do with string return 
values, but I still have no idea what you're talking about.

-Boris

Received on Tuesday, 4 September 2012 02:46:51 UTC