FEATURE: [Experimental] Content Security Policy (#6504)

This commit is contained in:
Kyle Zhao
2018-10-19 10:39:22 -04:00
committed by GitHub
parent 3d5085c045
commit fb8231077a
11 changed files with 327 additions and 3 deletions

View File

@@ -1,9 +1,14 @@
class FakeLogger
attr_reader :warnings, :errors
attr_reader :warnings, :errors, :infos
def initialize
@warnings = []
@errors = []
@infos = []
end
def info(message = nil)
@infos << message
end
def warn(message)