Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / http / tests / security / contentSecurityPolicy / 1.1 / cssom / cssstyledeclaration-csstext-blocked-expected.txt
1 CONSOLE ERROR: Refused to evaluate a string as CSS because 'unsafe-eval' is not an allowed source of style in the following Content Security Policy directive: "style-src 'unsafe-inline' 'self'".
2
3 Setting CSSStyleDeclaration::cssText blocked if 'unsafe-eval' is not an allowed source of style.
4
5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6
7
8 PASS document.head.style.cssText = 'display: none;'; threw exception SecurityError: Failed to set the 'cssText' property on 'CSSStyleDeclaration': Refused to evaluate a string as CSS because 'unsafe-eval' is not an allowed source of style in the following Content Security Policy directive: "style-src 'unsafe-inline' 'self'".
9 .
10 PASS successfullyParsed is true
11
12 TEST COMPLETE
13