(ctx context.Context, o *options.Options, args []string)
| 503 | } |
| 504 | |
| 505 | func (p *Parser) applyMaxSrcFileSizeOption(ctx context.Context, o *options.Options, args []string) error { |
| 506 | if err := p.IsSecurityOptionsAllowed(ctx); err != nil { |
| 507 | return err |
| 508 | } |
| 509 | |
| 510 | return p.parseInt(ctx, o, keys.MaxSrcFileSize, args...) |
| 511 | } |
| 512 | |
| 513 | func (p *Parser) applyMaxAnimationFramesOption(ctx context.Context, o *options.Options, args []string) error { |
| 514 | if err := p.IsSecurityOptionsAllowed(ctx); err != nil { |
no test coverage detected