Revision a337d7247981123b1c81810227bd49c9d9bedd98 authored by Anne van Kesteren on 24 April 2018, 09:35:09 UTC, committed by Anne van Kesteren on 24 April 2018, 09:35:09 UTC
The plan of record is for CSP to define X-Frame-Options (with small parts of it in HTML). Moving this directory there to reduce top-level directories (without owner).

Helps with #5915.
1 parent 0d56422
Raw File
constants.js
function testConstants(objects, constants, msg) {
  objects.forEach(function(arr) {
    var o = arr[0], desc = arr[1];
    test(function() {
      constants.forEach(function(d) {
        assert_true(d[0] in o, "Object " + o + " doesn't have " + d[0])
        assert_equals(o[d[0]], d[1], "Object " + o + " value for " + d[0] + " is wrong")
      })
    }, "Constants for " + msg + " on " + desc + ".")
  })
}
back to top