Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adamraine committed Dec 10, 2024
1 parent 3948652 commit 21b1440
Show file tree
Hide file tree
Showing 5 changed files with 87 additions and 218 deletions.
3 changes: 1 addition & 2 deletions core/audits/origin-isolation.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ const UIStrings = {
/** Title of a Lighthouse audit that evaluates the security of a page's COOP header for origin isolation. "COOP" stands for "Cross-Origin-Opener-Policy". */
title: 'Ensure proper origin isolation with COOP',
/** Description of a Lighthouse audit that evaluates the security of a page's COOP header for origin isolation. This is displayed after a user expands the section to see more. No character length limits. The last sentence starting with 'Learn' becomes link text to additional documentation. "COOP" stands for "Cross-Origin-Opener-Policy". */
description: 'Deployment of the Cross-Origin-Opener-Policy (COOP) header allows isolation of the top-level document to not share a browsing context group with cross-origin documents. ' +
'[Learn what the COOP header is and how it should be deployed.](https://web.dev/articles/why-coop-coep#coop)',
description: 'The Cross-Origin-Opener-Policy (COOP) can be used to isolate the top-level window from other documents such as pop-ups. [Learn more about deploying the COOP header.](https://web.dev/articles/why-coop-coep#coop)',
/** Summary text for the results of a Lighthouse audit that evaluates the COOP header for origin isolation. This is displayed if no COOP header is deployed. "COOP" stands for "Cross-Origin-Opener-Policy". */
noCoop: 'No COOP header found',
/** Table item value calling out the presence of a syntax error. */
Expand Down
2 changes: 2 additions & 0 deletions core/test/scenarios/__snapshots__/api-test-pptr.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ Array [
"object-alt",
"offscreen-content-hidden",
"offscreen-images",
"origin-isolation",
"paste-preventing-inputs",
"prioritize-lcp-image",
"redirects",
Expand Down Expand Up @@ -274,6 +275,7 @@ Array [
"object-alt",
"offscreen-content-hidden",
"offscreen-images",
"origin-isolation",
"paste-preventing-inputs",
"prioritize-lcp-image",
"redirects",
Expand Down
Loading

0 comments on commit 21b1440

Please sign in to comment.