blob: 76b3b9732a5299b52c8aa9252de3775e2c738101 [file] [log] [blame]
CONSOLE MESSAGE: Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin.
This test whether a script can read the rules from a cross-origin style sheet. For more information on why we block this, please see https://bugs.webkit.org/show_bug.cgi?id=20527.
Test begins.
== Cross-Origin resource, no-cors mode ==
cssRules: null
rules: null
== Same-Origin resource, no-cors mode ==
cssRules: [object CSSRuleList]
cssRules length: 1
rules: [object CSSRuleList]
rules length: 1
== Cross-Origin resource, cors mode, failing cors check ==
cssRules: null
rules: null
== Cross-Origin resource, cors mode, successful cors check ==
cssRules: [object CSSRuleList]
cssRules length: 1
rules: [object CSSRuleList]
rules length: 1
Test ends.