[Bug 23042] New: [imports]: There should be a way to retrieve the document of executing script.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23042

            Bug ID: 23042
           Summary: [imports]: There should be a way to retrieve the
                    document of executing script.
    Classification: Unclassified
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
          Assignee: dglazkov@chromium.org
          Reporter: morrita@google.com
        QA Contact: public-webapps-bugzilla@w3.org
            Blocks: 20683

Script needs to know where it is running.

One possibility is to update document.currentScript so that it ponits
the <script> elements of running script.
This is how Blink implementation happens to be working.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 22 August 2013 06:00:56 UTC