Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ampproject/amphtml
/ isWebviewEmbedded
Method
isWebviewEmbedded
src/service/viewer-impl.js:345–347 ·
view source on GitHub ↗
@override
()
Source
from the content-addressed store, hash-verified
343
344
/** @override */
345
isWebviewEmbedded() {
346
return
!this.isIframed_ && this.ampdoc.getParam(
'webview'
) ==
'1'
;
347
}
348
349
/** @override */
350
isCctEmbedded() {
Callers
5
initMessagingChannel_
Method · 0.95
isTrustedAncestorOrigins_
Method · 0.95
test-viewer.js
File · 0.45
isSystemShareSupported_
Method · 0.45
systemShareSupported
Function · 0.45
Calls
1
getParam
Method · 0.45
Tested by
no test coverage detected