[
  {
    "interfaces": [
      {
        "base": "nsISubstitutingProtocolHandler",
        "callable": false,
        "consts": [],
        "enums": [],
        "id": "nsIResProtocolHandler",
        "members": [
          {
            "args": [
              {
                "name": "url",
                "optional": false,
                "type": "nsIURI"
              }
            ],
            "iid_is": null,
            "name": "allowContentToAccess",
            "type": "boolean"
          }
        ]
      }
    ],
    "path": "netwerk/protocol/res/nsIResProtocolHandler.idl",
    "typedefs": [
      [
        "PRTime",
        "i64"
      ]
    ]
  },
  {
    "interfaces": [
      {
        "base": "nsIProtocolHandler",
        "callable": false,
        "consts": [
          {
            "name": "ALLOW_CONTENT_ACCESS",
            "value": 1
          },
          {
            "name": "RESOLVE_JAR_URI",
            "value": 2
          }
        ],
        "enums": [],
        "id": "nsISubstitutingProtocolHandler",
        "members": [
          {
            "args": [
              {
                "name": "root",
                "optional": false,
                "type": "string"
              },
              {
                "name": "baseURI",
                "optional": false,
                "type": "nsIURI"
              }
            ],
            "iid_is": null,
            "name": "setSubstitution",
            "type": "void"
          },
          {
            "args": [
              {
                "name": "root",
                "optional": false,
                "type": "string"
              },
              {
                "name": "baseURI",
                "optional": false,
                "type": "nsIURI"
              },
              {
                "name": "flags",
                "optional": false,
                "type": "u32"
              }
            ],
            "iid_is": null,
            "name": "setSubstitutionWithFlags",
            "type": "void"
          },
          {
            "args": [
              {
                "name": "root",
                "optional": false,
                "type": "string"
              }
            ],
            "iid_is": null,
            "name": "getSubstitution",
            "type": "nsIURI"
          },
          {
            "args": [
              {
                "name": "root",
                "optional": false,
                "type": "string"
              }
            ],
            "iid_is": null,
            "name": "hasSubstitution",
            "type": "boolean"
          },
          {
            "args": [
              {
                "name": "resURI",
                "optional": false,
                "type": "nsIURI"
              }
            ],
            "iid_is": null,
            "name": "resolveURI",
            "type": "string"
          }
        ]
      }
    ],
    "path": "netwerk/protocol/res/nsISubstitutingProtocolHandler.idl",
    "typedefs": [
      [
        "PRTime",
        "i64"
      ]
    ]
  }
]