You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use safevalues to fix trusted types issues reported by tsec (#8301)
* Use safevalues to fix trusted types issues reported by tsec
* Upgrade to safevalues 0.6.0
* Remove exemptions, and untested usages of safevalues
* Add dependency that was accidentally removed
* Add FIXMEs for tsec violations
* Run formatting
* Compare against full Gtag script in tests
* Check that full reCAPTCHA script URL was assigned to script element
* Replace FIXMEs with TODOs
* Remove auth, rtdb, messaging from changeset
* Creates a TrustedTypePolicy object that implements the rules passed as policyOptions.
60
-
*
61
-
* @param policyName A string containing the name of the policy
62
-
* @param policyOptions Object containing implementations of instance methods for TrustedTypesPolicy, see {@link https://developer.mozilla.org/en-US/docs/Web/API/TrustedTypePolicy#instance_methods
63
-
* | the TrustedTypePolicy reference documentation}.
64
-
*/
65
-
exportfunctioncreateTrustedTypesPolicy(
66
-
policyName: string,
67
-
policyOptions: Partial<TrustedTypePolicyOptions>
68
-
): Partial<TrustedTypePolicy>|undefined{
69
-
// Create a TrustedTypes policy that we can use for updating src
0 commit comments