(ctx context.Context, o *options.Options, args []string)
| 511 | } |
| 512 | |
| 513 | func (p *Parser) applyMaxAnimationFramesOption(ctx context.Context, o *options.Options, args []string) error { |
| 514 | if err := p.IsSecurityOptionsAllowed(ctx); err != nil { |
| 515 | return err |
| 516 | } |
| 517 | |
| 518 | return p.parsePositiveNonZeroInt(ctx, o, keys.MaxAnimationFrames, args...) |
| 519 | } |
| 520 | |
| 521 | func (p *Parser) applyMaxAnimationFrameResolutionOption(ctx context.Context, o *options.Options, args []string) error { |
| 522 | if err := p.IsSecurityOptionsAllowed(ctx); err != nil { |
no test coverage detected