OLD | NEW |
1 CONSOLE MESSAGE: line 22: Injecting in main world: this should fail. | 1 CONSOLE MESSAGE: line 22: Injecting in main world: this should fail. |
2 CONSOLE ERROR: Refused to execute inline script because it violates the followin
g Content Security Policy directive: "script-src 'self' 'unsafe-eval'". | 2 CONSOLE ERROR: Refused to execute inline script because it violates the followin
g Content Security Policy directive: "script-src 'self' 'unsafe-eval'". Either t
he 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is r
equired to enable inline execution. |
3 | 3 |
4 CONSOLE MESSAGE: line 26: Injecting into isolated world without bypass: this sho
uld fail. | 4 CONSOLE MESSAGE: line 26: Injecting into isolated world without bypass: this sho
uld fail. |
5 CONSOLE ERROR: Refused to execute inline script because it violates the followin
g Content Security Policy directive: "script-src 'self' 'unsafe-eval'". | 5 CONSOLE ERROR: Refused to execute inline script because it violates the followin
g Content Security Policy directive: "script-src 'self' 'unsafe-eval'". Either t
he 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is r
equired to enable inline execution. |
6 | 6 |
7 CONSOLE MESSAGE: line 30: Starting to bypass main world's CSP: this should pass! | 7 CONSOLE MESSAGE: line 30: Starting to bypass main world's CSP: this should pass! |
8 CONSOLE MESSAGE: line 1: EXECUTED in isolated world. | 8 CONSOLE MESSAGE: line 1: EXECUTED in isolated world. |
9 CONSOLE MESSAGE: line 35: Injecting into main world again: this should fail. | 9 CONSOLE MESSAGE: line 35: Injecting into main world again: this should fail. |
10 CONSOLE ERROR: Refused to execute inline script because it violates the followin
g Content Security Policy directive: "script-src 'self' 'unsafe-eval'". | 10 CONSOLE ERROR: Refused to execute inline script because it violates the followin
g Content Security Policy directive: "script-src 'self' 'unsafe-eval'". Either t
he 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is r
equired to enable inline execution. |
11 | 11 |
12 This test ensures that scripts run in isolated worlds marked with their own Cont
ent Security Policy aren't affected by the page's content security policy. Exten
sions, for example, should be able to inject inline JavaScript (even though it's
probably a bad idea to do so). | 12 This test ensures that scripts run in isolated worlds marked with their own Cont
ent Security Policy aren't affected by the page's content security policy. Exten
sions, for example, should be able to inject inline JavaScript (even though it's
probably a bad idea to do so). |
OLD | NEW |