Tutorial: Window.inspectServiceWorker

Window.inspectServiceWorker

Opens the developer tools for the service worker context.

Example

    const winOption = {
        name:'child',
        defaultWidth: 300,
        defaultHeight: 300,
        url: 'http://googlechrome.github.io/samples/service-worker/basic/index.html',
        frame: true,
        autoShow: true
    };
    const win = await fin.Window.create(winOption);
    await win.inspectServiceWorker();