MCPcopy Create free account
hub / github.com/nodejs/node / SRIStyleTest

Function SRIStyleTest

test/fixtures/wpt/resources/sriharness.js:165–176  ·  view source on GitHub ↗
(queue, pass, name, attrs, customCallback, altPassValue)

Source from the content-addressed store, hash-verified

163// queue that builds up a list of tests, and then executes them one at a
164// time.
165var SRIStyleTest = function(queue, pass, name, attrs, customCallback, altPassValue) {
166 this.pass = pass;
167 this.name = "Style: " + name;
168 this.customCallback = customCallback || function () {};
169 this.attrs = attrs || {};
170 this.passValue = altPassValue || "rgb(255, 255, 0)";
171
172 this.test = async_test(this.name);
173
174 this.queue = queue;
175 this.queue.push(this);
176}
177
178SRIStyleTest.prototype.execute = function() {
179 var that = this;

Callers

nothing calls this directly

Calls 2

async_testFunction · 0.70
pushMethod · 0.45

Tested by

no test coverage detected