|
| 1 | +{ |
| 2 | + "events": [ |
| 3 | + { |
| 4 | + "seconds": 1, |
| 5 | + "site": "localhost", |
| 6 | + "event": "measureConversion", |
| 7 | + "options": { |
| 8 | + "aggregationService": "https://agg-service.example", |
| 9 | + "histogramSize": 1 |
| 10 | + }, |
| 11 | + "expected": { |
| 12 | + "error": "DOMException", |
| 13 | + "name": "SyntaxError" |
| 14 | + } |
| 15 | + }, |
| 16 | + { |
| 17 | + "seconds": 2, |
| 18 | + "site": "foo.localhost", |
| 19 | + "event": "measureConversion", |
| 20 | + "options": { |
| 21 | + "aggregationService": "https://agg-service.example", |
| 22 | + "histogramSize": 1 |
| 23 | + }, |
| 24 | + "expected": { |
| 25 | + "error": "DOMException", |
| 26 | + "name": "SyntaxError" |
| 27 | + } |
| 28 | + }, |
| 29 | + { |
| 30 | + "seconds": 3, |
| 31 | + "site": "a.example", |
| 32 | + "intermediarySite": "localhost", |
| 33 | + "event": "measureConversion", |
| 34 | + "options": { |
| 35 | + "aggregationService": "https://agg-service.example", |
| 36 | + "histogramSize": 1 |
| 37 | + }, |
| 38 | + "expected": { |
| 39 | + "error": "DOMException", |
| 40 | + "name": "SyntaxError" |
| 41 | + } |
| 42 | + }, |
| 43 | + { |
| 44 | + "seconds": 4, |
| 45 | + "site": "a.example", |
| 46 | + "event": "measureConversion", |
| 47 | + "options": { |
| 48 | + "aggregationService": "https://agg-service.example", |
| 49 | + "histogramSize": 1, |
| 50 | + "impressionSites": ["localhost"] |
| 51 | + }, |
| 52 | + "expected": { |
| 53 | + "error": "DOMException", |
| 54 | + "name": "SyntaxError" |
| 55 | + } |
| 56 | + }, |
| 57 | + { |
| 58 | + "seconds": 5, |
| 59 | + "site": "a.example", |
| 60 | + "event": "measureConversion", |
| 61 | + "options": { |
| 62 | + "aggregationService": "https://agg-service.example", |
| 63 | + "histogramSize": 1, |
| 64 | + "impressionCallers": ["localhost"] |
| 65 | + }, |
| 66 | + "expected": { |
| 67 | + "error": "DOMException", |
| 68 | + "name": "SyntaxError" |
| 69 | + } |
| 70 | + } |
| 71 | + ] |
| 72 | +} |
0 commit comments