Bug 1312216 - followup: also init _openedURL to null for the subdialogs singleton to squash the strict warning, rs=me,trivial,firebot,etc.
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Thu, 19 Jan 2017 16:57:01 +0000
changeset 377439 92ac20f11d85f26fe8d12c2d602814c0a229d750
parent 377438 0c891a3aff93a1fa431d1036b5ffd7942129b623
child 377440 118b9a68bb7e796e93d53d97fbdee00d6f72c24f
push id1419
push userjlund@mozilla.com
push dateMon, 10 Apr 2017 20:44:07 +0000
treeherdermozilla-release@5e6801b73ef6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme, trivial, firebot, etc
bugs1312216
milestone53.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 1312216 - followup: also init _openedURL to null for the subdialogs singleton to squash the strict warning, rs=me,trivial,firebot,etc. MozReview-Commit-ID: FQTEI7jYGyq
browser/components/preferences/in-content/subdialogs.js
--- a/browser/components/preferences/in-content/subdialogs.js
+++ b/browser/components/preferences/in-content/subdialogs.js
@@ -6,16 +6,17 @@
 
 var gSubDialog = {
   _closingCallback: null,
   _closingEvent: null,
   _isClosing: false,
   _frame: null,
   _overlay: null,
   _box: null,
+  _openedURL: null,
   _injectedStyleSheets: [
     "chrome://browser/skin/preferences/preferences.css",
     "chrome://global/skin/in-content/common.css",
     "chrome://browser/skin/preferences/in-content/preferences.css",
     "chrome://browser/skin/preferences/in-content/dialog.css",
   ],
   _resizeObserver: null,