[Webkit-unassigned] [Bug 104547] New: Object.observe() not notified for changes to DOM properties

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 10 06:24:44 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=104547

           Summary: Object.observe() not notified for changes to DOM
                    properties
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: alex at dojotoolkit.org
                CC: rafaelw at chromium.org, peter at chromium.org,
                    adamk at chromium.org


Changes to DOM properties (not attributes) do not appear to trigger observers today. E.g.:

    Object.observe(window.navigator, console.log.bind(console));

Now go offline. 

We should observe that this logs a change to window.navigator.onLine, but currently does not.

This property, e.g., is specified as a readonly attribute and not a getter, and therefore should be observable:

    http://www.whatwg.org/specs/web-apps/current-work/multipage/offline.html#browser-state

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list