Skip to content

Commit

Permalink
Disable some API attribution tests due to a known bug
Browse files Browse the repository at this point in the history
  • Loading branch information
muodov committed Sep 5, 2024
1 parent fc83426 commit f4e80bf
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tests/integration/apiAttribution.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,29 +17,29 @@ async function main() {
}

const expectedScripts = [
`${firstPartyOrigin}/crawler/attribution/`, // this can be flaky due to a race condition in the crawler https://app.asana.com/0/72649045549333/1204120569983283
`${firstPartyOrigin}/crawler/attribution/`, // this can be flaky due to a race condition in the crawler https://app.asana.com/0/1118485203673454/1204338487583978/f
`${thirdPartyOrigin}/crawler/attribution/entrypoints/simple-3p-script.js`,
`${thirdPartyOrigin}/crawler/attribution/entrypoints/createelement.js`,
`${thirdPartyOrigin}/crawler/attribution/entrypoints/eval.js`,
`${thirdPartyOrigin}/crawler/attribution/entrypoints/new-function.js`,
// `${thirdPartyOrigin}/crawler/attribution/entrypoints/dom0.js`, // dom0 event handlers are attributed to the current page because that's the only entry in the call stack https://app.asana.com/0/0/1204138450097419/f
// `${thirdPartyOrigin}/crawler/attribution/entrypoints/blob-url.js`, // blob: urls are attributed to the origin (e.g. https://example.com/1234-1234-1234-1234) https://app.asana.com/0/0/1204138450097417/f
// `${thirdPartyOrigin}/crawler/attribution/entrypoints/data-url.js`, // data: urls are attributed to https://example.com/current-path/null because there's no link to the original script in stack traces https://app.asana.com/0/0/1204138450097417/f
`${firstPartyOrigin}/crawler/attribution/entrypoints/document-write.js`,
// `${thirdPartyOrigin}/crawler/attribution/entrypoints/iframe-blob-url.js`, // capturing small dynamic contexts is currently flaky due to a race condition in the crawler https://app.asana.com/0/72649045549333/1204120569983283
// `${thirdPartyOrigin}/crawler/attribution/entrypoints/iframe-data-url.js`, // capturing small dynamic contexts is currently flaky due to a race condition in the crawler https://app.asana.com/0/72649045549333/1204120569983283
// `${thirdPartyOrigin}/crawler/attribution/entrypoints/iframe-javascript-url.js`, // capturing small dynamic contexts is currently flaky due to a race condition in the crawler https://app.asana.com/0/72649045549333/1204120569983283
// `${thirdPartyOrigin}/crawler/attribution/entrypoints/iframe-document-write.js`, // capturing small dynamic contexts is currently flaky due to a race condition in the crawler https://app.asana.com/0/72649045549333/1204120569983283
`${thirdPartyOrigin}/crawler/attribution/iframe-sandbox.html`,
`${thirdPartyOrigin}/crawler/attribution/iframe-simple.html`,
// `${firstPartyOrigin}/crawler/attribution/entrypoints/document-write.js`, // capturing small dynamic contexts is currently flaky due to a race condition in the crawler https://app.asana.com/0/1118485203673454/1204338487583978/f
// `${thirdPartyOrigin}/crawler/attribution/entrypoints/iframe-blob-url.js`, // capturing small dynamic contexts is currently flaky due to a race condition in the crawler https://app.asana.com/0/1118485203673454/1204338487583978/f
// `${thirdPartyOrigin}/crawler/attribution/entrypoints/iframe-data-url.js`, // capturing small dynamic contexts is currently flaky due to a race condition in the crawler https://app.asana.com/0/1118485203673454/1204338487583978/f
// `${thirdPartyOrigin}/crawler/attribution/entrypoints/iframe-javascript-url.js`, // capturing small dynamic contexts is currently flaky due to a race condition in the crawler https://app.asana.com/0/1118485203673454/1204338487583978/f
`${thirdPartyOrigin}/crawler/attribution/entrypoints/iframe-document-write.js`, // capturing small dynamic contexts is currently flaky due to a race condition in the crawler https://app.asana.com/0/1118485203673454/1204338487583978/f
// `${thirdPartyOrigin}/crawler/attribution/iframe-sandbox.html`, // capturing small dynamic contexts is currently flaky due to a race condition in the crawler https://app.asana.com/0/1118485203673454/1204338487583978/f
// `${thirdPartyOrigin}/crawler/attribution/iframe-simple.html`, // capturing small dynamic contexts is currently flaky due to a race condition in the crawler https://app.asana.com/0/1118485203673454/1204338487583978/f
`${thirdPartyOrigin}/crawler/attribution/entrypoints/eventlistener.js`,
`${thirdPartyOrigin}/crawler/attribution/entrypoints/settimeout.js`,
`${thirdPartyOrigin}/crawler/attribution/entrypoints/promise.js`,
`${thirdPartyOrigin}/crawler/attribution/entrypoints/module.mjs`,
`${thirdPartyOrigin}/crawler/attribution/entrypoints/deep-stack.js`,
`${thirdPartyOrigin}/crawler/attribution/entrypoints/deep-async-stack.js`,
// `${firstPartyOrigin}/crawler/attribution/worker-source.js`, // capturing small dynamic contexts is currently flaky due to a race condition in the crawler https://app.asana.com/0/72649045549333/1204120569983283
// `${firstPartyOrigin}/crawler/attribution/sw-source.js`, // capturing small dynamic contexts is currently flaky due to a race condition in the crawler https://app.asana.com/0/72649045549333/1204120569983283
// `${firstPartyOrigin}/crawler/attribution/worker-source.js`, // capturing small dynamic contexts is currently flaky due to a race condition in the crawler https://app.asana.com/0/1118485203673454/1204338487583978/f
// `${firstPartyOrigin}/crawler/attribution/sw-source.js`, // capturing small dynamic contexts is currently flaky due to a race condition in the crawler https://app.asana.com/0/1118485203673454/1204338487583978/f
`${firstPartyOrigin}/crawler/attribution/entrypoints/1p-prototype-overload.js`,
// `${thirdPartyOrigin}/crawler/attribution/entrypoints/reusing-1p-prototype.js`, // calls like this are currently attributed to the intermediate script, see https://app.asana.com/0/0/1204144855579740/f
`${thirdPartyOrigin}/crawler/attribution/entrypoints/3p-prototype-overload.js`,
Expand Down

0 comments on commit f4e80bf

Please sign in to comment.