Skip to content

3.5. Process value with a default policy doesn't take into account default_policy could be null #595

@tete17

Description

@tete17

As part of the implementation of this spec in https://github.com/LadybirdBrowser/ladybird I found a potential error

The TrustedTypePolicyFactory class has an initially null value of default policy

2.3.4. Default policy defines some behavior on what to do if a default policy is not present but like the section says this section is not normative.

The problem arises in 3.5. Process value with a default policy in step 1 where it is assumed a default policy exists.

I see 2 courses here:

  • We either make section 2.3.4 normative
  • We take into account that default policy could be null in Process value with a default policy

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions