--- a/content/base/public/nsIDroppedLinkHandler.idl
+++ b/content/base/public/nsIDroppedLinkHandler.idl
@@ -46,17 +46,17 @@ interface nsIDroppedLinkHandler : nsISup
* Determines if a link being dragged can be dropped and returns true if so.
* aEvent should be a dragenter or dragover event.
*
* If aAllowSameDocument is false, drops are only allowed if the document
* of the source of the drag is different from the destination. This check
* includes any parent, sibling and child frames in the same content tree.
* If true, the source is not checked.
*/
- boolean canDropLink(in nsIDOMDragEvent aEvent, in PRBool aAllowSameDocument);
+ boolean canDropLink(in nsIDOMDragEvent aEvent, in boolean aAllowSameDocument);
/**
* Given a drop event aEvent, determines the link being dragged and returns
* it. If a uri is returned the caller can, for instance, load it. If null
* is returned, there is no valid link to be dropped. A
* NS_ERROR_DOM_SECURITY_ERR error will be thrown and the event cancelled if
* the receiving target should not load the uri for security reasons. This
* will occur if the source of the drag initiated a link for dragging that
--- a/content/base/public/nsISelection2.idl
+++ b/content/base/public/nsISelection2.idl
@@ -58,24 +58,24 @@ interface nsISelection2 : nsISelection
readonly attribute short type;
/**
* Return array of ranges intersecting with the given DOM interval.
*/
void GetRangesForInterval(
in nsIDOMNode beginNode, in PRInt32 beginOffset,
in nsIDOMNode endNode, in PRInt32 endOffset,
- in PRBool allowAdjacent,
+ in boolean allowAdjacent,
out PRUint32 resultCount,
[retval, array, size_is(resultCount)] out nsIDOMRange results);
[noscript] void GetRangesForIntervalCOMArray(
in nsIDOMNode beginNode, in PRInt32 beginOffset,
in nsIDOMNode endNode, in PRInt32 endOffset,
- in PRBool allowAdjacent,
+ in boolean allowAdjacent,
in RangeArray results);
/**
* Scrolls a region of the selection, so that it is visible in
* the scrolled view.
*
* @param aRegion - the region inside the selection to scroll into view
* (see selection region constants defined in
--- a/docshell/base/nsIContentViewer.idl
+++ b/docshell/base/nsIContentViewer.idl
@@ -121,17 +121,17 @@ interface nsIContentViewer : nsISupports
* the saved presentation state.
*/
void clearHistoryEntry();
/*
* Change the layout to view the document with page layout (like print preview), but
* dynamic and editable (like Galley layout).
*/
- void setPageMode(in PRBool aPageMode, in nsIPrintSettings aPrintSettings);
+ void setPageMode(in boolean aPageMode, in nsIPrintSettings aPrintSettings);
/**
* Get the history entry that this viewer will save itself into when
* destroyed. Can return null
*/
readonly attribute nsISHEntry historyEntry;
/*
--- a/dom/interfaces/base/nsIFocusManager.idl
+++ b/dom/interfaces/base/nsIFocusManager.idl
@@ -153,17 +153,17 @@ interface nsIFocusManager : nsISupports
* focus is in a child frame.
*
* aFocusedWindow will be set to the currently focused descendant window of
* aWindow, or to aWindow if aDeep is false. This will be set even if no
* element is focused.
*
* @throws NS_ERROR_INVALID_ARG if aWindow is null
*/
- nsIDOMElement getFocusedElementForWindow(in nsIDOMWindow aWindow, in PRBool aDeep,
+ nsIDOMElement getFocusedElementForWindow(in nsIDOMWindow aWindow, in boolean aDeep,
out nsIDOMWindow aFocusedWindow);
/**
* Moves the selection caret within aWindow to the current focus.
*/
void moveCaretToFocus(in nsIDOMWindow aWindow);
/*
@@ -244,17 +244,17 @@ interface nsIFocusManager : nsISupports
[noscript] void windowLowered(in nsIDOMWindow aWindow);
/**
* Called when a new document in a window is shown.
*
* If aNeedsFocus is true, then focus events are expected to be fired on the
* window if this window is in the focused window chain.
*/
- [noscript] void windowShown(in nsIDOMWindow aWindow, in PRBool aNeedsFocus);
+ [noscript] void windowShown(in nsIDOMWindow aWindow, in boolean aNeedsFocus);
/**
* Called when a document in a window has been hidden or otherwise can no
* longer accept focus.
*/
[noscript] void windowHidden(in nsIDOMWindow aWindow);
/**
--- a/dom/interfaces/events/nsIDOMDataTransfer.idl
+++ b/dom/interfaces/events/nsIDOMDataTransfer.idl
@@ -176,17 +176,17 @@ interface nsIDOMNSDataTransfer : nsISupp
*/
[noscript] attribute unsigned long effectAllowedInt;
/**
* Creates a copy of the data transfer object, for the given event type and
* user cancelled flag.
*/
[noscript] nsIDOMDataTransfer clone(in PRUint32 aEventType,
- in PRBool aUserCancelled);
+ in boolean aUserCancelled);
/**
* The number of items being dragged.
*/
readonly attribute unsigned long mozItemCount;
/**
* Sets the drag cursor state. Primarily used to control the cursor during
--- a/editor/idl/nsIContentFilter.idl
+++ b/editor/idl/nsIContentFilter.idl
@@ -100,17 +100,17 @@ interface nsIContentFilter : nsISupports
* @param insertionPointNode location where insertion will occur
* @param insertionPointOffset offset within node where insertion occurs
* @param continueWithInsertion flag to cancel insertion (if desired)
*/
void notifyOfInsertion(in AString mimeType,
in nsIURL contentSourceURL,
in nsIDOMDocument sourceDocument,
- in PRBool willDeleteSelection,
+ in boolean willDeleteSelection,
inout nsIDOMNode docFragment,
inout nsIDOMNode contentStartNode,
inout long contentStartOffset,
inout nsIDOMNode contentEndNode,
inout long contentEndOffset,
inout nsIDOMNode insertionPointNode,
inout long insertionPointOffset,
out boolean continueWithInsertion);
--- a/editor/idl/nsIEditorStyleSheets.idl
+++ b/editor/idl/nsIEditorStyleSheets.idl
@@ -101,17 +101,17 @@ interface nsIEditorStyleSheets : nsISupp
void removeOverrideStyleSheet(in AString aURL);
/** Enable or disable the given style sheet from the editor's document
* This is always synchronous
*
* @param aURL The style sheet to be enabled or disabled
* @param aEnable true to enable, or false to disable the style sheet
*/
- void enableStyleSheet(in AString aURL, in PRBool aEnable);
+ void enableStyleSheet(in AString aURL, in boolean aEnable);
/** Get the nsCSSStyleSheet associated with the given URL.
*
* @param aURL The style sheet's URL
* @return the style sheet
*/
[noscript] nsCSSStyleSheet getStyleSheetForURL(in AString aURL);
--- a/embedding/browser/webBrowser/nsIWebBrowserChrome3.idl
+++ b/embedding/browser/webBrowser/nsIWebBrowserChrome3.idl
@@ -57,10 +57,10 @@ interface nsIWebBrowserChrome3 : nsIWebB
* @param isAppTab
* Whether or not the link is in an app tab.
* @returns A new link target, if appropriate.
* Otherwise returns originalTarget.
*/
AString onBeforeLinkTraversal(in AString originalTarget,
in nsIURI linkURI,
in nsIDOMNode linkNode,
- in PRBool isAppTab);
+ in boolean isAppTab);
};
--- a/js/jsd/idl/jsdIDebuggerService.idl
+++ b/js/jsd/idl/jsdIDebuggerService.idl
@@ -244,17 +244,17 @@ interface jsdIDebuggerService : nsISuppo
/**
* Called by nsIXPConnect to deactivate debugger on setup failure.
*/
[noscript] void deactivateDebugger();
/**
* Recompile all active scripts in the runtime for debugMode.
*/
- [noscript] void recompileForDebugMode(in JSContext cx, in JSCompartment comp, in PRBool mode);
+ [noscript] void recompileForDebugMode(in JSContext cx, in JSCompartment comp, in boolean mode);
/**
* Turn the debugger off. This will invalidate all of your jsdIEphemeral
* derived objects, and clear all of your breakpoints.
*/
void off ();
/**
@@ -1051,17 +1051,17 @@ interface jsdIScript : jsdIEphemeral
void clearBreakpoint(in unsigned long pc);
/**
* Clear all breakpoints set in this script.
*/
void clearAllBreakpoints();
/**
* Call interrupt hook at least once per source line
*/
- void enableSingleStepInterrupts(in PRBool mode);
+ void enableSingleStepInterrupts(in boolean mode);
};
/**
* Value objects. Represents typeless JavaScript values (jsval in SpiderMonkey
* terminology.) These are valid until the debugger is turned off. Holding a
* jsdIValue adds a root for the underlying JavaScript value, so don't keep it
* if you don't need to.
*/
--- a/js/src/xpconnect/idl/nsIXPCScriptable.idl
+++ b/js/src/xpconnect/idl/nsIXPCScriptable.idl
@@ -121,74 +121,74 @@ interface nsIXPCScriptable : nsISupports
in JSObjectPtr globalObj, out JSObjectPtr parentObj);
void create(in nsIXPConnectWrappedNative wrapper,
in JSContextPtr cx, in JSObjectPtr obj);
void postCreate(in nsIXPConnectWrappedNative wrapper,
in JSContextPtr cx, in JSObjectPtr obj);
- PRBool addProperty(in nsIXPConnectWrappedNative wrapper,
+ boolean addProperty(in nsIXPConnectWrappedNative wrapper,
in JSContextPtr cx, in JSObjectPtr obj, in jsid id,
in JSValPtr vp);
- PRBool delProperty(in nsIXPConnectWrappedNative wrapper,
+ boolean delProperty(in nsIXPConnectWrappedNative wrapper,
in JSContextPtr cx, in JSObjectPtr obj, in jsid id,
in JSValPtr vp);
// The returnCode should be set to NS_SUCCESS_I_DID_SOMETHING if
// this method does something.
- PRBool getProperty(in nsIXPConnectWrappedNative wrapper,
+ boolean getProperty(in nsIXPConnectWrappedNative wrapper,
in JSContextPtr cx, in JSObjectPtr obj, in jsid id,
in JSValPtr vp);
// The returnCode should be set to NS_SUCCESS_I_DID_SOMETHING if
// this method does something.
- PRBool setProperty(in nsIXPConnectWrappedNative wrapper,
+ boolean setProperty(in nsIXPConnectWrappedNative wrapper,
in JSContextPtr cx, in JSObjectPtr obj, in jsid id,
in JSValPtr vp);
- PRBool enumerate(in nsIXPConnectWrappedNative wrapper,
+ boolean enumerate(in nsIXPConnectWrappedNative wrapper,
in JSContextPtr cx, in JSObjectPtr obj);
- PRBool newEnumerate(in nsIXPConnectWrappedNative wrapper,
+ boolean newEnumerate(in nsIXPConnectWrappedNative wrapper,
in JSContextPtr cx, in JSObjectPtr obj,
in PRUint32 enum_op, in JSValPtr statep, out jsid idp);
- PRBool newResolve(in nsIXPConnectWrappedNative wrapper,
+ boolean newResolve(in nsIXPConnectWrappedNative wrapper,
in JSContextPtr cx, in JSObjectPtr obj, in jsid id,
in PRUint32 flags, out JSObjectPtr objp);
- PRBool convert(in nsIXPConnectWrappedNative wrapper,
+ boolean convert(in nsIXPConnectWrappedNative wrapper,
in JSContextPtr cx, in JSObjectPtr obj,
in PRUint32 type, in JSValPtr vp);
void finalize(in nsIXPConnectWrappedNative wrapper,
in JSContextPtr cx, in JSObjectPtr obj);
- PRBool checkAccess(in nsIXPConnectWrappedNative wrapper,
+ boolean checkAccess(in nsIXPConnectWrappedNative wrapper,
in JSContextPtr cx, in JSObjectPtr obj, in jsid id,
in PRUint32 mode, in JSValPtr vp);
- PRBool call(in nsIXPConnectWrappedNative wrapper,
+ boolean call(in nsIXPConnectWrappedNative wrapper,
in JSContextPtr cx, in JSObjectPtr obj,
in PRUint32 argc, in JSValPtr argv, in JSValPtr vp);
- PRBool construct(in nsIXPConnectWrappedNative wrapper,
+ boolean construct(in nsIXPConnectWrappedNative wrapper,
in JSContextPtr cx, in JSObjectPtr obj,
in PRUint32 argc, in JSValPtr argv, in JSValPtr vp);
- PRBool hasInstance(in nsIXPConnectWrappedNative wrapper,
+ boolean hasInstance(in nsIXPConnectWrappedNative wrapper,
in JSContextPtr cx, in JSObjectPtr obj,
- in jsval val, out PRBool bp);
+ in jsval val, out boolean bp);
void trace(in nsIXPConnectWrappedNative wrapper,
in JSTracerPtr trc, in JSObjectPtr obj);
- PRBool equality(in nsIXPConnectWrappedNative wrapper,
+ boolean equality(in nsIXPConnectWrappedNative wrapper,
in JSContextPtr cx, in JSObjectPtr obj, in jsval val);
JSObjectPtr outerObject(in nsIXPConnectWrappedNative wrapper,
in JSContextPtr cx, in JSObjectPtr obj);
void postCreatePrototype(in JSContextPtr cx, in JSObjectPtr proto);
};
--- a/js/src/xpconnect/idl/nsIXPConnect.idl
+++ b/js/src/xpconnect/idl/nsIXPConnect.idl
@@ -373,17 +373,17 @@ interface nsIXPCWrappedJSObjectGetter :
*/
[uuid(039ef260-2a0d-11d5-90a7-0010a4e73d9a)]
interface nsIXPCFunctionThisTranslator : nsISupports
{
nsISupports TranslateThis(in nsISupports aInitialThis,
in nsIInterfaceInfo aInterfaceInfo,
in PRUint16 aMethodIndex,
- out PRBool aHideFirstParamFromJS,
+ out boolean aHideFirstParamFromJS,
out nsIIDPtr aIIDOfResult);
};
/***************************************************************************/
%{ C++
// For use with the service manager
// {CB6593E0-F9B2-11d2-BDD6-000064657374}
@@ -585,19 +585,19 @@ interface nsIXPConnect : nsISupports
readonly attribute nsIStackFrame CurrentJSStack;
readonly attribute nsAXPCNativeCallContextPtr CurrentNativeCallContext;
/* pass nsnull to clear pending exception */
attribute nsIException PendingException;
void debugDump(in short depth);
void debugDumpObject(in nsISupports aCOMObj, in short depth);
- void debugDumpJSStack(in PRBool showArgs,
- in PRBool showLocals,
- in PRBool showThisProps);
+ void debugDumpJSStack(in boolean showArgs,
+ in boolean showLocals,
+ in boolean showThisProps);
void debugDumpEvalInJSStackFrame(in PRUint32 aFrameNumber,
in string aSourceText);
/**
* wrapJSAggregatedToNative is just like wrapJS except it is used in cases
* where the JSObject is also aggregated to some native xpcom Object.
* At present XBL is the only system that might want to do this.
*
@@ -648,17 +648,17 @@ interface nsIXPConnect : nsISupports
void clearAllWrappedNativeSecurityPolicies();
nsIXPConnectJSObjectHolder
getWrappedNativePrototype(in JSContextPtr aJSContext,
in JSObjectPtr aScope,
in nsIClassInfo aClassInfo);
- void releaseJSContext(in JSContextPtr aJSContext, in PRBool noGC);
+ void releaseJSContext(in JSContextPtr aJSContext, in boolean noGC);
jsval variantToJS(in JSContextPtr ctx, in JSObjectPtr scope, in nsIVariant value);
nsIVariant JSToVariant(in JSContextPtr ctx, in jsval value);
/**
* Restore an old prototype for wrapped natives of type
* aClassInfo. This should be used only when restoring an old
* scope into a state close to where it was prior to
@@ -695,17 +695,17 @@ interface nsIXPConnect : nsISupports
* sandbox.
* @return The result of the evaluation as a jsval. If the caller
* intends to use the return value from this call the caller
* is responsible for rooting the jsval before making a call
* to this method.
*/
[noscript] jsval evalInSandboxObject(in AString source, in JSContextPtr cx,
in nsIXPConnectJSObjectHolder sandbox,
- in PRBool returnStringOnly);
+ in boolean returnStringOnly);
/**
* Root JS objects held by aHolder.
* @param aHolder The object that hold the JS objects that should be rooted.
* @param aTrace The tracer for aHolder.
*/
[noscript] void addJSHolder(in voidPtr aHolder,
in nsScriptObjectTracerPtr aTracer);
@@ -756,17 +756,17 @@ interface nsIXPConnect : nsISupports
* Property flags for the quick stub properties--should be either
* JSPROP_ENUMERATE or 0.
* @param interfaceCount
* The number of interfaces the class implements.
* @param interfaceArray
* The interfaces the class implements; interfaceArray and
* interfaceCount are like what nsIClassInfo.getInterfaces returns.
*/
- [noscript,notxpcom] PRBool defineDOMQuickStubs(
+ [noscript,notxpcom] boolean defineDOMQuickStubs(
in JSContextPtr cx,
in JSObjectPtr proto,
in PRUint32 flags,
in PRUint32 interfaceCount,
[array, size_is(interfaceCount)] in nsIIDPtr interfaceArray);
%{C++
/**
@@ -797,10 +797,10 @@ interface nsIXPConnect : nsISupports
/**
* When we place the browser in JS debug mode, there can't be any
* JS on the stack. This is because we currently activate debugMode
* on all scripts in the JSRuntime when the debugger is activated.
* This method will turn debug mode on or off when the context
* stack reaches zero length.
*/
- [noscript] void setDebugModeWhenPossible(in PRBool mode);
+ [noscript] void setDebugModeWhenPossible(in boolean mode);
};
--- a/netwerk/base/public/nsIApplicationCacheChannel.idl
+++ b/netwerk/base/public/nsIApplicationCacheChannel.idl
@@ -47,17 +47,17 @@
interface nsIApplicationCacheChannel : nsIApplicationCacheContainer
{
/**
* TRUE when the resource came from the application cache. This
* might be false even there is assigned an application cache
* e.g. in case of fallback of load of an entry matching bypass
* namespace.
*/
- readonly attribute PRBool loadedFromApplicationCache;
+ readonly attribute boolean loadedFromApplicationCache;
/**
* When true, the channel will ask its notification callbacks for
* an application cache if one is not explicitly provided. Default
* value is true.
*
* NS_ERROR_ALREADY_OPENED will be thrown if set after AsyncOpen()
* is called.
--- a/netwerk/base/public/nsICryptoHMAC.idl
+++ b/netwerk/base/public/nsICryptoHMAC.idl
@@ -126,17 +126,17 @@ interface nsICryptoHMAC : nsISupports
*
* @throws NS_ERROR_NOT_INITIALIZED if |init| has not been
* called.
*
* NOTE: This method may be called any time after |init|
* is called. This call resets the object to its
* pre-init state.
*/
- ACString finish(in PRBool aASCII);
+ ACString finish(in boolean aASCII);
/**
* Reinitialize HMAC context to be reused with the same
* settings (the key and hash algorithm) but on different
* set of data.
*/
void reset();
};
--- a/netwerk/base/public/nsICryptoHash.idl
+++ b/netwerk/base/public/nsICryptoHash.idl
@@ -128,10 +128,10 @@ interface nsICryptoHash : nsISupports
*
* @throws NS_ERROR_NOT_INITIALIZED if |init| has not been
* called.
*
* NOTE: This method may be called any time after |init|
* is called. This call resets the object to its
* pre-init state.
*/
- ACString finish(in PRBool aASCII);
+ ACString finish(in boolean aASCII);
};
--- a/netwerk/base/public/nsIParentRedirectingChannel.idl
+++ b/netwerk/base/public/nsIParentRedirectingChannel.idl
@@ -69,10 +69,10 @@ interface nsIParentRedirectingChannel :
* Called after we are done with redirecting process and we know if to
* redirect or not. Forward the redirect result to the child process. From
* that moment the nsIParentChannel implementation expects it will be
* forwarded all notifications from the 'real' channel.
*
* Primarilly used by HttpChannelParentListener::OnRedirectResult and kept
* as mActiveChannel and mRedirectChannel in that class.
*/
- void completeRedirect(in PRBool succeeded);
+ void completeRedirect(in boolean succeeded);
};
--- a/netwerk/base/public/nsIRedirectResultListener.idl
+++ b/netwerk/base/public/nsIRedirectResultListener.idl
@@ -46,10 +46,10 @@ interface nsIRedirectResultListener : ns
* When an HTTP redirect has been processed (either successfully or not)
* nsIHttpChannel will call this function if its callbacks implement this
* interface.
*
* @param proceeding
* Indicated whether the redirect will be proceeding, or not (i.e.
* has been canceled, or failed).
*/
- void onRedirectResult(in PRBool proceeding);
+ void onRedirectResult(in boolean proceeding);
};
--- a/netwerk/base/public/nsIStrictTransportSecurityService.idl
+++ b/netwerk/base/public/nsIStrictTransportSecurityService.idl
@@ -67,38 +67,38 @@ interface nsIStrictTransportSecurityServ
* the domain tree rooted at this host.
*/
void removeStsState(in nsIURI aURI);
/**
* Checks if the given security info is for an STS host with a broken
* transport layer (certificate errors like invalid CN).
*/
- PRBool shouldIgnoreStsHeader(in nsISupports aSecurityInfo);
+ boolean shouldIgnoreStsHeader(in nsISupports aSecurityInfo);
/**
* Checks whether or not the given hostname has STS state set.
* The host is an STS host if either it has the STS permission, or one of
* its super-domains has an STS "includeSubdomains" permission set.
*
* @param aHost the hostname (punycode) to query for STS state.
*/
- PRBool isStsHost(in string aHost);
+ boolean isStsHost(in string aHost);
/**
* Checks whether or not the URI's hostname has STS state set.
* The URI is an STS URI if either the host has the STS permission, or one
* of its super-domains has an STS "includeSubdomains" permission set.
* NOTE: this function makes decisions based only on the scheme and
* host contained in the URI, and disregards other portions of the URI
* such as path and port.
*
* @param aURI the URI to query for STS state.
*/
- PRBool isStsURI(in nsIURI aURI);
+ boolean isStsURI(in nsIURI aURI);
};
%{C++
#define NS_STSSERVICE_CONTRACTID "@mozilla.org/stsservice;1"
#define NS_STSSERVICE_CLASSNAME "stsservice"
#define STS_PERMISSION "sts/use"
--- a/netwerk/cache/nsICacheSession.idl
+++ b/netwerk/cache/nsICacheSession.idl
@@ -50,17 +50,17 @@ interface nsICacheListener;
interface nsICacheSession : nsISupports
{
/**
* Expired entries will be doomed or evicted if this attribute is set to
* true. If false, expired entries will be returned (useful for offline-
* mode and clients, such as HTTP, that can update the valid lifetime of
* cached content). This attribute defaults to true.
*/
- attribute PRBool doomEntriesIfExpired;
+ attribute boolean doomEntriesIfExpired;
/**
* A cache session can only give out one descriptor with WRITE access
* to a given cache entry at a time. Until the client calls MarkValid on
* its descriptor, other attempts to open the same cache entry will block.
*/
/**
@@ -88,10 +88,10 @@ interface nsICacheSession : nsISupports
* Evict all entries for this session's clientID according to its storagePolicy.
*/
void evictEntries();
/**
* Return whether any of the cache devices implied by the session storage policy
* are currently enabled for instantiation if they don't already exist.
*/
- PRBool isStorageEnabled();
+ boolean isStorageEnabled();
};
--- a/netwerk/test/httpserver/nsIHttpServer.idl
+++ b/netwerk/test/httpserver/nsIHttpServer.idl
@@ -310,26 +310,26 @@ interface nsIHttpServerIdentity : nsISup
* name reverts to 'http://127.0.0.1' with the associated server's port.
*
* @throws NS_ERROR_ILLEGAL_VALUE
* if scheme or host do not match the scheme or host productions imported
* into RFC 2616 from RFC 2396, or if port is not a valid port number
* @returns
* true if the given name was a name for this server, false otherwise
*/
- PRBool remove(in string scheme, in string host, in long port);
+ boolean remove(in string scheme, in string host, in long port);
/**
* Returns true if the given name is in this, false otherwise.
*
* @throws NS_ERROR_ILLEGAL_VALUE
* if scheme or host do not match the scheme or host productions imported
* into RFC 2616 from RFC 2396, or if port is not a valid port number
*/
- PRBool has(in string scheme, in string host, in long port);
+ boolean has(in string scheme, in string host, in long port);
/**
* Returns the scheme for the name with the given host and port, if one is
* present; otherwise returns the empty string.
*
* @throws NS_ERROR_ILLEGAL_VALUE
* if host does not match the host production imported into RFC 2616 from
* RFC 2396, or if port is not a valid port number
--- a/security/manager/ssl/public/nsICipherInfo.idl
+++ b/security/manager/ssl/public/nsICipherInfo.idl
@@ -38,20 +38,20 @@
#include "nsISupports.idl"
#include "nsISimpleEnumerator.idl"
[scriptable, uuid(028e2b2a-1f0b-43a4-a1a7-365d2d7f35d0)]
interface nsICipherInfo : nsISupports
{
readonly attribute ACString longName;
- readonly attribute PRBool isSSL2;
- readonly attribute PRBool isFIPS;
- readonly attribute PRBool isExportable;
- readonly attribute PRBool nonStandard;
+ readonly attribute boolean isSSL2;
+ readonly attribute boolean isFIPS;
+ readonly attribute boolean isExportable;
+ readonly attribute boolean nonStandard;
readonly attribute ACString symCipherName;
readonly attribute ACString authAlgorithmName;
readonly attribute ACString keaTypeName;
readonly attribute ACString macAlgorithmName;
readonly attribute PRInt32 effectiveKeyBits;
};
[scriptable, uuid(766d47cb-6d8c-4e71-b6b7-336917629a69)]
--- a/security/manager/ssl/public/nsIStreamCipher.idl
+++ b/security/manager/ssl/public/nsIStreamCipher.idl
@@ -77,17 +77,17 @@ interface nsIStreamCipher : nsISupports
*/
void updateFromString(in ACString aInput);
/**
* @param aASCII if true then the returned value is a base-64
* encoded string. if false, then the returned value is
* binary data.
*/
- ACString finish(in PRBool aASCII);
+ ACString finish(in boolean aASCII);
/**
* Discard aLen bytes of the keystream.
* These days 1536 is considered a decent amount to drop to get
* the key state warmed-up enough for secure usage.
*/
void discard(in long aLen);
};
--- a/toolkit/components/feeds/nsIScriptableUnescapeHTML.idl
+++ b/toolkit/components/feeds/nsIScriptableUnescapeHTML.idl
@@ -52,12 +52,12 @@ interface nsIScriptableUnescapeHTML : ns
* @param src The HTML string to escape.
*/
AString unescape(in AString src);
/**
* Appends the text to the element.
*/
nsIDOMDocumentFragment parseFragment(in AString fragment,
- in PRBool isXML,
+ in boolean isXML,
in nsIURI baseURI,
in nsIDOMElement element);
};
--- a/toolkit/components/url-classifier/nsIUrlClassifierHashCompleter.idl
+++ b/toolkit/components/url-classifier/nsIUrlClassifierHashCompleter.idl
@@ -55,17 +55,17 @@ interface nsIUrlClassifierHashCompleterC
* @param chunkId
* The database chunk that this hash belongs to.
* @param trusted
* The completion was verified with a MAC and can be cached.
*/
void completion(in ACString hash,
in ACString table,
in PRUint32 chunkId,
- in PRBool trusted);
+ in boolean trusted);
/**
* The completion is complete. This method is called once per
* nsIUrlClassifierCompleter::complete() call, after all completion()
* calls are finished.
*
* @param status
* NS_OK if the request completed successfully, or an error code.
--- a/uriloader/base/nsIWebProgress.idl
+++ b/uriloader/base/nsIWebProgress.idl
@@ -167,10 +167,10 @@ interface nsIWebProgress : nsISupports
* Indicates that there is no associated DOM window.
*/
readonly attribute nsIDOMWindow DOMWindow;
/**
* Indicates whether or not a document is currently being loaded
* in the context of this nsIWebProgress instance.
*/
- readonly attribute PRBool isLoadingDocument;
+ readonly attribute boolean isLoadingDocument;
};
--- a/widget/public/nsIDragService.idl
+++ b/widget/public/nsIDragService.idl
@@ -127,17 +127,17 @@ interface nsIDragService : nsISupports
/**
* Tells the Drag Service to end a drag session. This is called when
* an external drag occurs
*
* If aDoneDrag is true, the drag has finished, otherwise the drag has
* just left the window.
*/
- void endDragSession ( in PRBool aDoneDrag ) ;
+ void endDragSession ( in boolean aDoneDrag ) ;
/**
* Fire a drag event at the source of the drag
*/
void fireDragEventAtSource ( in unsigned long aMsg );
/**
* Increase/decrease dragging suppress level by one.
--- a/widget/public/nsIPrintSettings.idl
+++ b/widget/public/nsIPrintSettings.idl
@@ -158,22 +158,22 @@ interface nsIPrintSettings : nsISupports
*/
const short kOutputFormatNative = 0;
const short kOutputFormatPS = 1;
const short kOutputFormatPDF = 2;
/**
* Set PrintOptions
*/
- void SetPrintOptions(in PRInt32 aType, in PRBool aTurnOnOff);
+ void SetPrintOptions(in PRInt32 aType, in boolean aTurnOnOff);
/**
* Get PrintOptions
*/
- PRBool GetPrintOptions(in PRInt32 aType);
+ boolean GetPrintOptions(in PRInt32 aType);
/**
* Set PrintOptions Bit field
*/
PRInt32 GetPrintOptionsBits();
/**
* Get the page size in twips, considering the
--- a/xpcom/components/nsIFactory.idl
+++ b/xpcom/components/nsIFactory.idl
@@ -68,10 +68,10 @@ interface nsIFactory : nsISupports {
* in memory until it is finished with it. The client can call
* LockFactory(PR_TRUE) to lock the factory and LockFactory(PR_FALSE)
* to release the factory.
*
* @param lock - Must be PR_TRUE or PR_FALSE
* @return NS_OK - If the lock operation was successful.
* NS_ERROR* - Method failure.
*/
- void lockFactory(in PRBool lock);
+ void lockFactory(in boolean lock);
};
--- a/xpcom/ds/nsIPropertyBag2.idl
+++ b/xpcom/ds/nsIPropertyBag2.idl
@@ -66,10 +66,10 @@ interface nsIPropertyBag2 : nsIPropertyB
* This method returns null if the value does not exist,
* or exists but is null.
*/
nsIVariant get (in AString prop);
/**
* Check for the existence of a key.
*/
- PRBool hasKey (in AString prop);
+ boolean hasKey (in AString prop);
};
--- a/xpcom/ds/nsISupportsPrimitives.idl
+++ b/xpcom/ds/nsISupportsPrimitives.idl
@@ -110,17 +110,17 @@ interface nsISupportsString : nsISupport
/**
* Scriptable storage for booleans
*/
[scriptable, uuid(ddc3b490-4a1c-11d3-9890-006008962422)]
interface nsISupportsPRBool : nsISupportsPrimitive
{
- attribute PRBool data;
+ attribute boolean data;
string toString();
};
/**
* Scriptable storage for 8-bit integers
*/
[scriptable, uuid(dec2e4e0-4a1c-11d3-9890-006008962422)]
--- a/xpcom/ds/nsIVariant.idl
+++ b/xpcom/ds/nsIVariant.idl
@@ -99,17 +99,17 @@ interface nsIVariant : nsISupports
[noscript] PRInt32 getAsInt32();
[noscript] PRInt64 getAsInt64();
[noscript] PRUint8 getAsUint8();
[noscript] PRUint16 getAsUint16();
[noscript] PRUint32 getAsUint32();
[noscript] PRUint64 getAsUint64();
[noscript] float getAsFloat();
[noscript] double getAsDouble();
- [noscript] PRBool getAsBool();
+ [noscript] boolean getAsBool();
[noscript] char getAsChar();
[noscript] wchar getAsWChar();
[notxpcom] nsresult getAsID(out nsID retval);
[noscript] AString getAsAString();
[noscript] DOMString getAsDOMString();
[noscript] ACString getAsACString();
[noscript] AUTF8String getAsAUTF8String();
[noscript] string getAsString();
@@ -138,29 +138,29 @@ interface nsIVariant : nsISupports
* methods can be expected to fail. Setting the 'writable' attribute may or
* may not succeed.
*
*/
[scriptable, uuid(5586a590-8c82-11d5-90f3-0010a4e73d9a)]
interface nsIWritableVariant : nsIVariant
{
- attribute PRBool writable;
+ attribute boolean writable;
void setAsInt8(in PRUint8 aValue);
void setAsInt16(in PRInt16 aValue);
void setAsInt32(in PRInt32 aValue);
void setAsInt64(in PRInt64 aValue);
void setAsUint8(in PRUint8 aValue);
void setAsUint16(in PRUint16 aValue);
void setAsUint32(in PRUint32 aValue);
void setAsUint64(in PRUint64 aValue);
void setAsFloat(in float aValue);
void setAsDouble(in double aValue);
- void setAsBool(in PRBool aValue);
+ void setAsBool(in boolean aValue);
void setAsChar(in char aValue);
void setAsWChar(in wchar aValue);
void setAsID(in nsIDRef aValue);
void setAsAString(in AString aValue);
void setAsDOMString(in DOMString aValue);
void setAsACString(in ACString aValue);
void setAsAUTF8String(in AUTF8String aValue);
void setAsString(in string aValue);
--- a/xpcom/io/nsIBinaryInputStream.idl
+++ b/xpcom/io/nsIBinaryInputStream.idl
@@ -54,17 +54,17 @@
interface nsIBinaryInputStream : nsIInputStream {
void setInputStream(in nsIInputStream aInputStream);
/**
* Read 8-bits from the stream.
*
* @return that byte to be treated as a boolean.
*/
- PRBool readBoolean();
+ boolean readBoolean();
PRUint8 read8();
PRUint16 read16();
PRUint32 read32();
PRUint64 read64();
float readFloat();
double readDouble();
--- a/xpcom/io/nsIBinaryOutputStream.idl
+++ b/xpcom/io/nsIBinaryOutputStream.idl
@@ -53,17 +53,17 @@
[scriptable, uuid(204ee610-8765-11d3-90cf-0040056a906e)]
interface nsIBinaryOutputStream : nsIOutputStream {
void setOutputStream(in nsIOutputStream aOutputStream);
/**
* Write a boolean as an 8-bit char to the stream.
*/
- void writeBoolean(in PRBool aBoolean);
+ void writeBoolean(in boolean aBoolean);
void write8(in PRUint8 aByte);
void write16(in PRUint16 a16);
void write32(in PRUint32 a32);
void write64(in PRUint64 a64);
void writeFloat(in float aFloat);
void writeDouble(in double aDouble);
--- a/xpcom/io/nsIDirectoryService.idl
+++ b/xpcom/io/nsIDirectoryService.idl
@@ -58,17 +58,17 @@ interface nsIDirectoryServiceProvider: n
* Service. Subsequent requests for this prop will
* bypass the provider and use the cache.
* FALSE - The provider will be asked for this prop
* each time it is requested.
*
* @return The file represented by the property.
*
*/
- nsIFile getFile(in string prop, out PRBool persistent);
+ nsIFile getFile(in string prop, out boolean persistent);
};
/**
* nsIDirectoryServiceProvider2
*
* An extension of nsIDirectoryServiceProvider which allows
* multiple files to be returned for the given key.
*/
--- a/xpcom/io/nsILocalFile.idl
+++ b/xpcom/io/nsILocalFile.idl
@@ -88,17 +88,17 @@ interface nsILocalFile : nsIFile
/**
* followLinks
*
* This attribute will determine if the nsLocalFile will auto
* resolve symbolic links. By default, this value will be false
* on all non unix systems. On unix, this attribute is effectively
* a noop.
*/
- attribute PRBool followLinks;
+ attribute boolean followLinks;
const unsigned long DELETE_ON_CLOSE = 0x80000000;
/**
* Return the result of PR_Open on the file. The caller is
* responsible for calling PR_Close on the result.
*
* @param flags the PR_Open flags from prio.h, plus optionally
--- a/xpcom/io/nsILocalFileOS2.idl
+++ b/xpcom/io/nsILocalFileOS2.idl
@@ -69,17 +69,17 @@ interface nsILocalFileOS2 : nsILocalFile
* isFileType
*
* Returns TRUE if the file has a .TYPE extended attribute that
* matches the string passed in. The comparison is case-sensitive.
* @param fileType
* a string in the filesystem's native character set
*
*/
- PRBool isFileType( in ACString fileType );
+ boolean isFileType( in ACString fileType );
/**
* setFileSource
*
* Identifies the origin of a downloaded file by writing the
* source URI's spec to the .SUBJECT extended attribute.
*
* @param aURI
--- a/xpcom/io/nsIObjectInputStream.idl
+++ b/xpcom/io/nsIObjectInputStream.idl
@@ -51,17 +51,17 @@ interface nsIObjectInputStream : nsIBina
* Read an object from this stream to satisfy a strong or weak reference
* to one of its interfaces. If the interface was not along the primary
* inheritance chain ending in the "root" or XPCOM-identity nsISupports,
* readObject will QueryInterface from the deserialized object root to the
* correct interface, which was specified when the object was serialized.
*
* @see nsIObjectOutputStream
*/
- nsISupports readObject(in PRBool aIsStrongRef);
+ nsISupports readObject(in boolean aIsStrongRef);
[notxpcom] nsresult readID(out nsID aID);
/**
* Optimized deserialization support -- see nsIStreamBufferAccess.idl.
*/
[notxpcom] charPtr getBuffer(in PRUint32 aLength, in PRUint32 aAlignMask);
[notxpcom] void putBuffer(in charPtr aBuffer, in PRUint32 aLength);
--- a/xpcom/io/nsIObjectOutputStream.idl
+++ b/xpcom/io/nsIObjectOutputStream.idl
@@ -56,17 +56,17 @@ interface nsIObjectOutputStream : nsIBin
* If the object has only one strong reference in the serialization and no
* weak refs, use writeSingleRefObject. This is a valuable optimization:
* it saves space in the stream, and cycles on both ends of the process.
*
* If the reference being serialized is a pointer to an interface not on
* the primary inheritance chain ending in the root nsISupports, you must
* call writeCompoundObject instead of this method.
*/
- void writeObject(in nsISupports aObject, in PRBool aIsStrongRef);
+ void writeObject(in nsISupports aObject, in boolean aIsStrongRef);
/**
* Write an object referenced singly and strongly via its root nsISupports
* or a subclass of its root nsISupports. There must not be other refs to
* aObject in memory, or in the serialization.
*/
void writeSingleRefObject(in nsISupports aObject);
@@ -75,17 +75,17 @@ interface nsIObjectOutputStream : nsIBin
* inherits from a non-primary nsISupports, i.e., a reference to one of
* the multiply inherited interfaces derived from an nsISupports other
* than the root or XPCOM-identity nsISupports; or a reference to an
* inner object in the case of true XPCOM aggregation. aIID identifies
* this interface.
*/
void writeCompoundObject(in nsISupports aObject,
in nsIIDRef aIID,
- in PRBool aIsStrongRef);
+ in boolean aIsStrongRef);
void writeID(in nsIDRef aID);
/**
* Optimized serialization support -- see nsIStreamBufferAccess.idl.
*/
[notxpcom] charPtr getBuffer(in PRUint32 aLength, in PRUint32 aAlignMask);
[notxpcom] void putBuffer(in charPtr aBuffer, in PRUint32 aLength);
--- a/xpcom/reflect/xptinfo/public/nsIInterfaceInfo.idl
+++ b/xpcom/reflect/xptinfo/public/nsIInterfaceInfo.idl
@@ -59,18 +59,18 @@ class nsXPTType;
/* this is NOT intended to be scriptable */
[uuid(7de126a2-ef4b-4e3b-a952-78ce4c133e38)]
interface nsIInterfaceInfo : nsISupports
{
readonly attribute string name;
readonly attribute nsIIDPtr InterfaceIID;
- PRBool isScriptable();
- PRBool isBuiltinClass();
+ boolean isScriptable();
+ boolean isBuiltinClass();
readonly attribute nsIInterfaceInfo parent;
/**
* These include counts for parent (and all ancestors).
*/
readonly attribute PRUint16 methodCount;
readonly attribute PRUint16 constantCount;
@@ -117,22 +117,22 @@ interface nsIInterfaceInfo : nsISupports
PRUint8 getLengthIsArgNumberForParam(in PRUint16 methodIndex,
[const] in nsXPTParamInfoPtr param,
in PRUint16 dimension);
PRUint8 getInterfaceIsArgNumberForParam(in PRUint16 methodIndex,
[const] in nsXPTParamInfoPtr param);
- PRBool isIID(in nsIIDPtr IID);
+ boolean isIID(in nsIIDPtr IID);
void getNameShared([shared,retval] out string name);
void getIIDShared([shared,retval] out nsIIDPtrShared iid);
- PRBool isFunction();
+ boolean isFunction();
- PRBool hasAncestor(in nsIIDPtr iid);
+ boolean hasAncestor(in nsIIDPtr iid);
[notxpcom] nsresult getIIDForParamNoAlloc(in PRUint16 methodIndex,
[const] in nsXPTParamInfoPtr param,
out nsIID iid);
};
--- a/xpcom/reflect/xptinfo/public/nsIInterfaceInfoManager.idl
+++ b/xpcom/reflect/xptinfo/public/nsIInterfaceInfoManager.idl
@@ -61,17 +61,17 @@ interface nsIInterfaceInfoManager : nsIS
};
[uuid(0ee22850-bc6a-11d5-9134-0010a4e73d9a)]
interface nsIInterfaceInfoSuperManager : nsIInterfaceInfoManager
{
void addAdditionalManager(in nsIInterfaceInfoManager manager);
void removeAdditionalManager(in nsIInterfaceInfoManager manager);
- PRBool hasAdditionalManagers();
+ boolean hasAdditionalManagers();
nsISimpleEnumerator enumerateAdditionalManagers();
};
%{C++
#define NS_INTERFACEINFOMANAGER_SERVICE_CLASSNAME \
"Interface Information Manager Service"
#define NS_INTERFACEINFOMANAGER_SERVICE_CID \
--- a/xpfe/appshell/public/nsIXULBrowserWindow.idl
+++ b/xpfe/appshell/public/nsIXULBrowserWindow.idl
@@ -69,11 +69,11 @@ interface nsIXULBrowserWindow : nsISuppo
void setOverLink(in AString link, in nsIDOMElement element);
/**
* Determines the appropriate target for a link.
*/
AString onBeforeLinkTraversal(in AString originalTarget,
in nsIURI linkURI,
in nsIDOMNode linkNode,
- in PRBool isAppTab);
+ in boolean isAppTab);
};