blob: 701202a40210bd4086c7cf55bbbef5fcbbb185de [file] [log] [blame]
<!DOCTYPE html> <!-- webkit-test-runner [ PrivateClickMeasurementFraudPreventionEnabled=true ] -->
<html lang="en">
<head>
<meta charset="UTF-8">
<script src="/js-test-resources/js-test.js"></script>
</head>
<body>
<a id="testTag" href="http://localhost:8000" attributionsourceid=40 attributiondestination="https://destination.example"></a>
<script>
description("Test for private click measurement attributes on anchor tags.");
const anchorTag = document.getElementById("testTag");
shouldBeEqualToNumber("anchorTag.attributionSourceId", 40);
shouldBeEqualToString("anchorTag.attributionDestination", "https://destination.example");
</script>
</body>
</html>