minor code review

This commit is contained in:
gorhill 2017-04-03 10:10:27 -04:00
parent bad345ea23
commit b3d210c866
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
4 changed files with 4 additions and 4 deletions

View File

@ -57,7 +57,7 @@ if ( /^image\/|^text\/plain/.test(contentType) ) {
/******************************************************************************/
// https://bugs.chromium.org/p/project-zero/issues/detail?id=1225&desc=6#c10
if ( !self.vAPI || !self.vAPI.uBO ) {
if ( !self.vAPI || self.vAPI.uBO !== true ) {
self.vAPI = { uBO: true };
}

View File

@ -29,7 +29,7 @@
(function(self) {
// https://bugs.chromium.org/p/project-zero/issues/detail?id=1225&desc=6#c10
if ( !self.vAPI || !self.vAPI.uBO ) {
if ( !self.vAPI || self.vAPI.uBO !== true ) {
self.vAPI = { uBO: true };
}

View File

@ -46,7 +46,7 @@ if ( document instanceof HTMLDocument === false ) {
/******************************************************************************/
// https://bugs.chromium.org/p/project-zero/issues/detail?id=1225&desc=6#c10
if ( !self.vAPI || !self.vAPI.uBO ) {
if ( !self.vAPI || self.vAPI.uBO !== true ) {
self.vAPI = { uBO: true };
}

View File

@ -37,7 +37,7 @@ const {Services} = Components.utils.import(
);
// https://bugs.chromium.org/p/project-zero/issues/detail?id=1225&desc=6#c10
if ( !self.vAPI || !self.vAPI.uBO ) {
if ( !self.vAPI || self.vAPI.uBO !== true ) {
self.vAPI = { uBO: true };
}