<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="1" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[1]</anchor-end> <cite xml:lang="en">903332 – document.watch() results in &quot;TypeError: can't watch non-native objects of class Proxy&quot;</cite>
( (<time>2013-11-13 21:14:21 +09:00</time> 版))
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://bugzilla.mozilla.org/show_bug.cgi?id=903332">https://bugzilla.mozilla.org/show_bug.cgi?id=903332</anchor-external></p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="2" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[2]</anchor-end> <cite xml:lang="en-US">Object.prototype.watch() - JavaScript | MDN</cite>
(<time>2015-07-09 16:15:27 +09:00</time> 版)
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/watch">https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/watch</anchor-external></p><figure class="quote"><figcaption><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="3" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[3]</anchor-end> <cite>An update on Object.observe</cite>
(<time>2015-11-18 11:05:26 +09:00</time> 版)
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://esdiscuss.org/topic/an-update-on-object-observe">https://esdiscuss.org/topic/an-update-on-object-observe</anchor-external></figcaption><blockquote><p>&gt;I agree with Benoit and I think there is a reason Object.prototype.watch is still in Firefox and won't go away any time soon</p><p>As far as I know the only reason it's there and hasn't been removed is because it's used to implement debugger watchpoints <strong>[</strong>1<strong>]</strong>. And the only reason it's web-exposed is because SpiderMonkey has not prioritized being able to expose APIs to privileged code but not the web (something that think should get fixed).</p><p><strong>[</strong>1<strong>]</strong> bugzilla.mozilla.org/show_bug.cgi?id=934669</p></blockquote></figure></body></html>