summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/service-workers/stub-5.1-origin-relativity.html
blob: 469ce2975cd5263829e2f9195b366db1c0268471 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE html>
<html>
<title>Service Workers: Origin Relativity</title>
    <head>
        <link rel="help" href="https://w3c.github.io/ServiceWorker/#origin-relativity">
        <script src="/resources/testharness.js"></script>
        <script src="/resources/testharnessreport.js"></script>

    </head>
    <body>

<!--

One of the advanced concerns that major applications would encounter is whether
they can be hosted from a CDN. By definition, these are servers in other
places, often on other domains. Therefore, Service Workers cannot be hosted on
CDNs. But they can include resources via [importScripts()][1]. The reason for
this restriction is that Service Workers create the opportunity for a bad actor
to turn a bad day into a bad eternity.

[1]: http://goo.gl/Owcfs2

-->



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

    </body>
</html>