/
githubmirror
/
amphtml
Обзор
Документация
Войти
/
githubmirror
/
amphtml
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
validator/testdata/feature_tests/script_invalid_path.out
26 строк
2 KB
Allan Banaag
Validator rollup (#38750)
14 апр 2023, 00:33
Не верифицирован
14 апр 2023, 00:33
4532230
Код
Авторство
О чём код?
FAIL | <!-- | Test Description: | Tests script tags src attribute for valid path. | --> | <!doctype html> | <html ⚡> | <head> | <meta charset="utf-8"> | <link rel="canonical" href="./regular-html-version.html"> | <meta name="viewport" content="width=device-width"> | <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 --> | <script async custom-element=amp-audio src=https://cdn.ampproject.org/v0/amp-audio-0.1.js></script> | | <!-- Invalid: the script src path is not valid for AMP --> | <script async custom-element=amp-ad src=https://cdn.ampproject.org/v0/0xff-amp-ad-0.1-foo.js-bar></script> >> ^~~~~~~~~ feature_tests/script_invalid_path.html:18:2 The extension 'amp-ad' has a path 'https://cdn.ampproject.org/v0/0xff-amp-ad-0.1-foo.js-bar' which is invalid. Please use a valid path for this extension. (see https://amp.dev/documentation/components/amp-ad) | </head> | <body> | Hello, world. | </body> | </html>