зеркало из https://github.com/mozilla/gecko-dev.git
Bug 458167 - Fix bad usage of "it's" in comments: patch for dom folder. r+sr=jst
This commit is contained in:
Родитель
270e90f917
Коммит
63355ba2aa
|
@ -73,7 +73,7 @@ interface nsIDOMNavigator : nsISupports
|
|||
[scriptable, uuid(4b4f8316-1dd2-11b2-b265-9a857376d159)]
|
||||
interface nsIDOMJSNavigator : nsISupports
|
||||
{
|
||||
// Nothing about this method (except it's name :-) is describeable
|
||||
// Nothing about this method (except its name :-) is describeable
|
||||
// in XPIDL, argument handling and the return value needs to be
|
||||
// dealt with in the implementation of this method.
|
||||
void preference();
|
||||
|
|
|
@ -9795,7 +9795,7 @@ nsHTMLPluginObjElementSH::GetPluginJSObject(JSContext *cx, JSObject *obj,
|
|||
|
||||
// Check if the plugin can be safely scriptable, the plugin wrapper
|
||||
// must not have a shared prototype for this to work since we'll end
|
||||
// up setting it's prototype here, and we want this change to affect
|
||||
// up setting its prototype here, and we want this change to affect
|
||||
// this plugin object only.
|
||||
|
||||
if (ci) {
|
||||
|
@ -9839,7 +9839,7 @@ nsHTMLPluginObjElementSH::GetPluginJSObject(JSContext *cx, JSObject *obj,
|
|||
NS_ENSURE_SUCCESS(rv, NS_OK);
|
||||
|
||||
// QI holder to nsIXPConnectWrappedNative so that we can reliably
|
||||
// access it's prototype
|
||||
// access its prototype
|
||||
nsCOMPtr<nsIXPConnectWrappedNative> pi_wrapper(do_QueryInterface(holder));
|
||||
NS_ENSURE_TRUE(pi_wrapper, NS_ERROR_UNEXPECTED);
|
||||
|
||||
|
|
|
@ -7754,7 +7754,7 @@ nsGlobalWindow::RunTimeout(nsTimeout *aTimeout)
|
|||
// The timeout still has an OS timer, and it's not an
|
||||
// interval, that means that the OS timer could still fire (if
|
||||
// it didn't already, i.e. aTimeout == timeout), cancel the OS
|
||||
// timer and release it's reference to the timeout.
|
||||
// timer and release its reference to the timeout.
|
||||
timeout->mTimer->Cancel();
|
||||
timeout->mTimer = nsnull;
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
* needs a weak reference to the timeout so that it can be canceled if the
|
||||
* worker is canceled (in the event that the page falls out of the fastback
|
||||
* cache or the application is exiting, for instance). The only thing that holds
|
||||
* the timeout alive is it's mTimer via the nsITimerCallback interface. If the
|
||||
* the timeout alive is its mTimer via the nsITimerCallback interface. If the
|
||||
* timer is single-shot and has run already or if the timer is canceled then
|
||||
* this object should die.
|
||||
*/
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
<script type="text/javascript" language="javascript" charset="utf-8">
|
||||
// <![CDATA[
|
||||
|
||||
// Serializes a node and it's contents to plain old HTML
|
||||
// Serializes a node and its contents to plain old HTML
|
||||
// IMPORTANT: style attributes can't be correctly serialized cross-browser wise,
|
||||
// so the contents of style attributes must match what IE thinks is correct
|
||||
function serializeNode(node){
|
||||
|
|
Загрузка…
Ссылка в новой задаче