| attribute-values.js |
|
1235 |
- |
| box-comparison.js |
|
4945 |
- |
| box-navigation.js |
|
794 |
- |
| csp-test-helper.js |
Executes a single CSP style test on a MathML element inside an isolated
iframe.
@param {Object} t - WPT test instance (provides add_cleanup).
@param {Object} options - Test execution configuration.
@param {string} options.tag - MathML element tag name present in
MathMLFragments.
@param {string} options.policy - CSP directive header (e.g.,
"style-src-attr 'unsafe-inline'").
@param {boolean} options.shouldApply - True if the style is expected to be
allowed & applied; false if blocked.
@param {'styleAttribute' | 'styleElement'} [options.styleApplication] -
Manner in which style is applied:
- 'styleAttribute': Tests inline `style` attribute (governed by
style-src-attr / style-src).
- 'styleElement': Tests `<style>` element inside the document (governed by
style-src-elem / style-src).
@example
// Testing inline style attribute with a policy
runMathMLStyleCSPTest(t, {
tag: 'mspace',
policy: "style-src-attr 'none'",
shouldApply: false,
styleApplication: 'styleAttribute'
});
|
3224 |
- |
| feature-detection-operators.js |
|
3724 |
- |
| feature-detection.js |
|
10876 |
- |
| fonts.js |
|
472 |
- |
| invalid-markup.js |
|
3840 |
- |
| layout-comparison.js |
|
4567 |
- |
| mathml-fragments.js |
|
6011 |
- |
| operator-dictionary.js |
|
1072 |
- |
| operator-dictionary.json |
|
67323 |
- |