Skip to content

Commit

Permalink
Fix CSP test descriptions 'same' -> 'self' (#45641)
Browse files Browse the repository at this point in the history
* Fix CSP test description 'same' -> 'self'

* Add additional 'same' -> 'self'
  • Loading branch information
JannisBush committed Apr 15, 2024
1 parent 10bcb6d commit 1ef1b02
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</head>
<body>
<script>
test = async_test("A 'frame-ancestors' CSP directive with a value 'same' should block render in same-origin nested frames.");
test = async_test("A 'frame-ancestors' CSP directive with a value 'self' should block render in same-origin nested frames.");

testNestedIFrame("'self'", CROSS_ORIGIN, CROSS_ORIGIN, EXPECT_BLOCK);
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</head>
<body>
<script>
test = async_test("A 'frame-ancestors' CSP directive with a value 'same' should block render in same-origin nested frames.");
test = async_test("A 'frame-ancestors' CSP directive with a value 'self' should block render in same-origin nested frames.");

testNestedIFrame("'self'", SAME_ORIGIN, CROSS_ORIGIN, EXPECT_BLOCK);
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</head>
<body>
<script>
test = async_test("A 'frame-ancestors' CSP directive with a value 'same' should block render in same-origin nested frames.");
test = async_test("A 'frame-ancestors' CSP directive with a value 'self' should block render in same-origin nested frames.");

testNestedIFrame("'self'", CROSS_ORIGIN, SAME_ORIGIN, EXPECT_BLOCK);
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</head>
<body>
<script>
test = async_test("A 'frame-ancestors' CSP directive with a value 'same' should block render in same-origin nested frames.");
test = async_test("A 'frame-ancestors' CSP directive with a value 'self' should block render in same-origin nested frames.");

testNestedIFrame("'self'", SAME_ORIGIN, SAME_ORIGIN, EXPECT_LOAD);
</script>
Expand Down

0 comments on commit 1ef1b02

Please sign in to comment.