The requestFinished JS helper is currently used to handle nsIQuotaRequest and nsISDBRequest based async requests. While nsIQuotaRequest already supports resultName attribute which is used for constructing RequestError, nsISDBRequest is missing this attribute. Differential Revision: https://phabricator.services.mozilla.com/D219602
23 lines
695 B
Plaintext
23 lines
695 B
Plaintext
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
/* vim: set ts=2 et sw=2 tw=80: */
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#include "nsISupports.idl"
|
|
|
|
interface nsISDBCallback;
|
|
interface nsIVariant;
|
|
|
|
[scriptable, uuid(13f05bcf-715c-427e-aac8-df9b2c1ec1e3)]
|
|
interface nsISDBRequest : nsISupports
|
|
{
|
|
[must_use] readonly attribute nsIVariant result;
|
|
|
|
[must_use] readonly attribute nsresult resultCode;
|
|
|
|
[must_use] readonly attribute ACString resultName;
|
|
|
|
attribute nsISDBCallback callback;
|
|
};
|