mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-02 20:20:00 +00:00
Bug 86217 - javascript strict warnings in sendProgress.js
patch by caillon@returnzero.com r=hwaara,varada sr=sspitzer
This commit is contained in:
parent
1d47cc3acb
commit
0daf9ec30a
@ -125,7 +125,7 @@ var progressListener = {
|
||||
|
||||
function getString( stringId ) {
|
||||
// Check if we've fetched this string already.
|
||||
if ( !dialog.strings[ stringId ] ) {
|
||||
if (!(stringId in dialog.strings)) {
|
||||
// Try to get it.
|
||||
var elem = document.getElementById( "dialog.strings."+stringId );
|
||||
try {
|
||||
@ -196,7 +196,7 @@ function onLoad() {
|
||||
moveToAlertPosition();
|
||||
|
||||
//We need to delay the set title else dom will overwrite it
|
||||
return window.setTimeout(SetTitle, 0, subject);
|
||||
window.setTimeout(SetTitle, 0, subject);
|
||||
}
|
||||
|
||||
function onUnload()
|
||||
|
Loading…
x
Reference in New Issue
Block a user