MCPcopy Create free account
hub / github.com/ampproject/amphtml / getRandomValues

Function getRandomValues

test/unit/3p/test-3p-frame.js:435–438  ·  view source on GitHub ↗
(arg)

Source from the content-addressed store, hash-verified

433 document,
434 crypto: {
435 getRandomValues(arg) {
436 arg[0] = 123;
437 arg[1] = 987;
438 },
439 },
440 };
441 expect(getSubDomain(fakeWin)).to.equal('d-123987');

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected