Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobile Testing Results for Interop/WPT #891

Open
mtom55 opened this issue Oct 10, 2024 · 3 comments
Open

Mobile Testing Results for Interop/WPT #891

mtom55 opened this issue Oct 10, 2024 · 3 comments
Labels
carryover-evaluation Evaluate whether to continue a focus area in the next year investigation-effort-proposal Investigation Effort Proposal

Comments

@mtom55
Copy link

mtom55 commented Oct 10, 2024

Description

A significant issue for the Interop project is that currently only the desktop results are reported on the dashboard and provide the misleading impression that the results are universal between desktop and mobile.

Given that mobile devices make up the vast majority of all personal computers and accounts for the majority of global web traffic, the test results for mobile are significantly more important than the desktop results.

      “The web is amazing. It makes collaborating, learning, and connecting easy for billions of people, because it’s
       intentionally designed to run on radically different devices.

      It’s your job as a web developer to ensure your project works in every browser and for every user — and that can be
      hard to do. It’s a far easier undertaking when browsers have identical implementations of the web technology you
      use.”

      WebKit blog on the aim of Interop
      (emphasis added)

It is critical to almost every business involved in the web that web technologies work the same on mobile as desktop. For many businesses mobile is the primary target. Many developers may mistakenly believe that mobile browsers are currently covered by the tests.

In order to fix this, we propose a focus area for Interop 2025 that would include:

  1. Building and Running Mobile Test Harnesses for WPT
    Ensuring that the WPT tests are run on the mobile versions of each browser across both Android and iOS. The tested OS version should also be reported.

  2. Include Mobile Test Results in Interop
    Ensure that mobile testing of browsers is incorporated into both the WPT test results for each browser and into the Interop Dashboard. The Interop main scores should show the lowest test result between Desktop and Mobile.

  3. Upgrading WebDriver
    Implement https://w3c.github.io/webdriver-bidi/ universally to improve both the range and the quality of the existing tests. You can thumbs up WebDriver Bidi in this separate interop issue.

Interop Test Scores

With the understanding that mobile test scores are more important than desktop, the Interop dashboard should then be upgraded to show those results.

Our proposal is that the default view of Interop should be set to Experimental and All, where All is the lowest test result across any platform that the browser vendor ships their browser. Where the testing harness for a browser does not support testing that feature on that operating system, then it should be recorded as a score of 0 for those tests. This will ensure that both desktop and mobile are given focus as part of the interop efforts.

Screenshot 2024-10-10 at 17 18 32

Specification

Interop Team

Additional Signals

  1. % of browser traffic on mobile devices
  2. Number of mobile devices vs desktop devices
@mtom55 mtom55 added the focus-area-proposal Focus Area Proposal label Oct 10, 2024
@jgraham
Copy link
Contributor

jgraham commented Oct 10, 2024

This is effectively a carryover proposal for the existing mobile testing investigation.

@jgraham jgraham added investigation-effort-proposal Investigation Effort Proposal carryover-evaluation Evaluate whether to continue a focus area in the next year and removed focus-area-proposal Focus Area Proposal labels Oct 10, 2024
@NiklasMerz
Copy link

WebViews are also a big part of mobile browsing and could also be considered.

At the WebView Community Group we are currently working on documentating compatibility of WebViews, comparing them to their upstream browsers and adding them to Baseline.

@RupertBenWiser
Copy link

RE WebViews: Android WebView support is currently marked as experimental in the WPT project so there could be some great impact here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
carryover-evaluation Evaluate whether to continue a focus area in the next year investigation-effort-proposal Investigation Effort Proposal
Projects
None yet
Development

No branches or pull requests

4 participants