зеркало из https://github.com/mozilla/gecko-dev.git
Bug 506041 Part 2: Correct misspellings in source code
r=timeless
This commit is contained in:
Родитель
d1a1adf01a
Коммит
6c0f59f4a6
|
@ -139,7 +139,7 @@ public:
|
|||
/**
|
||||
* Invalidate the accessible tree when DOM tree or frame tree is changed.
|
||||
*
|
||||
* @param aPresShell [in] the presShell where changes occured
|
||||
* @param aPresShell [in] the presShell where changes occurred
|
||||
* @param aContent [in] the affected DOM content
|
||||
* @param aChangeType [in] the change type (see constants declared above)
|
||||
*/
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
object. For that XBL binding of element should implement the interface.
|
||||
*/
|
||||
|
||||
[scriptable, uuid(3f7f9194-c625-4a85-8148-6d92d34897fa)]
|
||||
[scriptable, uuid(89fb8270-4f25-11df-9879-0800200c9a66)]
|
||||
interface nsIAccessibleProvider : nsISupports
|
||||
{
|
||||
/**
|
||||
|
@ -126,7 +126,7 @@ interface nsIAccessibleProvider : nsISupports
|
|||
/** Used for label element */
|
||||
const long XFormsLabel = 0x00002001;
|
||||
/** Used for output element */
|
||||
const long XFormsOuput = 0x00002002;
|
||||
const long XFormsOutput = 0x00002002;
|
||||
/** Used for trigger and submit elements */
|
||||
const long XFormsTrigger = 0x00002003;
|
||||
/** Used for input and textarea elements */
|
||||
|
|
|
@ -1971,7 +1971,7 @@ nsAccessibilityService::CreateAccessibleByType(nsIDOMNode *aNode,
|
|||
case nsIAccessibleProvider::XFormsLabel:
|
||||
accessible = new nsXFormsLabelAccessible(aNode, aWeakShell);
|
||||
break;
|
||||
case nsIAccessibleProvider::XFormsOuput:
|
||||
case nsIAccessibleProvider::XFormsOutput:
|
||||
accessible = new nsXFormsOutputAccessible(aNode, aWeakShell);
|
||||
break;
|
||||
case nsIAccessibleProvider::XFormsTrigger:
|
||||
|
|
|
@ -2042,7 +2042,7 @@ nsDocAccessible::InvalidateCacheSubtree(nsIContent *aChild,
|
|||
nsAccEvent::eCoalesceFromSameSubtree,
|
||||
isAsynch);
|
||||
|
||||
// Check to see change occured in an ARIA menu, and fire
|
||||
// Check to see change occurred in an ARIA menu, and fire
|
||||
// an EVENT_MENUPOPUP_START if it did.
|
||||
nsRoleMapEntry *roleMapEntry = nsAccUtils::GetRoleMapEntry(childNode);
|
||||
if (roleMapEntry && roleMapEntry->role == nsIAccessibleRole::ROLE_MENUPOPUP) {
|
||||
|
@ -2051,7 +2051,7 @@ nsDocAccessible::InvalidateCacheSubtree(nsIContent *aChild,
|
|||
isAsynch);
|
||||
}
|
||||
|
||||
// Check to see if change occured inside an alert, and fire an EVENT_ALERT if it did
|
||||
// Check to see if change occurred inside an alert, and fire an EVENT_ALERT if it did
|
||||
nsIContent *ancestor = aChild;
|
||||
while (PR_TRUE) {
|
||||
if (roleMapEntry && roleMapEntry->role == nsIAccessibleRole::ROLE_ALERT) {
|
||||
|
|
|
@ -1007,7 +1007,7 @@ nsresult nsHyperTextAccessible::GetTextHelper(EGetTextType aType, nsAccessibleTe
|
|||
}
|
||||
else {
|
||||
// Start moving forward from the start so that we don't get
|
||||
// 2 words/lines if the offset occured on whitespace boundary
|
||||
// 2 words/lines if the offset occurred on whitespace boundary
|
||||
// Careful, startOffset and endOffset are passed by reference to GetPosAndText() and changed
|
||||
// For BOUNDARY_LINE_END, make sure we start of this line
|
||||
startOffset = endOffset = finalStartOffset + (aBoundaryType == BOUNDARY_LINE_END);
|
||||
|
|
|
@ -1738,7 +1738,7 @@ PRInt32 nsAccessibleWrap::GetChildIDFor(nsIAccessible* aAccessible)
|
|||
{
|
||||
// A child ID of the window is required, when we use NotifyWinEvent,
|
||||
// so that the 3rd party application can call back and get the IAccessible
|
||||
// the event occured on.
|
||||
// the event occurred on.
|
||||
|
||||
void *uniqueID = nsnull;
|
||||
nsCOMPtr<nsIAccessNode> accessNode(do_QueryInterface(aAccessible));
|
||||
|
|
|
@ -128,10 +128,10 @@
|
|||
<label for="input_labelled">label</label>
|
||||
<input type="button" id="input_labelled" value="1" title="title"/>
|
||||
|
||||
<!-- name from @value, prefered to @title -->
|
||||
<!-- name from @value, preferred to @title -->
|
||||
<input type="button" id="input_value0" title="title" value="1"/>
|
||||
|
||||
<!-- name from @value, prefered to @alt -->
|
||||
<!-- name from @value, preferred to @alt -->
|
||||
<input type="button" id="input_value" value="1" alt="alt"/>
|
||||
|
||||
<!-- name from @alt, preferred to @src -->
|
||||
|
|
|
@ -183,7 +183,7 @@ main ()
|
|||
echo "***"
|
||||
echo "*** rpm --erase --nodeps gtk gtk-devel" ],
|
||||
[ echo "*** The test program failed to compile or link. See the file config.log for the"
|
||||
echo "*** exact error that occured. This usually means GLIB was incorrectly installed"
|
||||
echo "*** exact error that occurred. This usually means GLIB was incorrectly installed"
|
||||
echo "*** or that you have moved GLIB since it was installed. In the latter case, you"
|
||||
echo "*** may want to edit the glib-config script: $GLIB_CONFIG" ])
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
|
|
|
@ -181,7 +181,7 @@ main ()
|
|||
echo "*** If you have an old version installed, it is best to remove it, although"
|
||||
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
|
||||
[ echo "*** The test program failed to compile or link. See the file config.log for the"
|
||||
echo "*** exact error that occured. This usually means libIDL was incorrectly installed"
|
||||
echo "*** exact error that occurred. This usually means libIDL was incorrectly installed"
|
||||
echo "*** or that you have moved libIDL since it was installed. In the latter case, you"
|
||||
echo "*** may want to edit the libIDL-config script: $LIBIDL_CONFIG" ])
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
|
|
|
@ -316,7 +316,7 @@ interface nsIScriptSecurityManager : nsIXPCSecurityManager
|
|||
* If no scripted code is running "above" (or called from) fp, then
|
||||
* instead of looking at cx->globalObject, we will return |principal|.
|
||||
* This function only affects |cx|. If someone pushes another context onto
|
||||
* the context stack, then it supercedes this call.
|
||||
* the context stack, then it supersedes this call.
|
||||
* NOTE: If |fp| is non-null popContextPrincipal must be called before fp
|
||||
* has finished executing.
|
||||
*
|
||||
|
|
|
@ -261,7 +261,7 @@ class DuplicateError(ConfigObjError):
|
|||
|
||||
class ConfigspecError(ConfigObjError):
|
||||
"""
|
||||
An error occured whilst parsing a configspec.
|
||||
An error occurred whilst parsing a configspec.
|
||||
"""
|
||||
|
||||
class InterpolationError(ConfigObjError):
|
||||
|
@ -1600,7 +1600,7 @@ class ConfigObj(Section):
|
|||
Handle an error according to the error settings.
|
||||
|
||||
Either raise the error or store it.
|
||||
The error will have occured at ``cur_index``
|
||||
The error will have occurred at ``cur_index``
|
||||
"""
|
||||
line = infile[cur_index]
|
||||
cur_index += 1
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
# This command, fast-update.pl, does a (fast) cvs update of the current
|
||||
# directory. It is fast because the cvs up command is only run on those
|
||||
# directories / sub-directories where changes have occured since the
|
||||
# directories / sub-directories where changes have occurred since the
|
||||
# last fast-update.
|
||||
#
|
||||
# The last update time is stored in a ".fast-update" file in the current
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
#Compares with: foo1.class foo2.class (if -d specified, checks in 'dir',
|
||||
# otherwise assumes .class files in same directory as .java files)
|
||||
#Returns: list of input arguments which are newer than corresponding class
|
||||
#files (non-existant class files are considered to be real old :-)
|
||||
#files (non-existent class files are considered to be real old :-)
|
||||
#
|
||||
|
||||
$found = 1;
|
||||
|
|
|
@ -194,13 +194,13 @@ inline nsINode* NODE_FROM(C& aContent, D& aDocument)
|
|||
* Class used to detect unexpected mutations. To use the class create an
|
||||
* nsMutationGuard on the stack before unexpected mutations could occur.
|
||||
* You can then at any time call Mutated to check if any unexpected mutations
|
||||
* have occured.
|
||||
* have occurred.
|
||||
*
|
||||
* When a guard is instantiated sMutationCount is set to 300. It is then
|
||||
* decremented by every mutation (capped at 0). This means that we can only
|
||||
* detect 300 mutations during the lifetime of a single guard, however that
|
||||
* should be more then we ever care about as we usually only care if more then
|
||||
* one mutation has occured.
|
||||
* one mutation has occurred.
|
||||
*
|
||||
* When the guard goes out of scope it will adjust sMutationCount so that over
|
||||
* the lifetime of the guard the guard itself has not affected sMutationCount,
|
||||
|
@ -227,7 +227,7 @@ public:
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns true if any unexpected mutations have occured. You can pass in
|
||||
* Returns true if any unexpected mutations have occurred. You can pass in
|
||||
* an 8-bit ignore count to ignore a number of expected mutations.
|
||||
*/
|
||||
PRBool Mutated(PRUint8 aIgnoreCount)
|
||||
|
|
|
@ -81,7 +81,7 @@ public:
|
|||
* aDragSelection - [out] set to true to indicate that a selection is being
|
||||
* dragged, rather than a specific node
|
||||
* aDragNode - [out] the link, image or area being dragged, or null if the
|
||||
* drag occured on another element.
|
||||
* drag occurred on another element.
|
||||
*/
|
||||
static nsresult GetDragData(nsIDOMWindow* aWindow,
|
||||
nsIContent* aTarget,
|
||||
|
|
|
@ -4571,7 +4571,7 @@ nsContentUtils::ProcessViewportInfo(nsIDocument *aDocument,
|
|||
while ((tip != end) && IS_SEPARATOR(*tip))
|
||||
++tip;
|
||||
|
||||
/* Read through and find tokens seperated by separators. */
|
||||
/* Read through and find tokens separated by separators. */
|
||||
while (tip != end) {
|
||||
|
||||
/* Synchronize tip and tail. */
|
||||
|
|
|
@ -665,7 +665,7 @@
|
|||
t( "ID Selector w/ Element", "body#body", ["body"], false );
|
||||
t( "ID Selector w/ Element", "ul#first", [] );
|
||||
t( "ID selector with existing ID descendant", "#firstp #simon1", ["simon1"] );
|
||||
t( "ID selector with non-existant descendant", "#firstp #foobar", [] );
|
||||
t( "ID selector with non-existent descendant", "#firstp #foobar", [] );
|
||||
|
||||
t( "ID selector using UTF8", "#台北Táiběi", ["台北Táiběi"] );
|
||||
t( "Multiple ID selectors using UTF8", "#台北Táiběi, #台北", ["台北Táiběi","台北"] );
|
||||
|
@ -686,7 +686,7 @@
|
|||
t( "All Children of ID", "#foo > *", ["sndp", "en", "sap"] );
|
||||
t( "All Children of ID with no children", "#firstUL > *", [] );
|
||||
|
||||
t( "ID selector with non-existant ancestor", "#asdfasdf #foobar", [] ); // bug #986
|
||||
t( "ID selector with non-existent ancestor", "#asdfasdf #foobar", [] ); // bug #986
|
||||
|
||||
//t( "body div#form", [], "ID selector within the context of another element" );
|
||||
|
||||
|
|
|
@ -100,7 +100,7 @@ var testExpectedResults = { "font-src": true,
|
|||
};
|
||||
|
||||
// takes the name of the test, the URL that was tested, and whether the
|
||||
// load occured
|
||||
// load occurred
|
||||
var testResult = function(testName, url, result) {
|
||||
netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
|
||||
log(" testName: "+testName+", result: "+result+", expected: "+testExpectedResults[testName]+"\n");
|
||||
|
|
|
@ -2048,7 +2048,7 @@ nsEventStateManager::DetermineDragTarget(nsPresContext* aPresContext,
|
|||
if (NS_SUCCEEDED(dsti->GetItemType(&type)) &&
|
||||
type != nsIDocShellTreeItem::typeChrome) {
|
||||
// mGestureDownContent is the node where the mousedown event for the drag
|
||||
// occured, and aSelectionTarget is the node to use when a selection is used
|
||||
// occurred, and aSelectionTarget is the node to use when a selection is used
|
||||
nsresult rv =
|
||||
nsContentAreaDragDrop::GetDragData(window, mGestureDownContent,
|
||||
aSelectionTarget, mGestureDownAlt,
|
||||
|
|
|
@ -32,7 +32,7 @@ function runTests()
|
|||
|
||||
function afterDragTests()
|
||||
{
|
||||
// the dragstart should have occured due to moving the mouse. gDataTransfer
|
||||
// the dragstart should have occurred due to moving the mouse. gDataTransfer
|
||||
// caches the dataTransfer that was used, however it should now be empty and
|
||||
// be read only.
|
||||
ok(gDataTransfer instanceof DataTransfer, "DataTransfer after dragstart event");
|
||||
|
@ -157,7 +157,7 @@ function test_DataTransfer(dt)
|
|||
|
||||
is(dt.mozUserCancelled, false, "userCancelled");
|
||||
|
||||
// because an exception occured, the data should not have been added
|
||||
// because an exception occurred, the data should not have been added
|
||||
is(dt.mozItemCount, 0, "empty setDataAt index too high itemCount");
|
||||
dt.getData("text/plain", "", "empty setDataAt index too high getData");
|
||||
|
||||
|
|
|
@ -188,7 +188,7 @@ public:
|
|||
nsresult RemoveElement(nsGenericHTMLFormElement* aElement, PRBool aNotify);
|
||||
|
||||
/**
|
||||
* Remove an element from the lookup table mainted by the form.
|
||||
* Remove an element from the lookup table maintained by the form.
|
||||
* We can't fold this method into RemoveElement() because when
|
||||
* RemoveElement() is called it doesn't know if the element is
|
||||
* removed because the id attribute has changed, or bacause the
|
||||
|
@ -210,7 +210,7 @@ public:
|
|||
nsresult AddElement(nsGenericHTMLFormElement* aElement, PRBool aNotify);
|
||||
|
||||
/**
|
||||
* Add an element to the lookup table mainted by the form.
|
||||
* Add an element to the lookup table maintained by the form.
|
||||
*
|
||||
* We can't fold this method into AddElement() because when
|
||||
* AddElement() is called, the form control has no
|
||||
|
|
|
@ -739,7 +739,7 @@ nsresult nsHTMLMediaElement::LoadResource(nsIURI* aURI)
|
|||
}
|
||||
|
||||
// Else the channel must be open and starting to download. If it encounters
|
||||
// a non-catestrophic failure, it will set a new task to continue loading
|
||||
// a non-catastrophic failure, it will set a new task to continue loading
|
||||
// another candidate.
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
|
@ -1003,7 +1003,7 @@ nsresult nsOggReader::Seek(PRInt64 aTarget, PRInt64 aStartTime, PRInt64 aEndTime
|
|||
// keyframe. It's usually faster to just download this extra data, rather
|
||||
// tham perform two bisections to find the seek target's keyframe. We
|
||||
// don't do this offsetting when seeking in a buffered ranges (above),
|
||||
// as the extra decoding causes a noticable speed hit when all the data
|
||||
// as the extra decoding causes a noticeable speed hit when all the data
|
||||
// is buffered.
|
||||
PRInt64 keyframeOffsetMs = 0;
|
||||
if (HasVideo() && mTheoraState) {
|
||||
|
|
|
@ -41,7 +41,7 @@ var gTests = [
|
|||
// Test 6
|
||||
url: "http://example.org:8000/tests/content/media/test/320x240.ogv",
|
||||
result: "error",
|
||||
description: "Won't load from differnet port on same domain"
|
||||
description: "Won't load from different port on same domain"
|
||||
},{
|
||||
// Test 7
|
||||
url: "http://example.org:8000/tests/content/media/test/320x240.allow-origin.ogv",
|
||||
|
|
|
@ -316,7 +316,7 @@ nsXBLContentSink::HandleEndElement(const PRUnichar *aName)
|
|||
if (nameSpaceID == kNameSpaceID_XBL) {
|
||||
if (mState == eXBL_Error) {
|
||||
// Check whether we've opened this tag before; we may not have if
|
||||
// it was a real XBL tag before the error occured.
|
||||
// it was a real XBL tag before the error occurred.
|
||||
if (!GetCurrentContent()->NodeInfo()->Equals(localName,
|
||||
nameSpaceID)) {
|
||||
// OK, this tag was never opened as far as the XML sink is
|
||||
|
|
|
@ -55,7 +55,7 @@ typedef enum {
|
|||
eXBL_InResources, /* Inside a <resources> */
|
||||
eXBL_InImplementation, /* Inside a <implementation> */
|
||||
eXBL_InHandlers, /* Inside a <handlers> */
|
||||
eXBL_Error /* An error has occured. Suspend binding construction */
|
||||
eXBL_Error /* An error has occurred. Suspend binding construction */
|
||||
} XBLPrimaryState;
|
||||
|
||||
/*
|
||||
|
|
|
@ -99,7 +99,7 @@ public:
|
|||
**/
|
||||
void receiveError(const nsAString& errorMessage, nsresult aRes);
|
||||
|
||||
virtual void supressWarnings(MBool supress);
|
||||
virtual void suppressWarnings(MBool suppress);
|
||||
|
||||
private:
|
||||
|
||||
|
|
|
@ -75,6 +75,6 @@ void SimpleErrorObserver::receiveError(const nsAString& errorMessage,
|
|||
#endif
|
||||
}
|
||||
|
||||
void SimpleErrorObserver::supressWarnings(MBool supress) {
|
||||
this->hideWarnings = supress;
|
||||
} //-- supressWarnings
|
||||
void SimpleErrorObserver::suppressWarnings(MBool suppress) {
|
||||
this->hideWarnings = suppress;
|
||||
} //-- suppressWarnings
|
||||
|
|
|
@ -132,7 +132,7 @@ public:
|
|||
* Adds a match/use pair.
|
||||
* @param aMatch match-pattern
|
||||
* @param aUse use-expression
|
||||
* @return PR_FALSE if an error occured, PR_TRUE otherwise
|
||||
* @return PR_FALSE if an error occurred, PR_TRUE otherwise
|
||||
*/
|
||||
PRBool addKey(nsAutoPtr<txPattern> aMatch, nsAutoPtr<Expr> aUse);
|
||||
|
||||
|
|
|
@ -299,7 +299,7 @@ txKeyHash::init()
|
|||
* Adds a match/use pair.
|
||||
* @param aMatch match-pattern
|
||||
* @param aUse use-expression
|
||||
* @return PR_FALSE if an error occured, PR_TRUE otherwise
|
||||
* @return PR_FALSE if an error occurred, PR_TRUE otherwise
|
||||
*/
|
||||
PRBool txXSLKey::addKey(nsAutoPtr<txPattern> aMatch, nsAutoPtr<Expr> aUse)
|
||||
{
|
||||
|
|
|
@ -1770,7 +1770,7 @@ nsDOMClassInfo::ThrowJSException(JSContext *cx, nsresult aResult)
|
|||
// XXX This probably wants to be localized, but that can fail in ways that
|
||||
// are hard to report correctly.
|
||||
JSString *str =
|
||||
JS_NewStringCopyZ(cx, "An error occured throwing an exception");
|
||||
JS_NewStringCopyZ(cx, "An error occurred throwing an exception");
|
||||
if (!str) {
|
||||
// JS_NewStringCopyZ reported the error for us.
|
||||
return NS_OK;
|
||||
|
|
|
@ -1522,7 +1522,7 @@ nsFocusManager::Blur(nsPIDOMWindow* aWindowToClear,
|
|||
}
|
||||
else if (mActiveWindow) {
|
||||
// Otherwise, the blur of the element without blurring the document
|
||||
// occured normally. Call UpdateCaret to redisplay the caret at the right
|
||||
// occurred normally. Call UpdateCaret to redisplay the caret at the right
|
||||
// location within the document. This is needed to ensure that the caret
|
||||
// used for caret browsing is made visible again when an input field is
|
||||
// blurred.
|
||||
|
|
|
@ -653,7 +653,7 @@ nsGlobalWindow::nsGlobalWindow(nsGlobalWindow *aOuterWindow)
|
|||
mShowFocusRings(PR_TRUE),
|
||||
#endif
|
||||
mShowFocusRingForContent(PR_FALSE),
|
||||
mFocusByKeyOccured(PR_FALSE),
|
||||
mFocusByKeyOccurred(PR_FALSE),
|
||||
mHasAcceleration(PR_FALSE),
|
||||
mTimeoutInsertionPoint(nsnull),
|
||||
mTimeoutPublicIdCounter(1),
|
||||
|
@ -6969,7 +6969,7 @@ nsGlobalWindow::SetFocusedNode(nsIContent* aNode,
|
|||
// mShowFocusRingForContent, as we don't want this to be permanent for
|
||||
// the window.
|
||||
if (mFocusMethod == nsIFocusManager::FLAG_BYKEY) {
|
||||
mFocusByKeyOccured = PR_TRUE;
|
||||
mFocusByKeyOccurred = PR_TRUE;
|
||||
} else if (aFocusMethod & nsIFocusManager::FLAG_SHOWRING
|
||||
#ifdef MOZ_WIDGET_GTK2
|
||||
|| mFocusedNode->IsXUL()
|
||||
|
@ -6996,7 +6996,7 @@ nsGlobalWindow::ShouldShowFocusRing()
|
|||
{
|
||||
FORWARD_TO_INNER(ShouldShowFocusRing, (), PR_FALSE);
|
||||
|
||||
return mShowFocusRings || mShowFocusRingForContent || mFocusByKeyOccured;
|
||||
return mShowFocusRings || mShowFocusRingForContent || mFocusByKeyOccurred;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -738,9 +738,9 @@ protected:
|
|||
// This will be reset when another element is focused
|
||||
PRPackedBool mShowFocusRingForContent : 1;
|
||||
|
||||
// true if tab navigation has occured for this window. Focus rings
|
||||
// true if tab navigation has occurred for this window. Focus rings
|
||||
// should be displayed.
|
||||
PRPackedBool mFocusByKeyOccured : 1;
|
||||
PRPackedBool mFocusByKeyOccurred : 1;
|
||||
|
||||
// Indicates whether this window is getting acceleration change events
|
||||
PRPackedBool mHasAcceleration : 1;
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
7 = Attribute value illegal in XSLT 1.0.
|
||||
8 = An XPath expression was expected to return a NodeSet.
|
||||
9 = XSLT transformation was terminated by <xsl:message>.
|
||||
10 = A network error occured loading an XSLT stylesheet:
|
||||
10 = A network error occurred loading an XSLT stylesheet:
|
||||
11 = An XSLT stylesheet does not have an XML mimetype:
|
||||
12 = An XSLT stylesheet directly or indirectly imports or includes itself:
|
||||
13 = An XPath function was called with the wrong number of arguments.
|
||||
|
|
|
@ -154,7 +154,7 @@ public:
|
|||
* method would have as default the assumed network order.
|
||||
*
|
||||
* For the last converted char, even if there is not enough output
|
||||
* space, a partial ouput must be done until all available space will be
|
||||
* space, a partial output must be done until all available space will be
|
||||
* used. The rest of the output should be buffered until more space becomes
|
||||
* available. But this is not also true about the error handling method!!!
|
||||
* So be very, very careful...
|
||||
|
|
|
@ -664,7 +664,7 @@ PRIVATE PRBool uCheckAndScanJohabHangul(
|
|||
)
|
||||
{
|
||||
/* since we don't have code to convert Johab to Unicode right now *
|
||||
* make this part of code #if 0 to save space untill we fully test it */
|
||||
* make this part of code #if 0 to save space until we fully test it */
|
||||
if(inbuflen < 2)
|
||||
return PR_FALSE;
|
||||
else {
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
ftp://crl.nmsu.edu/CLR/multiling/unicode/ucdata.zip
|
||||
|
||||
After you get the package, you need to put those file into different
|
||||
place under Mozilla tree untill we check them in.
|
||||
place under Mozilla tree until we check them in.
|
||||
|
||||
a. put ucdata.c and ucdata.h into mozilla/modules/unicharutil/src
|
||||
b. put MUTTUCData.txt and ucgendat.c into mozilla/modules/unicharutil/tools
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
|
||||
/*
|
||||
* These can be controled by the makefile, but this allows a place to set
|
||||
* the values always used in the mozilla client, but perhaps done differnetly
|
||||
* the values always used in the mozilla client, but perhaps done differently
|
||||
* in other embeddings.
|
||||
*/
|
||||
#ifdef MOZILLA_CLIENT
|
||||
|
|
|
@ -47,7 +47,7 @@ changes over that version include:
|
|||
More robust
|
||||
Calling sequence changed to be compatible with readline.
|
||||
Test program, new manpage, better configuration
|
||||
More system-independant; includes Unix and OS-9 support.
|
||||
More system-independent; includes Unix and OS-9 support.
|
||||
|
||||
This contains some changes since the posting to comp.sources.misc:
|
||||
Bugfix for completion on absolute pathnames.
|
||||
|
|
|
@ -381,7 +381,7 @@ extern JSMarkOp js_WrongTypeForClassTracer;
|
|||
#endif
|
||||
|
||||
/*
|
||||
* Tracer callback, called for each traceable thing directly refrenced by a
|
||||
* Tracer callback, called for each traceable thing directly referenced by a
|
||||
* particular object or runtime structure. It is the callback responsibility
|
||||
* to ensure the traversal of the full object graph via calling eventually
|
||||
* JS_TraceChildren on the passed thing. In this case the callback must be
|
||||
|
|
|
@ -54,7 +54,7 @@ x =
|
|||
TEST(2, "element", x.bravo.nodeKind());
|
||||
TEST(3, "attribute", x.@attr1.nodeKind());
|
||||
|
||||
// Non-existant node type is text
|
||||
// Nonexistent node type is text
|
||||
x = new XML();
|
||||
TEST(4, "text", x.nodeKind());
|
||||
TEST(5, "text", XML.prototype.nodeKind());
|
||||
|
|
|
@ -63,7 +63,7 @@ gTestfile = '15.9.4.2.js';
|
|||
Date.parse(x.toGMTString()) test_togmt()
|
||||
|
||||
Date.parse(x.toLocaleString()) is not required to
|
||||
produce the same number value as the preceeding three
|
||||
produce the same number value as the preceding three
|
||||
expressions. in general the value produced by
|
||||
Date.parse is implementation dependent when given any
|
||||
string value that could not be produced in that
|
||||
|
|
|
@ -45,7 +45,7 @@ gTestfile = '15.3.1.1-3.js';
|
|||
new Function(p1, p2, ..., pn, body )
|
||||
|
||||
Description: The last argument specifies the body (executable code)
|
||||
of a function; any preceeding arguments sepcify formal
|
||||
of a function; any preceding arguments sepcify formal
|
||||
parameters.
|
||||
|
||||
See the text for description of this section.
|
||||
|
|
|
@ -44,7 +44,7 @@ gTestfile = '15.3.2.1-1.js';
|
|||
new Function(p1, p2, ..., pn, body )
|
||||
|
||||
Description: The last argument specifies the body (executable code)
|
||||
of a function; any preceeding arguments sepcify formal
|
||||
of a function; any preceding arguments sepcify formal
|
||||
parameters.
|
||||
|
||||
See the text for description of this section.
|
||||
|
|
|
@ -44,7 +44,7 @@ gTestfile = '15.3.2.1-3.js';
|
|||
new Function(p1, p2, ..., pn, body )
|
||||
|
||||
Description: The last argument specifies the body (executable code)
|
||||
of a function; any preceeding arguments sepcify formal
|
||||
of a function; any preceding arguments sepcify formal
|
||||
parameters.
|
||||
|
||||
See the text for description of this section.
|
||||
|
|
|
@ -44,7 +44,7 @@ gTestfile = '15.3.2.1-1.js';
|
|||
new Function(p1, p2, ..., pn, body )
|
||||
|
||||
Description: The last argument specifies the body (executable code)
|
||||
of a function; any preceeding arguments sepcify formal
|
||||
of a function; any preceding arguments sepcify formal
|
||||
parameters.
|
||||
|
||||
See the text for description of this section.
|
||||
|
|
|
@ -46,7 +46,7 @@ var expect = 'PASS';
|
|||
printBugNumber(BUGNUMBER);
|
||||
printStatus (summary);
|
||||
|
||||
// Prepare array a to cause O(a.length^2) bahaviour in the current
|
||||
// Prepare array a to cause O(a.length^2) behaviour in the current
|
||||
// DeutschSchorrWaite implementation
|
||||
|
||||
var a = new Array(1000 * 100);
|
||||
|
|
|
@ -51,7 +51,7 @@ var array = Array(N);
|
|||
array[N - 1] = 1;
|
||||
array[N - 2] = 2;
|
||||
|
||||
// Set getter not to wait untill engine loops through 2^31 holes in the array.
|
||||
// Set getter not to wait until engine loops through 2^31 holes in the array.
|
||||
var LOOP_TERMINATOR = "stop_long_loop";
|
||||
array.__defineGetter__(N - 2, function() {
|
||||
throw "stop_long_loop";
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
var gTestfile = 'regress-346021.js';
|
||||
//-----------------------------------------------------------------------------
|
||||
var BUGNUMBER = 346021;
|
||||
var summary = 'Implmenting __iterator__ as generator';
|
||||
var summary = 'Implementing __iterator__ as generator';
|
||||
var actual = '';
|
||||
var expect = '';
|
||||
|
||||
|
|
|
@ -206,7 +206,7 @@ sub execute_tests {
|
|||
$current_test = $test;
|
||||
|
||||
# Append the shell.js files to the shell_command if they're there.
|
||||
# (only check for their existance if the suite or test_dir has changed
|
||||
# (only check for their existence if the suite or test_dir has changed
|
||||
# since the last time we looked.)
|
||||
if ($last_suite ne $suite || $last_test_dir ne $test_dir) {
|
||||
$shell_command = &xp_path($engine_command);
|
||||
|
|
|
@ -12,7 +12,7 @@ js1_3/regress/function-001-n.js
|
|||
js1_5/Regress/regress-119719.js
|
||||
#
|
||||
# Spidermonkey now defaults lineNumber and fileName
|
||||
# to the location and file where the exception occured.
|
||||
# to the location and file where the exception occurred.
|
||||
# exclude original test which assumes the defaults are
|
||||
# 0 and ''
|
||||
#
|
||||
|
|
|
@ -12,7 +12,7 @@ js1_3/regress/function-001-n.js
|
|||
js1_5/Regress/regress-119719.js
|
||||
#
|
||||
# Spidermonkey now defaults lineNumber and fileName
|
||||
# to the location and file where the exception occured.
|
||||
# to the location and file where the exception occurred.
|
||||
# exclude original test which assumes the defaults are
|
||||
# 0 and ''
|
||||
#
|
||||
|
|
|
@ -11,7 +11,7 @@ js1_3/regress/function-001-n.js
|
|||
js1_5/Regress/regress-119719.js
|
||||
#
|
||||
# Spidermonkey now defaults lineNumber and fileName
|
||||
# to the location and file where the exception occured.
|
||||
# to the location and file where the exception occurred.
|
||||
# exclude original test which assumes the defaults are
|
||||
# 0 and ''
|
||||
#
|
||||
|
|
|
@ -11,7 +11,7 @@ js1_3/regress/function-001-n.js
|
|||
js1_5/Regress/regress-119719.js
|
||||
#
|
||||
# Spidermonkey now defaults lineNumber and fileName
|
||||
# to the location and file where the exception occured.
|
||||
# to the location and file where the exception occurred.
|
||||
# exclude original test which assumes the defaults are
|
||||
# 0 and ''
|
||||
#
|
||||
|
|
|
@ -11,7 +11,7 @@ js1_3/regress/function-001-n.js
|
|||
js1_5/Regress/regress-119719.js
|
||||
#
|
||||
# Spidermonkey now defaults lineNumber and fileName
|
||||
# to the location and file where the exception occured.
|
||||
# to the location and file where the exception occurred.
|
||||
# exclude original test which assumes the defaults are
|
||||
# 0 and ''
|
||||
#
|
||||
|
|
|
@ -11,7 +11,7 @@ js1_3/regress/function-001-n.js
|
|||
js1_5/Regress/regress-119719.js
|
||||
#
|
||||
# Spidermonkey now defaults lineNumber and fileName
|
||||
# to the location and file where the exception occured.
|
||||
# to the location and file where the exception occurred.
|
||||
# exclude original test which assumes the defaults are
|
||||
# 0 and ''
|
||||
#
|
||||
|
|
|
@ -11,7 +11,7 @@ js1_3/regress/function-001-n.js
|
|||
js1_5/Regress/regress-119719.js
|
||||
#
|
||||
# Spidermonkey now defaults lineNumber and fileName
|
||||
# to the location and file where the exception occured.
|
||||
# to the location and file where the exception occurred.
|
||||
# exclude original test which assumes the defaults are
|
||||
# 0 and ''
|
||||
#
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<script type="text/javascript">window.onerror=new Function("return True")</script>
|
||||
<script type="text/javascript" src="inexistant.js"></script>
|
||||
<script type="text/javascript" src="nonexistent.js"></script>
|
||||
</head>
|
||||
|
||||
<body></body>
|
||||
|
|
|
@ -341,7 +341,7 @@ GetWrappedJSObject(JSContext *cx, JSObject *obj)
|
|||
return xclasp->wrappedObject(cx, obj);
|
||||
}
|
||||
|
||||
// Get the (possibly non-existant) COW off of an object
|
||||
// Get the (possibly nonexistent) COW off of an object
|
||||
// TODO Move to XPCWrapper and share with other wrappers.
|
||||
static inline
|
||||
JSObject *
|
||||
|
|
|
@ -120,7 +120,7 @@ ThrowException(nsresult ex, JSContext *cx)
|
|||
return JS_FALSE;
|
||||
}
|
||||
|
||||
// Get the (possibly non-existant) XOW off of an object
|
||||
// Get the (possibly nonexistent) XOW off of an object
|
||||
static inline
|
||||
JSObject *
|
||||
GetWrapper(JSObject *obj)
|
||||
|
|
|
@ -246,7 +246,7 @@ JSBool XPCDispObject::Dispatch(XPCCallContext& ccx, IDispatch * disp,
|
|||
*retval = val;
|
||||
}
|
||||
}
|
||||
// Set the result and throw the error if one occured
|
||||
// Set the result and throw the error if one occurred
|
||||
ccx.GetXPCContext()->SetLastResult(invokeResult);
|
||||
|
||||
if(NS_FAILED(invokeResult))
|
||||
|
|
|
@ -281,7 +281,7 @@ GetWrappedJSObject(JSContext *cx, JSObject *obj)
|
|||
return xclasp->wrappedObject(cx, obj);
|
||||
}
|
||||
|
||||
// Get the (possibly non-existant) SOW off of an object
|
||||
// Get the (possibly nonexistent) SOW off of an object
|
||||
static inline
|
||||
JSObject *
|
||||
GetWrapper(JSObject *obj)
|
||||
|
|
|
@ -163,7 +163,7 @@ XPC_MSG_DEF(NS_ERROR_LOSS_OF_SIGNIFICANT_DATA , "Data conversion failed be
|
|||
XPC_MSG_DEF(NS_SUCCESS_LOSS_OF_INSIGNIFICANT_DATA , "Data conversion succeeded but data was rounded to fit")
|
||||
|
||||
#ifdef XPC_IDISPATCH_SUPPORT
|
||||
XPC_MSG_DEF(NS_ERROR_XPC_COM_UNKNOWN , "Unknown COM error occured")
|
||||
XPC_MSG_DEF(NS_ERROR_XPC_COM_UNKNOWN , "Unknown COM error occurred")
|
||||
XPC_MSG_DEF(NS_ERROR_XPC_COM_ERROR , "COM Error")
|
||||
XPC_MSG_DEF(NS_ERROR_XPC_COM_INVALID_CLASS_ID , "Invalid class ID")
|
||||
XPC_MSG_DEF(NS_ERROR_XPC_COM_CREATE_FAILED , "Unable to create an instance of the desired COM class")
|
||||
|
|
|
@ -415,7 +415,7 @@ XPCWrappedNative::GetNewOrUsed(XPCCallContext& ccx,
|
|||
// Gather scriptable create info if we are wrapping something
|
||||
// other than an nsIClassInfo object. We need to not do this for
|
||||
// nsIClassInfo objects because often nsIClassInfo implementations
|
||||
// are also nsIXPCScriptable helper implmentations, but the helper
|
||||
// are also nsIXPCScriptable helper implementations, but the helper
|
||||
// code is obviously intended for the implementation of the class
|
||||
// described by the nsIClassInfo, not for the class info object
|
||||
// itself.
|
||||
|
|
|
@ -190,7 +190,7 @@ XPC_WN_Shared_ToSource(JSContext *cx, JSObject *obj,
|
|||
// returning the underlying JSObject) so that JS callers will see what looks
|
||||
// Like any other xpcom object - and be limited to use its interfaces.
|
||||
//
|
||||
// See the comment preceeding nsIXPCWrappedJSObjectGetter in nsIXPConnect.idl.
|
||||
// See the comment preceding nsIXPCWrappedJSObjectGetter in nsIXPConnect.idl.
|
||||
|
||||
static JSObject*
|
||||
GetDoubleWrappedJSObject(XPCCallContext& ccx, XPCWrappedNative* wrapper)
|
||||
|
|
|
@ -89,20 +89,20 @@ function test()
|
|||
testInstantiate(compInfo.name, compInfo.cid, compInfo.scriptable);
|
||||
testInstantiate(compInfo.name, compInfo.progid, compInfo.scriptable);
|
||||
}
|
||||
// Test a non-existant COM object
|
||||
// Test a nonexistent COM object
|
||||
var obj;
|
||||
try
|
||||
{
|
||||
obj = COMObject("dwbnonexistantobject");
|
||||
printFailure("var obj = COMObject('dwbnonexistantobject'); did not throw an exception");
|
||||
obj = COMObject("dwbnonexistentobject");
|
||||
printFailure("var obj = COMObject('dwbnonexistentobject'); did not throw an exception");
|
||||
}
|
||||
catch (e)
|
||||
{
|
||||
}
|
||||
try
|
||||
{
|
||||
obj = COMObject("dwbnonexistantobject");
|
||||
printFailure("obj = COMObject('dwbnonexistantobject'); did not throw an exception");
|
||||
obj = COMObject("dwbnonexistentobject");
|
||||
printFailure("obj = COMObject('dwbnonexistentobject'); did not throw an exception");
|
||||
}
|
||||
catch (e)
|
||||
{
|
||||
|
@ -117,6 +117,6 @@ function test()
|
|||
}
|
||||
catch (e)
|
||||
{
|
||||
reportFailure("Unhandled exception occured:" + e.toString());
|
||||
reportFailure("Unhandled exception occurred:" + e.toString());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -168,7 +168,7 @@ sub execute_tests {
|
|||
}
|
||||
|
||||
# Append the shell.js files to the shell_command if they're there.
|
||||
# (only check for their existance if the suite or test_dir has changed
|
||||
# (only check for their existence if the suite or test_dir has changed
|
||||
# since the last time we looked.)
|
||||
if ($last_suite ne $suite || $last_test_dir ne $test_dir) {
|
||||
$shell_command = &xp_path($engine_command);
|
||||
|
|
|
@ -9143,7 +9143,7 @@ nsCSSFrameConstructor::RecreateFramesForContent(nsIContent* aContent,
|
|||
changeType = nsIAccessibilityService::FRAME_SHOW;
|
||||
}
|
||||
|
||||
// A significant enough change occured that this part
|
||||
// A significant enough change occurred that this part
|
||||
// of the accessible tree is no longer valid.
|
||||
nsCOMPtr<nsIAccessibilityService> accService =
|
||||
do_GetService("@mozilla.org/accessibilityService;1");
|
||||
|
|
|
@ -1308,7 +1308,7 @@ nsFrameManager::ReResolveStyleContext(nsPresContext *aPresContext,
|
|||
if (fireAccessibilityEvents && mPresShell->IsAccessibilityActive() &&
|
||||
aFrame->GetStyleVisibility()->IsVisible() != isVisible &&
|
||||
!aFrame->GetPrevContinuation()) {
|
||||
// A significant enough change occured that this part
|
||||
// A significant enough change occurred that this part
|
||||
// of the accessible tree is no longer valid. Fire event for primary
|
||||
// frames only and if it wasn't fired for parent frame already.
|
||||
|
||||
|
|
|
@ -1121,7 +1121,7 @@ protected:
|
|||
// Do we currently have an event posted to call FlushUserFontSet?
|
||||
unsigned mPostedFlushUserFontSet : 1;
|
||||
|
||||
// resize reflow is supressed when the only change has been to zoom
|
||||
// resize reflow is suppressed when the only change has been to zoom
|
||||
// the document rather than to change the document's dimensions
|
||||
unsigned mSupressResizeReflow : 1;
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ public:
|
|||
* returning.
|
||||
* aRegressionOutput will vary output, 0 is full output, 1 is brief
|
||||
*/
|
||||
NS_IMETHOD CompareRegressionData(FILE* aFile1, FILE* aFile2,PRInt32 aRegressionOuput) = 0;
|
||||
NS_IMETHOD CompareRegressionData(FILE* aFile1, FILE* aFile2,PRInt32 aRegressionOutput) = 0;
|
||||
|
||||
/**
|
||||
* Display the regression dump data stored in aInputFile1 to
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="nonexistant_or_existant.css">
|
||||
<link rel="stylesheet" href="nonexistent_or_existent.css">
|
||||
<style type="text/css"></style>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -397,7 +397,7 @@ nsGlyphTable::ElementAt(nsPresContext* aPresContext, nsMathMLChar* aChar, PRUint
|
|||
font = value[i] - '0';
|
||||
++i;
|
||||
if (font >= mFontName.Length()) {
|
||||
NS_ERROR("Non-existant font referenced in glyph table");
|
||||
NS_ERROR("Nonexistent font referenced in glyph table");
|
||||
return kNullGlyph;
|
||||
}
|
||||
// The char cannot be handled if this font is not installed
|
||||
|
|
|
@ -98,7 +98,7 @@ public:
|
|||
|
||||
/**
|
||||
* Get this frame's contribution to the rect returned by a GetBBox() call
|
||||
* that occured either on this element, or on one of its ancestors.
|
||||
* that occurred either on this element, or on one of its ancestors.
|
||||
*
|
||||
* SVG defines an element's bbox to be the element's fill bounds in the
|
||||
* userspace established by that element. By allowing callers to pass in the
|
||||
|
|
|
@ -306,7 +306,7 @@ public:
|
|||
* encounters a non-container SVG node) invalidating all mutation observers
|
||||
* (not just nsSVGRenderingObservers) on all nodes along the way (not just
|
||||
* the first node it finds with observers). In other words, by doing all the
|
||||
* things in parentheses in the preceeding sentence, this method uses
|
||||
* things in parentheses in the preceding sentence, this method uses
|
||||
* knowledge about our implementation and what can be affected by SVG effects
|
||||
* to make invalidation relatively lightweight when an SVG effect changes.
|
||||
*/
|
||||
|
|
|
@ -12,5 +12,5 @@
|
|||
window.addEventListener("load", init, false);
|
||||
</script>
|
||||
|
||||
<rect requiredFeatures="http://www.w3.org/TR/SVG11/feature#SVG-nonexistant-feature"/>
|
||||
<rect requiredFeatures="http://www.w3.org/TR/SVG11/feature#SVG-nonexistent-feature"/>
|
||||
</svg>
|
||||
|
|
До Ширина: | Высота: | Размер: 414 B После Ширина: | Высота: | Размер: 414 B |
|
@ -38,7 +38,7 @@
|
|||
<!--
|
||||
|
||||
Features to add:
|
||||
* make the left and right parts of the viewer independantly scrollable
|
||||
* make the left and right parts of the viewer independently scrollable
|
||||
* make the test list filterable
|
||||
** default to only showing unexpecteds
|
||||
* add other ways to highlight differences other than circling?
|
||||
|
|
|
@ -62,7 +62,7 @@ NS_HIDDEN_(nsresult) ZW_ReadData(nsIInputStream *aStream, char *aBuffer, PRUint3
|
|||
}
|
||||
|
||||
/*
|
||||
* Fully writes the required amount of data. Keeps writing untill all the
|
||||
* Fully writes the required amount of data. Keeps writing until all the
|
||||
* data is written or an error is hit.
|
||||
*/
|
||||
NS_HIDDEN_(nsresult) ZW_WriteData(nsIOutputStream *aStream, const char *aBuffer,
|
||||
|
|
|
@ -86,7 +86,7 @@ interface imgIRequest : nsIRequest
|
|||
* STATUS_LOAD_COMPLETE: The data has been fully loaded
|
||||
* to memory, but not necessarily fully decoded.
|
||||
*
|
||||
* STATUS_ERROR: An error occured loading the image.
|
||||
* STATUS_ERROR: An error occurred loading the image.
|
||||
*
|
||||
* STATUS_FRAME_COMPLETE: The first frame has been
|
||||
* completely decoded.
|
||||
|
|
|
@ -107,7 +107,7 @@
|
|||
* destroy the old frame and build the new one.
|
||||
*
|
||||
* @note
|
||||
* <li> "Mask", "Alpha", and "Alpha Level" are interchangable phrases in
|
||||
* <li> "Mask", "Alpha", and "Alpha Level" are interchangeable phrases in
|
||||
* respects to imgContainer.
|
||||
*
|
||||
* @par
|
||||
|
|
|
@ -59,7 +59,7 @@ interface nsIPrefLocalizedString : nsISupports
|
|||
* Provides access to string data stored in this property.
|
||||
*
|
||||
* @return NS_OK The operation succeeded.
|
||||
* @return Other An error occured.
|
||||
* @return Other An error occurred.
|
||||
*/
|
||||
attribute wstring data;
|
||||
|
||||
|
|
|
@ -2713,7 +2713,7 @@ pref("applications.rlogin_with_user", "create /term /detach \"rlogin %h -l %u\""
|
|||
|
||||
/* PostScript module specific (see unix.js for additional configuration details) */
|
||||
pref("print.postscript.print_command", "print /delete");
|
||||
/* Print module independant */
|
||||
/* Print module independent */
|
||||
pref("print.print_command", "print /delete");
|
||||
pref("print.print_color", false);
|
||||
|
||||
|
|
|
@ -714,7 +714,7 @@ static int _bufio_flushBuf( BufioFile* file )
|
|||
* sets the file buffer size to bufsize, clearing the buffer in the process.
|
||||
*
|
||||
* accepts bufsize of -1 to mean default buffer size, defined by BUFIO_BUFSIZE_DEFAULT
|
||||
* returns new buffers size, or -1 if error occured
|
||||
* returns new buffers size, or -1 if error occurred
|
||||
*/
|
||||
|
||||
int bufio_SetBufferSize(BufioFile* file, int bufsize)
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
#include "prmem.h"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Ouput format from NPP_GetMIMEDescription: "...mime type[;version]:[extension]:[desecription];..."
|
||||
// Output format from NPP_GetMIMEDescription: "...mime type[;version]:[extension]:[desecription];..."
|
||||
// The ambiguity of mime description could cause the browser fail to parse the MIME types
|
||||
// correctly.
|
||||
// E.g. "mime type::desecription;" // correct w/o ext
|
||||
|
|
|
@ -149,7 +149,7 @@ static LRESULT CALLBACK PluginWinProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM
|
|||
DrawText(hdc, string, strlen(string), &rc, DT_SINGLELINE | DT_CENTER | DT_VCENTER);
|
||||
}
|
||||
else {
|
||||
char string[] = "Error occured";
|
||||
char string[] = "Error occurred";
|
||||
DrawText(hdc, string, strlen(string), &rc, DT_SINGLELINE | DT_CENTER | DT_VCENTER);
|
||||
}
|
||||
|
||||
|
|
|
@ -150,7 +150,7 @@ DWORD nsPluginThread::callNPP(npapiAction aAction, DWORD aP1, DWORD aP2,
|
|||
DWORD aP3, DWORD aP4, DWORD aP5,
|
||||
DWORD aP6, DWORD aP7)
|
||||
{
|
||||
// don't enter untill thread is ready
|
||||
// don't enter until thread is ready
|
||||
while (isBusy()) {
|
||||
Sleep(0);
|
||||
}
|
||||
|
@ -165,7 +165,7 @@ DWORD nsPluginThread::callNPP(npapiAction aAction, DWORD aP1, DWORD aP2,
|
|||
|
||||
doAction(aAction);
|
||||
|
||||
// don't return untill thread is ready
|
||||
// don't return until thread is ready
|
||||
while (isBusy()) {
|
||||
Sleep(0);
|
||||
}
|
||||
|
|
|
@ -83,7 +83,7 @@ public:
|
|||
// socketRef - socket identifier
|
||||
// fd - socket file descriptor
|
||||
// outFlags - value of PR_PollDesc::out_flags after PR_Poll returns
|
||||
// or -1 if a timeout occured
|
||||
// or -1 if a timeout occurred
|
||||
//
|
||||
virtual void OnSocketReady(PRFileDesc *fd, PRInt16 outFlags) = 0;
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ interface nsIRequestObserver;
|
|||
/**
|
||||
* nsIURIChecker
|
||||
*
|
||||
* The URI checker is a component that can be used to verify the existance
|
||||
* The URI checker is a component that can be used to verify the existence
|
||||
* of a resource at the location specified by a given URI. It will use
|
||||
* protocol specific methods to verify the URI (e.g., use of HEAD request
|
||||
* for HTTP URIs).
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
|
||||
/**
|
||||
* The async request has been "redirected" to a different async request.
|
||||
* (e.g., an HTTP redirect occured).
|
||||
* (e.g., an HTTP redirect occurred).
|
||||
*
|
||||
* This error code is used with load groups to notify the load group observer
|
||||
* when a request in the load group is redirected to another request.
|
||||
|
|
|
@ -562,7 +562,7 @@ nsInputStreamPump::OnStateStop()
|
|||
{
|
||||
LOG((" OnStateStop [this=%x status=%x]\n", this, mStatus));
|
||||
|
||||
// if an error occured, we must be sure to pass the error onto the async
|
||||
// if an error occurred, we must be sure to pass the error onto the async
|
||||
// stream. in some cases, this is redundant, but since close is idempotent,
|
||||
// this is OK. otherwise, be sure to honor the "close-when-done" option.
|
||||
|
||||
|
|
|
@ -722,7 +722,7 @@ nsProtocolProxyService::DisableProxy(nsProxyInfo *pi)
|
|||
dsec += pi->mTimeout;
|
||||
|
||||
// NOTE: The classic codebase would increase the timeout value
|
||||
// incrementally each time a subsequent failure occured.
|
||||
// incrementally each time a subsequent failure occurred.
|
||||
// We could do the same, but it would require that we not
|
||||
// remove proxy entries in IsProxyDisabled or otherwise
|
||||
// change the way we are recording disabled proxies.
|
||||
|
|
|
@ -196,7 +196,7 @@ nsSegmentEncoder::EncodeSegmentCount(const char *str,
|
|||
pos = 0;
|
||||
len = encBuf.Length();
|
||||
}
|
||||
// else some failure occured... assume UTF-8 is ok.
|
||||
// else some failure occurred... assume UTF-8 is ok.
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ public:
|
|||
/**
|
||||
* Called when a chunk of data arrives on the control connection.
|
||||
* @param data
|
||||
* The new data or null if an error occured.
|
||||
* The new data or null if an error occurred.
|
||||
* @param dataLen
|
||||
* The data length in bytes.
|
||||
*/
|
||||
|
|
|
@ -211,7 +211,7 @@ CanUseDefaultCredentials(nsIHttpChannel *channel, PRBool isProxyAuth)
|
|||
}
|
||||
|
||||
// Dummy class for session state object. This class doesn't hold any data.
|
||||
// Instead we use its existance as a flag. See ChallengeReceived.
|
||||
// Instead we use its existence as a flag. See ChallengeReceived.
|
||||
class nsNTLMSessionState : public nsISupports
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -686,7 +686,7 @@ mozTXTToHTMLConv::StructPhraseHit(const PRUnichar * aInString, PRInt32 aInString
|
|||
/* We're searching for the following pattern:
|
||||
LT_DELIMITER - "*" - ALPHA -
|
||||
[ some text (maybe more "*"-pairs) - ALPHA ] "*" - LT_DELIMITER.
|
||||
<strong> is only inserted, if existance of a pair could be verified
|
||||
<strong> is only inserted, if existence of a pair could be verified
|
||||
We use the first opening/closing tag, if we can choose */
|
||||
|
||||
const PRUnichar * newOffset = aInString;
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
|
||||
// defined in osx_corewlan.mm
|
||||
// basically relaces accesspoints in the passed reference
|
||||
// it lives in a seperate file so that we can use objective c.
|
||||
// it lives in a separate file so that we can use objective c.
|
||||
extern nsresult GetAccessPointsFromWLAN(nsCOMArray<nsWifiAccessPoint> &accessPoints);
|
||||
|
||||
nsresult
|
||||
|
|
|
@ -342,7 +342,7 @@ XML_SetEntityDeclHandler(XML_Parser parser,
|
|||
XML_EntityDeclHandler handler);
|
||||
|
||||
/* OBSOLETE -- OBSOLETE -- OBSOLETE
|
||||
This handler has been superceded by the EntityDeclHandler above.
|
||||
This handler has been superseded by the EntityDeclHandler above.
|
||||
It is provided here for backward compatibility.
|
||||
|
||||
This is called for a declaration of an unparsed (NDATA) entity.
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
* IMPORTANT: The parser may Open each container more than
|
||||
* once! This is due to the irregular nature of HTML files.
|
||||
* For example, it is possible to encounter plain text at
|
||||
* the start of an HTML document (that preceeds the HTML tag).
|
||||
* the start of an HTML document (that precedes the HTML tag).
|
||||
* Such text is treated as if it were part of the body.
|
||||
* In such cases, the parser will Open the body, pass the text-
|
||||
* node in and then Close the body. The body will likely be
|
||||
|
|
|
@ -149,7 +149,7 @@ class nsIParserNode { // XXX Should be nsAParserNode
|
|||
|
||||
/**
|
||||
* This getter retrieves the line number from the input source where
|
||||
* the token occured. Lines are interpreted as occuring between \n characters.
|
||||
* the token occurred. Lines are interpreted as occurring between \n characters.
|
||||
* @update gess7/24/98
|
||||
* @return int containing the line number the token was found on
|
||||
*/
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче