trusted-types icon indicating copy to clipboard operation
trusted-types copied to clipboard

WPTs for pre-navigation check of form-submission should be added

Open mbrodesser-Igalia opened this issue 1 year ago • 1 comments

See e.g. https://jsfiddle.net/fhrpo2zj/2/.

The spec covers this, since "type" in [1] may be "form-submission" and [2] is fully exercised for that type.

CC @lukewarlow, @otherdaniel

[1] https://w3c.github.io/webappsec-csp/#should-block-navigation-request [2] https://w3c.github.io/trusted-types/dist/spec/#require-trusted-types-for-pre-navigation-check

mbrodesser-Igalia avatar Sep 24 '24 09:09 mbrodesser-Igalia

Adding test is WIP at https://bugzilla.mozilla.org/show_bug.cgi?id=1921008.

ghost avatar Sep 26 '24 14:09 ghost

The test seems to be added already, the finals bit in https://github.com/web-platform-tests/wpt/commit/4db7dc692be3aca644252623d69d5db5113541f7. @mbrodesser-Igalia, can this be closed now?

koto avatar Oct 31 '24 09:10 koto