Revision dac45e99114a10fae7dbc8105076aaef582f2bdc authored by Takayoshi Kochi on 26 April 2016, 12:42:20 UTC, committed by Hayato Ito on 26 April 2016, 12:42:20 UTC
Document attributes that returns HTMLCollection (document.all,
document.forms, etc.) should not leak any elements in shadow tree.

In this test, these attributes are tested:
 - document.scripts
 - document.all
 - document.forms
 - document.images
 - document.links
 - document.anchors
 - document.embeds
 - document.plugins
 - document.applets
1 parent db4eb13
Raw File
stub-4.5.2-response.html
<!DOCTYPE html>
<html>
<title>Service Workers: Response</title>
    <head>
        <link rel="help" href="https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#response">
        <script src="/resources/testharness.js"></script>
        <script src="/resources/testharnessreport.js"></script>

    </head>
    <body>

<!--

`Response` objects are mutable and constructable. They model HTTP responses.
The `fetch()` API returns this type for same-origin responses.

It may be possible to set the `Location` header of a `Response` object to
someplace not in the current origin but this is not a security issue.
Cross-origin response bodies are opaque to script, and since only same-origin
documents will encounter these responses, the only systems the Service Worker
can "lie to" are same-origin (and therefore safe from the perspective of other
origins).

-->



    <script>
        test(function() {
            // not_implemented();
        }, "There are no tests for section Response so far.");
    </script>

    </body>
</html>

back to top