[Bug 24318] New: Define the Realm of objects

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 24318] New: Define the Realm of objects

Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24318

            Bug ID: 24318
           Summary: Define the Realm of objects
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM
          Assignee: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]
                CC: [hidden email], [hidden email]

Selective quote from Boris
http://lists.w3.org/Archives/Public/www-tag/2014Jan/0112.html below:

> Here's what WebIDL says:
>
>   Every platform object is associated with a global environment, just
>   as the initial objects are. It is the responsibility of
>   specifications using Web IDL to state which global environment
>   (or, by proxy, which global object) each platform object is
>   associated with.
>
> Here's an example not involving promises that's currently underspecified, I
> believe:
>
>   window1.document.createElement.call(window2.document, "span");
>
> I've put the relevant testcase at
> http://web.mit.edu/bzbarsky/www/testcases/multiple-realms/createElement-1.html
> if you want to take a look. Browsers consistently create the element in the
> realm of window2 in this case, but the DOM spec doesn't seem to actually
> define the behavior right now, unless I'm totally missing something. It
> should do so, for example by defining that an element is associated with the
> global environment of its owner document and then defining the global
> environment for documents as needed. DOMParser and XMLHttpRequest make that
> last bit slightly exciting.

I guess I'll file follow up bugs once I fix this in DOM.

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

Reply | Threaded
Open this post in threaded view
|

[Bug 24318] Define the Realm of objects

Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24318

Anne <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #6 from Anne <[hidden email]> ---
Given https://github.com/w3c/web-platform-tests/pull/1381 this is entirely an
IDL problem. Resolving WONTFIX for DOM.

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