W3C home > Mailing lists > Public > public-browser-tools-testing@w3.org > January to March 2014

[Bug 25179] New: [WebDriver Spec]: Need a way to enable / disable networking from webdriver

From: <bugzilla@jessica.w3.org>
Date: Thu, 27 Mar 2014 16:03:01 +0000
To: public-browser-tools-testing@w3.org
Message-ID: <bug-25179-5015@http.www.w3.org/Bugs/Public/>

            Bug ID: 25179
           Summary: [WebDriver Spec]: Need a way to enable / disable
                    networking from webdriver
           Product: Browser Test/Tools WG
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebDriver
          Assignee: public-browser-tools-testing@w3.org
          Reporter: james@hoppipolla.co.uk
        QA Contact: public-browser-tools-testing@w3.org
                CC: mike@w3.org
            Blocks: 20860

The new generation of web apps are expected to continue to function when
networking is not available for whatever reason. Obviously this is particularly
important on mobile devices to close the gap between native apps and web apps.

At present it isn't possible to test the behaviour of an app when it is
offline, or the transition between online and offline or vice-versa. This
substantially decreases the utility of WebDriver for testing contemporary web
applications. Neither is it possible to write testsuites for the features
underlying offline support (AppCache, Service Worker), substantially increasing
the chance of buggy or non-interoperable implementations. 

The most obvious way to provide this would be to expose an API to webdriver
that would allow disabling "content" networking i.e. from the point of view of
the webpage it would look like the browser was offline, but privileged code (in
particular webdriver itself) would still be able to perform network operations.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 27 March 2014 16:03:03 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:09:49 UTC