Skip to content

useragents: Detecting Android crosswalk as ChromeOS #1024

@longfin

Description

@longfin

Environment

  • OS: macOS (10.12)
  • Python: 2.7.10
  • Werkzeug: 0.11.11
  • Flask: 0.10.1

How to reproduce

  • Check request.user_agents.platform when using Crosswalk webview on android.
    • its User-Agent is Mozilla/5.0 (Linux; Android 4.4.4; Google Nexus 7 2013 - 4.4.4 - API 19 - 1200x1920 Build/KTU84P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Crosswalk/21.51.546.7 Safari/537.36

Expected result

  • android

Actual result

  • chromeos

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions