Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
ensure "Linux FireFox" agent alias works as similar to "Mac FireFox"
  • Loading branch information
leejarvis committed Feb 9, 2013
1 parent 7dfab20 commit ea054d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/mechanize.rb
Expand Up @@ -134,6 +134,7 @@ class Error < RuntimeError
} }


AGENT_ALIASES['Mac FireFox'] = AGENT_ALIASES['Mac Firefox'] AGENT_ALIASES['Mac FireFox'] = AGENT_ALIASES['Mac Firefox']
AGENT_ALIASES['Linux FireFox'] = AGENT_ALIASES['Linux Firefox']


def self.inherited(child) # :nodoc: def self.inherited(child) # :nodoc:
child.html_parser = html_parser child.html_parser = html_parser
Expand Down

0 comments on commit ea054d8

Please sign in to comment.