Commit 150d0791 authored by Glenn Adams's avatar Glenn Adams
Browse files

Populate level3 csp tests; update w3c tools.

parent d7969364
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
function run(t) {
    var defProperties = t.properties.def;
    var ident = 'test';
    var url = './resources/set-cookie.py?ident=' + ident;
    var url = './support/set-cookie.py?ident=' + ident;
    var xhr = new XMLHttpRequest();
    xhr.open('GET', url, true);
    xhr.onload = t.step_func(function() {
+1 −1
Original line number Diff line number Diff line
"use strict";
function run(t) {
    var defProperties = t.properties.def;
    var url = CROSSDOMAIN + './resources/check-cors.py';
    var url = CROSSDOMAIN + './support/check-cors.py';
    test(function() {
        var xhr = new XMLHttpRequest();
        xhr.open('GET', url + '?allow=1', false);
+12 −1
Original line number Diff line number Diff line
@@ -5,5 +5,16 @@
    "local": "csp.html",
    "dontExtract": true,
    "dontExtractReason": "requires manual property extraction",
    "helpers3": []
    "helpers3": [
        "ProtocolCSP"
    ],
    "crossDomainSupport": true,
    "tests": [
        {
            "name": "ProtocolCSP",
            "helper": "ProtocolCSP",
            "code": "run(t)",
            "async": true
        }
    ]
}
Loading