forked from ampproject/amphtml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c95dcde
commit 2c147a9
Showing
3 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
validator/testdata/amp4ads_feature_tests/anchor_attribution_reporting.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!-- | ||
Test Description: | ||
Enable the attribution reporting API for anchor elements | ||
https://github.com/WICG/attribution-reporting-api/blob/main/EVENT.md#api-overview | ||
--> | ||
<!doctype html> | ||
<html ⚡4ads> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width,minimum-scale=1"> | ||
<style amp4ads-boilerplate>body{visibility:hidden}</style> | ||
<script async src="https://cdn.ampproject.org/amp4ads-v0.js"></script> | ||
</head> | ||
<body> | ||
Hello, world. | ||
<a attributionsrc></a> | ||
<a attributionsrc="https://adtech.example"></a> | ||
</body> | ||
</html> |
20 changes: 20 additions & 0 deletions
20
validator/testdata/amp4ads_feature_tests/anchor_attribution_reporting.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
PASS | ||
| <!-- | ||
| Test Description: | ||
| Enable the attribution reporting API for anchor elements | ||
| https://github.com/WICG/attribution-reporting-api/blob/main/EVENT.md#api-overview | ||
| --> | ||
| <!doctype html> | ||
| <html ⚡4ads> | ||
| <head> | ||
| <meta charset="utf-8"> | ||
| <meta name="viewport" content="width=device-width,minimum-scale=1"> | ||
| <style amp4ads-boilerplate>body{visibility:hidden}</style> | ||
| <script async src="https://cdn.ampproject.org/amp4ads-v0.js"></script> | ||
| </head> | ||
| <body> | ||
| Hello, world. | ||
| <a attributionsrc></a> | ||
| <a attributionsrc="https://adtech.example"></a> | ||
| </body> | ||
| </html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters