[Bug 27305] "Perform type mapping as specified in [WEBIDL] for data."

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27305

--- Comment #2 from Anne <annevk@annevk.nl> ---
I was looking at an outdated version of the draft that used it more frequently.

The problem with converting a value late rather than at the boundary is that it
can invoke JavaScript that runs in the scope of the page (ToObject, ToString,
etc. have side effects). Now if you invoke JavaScript in parallel with other
JavaScript, you've hit something that's undefined and will most likely crash.

Anyway, there in step 14 /key/ will already have been converted due to it
crossing the boundaries JavaScript -> IDL -> API specification, so you can just
remove the statement and be done with it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Tuesday, 11 November 2014 20:31:29 UTC