Skip to content

Commit

Permalink
remove unused definition
Browse files Browse the repository at this point in the history
  • Loading branch information
gingerbenw committed Jul 10, 2023
1 parent ab84103 commit 6878def
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions test/browser/features/lib/browser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,7 @@ def initialize(browser_spec)
end
end

def name
@name
end

def version
@version
end
attr_reader :name, :version

# is this a mobile device?
# we assume that android devices are always using the latest version of chrome
Expand Down Expand Up @@ -71,20 +65,6 @@ def supported_web_vitals
end
end

# | browser | version |
# | chrome | 54 |
# | firefox | 45 |
# | edge | 17 |
# | safari | 16.4 |
def supports_performance_encoded_body_size?
case @name
when "safari"
@version >= 17 # we test on 16.3 - not sure what to do here?
else
true
end
end

def supports_performance_response_status?
case @name
when "chrome", "edge"
Expand Down

0 comments on commit 6878def

Please sign in to comment.