{
  "meta": {
    "canonicalUrl": "https://timetostable.com/feature/requestclose",
    "bcdVersion": "8.1.11",
    "webFeaturesVersion": "3.48.0"
  },
  "kind": "web-feature",
  "webFeature": {
    "id": "requestclose",
    "name": "dialog.requestClose()",
    "description": "The requestClose() method of a <dialog> HTML element closes the dialog, firing a cancel event first, which listeners can use to prevent the dialog from closing. This differs from the close() method, which only fires the non-cancelable close event.",
    "group": "html-elements",
    "groupName": "HTML elements",
    "spec": "https://html.spec.whatwg.org/multipage/interactive-elements.html#dom-dialog-requestclose",
    "baseline": "low",
    "baselineLowDate": "2025-05-27",
    "baselineLowDay": 20235,
    "compatCount": 1,
    "cats": [
      "api"
    ],
    "compatKeysSample": [
      "api.HTMLDialogElement.requestClose"
    ],
    "s": {
      "chrome": {
        "v": "134",
        "d": 20151
      },
      "chrome_android": {
        "v": "134",
        "d": 20151
      },
      "edge": {
        "v": "134",
        "d": 20153
      },
      "firefox": {
        "v": "139",
        "d": 20235
      },
      "firefox_android": {
        "v": "139",
        "d": 20235
      },
      "safari": {
        "v": "18.4",
        "d": 20178
      },
      "safari_ios": {
        "v": "18.4",
        "d": 20178
      }
    }
  },
  "relatedBcdFeatures": [
    {
      "id": "api.HTMLDialogElement.requestClose",
      "cat": "api",
      "mdn": "API/HTMLDialogElement/requestClose",
      "spec": "https://html.spec.whatwg.org/multipage/interactive-elements.html#dom-dialog-requestclose",
      "st": 1,
      "wf": "requestclose",
      "bl": "low",
      "bld": 20235,
      "s": {
        "chrome": {
          "v": "134",
          "d": 20151
        },
        "firefox": {
          "v": "139",
          "d": 20235
        },
        "safari": {
          "v": "18.4",
          "d": 20178
        },
        "edge": {
          "v": "134",
          "d": 20153
        },
        "chrome_android": {
          "v": "134",
          "d": 20151
        },
        "firefox_android": {
          "v": "139",
          "d": 20235
        },
        "safari_ios": {
          "v": "18.4",
          "d": 20178
        },
        "webview_android": {
          "v": "134",
          "d": 20151
        },
        "webview_ios": {
          "v": "18.4",
          "d": 20178
        },
        "samsunginternet_android": {
          "v": "29.0",
          "d": 20386
        },
        "opera": {
          "v": "119",
          "d": 20221
        },
        "opera_android": {
          "v": "88",
          "d": 20166
        },
        "oculus": {
          "v": "38.1",
          "d": 20201
        }
      }
    }
  ]
}