Sha256: 602e193dcc7eec6c8d372922a22f4866920eca4f9d3037565eac0160f3c47545

Contents?: true

Size: 1 KB

Versions: 5

Compression:

Stored size: 1 KB

Contents

opal_filter "taint" do
  fails "Hash#reject with extra state does not taint the resulting hash"

  fails "Range#to_s ignores own tainted status"
  fails "Range#inspect ignores own tainted status"

  fails "String#% doesn't taint the result for %e when argument is tainted"
  fails "String#% doesn't taint the result for %E when argument is tainted"
  fails "String#% doesn't taint the result for %f when argument is tainted"
  fails "String#% doesn't taint the result for %g when argument is tainted"
  fails "String#% doesn't taint the result for %G when argument is tainted"
  fails "String#byteslice with index, length always taints resulting strings when self is tainted"
  fails "String#byteslice with Range always taints resulting strings when self is tainted"

  fails "StringScanner#pre_match taints the returned String if the input was tainted"
  fails "StringScanner#post_match taints the returned String if the input was tainted"
  fails "StringScanner#rest taints the returned String if the input was tainted"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
opal-0.9.4 spec/filters/unsupported/taint.rb
opal-0.9.3 spec/filters/unsupported/taint.rb
opal-0.9.2 spec/filters/unsupported/taint.rb
opal-0.9.0 spec/filters/unsupported/taint.rb
opal-0.9.0.rc1 spec/filters/unsupported/taint.rb