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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25179

            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