Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ampproject/amphtml
/ setShadowDomSupportedVersionForTesting
Function
setShadowDomSupportedVersionForTesting
src/core/dom/web-components.js:27–29 ·
view source on GitHub ↗
(val)
Source
from the content-addressed store, hash-verified
25
* @visibleForTesting
26
*/
27
export
function
setShadowDomSupportedVersionForTesting(val) {
28
shadowDomSupportedVersion = val;
29
}
30
31
/**
32
* @param {boolean|undefined} val
Callers
6
test-shadow-embed.js
File · 0.90
test-ampdoc.js
File · 0.90
test-runtime.js
File · 0.90
test-style-installer.js
File · 0.90
test-web-components.js
File · 0.90
test-dom.js
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected