/
githubmirror
/
amphtml
Обзор
Документация
Войти
/
githubmirror
/
amphtml
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
validator/testdata/feature_tests/amp_rtc.out
45 строк
2 KB
honeybadgerdontcare
Validator rollup 20210819 (#35748)
20 авг 2021, 21:08
Не верифицирован
20 авг 2021, 21:08
15f658d
Код
Авторство
О чём код?
FAIL | <!-- | Test Description: | Test of the amp-rtc script tag. | --> | <!doctype html> | <html ⚡> | <head> | <meta charset="utf-8"> | <link rel="canonical" href="./regular-html-version.html"> | <meta name="viewport" content="width=device-width,minimum-scale=1"> | <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript> | <script async src="https://cdn.ampproject.org/v0.js"></script> | <!-- Valid: correctly formatted, present in head --> | <script type="application/json" id="amp-rtc"> | { | "doubleclick": { | "url": "https://pub.com/rtc-endpoint", | "sendAdRequestOnFailure": true | }, | "fake-network": { | "url": "https://pub.com/rtc-endpoint-fake-network", | "sendAdRequestOnFailure": false | } | } | </script> | </head> | <body> | <!-- Invalid: found in body, duplicate --> | <script type="application/json" id="amp-rtc"> >> ^~~~~~~~~ feature_tests/amp_rtc.html:29:2 The parent tag of tag 'script' is 'body', but it can only be 'head'. | { | "doubleclick": { | "url": "https://pub.com/rtc-endpoint", | "sendAdRequestOnFailure": true | }, | "fake-network": { | "url": "https://pub.com/rtc-endpoint-fake-network", | "sendAdRequestOnFailure": false | } | } | </script> | </body> | </html>