Bug 1489047 - Change almost all DOMString occurrences in XPIDL files to AString. r=nika

Because they have almost identical semantics.

--HG--
extra : rebase_source : ea9074bcac2a1d190b88a5d1afc15997593659b7
This commit is contained in:
Nicholas Nethercote 2018-09-06 18:02:43 +10:00
Родитель 5883244ebd
Коммит 8478f8d66e
64 изменённых файлов: 239 добавлений и 239 удалений

Просмотреть файл

@ -82,7 +82,7 @@ interface nsIAccessible : nsISupports
/**
* For remote accessibles the id of the related DOM node.
*/
readonly attribute DOMString id;
readonly attribute AString id;
/**
* The document accessible that this access node resides in.
@ -97,7 +97,7 @@ interface nsIAccessible : nsISupports
/**
* The language for the current DOM node, e.g. en, de, etc.
*/
readonly attribute DOMString language;
readonly attribute AString language;
/**
* Accessible name -- the main text equivalent for this node. The name is

Просмотреть файл

@ -15,20 +15,20 @@ interface nsIAccessibleApplication : nsISupports
/**
* Returns the application name.
*/
readonly attribute DOMString appName;
readonly attribute AString appName;
/**
* Returns the application version.
*/
readonly attribute DOMString appVersion;
readonly attribute AString appVersion;
/**
* Returns the platform name.
*/
readonly attribute DOMString platformName;
readonly attribute AString platformName;
/**
* Returns the platform version.
*/
readonly attribute DOMString platformVersion;
readonly attribute AString platformVersion;
};

Просмотреть файл

@ -29,5 +29,5 @@ interface nsIAccessibleTextChangeEvent : nsIAccessibleEvent
/**
* The inserted or removed text
*/
readonly attribute DOMString modifiedText;
readonly attribute AString modifiedText;
};

Просмотреть файл

@ -16,5 +16,5 @@ interface nsIXBLAccessible : nsISupports
/**
* Return accessible name.
*/
readonly attribute DOMString accessibleName;
readonly attribute AString accessibleName;
};

Просмотреть файл

@ -216,8 +216,8 @@ interface nsIDocShell : nsIDocShellTreeItem
* depending on the value of aReplace.
*/
[implicit_jscontext]
void addState(in jsval aData, in DOMString aTitle,
in DOMString aURL, in boolean aReplace);
void addState(in jsval aData, in AString aTitle,
in AString aURL, in boolean aReplace);
/**
* Reset state to a new content model within the current document and the document
@ -274,7 +274,7 @@ interface nsIDocShell : nsIDocShellTreeItem
/**
* This allows chrome to set a custom User agent on a specific docshell
*/
attribute DOMString customUserAgent;
attribute AString customUserAgent;
/**
* Whether CSS error reporting is enabled.

Просмотреть файл

@ -15,7 +15,7 @@ interface nsIDOMRequestService : nsISupports
DOMRequest createRequest(in mozIDOMWindow window);
void fireSuccess(in DOMRequest request, in jsval result);
void fireError(in DOMRequest request, in DOMString error);
void fireError(in DOMRequest request, in AString error);
void fireSuccessAsync(in DOMRequest request, in jsval result);
void fireErrorAsync(in DOMRequest request, in DOMString error);
void fireErrorAsync(in DOMRequest request, in AString error);
};

Просмотреть файл

@ -14,17 +14,17 @@ interface nsIDroppedLinkItem : nsISupports
/**
* Returns the URL of the link.
*/
readonly attribute DOMString url;
readonly attribute AString url;
/**
* Returns the link name.
*/
readonly attribute DOMString name;
readonly attribute AString name;
/**
* Returns the MIME-Type.
*/
readonly attribute DOMString type;
readonly attribute AString type;
};
[scriptable, uuid(21B5C25A-28A9-47BD-8431-FA9116305DED)]

Просмотреть файл

@ -36,13 +36,13 @@ interface nsIBrowserElementAPI : nsISupports
void setFrameLoader(in FrameLoader frameLoader);
void sendMouseEvent(in DOMString type,
void sendMouseEvent(in AString type,
in uint32_t x,
in uint32_t y,
in uint32_t button,
in uint32_t clickCount,
in uint32_t mifiers);
void sendTouchEvent(in DOMString aType,
void sendTouchEvent(in AString aType,
[const, array, size_is(count)] in uint32_t aIdentifiers,
[const, array, size_is(count)] in int32_t aXs,
[const, array, size_is(count)] in int32_t aYs,
@ -56,25 +56,25 @@ interface nsIBrowserElementAPI : nsISupports
void goForward();
void reload(in boolean hardReload);
void stop();
DOMRequest download(in DOMString url,
DOMRequest download(in AString url,
[optional] in jsval options);
DOMRequest purgeHistory();
DOMRequest getScreenshot(in uint32_t width,
in uint32_t height,
[optional] in DOMString mimeType);
[optional] in AString mimeType);
void zoom(in float zoom);
DOMRequest getCanGoBack();
DOMRequest getCanGoForward();
DOMRequest getContentDimensions();
void findAll(in DOMString searchString, in long caseSensitivity);
void findAll(in AString searchString, in long caseSensitivity);
void findNext(in long direction);
void clearMatch();
void addNextPaintListener(in jsval listener); // BrowserElementNextPaintEventCallback
void removeNextPaintListener(in jsval listener); // BrowserElementNextPaintEventCallback
DOMRequest executeScript(in DOMString script, in jsval options);
DOMRequest executeScript(in AString script, in jsval options);
/**
* Returns an object that represents a Web Manifest:

Просмотреть файл

@ -19,7 +19,7 @@ interface nsIConsoleAPIStorage : nsISupports
* given this function returns all of the cached events, from any
* window.
*/
jsval getEvents([optional] in DOMString aId);
jsval getEvents([optional] in AString aId);
/**
* Record an event associated with the given window ID.
@ -33,7 +33,7 @@ interface nsIConsoleAPIStorage : nsISupports
* @param object aEvent
* A JavaScript object you want to store.
*/
void recordEvent(in DOMString aId, in DOMString aOuterId, in jsval aEvent);
void recordEvent(in AString aId, in AString aOuterId, in jsval aEvent);
/**
* Clear storage data for the given window.
@ -43,5 +43,5 @@ interface nsIConsoleAPIStorage : nsISupports
* messages. If this is not specified all of the cached messages are
* cleared, from all window objects.
*/
void clearEvents([optional] in DOMString aId);
void clearEvents([optional] in AString aId);
};

Просмотреть файл

@ -89,14 +89,14 @@ interface nsIEventListenerService : nsISupports
* Returns true if a event target has any listener for the given type.
*/
boolean hasListenersFor(in EventTarget aEventTarget,
in DOMString aType);
in AString aType);
/**
* Add a system-group eventlistener to a event target.
*/
[implicit_jscontext]
void addSystemEventListener(in EventTarget target,
in DOMString type,
in AString type,
in jsval listener,
in boolean useCapture);
@ -105,7 +105,7 @@ interface nsIEventListenerService : nsISupports
*/
[implicit_jscontext]
void removeSystemEventListener(in EventTarget target,
in DOMString type,
in AString type,
in jsval listener,
in boolean useCapture);

Просмотреть файл

@ -49,11 +49,11 @@ interface nsIDateTimeInputArea : nsISupports
* Set the attribute of the inner text boxes. Only "tabindex", "readonly",
* and "disabled" are allowed.
*/
void setEditAttribute(in DOMString name, in DOMString value);
void setEditAttribute(in AString name, in AString value);
/**
* Remove the attribute of the inner text boxes. Only "tabindex", "readonly",
* and "disabled" are allowed.
*/
void removeEditAttribute(in DOMString name);
void removeEditAttribute(in AString name);
};

