Re: WebIDL 簡介(轉: Why not NodeList#forEach :\?)

(12/06/28 23:07), Kang-Hao (Kenny) Lu wrote:
> (12/06/28 22:04), John Hax wrote:
>> 显然应该是 forEach 方法。
> 
> 那就是要 [[OverrideBuiltins]][1]。

更正 [OverrideBuiltins]。

> Bugzilla 上有很長的辯論,有興趣的話可以追蹤一下,引用一句[3]:
> 
> [[
> We made some targeted changes in this area in IE9. Our data suggests
> that making this quirks only would break a large number of web sites.
> ]] ~ Adrian Bateman @ MSFT

再引用一句

[[
Given that some browser vendors are now actively using the global scope
polluter in demos the publicise and testcases they create, I'm going to
just give up on this.  Who cares about the web, after all.
]] ~ Boris Zbarsky @ Mozilla

不知道這裡的 browser vendor 是哪一個,不過 bz 後來倒是提供了一個例子:

http://ie.microsoft.com/testdrive/performance/irishspring/ (Firefox 無
法執行)



以上

Kenny

Received on Thursday, 28 June 2012 15:20:36 UTC