Bug 826014 - Use strict equality operator in BrowserApp.observe(). r=cpeterson
authorTetsuharu OHZEKI <saneyuki.s.snyk@gmail.com>
Thu, 03 Jan 2013 23:07:55 +0900
changeset 126536 2fe6de3ac044c73d85a68735f4d8f9bc4a5648d8
parent 126535 826872a472a155b651a9ae01135718da009051eb
child 126537 fc28093525ac0a225abeab4e651430ae23598fa0
push id2151
push userlsblakk@mozilla.com
push dateTue, 19 Feb 2013 18:06:57 +0000
treeherdermozilla-beta@4952e88741ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscpeterson
bugs826014
milestone20.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 826014 - Use strict equality operator in BrowserApp.observe(). r=cpeterson
mobile/android/chrome/content/browser.js
--- a/mobile/android/chrome/content/browser.js
+++ b/mobile/android/chrome/content/browser.js
@@ -1092,20 +1092,20 @@ var BrowserApp = {
         }
 
         let delayLoad = ("delayLoad" in data) ? data.delayLoad : false;
         let params = {
           selected: !delayLoad,
           parentId: ("parentId" in data) ? data.parentId : -1,
           flags: flags,
           tabID: data.tabID,
-          isPrivate: (data.isPrivate == true),
-          pinned: (data.pinned == true),
-          delayLoad: (delayLoad == true),
-          desktopMode: (data.desktopMode == true)
+          isPrivate: (data.isPrivate === true),
+          pinned: (data.pinned === true),
+          delayLoad: (delayLoad === true),
+          desktopMode: (data.desktopMode === true)
         };
 
         let url = data.url;
         if (data.engine) {
           let engine = Services.search.getEngineByName(data.engine);
           if (engine) {
             let submission = engine.getSubmission(url);
             url = submission.uri.spec;