Просмотреть файл

@ -20,7 +20,7 @@ interface nsIMenuBuilder : nsISupports
* a new context for this menu, so all subsequent methods will add new items
* to this newly created menu.
*/
void openContainer(in DOMString aLabel);
void openContainer(in AString aLabel);
/**
* Add a new menu item. All menu item details can be obtained from
@ -72,5 +72,5 @@ interface nsIMenuBuilder : nsISupports
*
* @param aGeneratedItemId the menuitem id
*/
void click(in DOMString aGeneratedItemId);
void click(in AString aGeneratedItemId);
};

Просмотреть файл

@ -14,7 +14,7 @@ interface nsIPrincipal;
[scriptable, uuid(e774db14-79ac-4156-a7a3-aa3fd0a22c10)]
interface nsIOpenURIInFrameParams : nsISupports
{
attribute DOMString referrer;
attribute AString referrer;
attribute unsigned long referrerPolicy;
readonly attribute boolean isPrivate;
attribute nsIPrincipal triggeringPrincipal;

Просмотреть файл

@ -50,8 +50,8 @@ interface nsIServiceWorkerInfo : nsISupports
const unsigned short STATE_REDUNDANT = 5;
const unsigned short STATE_UNKNOWN = 6;
readonly attribute DOMString scriptSpec;
readonly attribute DOMString cacheName;
readonly attribute AString scriptSpec;
readonly attribute AString cacheName;
readonly attribute unsigned short state;
@ -84,8 +84,8 @@ interface nsIServiceWorkerRegistrationInfo : nsISupports
readonly attribute nsIPrincipal principal;
readonly attribute DOMString scope;
readonly attribute DOMString scriptSpec;
readonly attribute AString scope;
readonly attribute AString scriptSpec;
readonly attribute unsigned short updateViaCache;
readonly attribute PRTime lastUpdateTime;
@ -123,29 +123,29 @@ interface nsIServiceWorkerManager : nsISupports
*/
void unregister(in nsIPrincipal aPrincipal,
in nsIServiceWorkerUnregisterCallback aCallback,
in DOMString aScope);
in AString aScope);
nsIServiceWorkerRegistrationInfo getRegistrationByPrincipal(in nsIPrincipal aPrincipal,
in DOMString aScope);
in AString aScope);
[notxpcom, nostdcall] bool StartControlling(in const_ClientInfoRef aClientInfo,
in const_ServiceWorkerDescriptorRef aServiceWorker);
// Testing
DOMString getScopeForUrl(in nsIPrincipal aPrincipal, in DOMString aPath);
AString getScopeForUrl(in nsIPrincipal aPrincipal, in AString aPath);
// It returns an array of nsIServiceWorkerRegistrationInfos.
nsIArray getAllRegistrations();
// It calls softUpdate() for each child process.
[implicit_jscontext] void propagateSoftUpdate(in jsval aOriginAttributes,
in DOMString aScope);
in AString aScope);
// It calls unregister() in each child process. The callback is used to
// inform when unregister() is completed on the current process.
void propagateUnregister(in nsIPrincipal aPrincipal,
in nsIServiceWorkerUnregisterCallback aCallback,
in DOMString aScope);
in AString aScope);
void sendNotificationClickEvent(in ACString aOriginSuffix,
in ACString scope,

Просмотреть файл

@ -327,7 +327,7 @@ interface nsITextInputProcessor : nsISupports
* Note that if you need to commit or cancel composition, use
* commitComposition(), commitCompositionWith() or cancelComposition().
*/
void setPendingCompositionString(in DOMString aString);
void setPendingCompositionString(in AString aString);
// ATTR_RAW_CLAUSE means that the clause hasn't been selected nor converted
// yet.
@ -454,7 +454,7 @@ interface nsITextInputProcessor : nsISupports
* false.
*/
[optional_argc]
boolean commitCompositionWith(in DOMString aCommitString,
boolean commitCompositionWith(in AString aCommitString,
[optional] in Event aKeyboardEvent,
[optional] in unsigned long aKeyFlags);
@ -592,7 +592,7 @@ interface nsITextInputProcessor : nsISupports
* @return true if the modifier key is active. Otherwise,
* false.
*/
boolean getModifierState(in DOMString aModifierKey);
boolean getModifierState(in AString aModifierKey);
/**
* shareModifierStateOf() makes the instance shares modifier state of

Просмотреть файл

@ -19,16 +19,16 @@ interface nsINotificationStorageCallback : nsISupports
* @param body: the notification body
* @param tag: the notification tag
*/
void handle(in DOMString id,
in DOMString title,
in DOMString dir,
in DOMString lang,
in DOMString body,
in DOMString tag,
in DOMString icon,
in DOMString data,
in DOMString behavior,
in DOMString serviceWorkerRegistrationScope);
void handle(in AString id,
in AString title,
in AString dir,
in AString lang,
in AString body,
in AString tag,
in AString icon,
in AString data,
in AString behavior,
in AString serviceWorkerRegistrationScope);
/**
* Callback function used to notify C++ the we have returned
@ -65,18 +65,18 @@ interface nsINotificationStorage : nsISupports
* May be empty. Only set for Notifications created by
* showNotification().
*/
void put(in DOMString origin,
in DOMString id,
in DOMString title,
in DOMString dir,
in DOMString lang,
in DOMString body,
in DOMString tag,
in DOMString icon,
in DOMString alertName,
in DOMString data,
in DOMString behavior,
in DOMString serviceWorkerRegistrationScope);
void put(in AString origin,
in AString id,
in AString title,
in AString dir,
in AString lang,
in AString body,
in AString tag,
in AString icon,
in AString alertName,
in AString data,
in AString behavior,
in AString serviceWorkerRegistrationScope);
/**
* Retrieve a list of notifications.
@ -86,8 +86,8 @@ interface nsINotificationStorage : nsISupports
* @param callback: nsINotificationStorageCallback, used for
* returning notifications objects
*/
void get(in DOMString origin,
in DOMString tag,
void get(in AString origin,
in AString tag,
in nsINotificationStorageCallback aCallback);
/**
@ -100,8 +100,8 @@ interface nsINotificationStorage : nsISupports
* called if that ID is not found. Done() will be called right after
* Handle().
*/
void getByID(in DOMString origin,
in DOMString id,
void getByID(in AString origin,
in AString id,
in nsINotificationStorageCallback aCallback);
/**
@ -110,8 +110,8 @@ interface nsINotificationStorage : nsISupports
* @param origin: the origin/app to delete the notification from
* @param id: the uuid for the notification to delete
*/
void delete(in DOMString origin,
in DOMString id);
void delete(in AString origin,
in AString id);
/**
* Notifications are not supposed to be persistent, according to spec, at
@ -125,7 +125,7 @@ interface nsINotificationStorage : nsISupports
*
* @return boolean
*/
boolean canPut(in DOMString origin);
boolean canPut(in AString origin);
};
%{C++

Просмотреть файл

@ -40,6 +40,6 @@ interface nsIPushErrorReporter : nsISupports
* an opaque string passed to `nsIPushNotifier.notifyPush{WithData}`.
* |reason| is a delivery error reason.
*/
void reportDeliveryError(in DOMString messageId,
void reportDeliveryError(in AString messageId,
[optional] in uint16_t reason);
};

Просмотреть файл

@ -30,7 +30,7 @@ interface nsIPushNotifier : nsISupports
* used to report errors if the worker fails to handle the message.
*/
void notifyPush(in ACString scope, in nsIPrincipal principal,
in DOMString messageId);
in AString messageId);
/**
* Same as `notifyPush`, except the subject of the observer notification
@ -38,7 +38,7 @@ interface nsIPushNotifier : nsISupports
* workers can access the |data| via the `PushMessageData` WebIDL interface.
*/
void notifyPushWithData(in ACString scope, in nsIPrincipal principal,
in DOMString messageId,
in AString messageId,
[optional] in uint32_t dataLen,
[array, size_is(dataLen)] in uint8_t data);
@ -61,7 +61,7 @@ interface nsIPushNotifier : nsISupports
void notifySubscriptionModified(in ACString scope, in nsIPrincipal principal);
void notifyError(in ACString scope, in nsIPrincipal principal,
in DOMString message, in uint32_t flags);
in AString message, in uint32_t flags);
};
/**
@ -72,7 +72,7 @@ interface nsIPushNotifier : nsISupports
interface nsIPushData : nsISupports
{
/** Extracts the data as a UTF-8 text string. */
DOMString text();
AString text();
/** Extracts the data as a JSON value. */
[implicit_jscontext] jsval json();

Просмотреть файл

@ -14,7 +14,7 @@ interface nsIPrincipal;
[scriptable, uuid(1de32d5c-ea88-4c9e-9626-b032bd87f415)]
interface nsIPushSubscription : nsISupports
{
readonly attribute DOMString endpoint;
readonly attribute AString endpoint;
readonly attribute long long pushCount;
readonly attribute long long lastPush;
readonly attribute long quota;
@ -24,7 +24,7 @@ interface nsIPushSubscription : nsISupports
bool quotaApplies();
bool isExpired();
void getKey(in DOMString name,
void getKey(in AString name,
[optional] out uint32_t keyLen,
[array, size_is(keyLen), retval] out uint8_t key);
};
@ -76,9 +76,9 @@ interface nsIPushClearResultCallback : nsISupports
interface nsIPushService : nsISupports
{
/** Observer topic names, exported for convenience. */
readonly attribute DOMString pushTopic;
readonly attribute DOMString subscriptionChangeTopic;
readonly attribute DOMString subscriptionModifiedTopic;
readonly attribute AString pushTopic;
readonly attribute AString subscriptionChangeTopic;
readonly attribute AString subscriptionModifiedTopic;
/**
* Creates a push subscription for the given |scope| URL and |principal|.
@ -96,7 +96,7 @@ interface nsIPushService : nsISupports
* |scope|. Servers may drop subscriptions at any time, so callers should
* recreate subscriptions if desired.
*/
void subscribe(in DOMString scope, in nsIPrincipal principal,
void subscribe(in AString scope, in nsIPrincipal principal,
in nsIPushSubscriptionCallback callback);
/**
@ -104,7 +104,7 @@ interface nsIPushService : nsISupports
* application server must use the corresponding private key to authenticate
* message delivery requests, as described in draft-thomson-webpush-vapid.
*/
void subscribeWithKey(in DOMString scope, in nsIPrincipal principal,
void subscribeWithKey(in AString scope, in nsIPrincipal principal,
in uint32_t keyLength,
[const, array, size_is(keyLength)] in uint8_t key,
in nsIPushSubscriptionCallback callback);
@ -112,7 +112,7 @@ interface nsIPushService : nsISupports
/**
* Removes a push subscription for the given |scope|.
*/
void unsubscribe(in DOMString scope, in nsIPrincipal principal,
void unsubscribe(in AString scope, in nsIPrincipal principal,
in nsIUnsubscribeResultCallback callback);
/**
@ -120,14 +120,14 @@ interface nsIPushService : nsISupports
* |(scope, principal)| pair. If the subscription does not exist, the
* callback will receive |null| as the second argument.
*/
void getSubscription(in DOMString scope, in nsIPrincipal principal,
void getSubscription(in AString scope, in nsIPrincipal principal,
in nsIPushSubscriptionCallback callback);
/**
* Drops every subscription for the given |domain|, or all domains if
* |domain| is "*".
*/
void clearForDomain(in DOMString domain,
void clearForDomain(in AString domain,
in nsIPushClearResultCallback callback);
};

Просмотреть файл

@ -25,9 +25,9 @@ interface nsIWebContentHandlerRegistrar : nsISupports
* The additional contentWindow param for this method represents the dom
* content window from which the method has been called.
*/
void registerProtocolHandler(in DOMString protocol,
in DOMString uri,
in DOMString title,
void registerProtocolHandler(in AString protocol,
in AString uri,
in AString title,
in nsISupports windowOrBrowser);
/**
* Removes a registered protocol handler

Просмотреть файл

@ -46,7 +46,7 @@ interface nsIDOMStorageManager : nsISupports
*/
Storage createStorage(in mozIDOMWindow aWindow,
in nsIPrincipal aPrincipal,
in DOMString aDocumentURI,
in AString aDocumentURI,
[optional] in bool aPrivate);
/**
* Returns instance of DOM storage object for given principal.

Просмотреть файл

@ -7,8 +7,8 @@
[scriptable, uuid(6ed53cfb-9e59-424c-af8d-e74582381951)]
interface nsIDOMXULButtonElement : nsIDOMXULControlElement {
attribute DOMString type;
attribute DOMString dlgType;
attribute AString type;
attribute AString dlgType;
// For buttons of type="menu" only.
attribute boolean open;
@ -17,5 +17,5 @@ interface nsIDOMXULButtonElement : nsIDOMXULControlElement {
attribute boolean checked;
// For buttons of type="radio" only.
attribute DOMString group;
attribute AString group;
};

Просмотреть файл

@ -18,11 +18,11 @@ interface nsIDOMXULCommandDispatcher : nsISupports
attribute mozIDOMWindowProxy focusedWindow;
void addCommandUpdater(in Element updater,
in DOMString events,
in DOMString targets);
in AString events,
in AString targets);
void removeCommandUpdater(in Element updater);
void updateCommands(in DOMString eventName);
void updateCommands(in AString eventName);
nsIController getControllerForCommand(in string command);
nsIControllers getControllers();

Просмотреть файл

@ -13,10 +13,10 @@ interface nsIDOMXULMenuListElement : nsIDOMXULSelectControlElement {
attribute boolean open;
// label of selected option or value of textfield for editable menu lists
readonly attribute DOMString label;
readonly attribute AString label;
attribute DOMString crop;
attribute DOMString image;
attribute AString crop;
attribute AString image;
// For editable menu lists only.
readonly attribute Element inputField;

Просмотреть файл

@ -10,7 +10,7 @@ webidl NodeList;
[scriptable, uuid(40654a10-8204-4f06-9f21-7baa31c7b1dd)]
interface nsIDOMXULMultiSelectControlElement : nsIDOMXULSelectControlElement
{
attribute DOMString selType;
attribute AString selType;
attribute nsIDOMXULSelectControlItemElement currentItem;
attribute long currentIndex;

Просмотреть файл

@ -11,7 +11,7 @@ interface nsIDOMXULSelectControlElement : nsIDOMXULControlElement {
attribute nsIDOMXULSelectControlItemElement selectedItem;
attribute long selectedIndex;
attribute DOMString value;
attribute AString value;
readonly attribute unsigned long itemCount;
long getIndexOfItem(in nsIDOMXULSelectControlItemElement item);

Просмотреть файл

@ -9,13 +9,13 @@ interface nsIDOMXULSelectControlElement;
[scriptable, uuid(5c6be58f-17df-4750-88a5-4a59ac28adc9)]
interface nsIDOMXULSelectControlItemElement : nsISupports {
attribute boolean disabled;
attribute DOMString crop;
attribute DOMString image;
attribute DOMString label;
attribute DOMString accessKey;
attribute DOMString command;
attribute AString crop;
attribute AString image;
attribute AString label;
attribute AString accessKey;
attribute AString command;
attribute DOMString value;
attribute AString value;
readonly attribute boolean selected;

Просмотреть файл

@ -34,7 +34,7 @@ interface mozIGeckoMediaPluginChromeService : nsISupports
* pattern in JSON format.
*/
void forgetThisSite(in AString site,
in DOMString aPattern);
in AString aPattern);
/**
* Returns true if the given node id is allowed to store things

Просмотреть файл

@ -8,11 +8,11 @@
[scriptable, uuid(feb979a8-f8cc-4522-9dff-6c055ca50762)]
interface nsIAudioDeviceInfo : nsISupports
{
readonly attribute DOMString name;
readonly attribute AString name;
readonly attribute DOMString groupId;
readonly attribute AString groupId;
readonly attribute DOMString vendor;
readonly attribute AString vendor;
// type: Unknown/Input/Output
const unsigned short TYPE_UNKNOWN = 0;

Просмотреть файл

@ -8,11 +8,11 @@
[scriptable, builtinclass, uuid(ba3b2e08-1c07-4cd3-8822-f4d7e35ff2ae)]
interface nsIMediaDevice : nsISupports
{
readonly attribute DOMString type;
readonly attribute DOMString name;
readonly attribute DOMString id;
readonly attribute DOMString mediaSource;
readonly attribute DOMString rawId;
readonly attribute AString type;
readonly attribute AString name;
readonly attribute AString id;
readonly attribute AString mediaSource;
readonly attribute AString rawId;
readonly attribute boolean scary;
};

Просмотреть файл

@ -92,7 +92,7 @@ interface nsISpeechTask : nsISupports
* @param aCharIndex offset of spoken characters.
* @param aCharLength length of text in boundary event to be spoken.
*/
[optional_argc] void dispatchBoundary(in DOMString aName, in float aElapsedTime,
[optional_argc] void dispatchBoundary(in AString aName, in float aElapsedTime,
in unsigned long aCharIndex,
[optional] in unsigned long aCharLength);
@ -103,7 +103,7 @@ interface nsISpeechTask : nsISupports
* @param aElapsedTime time in seconds since speech has started.
* @param aCharIndex offset of spoken characters.
*/
void dispatchMark(in DOMString aName, in float aElapsedTime, in unsigned long aCharIndex);
void dispatchMark(in AString aName, in float aElapsedTime, in unsigned long aCharIndex);
};
/**
@ -131,7 +131,7 @@ interface nsISpeechService : nsISupports
* @param aTask task instance for utterance, used for sending events or audio
* data back to browser.
*/
void speak(in DOMString aText, in DOMString aUri,
void speak(in AString aText, in AString aUri,
in float aVolume, in float aRate, in float aPitch,
in nsISpeechTask aTask);
};

Просмотреть файл

@ -20,8 +20,8 @@ interface nsISynthVoiceRegistry : nsISupports
* @param aLocalService true if service does not require network.
* @param aQueuesUtterances true if voice only speaks one utterance at a time
*/
void addVoice(in nsISpeechService aService, in DOMString aUri,
in DOMString aName, in DOMString aLang,
void addVoice(in nsISpeechService aService, in AString aUri,
in AString aName, in AString aLang,
in boolean aLocalService, in boolean aQueuesUtterances);
/**
@ -30,7 +30,7 @@ interface nsISynthVoiceRegistry : nsISupports
* @param aService the service that was used to add the voice.
* @param aUri a unique identifier of an existing voice.
*/
void removeVoice(in nsISpeechService aService, in DOMString aUri);
void removeVoice(in nsISpeechService aService, in AString aUri);
/**
* Notify content of voice availability changes. This allows content
@ -44,19 +44,19 @@ interface nsISynthVoiceRegistry : nsISupports
* @param aUri a unique identifier of an existing voice.
* @param aIsDefault true if this voice should be toggled as default.
*/
void setDefaultVoice(in DOMString aUri, in boolean aIsDefault);
void setDefaultVoice(in AString aUri, in boolean aIsDefault);
readonly attribute uint32_t voiceCount;
AString getVoice(in uint32_t aIndex);
bool isDefaultVoice(in DOMString aUri);
bool isDefaultVoice(in AString aUri);
bool isLocalVoice(in DOMString aUri);
bool isLocalVoice(in AString aUri);
AString getVoiceLang(in DOMString aUri);
AString getVoiceLang(in AString aUri);
AString getVoiceName(in DOMString aUri);
AString getVoiceName(in AString aUri);
};
%{C++

Просмотреть файл

@ -33,13 +33,13 @@ interface nsITCPSocketCallback : nsISupports {
void fireErrorEvent(in AString name, in AString type);
// Dispatch a "data" event at this object with a string
void fireDataStringEvent(in DOMString type, in ACString data);
void fireDataStringEvent(in AString type, in ACString data);
// Dispatch a "data" event at this object with an Array
void fireDataArrayEvent(in DOMString type, [const] in nsUint8TArrayRef data);
void fireDataArrayEvent(in AString type, [const] in nsUint8TArrayRef data);
// Dispatch an event of the given type at this object.
void fireEvent(in DOMString type);
void fireEvent(in AString type);
// Update the DOM object's readyState.
// @param readyState

Просмотреть файл

@ -25,5 +25,5 @@ interface nsIDOMMozWakeLockListener : nsISupports
* @param aTopic The resource name related to the wake lock.
* @param aState The wake lock state
*/
void callback(in DOMString aTopic, in DOMString aState);
void callback(in AString aTopic, in AString aState);
};

Просмотреть файл

@ -21,12 +21,12 @@ interface nsIPowerManagerService : nsISupports
{
void addWakeLockListener(in nsIDOMMozWakeLockListener aListener);
void removeWakeLockListener(in nsIDOMMozWakeLockListener aListener);
DOMString getWakeLockState(in DOMString aTopic);
AString getWakeLockState(in AString aTopic);
/**
* Return a wake lock (MozWakeLock) object of aTopic associated with aWindow.
* A wake lock without associated window, e.g. used in chrome, is
* always considered invisible.
*/
nsISupports newWakeLock(in DOMString aTopic, [optional] in mozIDOMWindow aWindow);
nsISupports newWakeLock(in AString aTopic, [optional] in mozIDOMWindow aWindow);
};

Просмотреть файл

@ -26,7 +26,7 @@ interface nsIPresentationChannelDescription: nsISupports
// SDP for Data Channel.
// Should only be used while type == TYPE_DATACHANNEL.
readonly attribute DOMString dataChannelSDP;
readonly attribute AString dataChannelSDP;
};
/*
@ -51,7 +51,7 @@ interface nsIPresentationControlChannelListener: nsISupports
* Callback for receiving ICE candidate from remote endpoint.
* @param answer The received answer.
*/
void onIceCandidate(in DOMString candidate);
void onIceCandidate(in AString candidate);
/*
* The callback for notifying channel connected. This should be async called
@ -105,7 +105,7 @@ interface nsIPresentationControlChannel: nsISupports
* @param candidate The candidate to send
* @throws NS_ERROR_FAILURE on failure
*/
void sendIceCandidate(in DOMString candidate);
void sendIceCandidate(in AString candidate);
/*
* Launch a presentation on remote endpoint.
@ -113,14 +113,14 @@ interface nsIPresentationControlChannel: nsISupports
* @param url The URL requested to open by remote device.
* @throws NS_ERROR_FAILURE on failure
*/
void launch(in DOMString presentationId, in DOMString url);
void launch(in AString presentationId, in AString url);
/*
* Terminate a presentation on remote endpoint.
* @param presentationId The Id for representing this session.
* @throws NS_ERROR_FAILURE on failure
*/
void terminate(in DOMString presentationId);
void terminate(in AString presentationId);
/*
* Disconnect the control channel.
@ -135,5 +135,5 @@ interface nsIPresentationControlChannel: nsISupports
* @param url The URL requested to open by remote device.
* @throws NS_ERROR_FAILURE on failure
*/
void reconnect(in DOMString presentationId, in DOMString url);
void reconnect(in AString presentationId, in AString url);
};

Просмотреть файл

@ -55,8 +55,8 @@ interface nsIPresentationControlServerListener: nsISupports
* @param aControlChannel The control channel for this session.
*/
void onSessionRequest(in nsITCPDeviceInfo aDeviceInfo,
in DOMString aUrl,
in DOMString aPresentationId,
in AString aUrl,
in AString aPresentationId,
in nsIPresentationControlChannel aControlChannel);
/**
@ -67,7 +67,7 @@ interface nsIPresentationControlServerListener: nsISupports
* @param aIsFromReceiver true if termination is initiated by receiver.
*/
void onTerminateRequest(in nsITCPDeviceInfo aDeviceInfo,
in DOMString aPresentationId,
in AString aPresentationId,
in nsIPresentationControlChannel aControlChannel,
in boolean aIsFromReceiver);
@ -79,8 +79,8 @@ interface nsIPresentationControlServerListener: nsISupports
* @param aControlChannel The control channel for this session.
*/
void onReconnectRequest(in nsITCPDeviceInfo aDeviceInfo,
in DOMString url,
in DOMString aPresentationId,
in AString url,
in AString aPresentationId,
in nsIPresentationControlChannel aControlChannel);
};

Просмотреть файл

@ -37,7 +37,7 @@ interface nsIPresentationDevice : nsISupports
* @params requestedUrl the designated URL for a presentation request.
* @returns true if designated URL is supported.
*/
boolean isRequestedUrlSupported(in DOMString requestedUrl);
boolean isRequestedUrlSupported(in AString requestedUrl);
};

Просмотреть файл

@ -21,7 +21,7 @@ webidl EventTarget;
interface nsIPresentationDeviceRequest : nsISupports
{
// The origin which initiate the request.
readonly attribute DOMString origin;
readonly attribute AString origin;
// The array of candidate URLs.
readonly attribute nsIArray requestURLs;

Просмотреть файл

@ -29,8 +29,8 @@ interface nsIPresentationDeviceListener: nsISupports
* @param controlChannel The control channel for this session.
*/
void onSessionRequest(in nsIPresentationDevice device,
in DOMString url,
in DOMString presentationId,
in AString url,
in AString presentationId,
in nsIPresentationControlChannel controlChannel);
/*
@ -41,7 +41,7 @@ interface nsIPresentationDeviceListener: nsISupports
* @param aIsFromReceiver true if termination is initiated by receiver.
*/
void onTerminateRequest(in nsIPresentationDevice device,
in DOMString presentationId,
in AString presentationId,
in nsIPresentationControlChannel controlChannel,
in boolean aIsFromReceiver);
@ -53,8 +53,8 @@ interface nsIPresentationDeviceListener: nsISupports
* @param controlChannel The control channel for this session.
*/
void onReconnectRequest(in nsIPresentationDevice device,
in DOMString url,
in DOMString presentationId,
in AString url,
in AString presentationId,
in nsIPresentationControlChannel controlChannel);
};

Просмотреть файл

@ -27,14 +27,14 @@ interface nsIPresentationSessionListener : nsISupports
/*
* Called when session state changes.
*/
void notifyStateChange(in DOMString sessionId,
void notifyStateChange(in AString sessionId,
in unsigned short state,
in nsresult reason);
/*
* Called when receive messages.
*/
void notifyMessage(in DOMString sessionId,
void notifyMessage(in AString sessionId,
in ACString data,
in boolean isBinary);
};
@ -46,5 +46,5 @@ interface nsIPresentationRespondingListener : nsISupports
* Called when an incoming session connects.
*/
void notifySessionConnect(in unsigned long long windowId,
in DOMString sessionId);
in AString sessionId);
};

Просмотреть файл

@ -23,7 +23,7 @@ interface nsIPresentationRequestUIGlue : nsISupports
*
* @return A promise that resolves to the opening frame.
*/
Promise sendRequest(in DOMString url,
in DOMString sessionId,
Promise sendRequest(in AString url,
in AString sessionId,
in nsIPresentationDevice device);
};

Просмотреть файл

@ -36,7 +36,7 @@ interface nsIPresentationServiceCallback : nsISupports
*
* @param url: the selected request url used to start or reconnect a session.
*/
void notifySuccess(in DOMString url);
void notifySuccess(in AString url);
/*
* Called when the operation fails.
@ -80,9 +80,9 @@ interface nsIPresentationService : nsISupports
* @param constructor: The constructor for creating a transport builder.
*/
[noscript] void startSession(in URLArrayRef urls,
in DOMString sessionId,
in DOMString origin,
in DOMString deviceId,
in AString sessionId,
in AString origin,
in AString deviceId,
in unsigned long long windowId,
in EventTarget eventTarget,
in nsIPrincipal principal,
@ -96,9 +96,9 @@ interface nsIPresentationService : nsISupports
* @param role: Identify the function called by controller or receiver.
* @param data: the message being sent out.
*/
void sendSessionMessage(in DOMString sessionId,
in uint8_t role,
in DOMString data);
void sendSessionMessage(in AString sessionId,
in uint8_t role,
in AString data);
/*
* Send the binary message to the session.
@ -107,7 +107,7 @@ interface nsIPresentationService : nsISupports
* @param role: Identify the function called by controller or receiver.
* @param data: the message being sent out.
*/
void sendSessionBinaryMsg(in DOMString sessionId,
void sendSessionBinaryMsg(in AString sessionId,
in uint8_t role,
in ACString data);
@ -118,7 +118,7 @@ interface nsIPresentationService : nsISupports
* @param role: Identify the function called by controller or receiver.
* @param blob: The input blob to be sent.
*/
void sendSessionBlob(in DOMString sessionId,
void sendSessionBlob(in AString sessionId,
in uint8_t role,
in Blob blob);
@ -128,7 +128,7 @@ interface nsIPresentationService : nsISupports
* @param sessionId: An ID to identify presentation session.
* @param role: Identify the function called by controller or receiver.
*/
void closeSession(in DOMString sessionId,
void closeSession(in AString sessionId,
in uint8_t role,
in uint8_t closedReason);
@ -138,7 +138,7 @@ interface nsIPresentationService : nsISupports
* @param sessionId: An ID to identify presentation session.
* @param role: Identify the function called by controller or receiver.
*/
void terminateSession(in DOMString sessionId,
void terminateSession(in AString sessionId,
in uint8_t role);
/*
@ -152,7 +152,7 @@ interface nsIPresentationService : nsISupports
* Otherwise, NotifyError() is called with a error message.
*/
[noscript] void reconnectSession(in URLArrayRef urls,
in DOMString sessionId,
in AString sessionId,
in uint8_t role,
in nsIPresentationServiceCallback callback);
@ -183,7 +183,7 @@ interface nsIPresentationService : nsISupports
* @param role: Identify the function called by controller or receiver.
* @param listener: The listener to register.
*/
void registerSessionListener(in DOMString sessionId,
void registerSessionListener(in AString sessionId,
in uint8_t role,
in nsIPresentationSessionListener listener);
@ -193,7 +193,7 @@ interface nsIPresentationService : nsISupports
* @param sessionId: An ID to identify presentation session.
* @param role: Identify the function called by controller or receiver.
*/
void unregisterSessionListener(in DOMString sessionId,
void unregisterSessionListener(in AString sessionId,
in uint8_t role);
/*
@ -220,7 +220,7 @@ interface nsIPresentationService : nsISupports
* @param isLoading true if receiver page is loading successfully.
* @param constructor: The constructor for creating a transport builder.
*/
void notifyReceiverReady(in DOMString sessionId,
void notifyReceiverReady(in AString sessionId,
in unsigned long long windowId,
in boolean isLoading,
in nsIPresentationTransportBuilderConstructor constructor);
@ -232,7 +232,7 @@ interface nsIPresentationService : nsISupports
* @param role: Identify the function called by controller or receiver.
* @param reason: the error message. NS_OK indicates it is closed normally.
*/
void NotifyTransportClosed(in DOMString sessionId,
void NotifyTransportClosed(in AString sessionId,
in uint8_t role,
in nsresult reason);
@ -242,7 +242,7 @@ interface nsIPresentationService : nsISupports
* @param sessionId: An ID to identify presentation session.
* @param role: Identify the function called by controller or receiver.
*/
void untrackSessionInfo(in DOMString sessionId, in uint8_t role);
void untrackSessionInfo(in AString sessionId, in uint8_t role);
/*
* The windowId for building RTCDataChannel session transport
@ -250,7 +250,7 @@ interface nsIPresentationService : nsISupports
* @param sessionId: An ID to identify presentation session.
* @param role: Identify the function called by controller or receiver.
*/
unsigned long long getWindowIdBySessionId(in DOMString sessionId,
unsigned long long getWindowIdBySessionId(in AString sessionId,
in uint8_t role);
/*
@ -261,7 +261,7 @@ interface nsIPresentationService : nsISupports
* @param windowId: The inner window ID associated with the presentation
* session.
*/
void updateWindowIdBySessionId(in DOMString sessionId,
void updateWindowIdBySessionId(in AString sessionId,
in uint8_t role,
in unsigned long long windowId);
@ -272,5 +272,5 @@ interface nsIPresentationService : nsISupports
* @param sessionId: An ID to identify presentation session.
* @param role: Identify the function called by controller or receiver.
*/
void buildTransport(in DOMString sessionId, in uint8_t role);
void buildTransport(in AString sessionId, in uint8_t role);
};

Просмотреть файл

@ -25,10 +25,10 @@ interface nsIPresentationSessionRequest: nsISupports
readonly attribute nsIPresentationDevice device;
// The URL requested to open by remote device.
readonly attribute DOMString url;
readonly attribute AString url;
// The Id for representing this session.
readonly attribute DOMString presentationId;
readonly attribute AString presentationId;
// The control channel for this session.
readonly attribute nsIPresentationControlChannel controlChannel;

Просмотреть файл

@ -48,7 +48,7 @@ interface nsIPresentationSessionTransport : nsISupports
* Send message to the remote endpoint.
* @param data The message to send.
*/
void send(in DOMString data);
void send(in AString data);
/*
* Send the binary message to the remote endpoint.

Просмотреть файл

@ -19,7 +19,7 @@ interface nsIPresentationSessionTransportBuilderListener : nsISupports
void sendOffer(in nsIPresentationChannelDescription offer);
void sendAnswer(in nsIPresentationChannelDescription answer);
void sendIceCandidate(in DOMString candidate);
void sendIceCandidate(in AString candidate);
void close(in nsresult reason);
};
@ -75,6 +75,6 @@ interface nsIPresentationDataChannelSessionTransportBuilder : nsIPresentationSes
// Bug 1275150 - Merge TCP builder with the following APIs
void onOffer(in nsIPresentationChannelDescription offer);
void onAnswer(in nsIPresentationChannelDescription answer);
void onIceCandidate(in DOMString candidate);
void onIceCandidate(in AString candidate);
void notifyDisconnected(in nsresult reason);
};

Просмотреть файл

@ -22,7 +22,7 @@ interface nsIPresentationTerminateRequest: nsISupports
readonly attribute nsIPresentationDevice device;
// The Id for representing this session.
readonly attribute DOMString presentationId;
readonly attribute AString presentationId;
// The control channel for this session.
// Should only use this channel to complete session termination.

Просмотреть файл

@ -8,10 +8,10 @@ interface nsIWorkerDebuggerListener : nsISupports
{
void onClose();
void onError(in DOMString filename, in unsigned long lineno,
in DOMString message);
void onError(in AString filename, in unsigned long lineno,
in AString message);
void onMessage(in DOMString message);
void onMessage(in AString message);
};
[scriptable, builtinclass, uuid(22f93aa3-8a05-46be-87e0-fa93bf8a8eff)]
@ -31,7 +31,7 @@ interface nsIWorkerDebugger : nsISupports
readonly attribute unsigned long type;
readonly attribute DOMString url;
readonly attribute AString url;
readonly attribute mozIDOMWindow window;
@ -39,10 +39,10 @@ interface nsIWorkerDebugger : nsISupports
readonly attribute unsigned long serviceWorkerID;
void initialize(in DOMString url);
void initialize(in AString url);
[binaryname(PostMessageMoz)]
void postMessage(in DOMString message);
void postMessage(in AString message);
void addListener(in nsIWorkerDebuggerListener listener);

Просмотреть файл

@ -11,11 +11,11 @@ webidl DocumentFragment;
[scriptable, uuid(c180e993-aced-4839-95a0-ecd5ff138be9)]
interface txIEXSLTRegExFunctions : nsISupports
{
DocumentFragment match(in DOMString aString, in DOMString aRegEx,
in DOMString aFlags,
DocumentFragment match(in AString aString, in AString aRegEx,
in AString aFlags,
in Document aResultDocument);
DOMString replace(in DOMString aString, in DOMString aRegEx,
in DOMString aFlags, in DOMString aReplace);
boolean test(in DOMString aString, in DOMString aRegEx,
in DOMString aFlags);
AString replace(in AString aString, in AString aRegEx,
in AString aFlags, in AString aReplace);
boolean test(in AString aString, in AString aRegEx,
in AString aFlags);
};

Просмотреть файл

@ -35,7 +35,7 @@ interface nsIEditActionListener : nsISupports
* @param aNewNode The DOM Node that was created.
* @param aResult The result of the create node operation.
*/
void DidCreateNode(in DOMString aTag,
void DidCreateNode(in AString aTag,
in Node aNewNode,
in nsresult aResult);
@ -87,7 +87,7 @@ interface nsIEditActionListener : nsISupports
*/
void DidInsertText(in CharacterData aTextNode,
in long aOffset,
in DOMString aString,
in AString aString,
in nsresult aResult);
/**

Просмотреть файл

@ -57,7 +57,7 @@ interface nsIEditor : nsISupports
in AString sourceAttrValue,
in boolean aSuppressTransaction);
void removeAttributeOrEquivalent(in Element element,
in DOMString sourceAttrName,
in AString sourceAttrName,
in boolean aSuppressTransaction);
/** edit flags for this editor. May be set at any time. */

Просмотреть файл

@ -94,7 +94,7 @@ interface nsIPlaintextEditor : nsISupports
*
* @param aString the string to be inserted
*/
void insertText(in DOMString aStringToInsert);
void insertText(in AString aStringToInsert);
/**
* Insert a line break into the content model.

Просмотреть файл

@ -29,7 +29,7 @@ interface nsIURIRefObject : nsISupports
/**
* Return the next rewritable URI.
*/
DOMString GetNextURI();
AString GetNextURI();
/**
* Go back to the beginning of the attribute list
@ -38,6 +38,6 @@ interface nsIURIRefObject : nsISupports
* @param aNewPat New pattern to be replaced, e.g. http://mypage.aol.com/
* @param aMakeRel Rewrite links as relative vs. absolute
*/
void RewriteAllURIs(in DOMString aOldPat, in DOMString aNewPat,
void RewriteAllURIs(in AString aOldPat, in AString aNewPat,
in boolean aMakeRel);
};

Просмотреть файл

@ -18,7 +18,7 @@ interface mozIDOMLocalization : nsISupports
Promise formatMessages(in Array<jsval> aKeys);
Promise formatValues(in Array<jsval> aKeys);
Promise formatValue(in DOMString aId, [optional] in jsval aArgs);
Promise formatValue(in AString aId, [optional] in jsval aArgs);
Promise translateFragment(in Node aNode);
Promise translateElements(in Array<Element> aElements);

Просмотреть файл

@ -292,7 +292,7 @@ interface nsIPermissionManager : nsISupports
/**
* Remove all permissions that will match the origin pattern.
*/
void removePermissionsWithAttributes(in DOMString patternAsJSON);
void removePermissionsWithAttributes(in AString patternAsJSON);
/**
* If the current permission is set to expire, reset the expiration time. If

Просмотреть файл

@ -228,7 +228,7 @@ interface nsICookieManager : nsISupports
* acceptable host strings. This attribute is optional. It will search
* all hosts if this attribute is not given.
*/
nsISimpleEnumerator getCookiesWithOriginAttributes(in DOMString aPattern,
nsISimpleEnumerator getCookiesWithOriginAttributes(in AString aPattern,
[optional] in AUTF8String aHost);
/**
@ -236,6 +236,6 @@ interface nsICookieManager : nsISupports
*
* @param aPattern origin attribute pattern in JSON format
*/
void removeCookiesWithOriginAttributes(in DOMString aPattern,
void removeCookiesWithOriginAttributes(in AString aPattern,
[optional] in AUTF8String aHost);
};

Просмотреть файл

@ -11,5 +11,5 @@ interface nsIFxAccountsUIGlue : nsISupports
jsval signInFlow();
// Returns a Promise.
jsval refreshAuthentication(in DOMString email);
jsval refreshAuthentication(in AString email);
};

Просмотреть файл

@ -166,14 +166,14 @@ interface nsIBaseWindow : nsISupports
/*
This is the handle (HWND, GdkWindow*, ...) to the native window of the
control, exposed as a DOMString.
control, exposed as an AString.
@return DOMString in hex format with "0x" prepended, or empty string if
@return AString in hex format with "0x" prepended, or empty string if
mainWidget undefined
@throws NS_ERROR_NOT_IMPLEMENTED for non-XULWindows
*/
readonly attribute DOMString nativeHandle;
readonly attribute AString nativeHandle;
/*
Attribute controls the visibility of the object behind this interface.

Просмотреть файл

@ -16,13 +16,13 @@ interface nsIGfxInfo : nsISupports
readonly attribute boolean D2DEnabled;
readonly attribute boolean DWriteEnabled;
readonly attribute boolean usingGPUProcess;
readonly attribute DOMString DWriteVersion;
readonly attribute DOMString cleartypeParameters;
readonly attribute AString DWriteVersion;
readonly attribute AString cleartypeParameters;
/*
* These are valid across all platforms.
*/
readonly attribute DOMString ContentBackend;
readonly attribute AString ContentBackend;
readonly attribute boolean WebRenderEnabled;
readonly attribute boolean isHeadless;
readonly attribute boolean UsesTiling;
@ -35,33 +35,33 @@ interface nsIGfxInfo : nsISupports
/**
* The name of the display adapter.
*/
readonly attribute DOMString adapterDescription;
readonly attribute DOMString adapterDescription2;
readonly attribute AString adapterDescription;
readonly attribute AString adapterDescription2;
readonly attribute DOMString adapterDriver;
readonly attribute DOMString adapterDriver2;
readonly attribute AString adapterDriver;
readonly attribute AString adapterDriver2;
/* These types are inspired by DXGI_ADAPTER_DESC */
readonly attribute DOMString adapterVendorID;
readonly attribute DOMString adapterVendorID2;
readonly attribute AString adapterVendorID;
readonly attribute AString adapterVendorID2;
readonly attribute DOMString adapterDeviceID;
readonly attribute DOMString adapterDeviceID2;
readonly attribute AString adapterDeviceID;
readonly attribute AString adapterDeviceID2;
readonly attribute DOMString adapterSubsysID;
readonly attribute DOMString adapterSubsysID2;
readonly attribute AString adapterSubsysID;
readonly attribute AString adapterSubsysID2;
/**
* The amount of RAM in MB in the display adapter.
*/
readonly attribute DOMString adapterRAM;
readonly attribute DOMString adapterRAM2;
readonly attribute AString adapterRAM;
readonly attribute AString adapterRAM2;
readonly attribute DOMString adapterDriverVersion;
readonly attribute DOMString adapterDriverVersion2;
readonly attribute AString adapterDriverVersion;
readonly attribute AString adapterDriverVersion2;
readonly attribute DOMString adapterDriverDate;
readonly attribute DOMString adapterDriverDate2;
readonly attribute AString adapterDriverDate;
readonly attribute AString adapterDriverDate2;
readonly attribute boolean isGPU2Active;
@ -172,7 +172,7 @@ interface nsIGfxInfo : nsISupports
* Ask about a feature, return the minimum driver version required for it if its status is
* FEATURE_BLOCKED_DRIVER_VERSION, otherwise return an empty string.
*/
DOMString getFeatureSuggestedDriverVersion(in long aFeature);
AString getFeatureSuggestedDriverVersion(in long aFeature);
// only useful on X11
[noscript, notxpcom] void GetData();

Просмотреть файл

@ -10,10 +10,10 @@
[scriptable, uuid(ca7b0bc7-c67c-4b79-8270-ed7ba002af08)]
interface nsIGfxInfoDebug : nsISupports
{
void spoofVendorID(in DOMString aVendorID);
void spoofDeviceID(in DOMString aDeviceID);
void spoofVendorID(in AString aVendorID);
void spoofDeviceID(in AString aDeviceID);
void spoofDriverVersion(in DOMString aDriverVersion);
void spoofDriverVersion(in AString aDriverVersion);
void spoofOSVersion(in unsigned long aVersion);
};

Просмотреть файл

@ -41,7 +41,7 @@ interface nsITaskbarPreview : nsISupports
*
* Default: an empty string
*/
attribute DOMString tooltip;
attribute AString tooltip;
/**
* Whether or not the preview is visible.

Просмотреть файл

@ -22,7 +22,7 @@ interface nsITaskbarPreviewButton : nsISupports
*
* Default: an empty string
*/
attribute DOMString tooltip;
attribute AString tooltip;
/**
* True if the array of previews should be dismissed when this button is clicked.

Просмотреть файл

@ -28,7 +28,7 @@ interface nsITaskbarTabPreview : nsITaskbarPreview
*
* Default: an empty string
*/
attribute DOMString title;
attribute AString title;
/**
* The icon displayed next to the title in the preview

Просмотреть файл

@ -98,7 +98,7 @@ interface nsIXULRuntime : nsISupports
* The type of remote content process we're running in.
* null if we're in the parent/chrome process.
*/
readonly attribute DOMString remoteType;
readonly attribute AString remoteType;
/**
* If true, browser tabs may be opened by default in a different process
@ -134,7 +134,7 @@ interface nsIXULRuntime : nsISupports
/**
* Executable of Windows service that activated accessibility.
*/
readonly attribute DOMString accessibilityInstantiator;
readonly attribute AString accessibilityInstantiator;
/**
* Temporary, do not use. Indicates if an incompat version of JAWS