{
  "slug": "demo",
  "url": "https://openpwa.net/demo/",
  "probe": {
    "href": "https://openpwa.net/demo/",
    "css": {
      "height: 100dvh": true,
      "env(titlebar-area-height)": true,
      "color: oklch()": true,
      "safeAreaInsetsComputed": {
        "bottom": "0px",
        "top": "0px",
        "left": "0px",
        "right": "0px"
      },
      "@supports selector(:has(a))": true,
      "env(viewport-segment-width 0 0)": false,
      "env(safe-area-inset-top)": true
    },
    "navigator.standalone": false,
    "language": "zh-CN",
    "title": "Does it work on mine? — OpenPWA Demo",
    "viewportSegments": {
      "window.viewport": "undefined",
      "window.viewport?.segments": "n/a",
      "getWindowSegments": "undefined",
      "(horizontal-viewport-segments: 1)": false,
      "(vertical-viewport-segments: 1)": false,
      "(vertical-viewport-segments: 2)": false,
      "(horizontal-viewport-segments: 2)": false
    },
    "collectedAt": "2026-10-20T06:54:50.555Z",
    "maxTouchPoints": 5,
    "vendor": "Apple Computer, Inc.",
    "deviceMemory": "undefined",
    "devicePixelRatio": 3,
    "documentElementClient": {
      "w": 402,
      "h": 678
    },
    "outerWidth": 402,
    "pageText": "OpenPWA Demo\nopenpwa.net\n中文\nDoes it work on mine?\n\nA small installable web app that exercises five PWA capabilities on this origin. Every page feature-detects first, states what must be true for the call to work, shows the exact function it runs, and prints the result. Nothing is sent anywhere; there are no analytics and no third-party requests.\n\nThis is the companion demo for the openpwa.net reference. Each capability below links to the entry that explains the API, and each entry links back here.\n\nInstall this demo\nBadging, push on iOS, and file handling only behave like an app once the demo is installed. Install it first, then open the capability pages from the installed window.\n\nInstallability status\nYes\nSecure context (HTTPS or localhost)\nYes\nManifest linked from this page\n/demo/manifest.webmanifest\nYes\nService worker registered for /demo/\nscope: https://openpwa.net/demo/\nPartial\nRunning as an installed app\ndisplay-mode: browser\nPartial\nBrowser offered an install prompt (beforeinstallprompt)\nNot fired yet. Chromium fires it after the manifest and service worker checks pass; Safari and Firefox never fire it.\nInstall\nNo result yet. Press the run button.\nNo install button on iOS or Safari? Add to Home Screen instead\nOpen this page in Safari (other iOS browsers cannot add web apps to the Home Screen).\nTap the Share button in the toolbar.\nChoose \"Add to Home Screen\" and confirm. The label depends on the OS language.\nLaunch the demo from its new Home Screen icon; the pages then",
    "declarations": {
      "manifest": "/demo/manifest.webmanifest",
      "appleCapable": "yes",
      "appleTitle": "OpenPWA",
      "appleTouchIcon": [
        "/demo/icons/icon-192.png"
      ],
      "viewportMeta": "width=device-width, initial-scale=1",
      "themeColor": "#161616",
      "appleStatusBarStyle": null,
      "icons": [
        "/demo/icons/icon.svg"
      ]
    },
    "platform": "iPhone",
    "userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 18_6_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.6 Mobile/15E148 Safari/604.1",
    "hardwareConcurrency": 4,
    "innerWidth": 402,
    "outerHeight": 874,
    "visualViewport": {
      "offsetTop": 0,
      "height": 678,
      "scale": 1,
      "offsetLeft": 0,
      "pageTop": 0,
      "width": 402
    },
    "displayModes": {
      "standalone": false,
      "fullscreen": false,
      "picture-in-picture": false,
      "minimal-ui": false,
      "browser": true,
      "application": false,
      "window-controls-overlay": false
    },
    "mediaQueries": {
      "(dynamic-range: high)": true,
      "(color-gamut: p3)": true,
      "(prefers-reduced-motion: reduce)": false,
      "(prefers-color-scheme: dark)": false,
      "(pointer: coarse)": true,
      "(prefers-contrast: more)": false,
      "(orientation: portrait)": true,
      "(hover: hover)": false
    },
    "innerHeight": 678,
    "languages": [
      "zh-CN"
    ],
    "screen": {
      "height": 874,
      "availHeight": 874,
      "angle": 0,
      "width": 402,
      "availWidth": 402,
      "colorDepth": 24,
      "orientation": "portrait-primary"
    },
    "features": {
      "'wakeLock' in navigator": true,
      "'clearAppBadge' in navigator": false,
      "'windowControlsOverlay' in navigator": false,
      "'xr' in navigator": false,
      "'DigitalCredential' in window": false,
      "'periodicSync' in ServiceWorkerRegistration.prototype": false,
      "'BeforeInstallPromptEvent' in window": false,
      "'PaymentRequest' in window": true,
      "'hid' in navigator": false,
      "'showOpenFilePicker' in window": false,
      "'clipboard' in navigator": true,
      "'documentPictureInPicture' in window": false,
      "typeof Notification.requestPermission": "undefined",
      "canShare({files:[txt]})": true,
      "'storage' in navigator": true,
      "'usb' in navigator": false,
      "'serial' in navigator": false,
      "'CookieStore' in window": true,
      "'PushManager' in window": false,
      "'bluetooth' in navigator": false,
      "'share' in navigator": true,
      "'Notification' in window": false,
      "'setAppBadge' in navigator": false,
      "typeof window.pushManager?.permissionState": "function",
      "canShare({url})": true,
      "'startViewTransition' in document": true,
      "'screen.orientation.lock'": "undefined",
      "'requestFullscreen' in documentElement": true,
      "'navigation' in window": false,
      "'showDirectoryPicker' in window": false,
      "'install' in navigator": false,
      "'virtualKeyboard' in navigator": false,
      "'onbeforeinstallprompt' in window": false,
      "'pushManager' in window": true,
      "'cookieStore' in window": true,
      "typeof navigator.install": "undefined",
      "serviceWorkerRegistrations": [
        {
          "scope": "https://openpwa.net/lab/device-tests/",
          "state": "activated",
          "active": true
        },
        {
          "scope": "https://openpwa.net/demo/",
          "state": "activated",
          "active": true
        }
      ],
      "'canShare' in navigator": true,
      "storage.estimate()": {
        "quota": 1048576000,
        "usage": 86529
      },
      "'credentials' in navigator": true,
      "'navigationPreload' in ServiceWorkerRegistration.prototype": true,
      "'ViewTransition' in window": true,
      "'scheduler' in window": false,
      "serviceWorker.controller": true,
      "'showSaveFilePicker' in window": false,
      "'userActivation' in navigator": true,
      "PushManager.supportedContentEncodings": "n/a",
      "'NDEFReader' in window": false,
      "typeof window.pushManager?.getSubscription": "function",
      "'BroadcastChannel' in window": true,
      "'onappinstalled' in window": false,
      "storage.persisted()": false,
      "Notification.permission": "n/a",
      "'getInstalledRelatedApps' in navigator": false,
      "'contacts' in navigator": false,
      "'webkitRequestFullscreen' in documentElement": true,
      "'sync' in ServiceWorkerRegistration.prototype": false,
      "'mediaSession' in navigator": true,
      "'getBattery' in navigator": false,
      "'PublicKeyCredential' in window": true,
      "typeof window.pushManager?.subscribe": "function",
      "'vibrate' in navigator": false,
      "'IdentityCredential' in window": false,
      "'launchQueue' in window": false,
      "typeof navigator.storage?.getDirectory (OPFS)": "function",
      "typeof navigator.storage?.persist": "function",
      "'serviceWorker' in navigator": true
    }
  }
}