示例#1
0
def _get_browsers():
    """Uses the platform name to configure which browsers will be tested."""
    browsers = None
    if shakaBuildHelpers.is_linux():
        # For MP4 support on Linux Firefox, install gstreamer1.0-libav.
        # Opera on Linux only supports MP4 for Ubuntu 15.04+, so it is not in the
        # default list of browsers for Linux at this time.
        browsers = 'Chrome,Firefox'
    elif shakaBuildHelpers.is_darwin():
        browsers = 'Chrome,Firefox,Safari'
    elif shakaBuildHelpers.is_windows() or shakaBuildHelpers.is_cygwin():
        browsers = 'Chrome,Firefox,IE'
    return browsers
示例#2
0
def _get_browsers():
    """Uses the platform name to configure which browsers will be tested."""
    browsers = None
    if shakaBuildHelpers.is_linux():
        # For MP4 support on Linux Firefox, install gstreamer1.0-libav.
        # Opera on Linux only supports MP4 for Ubuntu 15.04+, so it is not in the
        # default list of browsers for Linux at this time.
        browsers = "Chrome,Firefox"
    elif shakaBuildHelpers.is_darwin():
        browsers = "Chrome,Firefox,Safari"
    elif shakaBuildHelpers.is_windows() or shakaBuildHelpers.is_cygwin():
        browsers = "Chrome,Firefox,IE"
    return browsers
示例#3
0
def _GetDefaultBrowsers():
    """Use the platform name to get which browsers can be tested."""

    if shakaBuildHelpers.is_linux():
        # For MP4 support on Linux Firefox, install gstreamer1.0-libav.
        # Opera on Linux only supports MP4 for Ubuntu 15.04+, so it is not in the
        # default list of browsers for Linux at this time.
        return ['Chrome', 'Firefox']

    if shakaBuildHelpers.is_darwin():
        return ['Chrome', 'Firefox', 'Safari']

    if shakaBuildHelpers.is_windows() or shakaBuildHelpers.is_cygwin():
        return ['Chrome', 'Firefox', 'IE']

    raise Error('Unrecognized system: %s' % platform.uname()[0])
示例#4
0
def _GetDefaultBrowsers():
  """Use the platform name to get which browsers can be tested."""

  if shakaBuildHelpers.is_linux():
    # For MP4 support on Linux Firefox, install gstreamer1.0-libav.
    # Opera on Linux only supports MP4 for Ubuntu 15.04+, so it is not in the
    # default list of browsers for Linux at this time.
    return ['Chrome','Firefox']

  if shakaBuildHelpers.is_darwin():
    return ['Chrome','Firefox','Safari']

  if shakaBuildHelpers.is_windows() or shakaBuildHelpers.is_cygwin():
    return ['Chrome','Firefox','IE']

  raise Error('Unrecognized system: %s' % platform.uname()[0])