想請問
為什麼
delete window.document會return false
而
delete navigator.geolocation會return true
我是在chrome裡面試的
而我看了webkit裡面的idl
DOMWindow.idl
readonly attribute Document document;
Navigator.idl
readonly attribute [EnabledAtRuntime] Geolocation geolocation;
想請問DontDelete的attribute 在idl裡是怎麼定義的
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 211.22.63.249