Amphtml: No ampdoc found for [object HTMLHtmlElement] error when including AMP Gallery in shadow root

Created on 15 Feb 2017  路  5Comments  路  Source: ampproject/amphtml

When using AMP Shadow we are are finding that an error is triggered if the fetched document contains an AMP Gallery.

An example of this can be seen here: https://www.edhollinghurst.com/amp-gallery/index.html

The following error is shown in the console:

error.js:117 No ampdoc found for [object HTMLHtmlElement]

Drop Everything Bug runtime

All 5 comments

/to @dvoytenko

Just to mention, this also appears to be an issue with AMP Ad and AMP Embed components.

Demos here:
https://www.edhollinghurst.com/amp-ad/index.html
https://www.edhollinghurst.com/amp-embed/index.html

Clearly a bug. Fixing...

This has been fixed. It missed the canary cut off, so it will be in canary next Thursday. Sorry for the inconvenience.

Thanks Dima!

Was this page helpful?
0 / 5 - 0 ratings