Skip to content

Commit 6878def

Browse files
committed
remove unused definition
1 parent ab84103 commit 6878def

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

test/browser/features/lib/browser.rb

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,7 @@ def initialize(browser_spec)
1515
end
1616
end
1717

18-
def name
19-
@name
20-
end
21-
22-
def version
23-
@version
24-
end
18+
attr_reader :name, :version
2519

2620
# is this a mobile device?
2721
# we assume that android devices are always using the latest version of chrome
@@ -71,20 +65,6 @@ def supported_web_vitals
7165
end
7266
end
7367

74-
# | browser | version |
75-
# | chrome | 54 |
76-
# | firefox | 45 |
77-
# | edge | 17 |
78-
# | safari | 16.4 |
79-
def supports_performance_encoded_body_size?
80-
case @name
81-
when "safari"
82-
@version >= 17 # we test on 16.3 - not sure what to do here?
83-
else
84-
true
85-
end
86-
end
87-
8868
def supports_performance_response_status?
8969
case @name
9070
when "chrome", "edge"

0 commit comments

Comments
 (0)