diff --git a/browser/components/extensions/test/browser/head.js b/browser/components/extensions/test/browser/head.js index f83ba03699b3..25a41bf42fa5 100644 --- a/browser/components/extensions/test/browser/head.js +++ b/browser/components/extensions/test/browser/head.js @@ -26,7 +26,6 @@ const {CustomizableUI} = Cu.import("resource:///modules/CustomizableUI.jsm", {}) // use to select our configuration. if (gTestPath.includes("test-oop-extensions")) { SpecialPowers.pushPrefEnv({set: [ - ["dom.ipc.processCount.extension", 1], ["extensions.webextensions.remote", true], ]}); // We don't want to reset this at the end of the test, so that we don't have diff --git a/browser/components/migration/tests/marionette/test_refresh_firefox.py b/browser/components/migration/tests/marionette/test_refresh_firefox.py index 808115ca16cf..00b72cce658c 100644 --- a/browser/components/migration/tests/marionette/test_refresh_firefox.py +++ b/browser/components/migration/tests/marionette/test_refresh_firefox.py @@ -3,6 +3,7 @@ import shutil import time from marionette_harness import MarionetteTestCase +from marionette_driver.errors import NoAlertPresentException class TestFirefoxRefresh(MarionetteTestCase): @@ -269,11 +270,17 @@ class TestFirefoxRefresh(MarionetteTestCase): """) self.assertSequenceEqual(tabURIs, ["about:welcomeback"]) + # Dismiss modal dialog if any. This is mainly to dismiss the check for + # default browser dialog if it shows up. + try: + alert = self.marionette.switch_to_alert() + alert.dismiss() + except NoAlertPresentException: + pass + tabURIs = self.runAsyncCode(""" let mm = gBrowser.selectedBrowser.messageManager; - let fs = function() { - content.document.getElementById("errorTryAgain").click(); - }; + let {TabStateFlusher} = Cu.import("resource:///modules/sessionstore/TabStateFlusher.jsm", {}); window.addEventListener("SSWindowStateReady", function testSSPostReset() { window.removeEventListener("SSWindowStateReady", testSSPostReset, false); @@ -281,6 +288,17 @@ class TestFirefoxRefresh(MarionetteTestCase): marionetteScriptFinished([... gBrowser.browsers].map(b => b.currentURI && b.currentURI.spec)); }); }, false); + + let fs = function() { + if (content.document.readyState === "complete") { + content.document.getElementById("errorTryAgain").click(); + } else { + content.window.addEventListener("load", function(event) { + content.document.getElementById("errorTryAgain").click(); + }, { once: true }); + } + }; + mm.loadFrameScript("data:application/javascript,(" + fs.toString() + ")()", true); """) self.assertSequenceEqual(tabURIs, self._expectedURLs) diff --git a/browser/extensions/aushelper/bootstrap.js b/browser/extensions/aushelper/bootstrap.js index 4820e52a45fa..d1a9656f068e 100644 --- a/browser/extensions/aushelper/bootstrap.js +++ b/browser/extensions/aushelper/bootstrap.js @@ -8,8 +8,33 @@ const {classes: Cc, interfaces: Ci, utils: Cu} = Components; const APP_UPDATE_URL_PREF = "app.update.url"; const REPLACE_KEY = "%OS_VERSION%"; +const AUSHELPER_CPU_RESULT_CODE_HISTOGRAM_ID = "AUSHELPER_CPU_RESULT_CODE"; +// The system is not vulnerable to Bug 1296630. +const CPU_NO_BUG1296630 = 1; +// The system is vulnerable to Bug 1296630. +const CPU_YES_BUG1296630 = 2; +// An error occured when checking if the system is vulnerable to Bug 1296630. +const CPU_ERR_BUG1296630 = 3; +// It is unknown whether the system is vulnerable to Bug 1296630 (should never happen). +const CPU_UNKNOWN_BUG1296630 = 4; + +const AUSHELPER_CPU_ERROR_CODE_HISTOGRAM_ID = "AUSHELPER_CPU_ERROR_CODE"; +const CPU_SUCCESS = 0; +const CPU_REG_OPEN_ERROR = 1; +const CPU_VENDOR_ID_ERROR = 2; +const CPU_ID_ERROR = 4; +const CPU_REV_ERROR = 8; + +const AUSHELPER_WEBSENSE_REG_VERSION_SCALAR_NAME = "aushelper.websense_reg_version"; +const AUSHELPER_WEBSENSE_REG_EXISTS_HISTOGRAM_ID = "AUSHELPER_WEBSENSE_REG_EXISTS"; + +const AUSHELPER_WEBSENSE_ERROR_CODE_HISTOGRAM_ID = "AUSHELPER_WEBSENSE_ERROR_CODE"; +const WEBSENSE_SUCCESS = 0; +const WEBSENSE_REG_OPEN_ERROR = 1; +const WEBSENSE_REG_READ_ERROR = 2; +const WEBSENSE_ALREADY_MODIFIED = 4; + Cu.import("resource://gre/modules/Services.jsm"); -Cu.import("resource://gre/modules/TelemetryLog.jsm"); function startup() { if (Services.appinfo.OS != "WINNT") { @@ -18,12 +43,13 @@ function startup() { const regCPUPath = "HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\0"; let wrk; + let cpuErrorCode = CPU_SUCCESS; try { wrk = Cc["@mozilla.org/windows-registry-key;1"].createInstance(Ci.nsIWindowsRegKey); wrk.open(wrk.ROOT_KEY_LOCAL_MACHINE, regCPUPath, wrk.ACCESS_READ); } catch (e) { - Cu.reportError("Unable to open registry. Exception: " + e); - TelemetryLog.log("AUSHELPER_FATAL_ERROR", [e]); + Cu.reportError("AUSHelper - unable to open registry. Exception: " + e); + cpuErrorCode |= CPU_REG_OPEN_ERROR; } // If any of the following values are successfully retrieved and they don't @@ -41,9 +67,9 @@ function startup() { cpuVendorIDMatch = true; } } catch (e) { + Cu.reportError("AUSHelper - error getting CPU vendor indentifier. Exception: " + e); cpuVendorIDMatch = null; - Cu.reportError("Error getting CPU vendor indentifier. Exception: " + e); - TelemetryLog.log("AUSHELPER_CPU_VENDOR_ID_ERROR", [e]); + cpuErrorCode |= CPU_VENDOR_ID_ERROR; } let cpuIDMatch = false; @@ -53,9 +79,9 @@ function startup() { cpuIDMatch = true; } } catch (e) { + Cu.reportError("AUSHelper - error getting CPU indentifier. Exception: " + e); cpuIDMatch = null; - Cu.reportError("Error getting CPU indentifier. Exception: " + e); - TelemetryLog.log("AUSHELPER_CPU_ID_ERROR", [e]); + cpuErrorCode |= CPU_ID_ERROR; } let microCodeVersions = [0xe, 0x11, 0x12, 0x13, 0x16, 0x18, 0x19]; @@ -67,8 +93,8 @@ function startup() { let regVal = wrk.readBinaryValue(keyNames[i]); if (regVal.length == 8) { let hexVal = []; - // We are only inyterested in the highest byte and return the little - // endian value for it. + // We are only inyterested in the upper 4 bytes and the little endian + // value for it. for (let j = 4; j < 8; j++) { let c = regVal.charCodeAt(j).toString(16); if (c.length == 1) { @@ -86,44 +112,78 @@ function startup() { if (i == keyNames.length - 1) { // The registry key name's value was not successfully queried. cpuRevMatch = null; - TelemetryLog.log("AUSHELPER_CPU_REV_ERROR", [e]); + cpuErrorCode |= CPU_REV_ERROR; } } } + wrk.close(); } catch (ex) { + Cu.reportError("AUSHelper - error getting CPU revision. Exception: " + ex); cpuRevMatch = null; - Cu.reportError("Error getting CPU revision. Exception: " + ex); - TelemetryLog.log("AUSHELPER_CPU_REV_ERROR", [ex]); + cpuErrorCode |= CPU_REV_ERROR; } - let resultCode = 3; - let newValue = "(unkBug1296630v1)"; + let cpuResult = CPU_UNKNOWN_BUG1296630; + let cpuValue = "(unkBug1296630v1)"; // The following uses strict equality checks since the values can be true, // false, or null. if (cpuVendorIDMatch === false || cpuIDMatch === false || cpuRevMatch === false) { // Since one of the values is false then the system won't be affected by // bug 1296630 according to the conditions set out in bug 1311515. - newValue = "(noBug1296630v1)"; - resultCode = 0; + cpuValue = "(noBug1296630v1)"; + cpuResult = CPU_NO_BUG1296630; } else if (cpuVendorIDMatch === null || cpuIDMatch === null || cpuRevMatch === null) { // Since one of the values is null we can't say for sure if the system will // be affected by bug 1296630. - newValue = "(errBug1296630v1)"; - resultCode = 2; + cpuValue = "(errBug1296630v1)"; + cpuResult = CPU_ERR_BUG1296630; } else if (cpuVendorIDMatch === true && cpuIDMatch === true && cpuRevMatch === true) { // Since all of the values are true we can say that the system will be // affected by bug 1296630. - newValue = "(yesBug1296630v1)"; - resultCode = 1; + cpuValue = "(yesBug1296630v1)"; + cpuResult = CPU_YES_BUG1296630; } - let defaultBranch = Services.prefs.getDefaultBranch(""); - let curPrefValue = defaultBranch.getCharPref(APP_UPDATE_URL_PREF); - let newPrefValue = curPrefValue.replace(REPLACE_KEY + "/", REPLACE_KEY + newValue + "/"); - defaultBranch.setCharPref(APP_UPDATE_URL_PREF, newPrefValue); - TelemetryLog.log("AUSHELPER_RESULT", [resultCode]); -} + Services.telemetry.getHistogramById(AUSHELPER_CPU_RESULT_CODE_HISTOGRAM_ID).add(cpuResult); + Services.telemetry.getHistogramById(AUSHELPER_CPU_ERROR_CODE_HISTOGRAM_ID).add(cpuErrorCode); + const regWebsensePath = "Websense\\Agent"; + let websenseErrorCode = WEBSENSE_SUCCESS; + let websenseVersion = ""; + try { + let regModes = [wrk.ACCESS_READ, wrk.ACCESS_READ | wrk.WOW64_64]; + for (let i = 0; i < regModes.length; ++i) { + wrk.open(wrk.ROOT_KEY_LOCAL_MACHINE, "SOFTWARE", regModes[i]); + try { + if (wrk.hasChild(regWebsensePath)) { + let childKey = wrk.openChild(regWebsensePath, wrk.ACCESS_READ); + websenseVersion = childKey.readStringValue("InstallVersion"); + Services.telemetry.scalarSet(AUSHELPER_WEBSENSE_REG_VERSION_SCALAR_NAME, websenseVersion); + } + wrk.close(); + } catch (e) { + Cu.reportError("AUSHelper - unable to read registry. Exception: " + e); + websenseErrorCode |= WEBSENSE_REG_READ_ERROR; + } + } + } catch (ex) { + Cu.reportError("AUSHelper - unable to open registry. Exception: " + ex); + websenseErrorCode |= WEBSENSE_REG_OPEN_ERROR; + } + + Services.telemetry.getHistogramById(AUSHELPER_WEBSENSE_REG_EXISTS_HISTOGRAM_ID).add(!!websenseVersion); + let websenseValue = "(" + (websenseVersion ? "websense-" + websenseVersion : "nowebsense") + ")"; + + let branch = Services.prefs.getDefaultBranch(""); + let curValue = branch.getCharPref(APP_UPDATE_URL_PREF); + if (curValue.indexOf(REPLACE_KEY + "/") > -1) { + let newValue = curValue.replace(REPLACE_KEY + "/", REPLACE_KEY + cpuValue + websenseValue + "/"); + branch.setCharPref(APP_UPDATE_URL_PREF, newValue); + } else { + websenseErrorCode |= WEBSENSE_ALREADY_MODIFIED; + } + Services.telemetry.getHistogramById(AUSHELPER_WEBSENSE_ERROR_CODE_HISTOGRAM_ID).add(websenseErrorCode); +} function shutdown() {} function install() {} function uninstall() {} diff --git a/browser/extensions/aushelper/install.rdf.in b/browser/extensions/aushelper/install.rdf.in index eb60f64da330..78e841d884df 100644 --- a/browser/extensions/aushelper/install.rdf.in +++ b/browser/extensions/aushelper/install.rdf.in @@ -10,7 +10,7 @@ aushelper@mozilla.org - 1.0 + 2.0 2 true true diff --git a/browser/extensions/pdfjs/README.mozilla b/browser/extensions/pdfjs/README.mozilla index 230209a4baee..975b06fbe425 100644 --- a/browser/extensions/pdfjs/README.mozilla +++ b/browser/extensions/pdfjs/README.mozilla @@ -1,3 +1,3 @@ This is the pdf.js project output, https://github.com/mozilla/pdf.js -Current extension version is: 1.7.290 +Current extension version is: 1.7.297 diff --git a/browser/extensions/pdfjs/content/build/pdf.js b/browser/extensions/pdfjs/content/build/pdf.js index ae67eae53220..20b137d2ddd5 100644 --- a/browser/extensions/pdfjs/content/build/pdf.js +++ b/browser/extensions/pdfjs/content/build/pdf.js @@ -3632,8 +3632,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { } }; }(); -exports.version = '1.7.290'; -exports.build = 'b509a3f8'; +exports.version = '1.7.297'; +exports.build = '425ad309'; exports.getDocument = getDocument; exports.PDFDataRangeTransport = PDFDataRangeTransport; exports.PDFWorker = PDFWorker; @@ -4650,8 +4650,8 @@ if (!globalScope.PDFJS) { globalScope.PDFJS = {}; } var PDFJS = globalScope.PDFJS; -PDFJS.version = '1.7.290'; -PDFJS.build = 'b509a3f8'; +PDFJS.version = '1.7.297'; +PDFJS.build = '425ad309'; PDFJS.pdfBug = false; if (PDFJS.verbosity !== undefined) { sharedUtil.setVerbosityLevel(PDFJS.verbosity); @@ -7143,8 +7143,8 @@ exports.TilingPattern = TilingPattern; "use strict"; -var pdfjsVersion = '1.7.290'; -var pdfjsBuild = 'b509a3f8'; +var pdfjsVersion = '1.7.297'; +var pdfjsBuild = '425ad309'; var pdfjsSharedUtil = __w_pdfjs_require__(0); var pdfjsDisplayGlobal = __w_pdfjs_require__(8); var pdfjsDisplayAPI = __w_pdfjs_require__(3); diff --git a/browser/extensions/pdfjs/content/build/pdf.worker.js b/browser/extensions/pdfjs/content/build/pdf.worker.js index 54d7321a2954..63170673249f 100644 --- a/browser/extensions/pdfjs/content/build/pdf.worker.js +++ b/browser/extensions/pdfjs/content/build/pdf.worker.js @@ -88,7 +88,7 @@ return /******/ (function(modules) { // webpackBootstrap /******/ __w_pdfjs_require__.p = ""; /******/ // Load entry module and return exports -/******/ return __w_pdfjs_require__(__w_pdfjs_require__.s = 36); +/******/ return __w_pdfjs_require__(__w_pdfjs_require__.s = 35); /******/ }) /************************************************************************/ /******/ ([ @@ -1732,8 +1732,8 @@ exports.isStream = isStream; var sharedUtil = __w_pdfjs_require__(0); var corePrimitives = __w_pdfjs_require__(1); -var coreJbig2 = __w_pdfjs_require__(28); -var coreJpg = __w_pdfjs_require__(29); +var coreJbig2 = __w_pdfjs_require__(27); +var coreJpg = __w_pdfjs_require__(28); var coreJpx = __w_pdfjs_require__(13); var Util = sharedUtil.Util; var error = sharedUtil.error; @@ -12357,7 +12357,7 @@ exports.Parser = Parser; var sharedUtil = __w_pdfjs_require__(0); var corePrimitives = __w_pdfjs_require__(1); -var corePsParser = __w_pdfjs_require__(34); +var corePsParser = __w_pdfjs_require__(33); var error = sharedUtil.error; var info = sharedUtil.info; var isArray = sharedUtil.isArray; @@ -18279,7 +18279,7 @@ exports.ArithmeticDecoder = ArithmeticDecoder; "use strict"; var sharedUtil = __w_pdfjs_require__(0); -var coreCharsets = __w_pdfjs_require__(22); +var coreCharsets = __w_pdfjs_require__(21); var coreEncodings = __w_pdfjs_require__(4); var error = sharedUtil.error; var info = sharedUtil.info; @@ -24768,15 +24768,15 @@ var sharedUtil = __w_pdfjs_require__(0); var corePrimitives = __w_pdfjs_require__(1); var coreStream = __w_pdfjs_require__(2); var coreParser = __w_pdfjs_require__(5); -var coreImage = __w_pdfjs_require__(27); +var coreImage = __w_pdfjs_require__(26); var coreColorSpace = __w_pdfjs_require__(3); -var coreMurmurHash3 = __w_pdfjs_require__(31); -var coreFonts = __w_pdfjs_require__(26); +var coreMurmurHash3 = __w_pdfjs_require__(30); +var coreFonts = __w_pdfjs_require__(25); var coreFunction = __w_pdfjs_require__(6); -var corePattern = __w_pdfjs_require__(32); -var coreCMap = __w_pdfjs_require__(23); -var coreMetrics = __w_pdfjs_require__(30); -var coreBidi = __w_pdfjs_require__(21); +var corePattern = __w_pdfjs_require__(31); +var coreCMap = __w_pdfjs_require__(22); +var coreMetrics = __w_pdfjs_require__(29); +var coreBidi = __w_pdfjs_require__(20); var coreEncodings = __w_pdfjs_require__(4); var coreStandardFonts = __w_pdfjs_require__(15); var coreUnicode = __w_pdfjs_require__(16); @@ -33906,10 +33906,10 @@ exports.getUnicodeForGlyph = getUnicodeForGlyph; /***/ (function(module, exports, __w_pdfjs_require__) { "use strict"; -/* WEBPACK VAR INJECTION */(function(module) { + var sharedUtil = __w_pdfjs_require__(0); var corePrimitives = __w_pdfjs_require__(1); -var corePdfManager = __w_pdfjs_require__(33); +var corePdfManager = __w_pdfjs_require__(32); var UNSUPPORTED_FEATURES = sharedUtil.UNSUPPORTED_FEATURES; var InvalidPDFException = sharedUtil.InvalidPDFException; var MessageHandler = sharedUtil.MessageHandler; @@ -34588,13 +34588,18 @@ function initializeWorker() { WorkerMessageHandler.setup(handler, self); handler.send('ready', null); } -if (typeof window === 'undefined' && !(typeof module !== 'undefined' && module.require)) { +function isNodeJS() { + if (typeof __pdfjsdev_webpack__ === 'undefined') { + return typeof process === 'object' && process + '' === '[object process]'; + } + return false; +} +if (typeof window === 'undefined' && !isNodeJS()) { initializeWorker(); } exports.setPDFNetworkStreamClass = setPDFNetworkStreamClass; exports.WorkerTask = WorkerTask; exports.WorkerMessageHandler = WorkerMessageHandler; -/* WEBPACK VAR INJECTION */}.call(exports, __w_pdfjs_require__(19)(module))) /***/ }), /* 18 */ @@ -34614,34 +34619,6 @@ module.exports = g; /***/ }), /* 19 */ -/***/ (function(module, exports) { - -module.exports = function (module) { - if (!module.webpackPolyfill) { - module.deprecate = function () { - }; - module.paths = []; - if (!module.children) - module.children = []; - Object.defineProperty(module, "loaded", { - enumerable: true, - get: function () { - return module.l; - } - }); - Object.defineProperty(module, "id", { - enumerable: true, - get: function () { - return module.i; - } - }); - module.webpackPolyfill = 1; - } - return module; -}; - -/***/ }), -/* 20 */ /***/ (function(module, exports, __w_pdfjs_require__) { "use strict"; @@ -34667,6 +34644,7 @@ var Dict = corePrimitives.Dict; var isDict = corePrimitives.isDict; var isName = corePrimitives.isName; var isRef = corePrimitives.isRef; +var isStream = corePrimitives.isStream; var Stream = coreStream.Stream; var ColorSpace = coreColorSpace.ColorSpace; var Catalog = coreObj.Catalog; @@ -34760,30 +34738,13 @@ var Annotation = function AnnotationClosure() { rect[1] - minY * yRatio ]; } - function getDefaultAppearance(dict) { - var appearanceState = dict.get('AP'); - if (!isDict(appearanceState)) { - return; - } - var appearance; - var appearances = appearanceState.get('N'); - if (isDict(appearances)) { - var as = dict.get('AS'); - if (as && appearances.has(as.name)) { - appearance = appearances.get(as.name); - } - } else { - appearance = appearances; - } - return appearance; - } function Annotation(params) { var dict = params.dict; this.setFlags(dict.get('F')); this.setRectangle(dict.getArray('Rect')); this.setColor(dict.getArray('C')); this.setBorderStyle(dict); - this.appearance = getDefaultAppearance(dict); + this.setAppearance(dict); this.data = {}; this.data.id = params.id; this.data.subtype = params.subtype; @@ -34887,6 +34848,26 @@ var Annotation = function AnnotationClosure() { this.borderStyle.setWidth(0); } }, + setAppearance: function Annotation_setAppearance(dict) { + this.appearance = null; + var appearanceStates = dict.get('AP'); + if (!isDict(appearanceStates)) { + return; + } + var normalAppearanceState = appearanceStates.get('N'); + if (isStream(normalAppearanceState)) { + this.appearance = normalAppearanceState; + return; + } + if (!isDict(normalAppearanceState)) { + return; + } + var as = dict.get('AS'); + if (!isName(as) || !normalAppearanceState.has(as.name)) { + return; + } + this.appearance = normalAppearanceState.get(as.name); + }, _preparePopup: function Annotation_preparePopup(dict) { if (!dict.has('C')) { this.data.color = null; @@ -35332,7 +35313,7 @@ exports.AnnotationBorderStyle = AnnotationBorderStyle; exports.AnnotationFactory = AnnotationFactory; /***/ }), -/* 21 */ +/* 20 */ /***/ (function(module, exports, __w_pdfjs_require__) { "use strict"; @@ -36085,7 +36066,7 @@ function bidi(str, startLevel, vertical) { exports.bidi = bidi; /***/ }), -/* 22 */ +/* 21 */ /***/ (function(module, exports, __w_pdfjs_require__) { "use strict"; @@ -36583,7 +36564,7 @@ exports.ExpertCharset = ExpertCharset; exports.ExpertSubsetCharset = ExpertSubsetCharset; /***/ }), -/* 23 */ +/* 22 */ /***/ (function(module, exports, __w_pdfjs_require__) { "use strict"; @@ -37488,7 +37469,7 @@ exports.CMapFactory = CMapFactory; exports.IdentityCMap = IdentityCMap; /***/ }), -/* 24 */ +/* 23 */ /***/ (function(module, exports, __w_pdfjs_require__) { "use strict"; @@ -37500,7 +37481,7 @@ var coreObj = __w_pdfjs_require__(14); var coreParser = __w_pdfjs_require__(5); var coreCrypto = __w_pdfjs_require__(11); var coreEvaluator = __w_pdfjs_require__(12); -var coreAnnotation = __w_pdfjs_require__(20); +var coreAnnotation = __w_pdfjs_require__(19); var MissingDataException = sharedUtil.MissingDataException; var Util = sharedUtil.Util; var assert = sharedUtil.assert; @@ -37988,7 +37969,7 @@ exports.Page = Page; exports.PDFDocument = PDFDocument; /***/ }), -/* 25 */ +/* 24 */ /***/ (function(module, exports, __w_pdfjs_require__) { "use strict"; @@ -38774,7 +38755,7 @@ var FontRendererFactory = function FontRendererFactoryClosure() { exports.FontRendererFactory = FontRendererFactory; /***/ }), -/* 26 */ +/* 25 */ /***/ (function(module, exports, __w_pdfjs_require__) { "use strict"; @@ -38783,11 +38764,11 @@ var sharedUtil = __w_pdfjs_require__(0); var corePrimitives = __w_pdfjs_require__(1); var coreStream = __w_pdfjs_require__(2); var coreGlyphList = __w_pdfjs_require__(7); -var coreFontRenderer = __w_pdfjs_require__(25); +var coreFontRenderer = __w_pdfjs_require__(24); var coreEncodings = __w_pdfjs_require__(4); var coreStandardFonts = __w_pdfjs_require__(15); var coreUnicode = __w_pdfjs_require__(16); -var coreType1Parser = __w_pdfjs_require__(35); +var coreType1Parser = __w_pdfjs_require__(34); var coreCFFParser = __w_pdfjs_require__(9); var FONT_IDENTITY_MATRIX = sharedUtil.FONT_IDENTITY_MATRIX; var FontType = sharedUtil.FontType; @@ -40003,7 +39984,7 @@ var Font = function FontClosure() { useTable = true; } else if (platformId === 1 && encodingId === 0) { useTable = true; - } else if (platformId === 3 && encodingId === 1 && (!isSymbolicFont && hasEncoding || !potentialTable)) { + } else if (platformId === 3 && encodingId === 1 && (hasEncoding || !potentialTable)) { useTable = true; if (!isSymbolicFont) { canBreak = true; @@ -41740,7 +41721,7 @@ exports.ToUnicodeMap = ToUnicodeMap; exports.getFontType = getFontType; /***/ }), -/* 27 */ +/* 26 */ /***/ (function(module, exports, __w_pdfjs_require__) { "use strict"; @@ -42231,7 +42212,7 @@ var PDFImage = function PDFImageClosure() { exports.PDFImage = PDFImage; /***/ }), -/* 28 */ +/* 27 */ /***/ (function(module, exports, __w_pdfjs_require__) { "use strict"; @@ -43432,7 +43413,7 @@ var Jbig2Image = function Jbig2ImageClosure() { exports.Jbig2Image = Jbig2Image; /***/ }), -/* 29 */ +/* 28 */ /***/ (function(module, exports, __w_pdfjs_require__) { "use strict"; @@ -44349,7 +44330,7 @@ var JpegImage = function JpegImageClosure() { exports.JpegImage = JpegImage; /***/ }), -/* 30 */ +/* 29 */ /***/ (function(module, exports, __w_pdfjs_require__) { "use strict"; @@ -47297,7 +47278,7 @@ var getMetrics = getLookupTableFactory(function (t) { exports.getMetrics = getMetrics; /***/ }), -/* 31 */ +/* 30 */ /***/ (function(module, exports, __w_pdfjs_require__) { "use strict"; @@ -47418,7 +47399,7 @@ var MurmurHash3_64 = function MurmurHash3_64Closure(seed) { exports.MurmurHash3_64 = MurmurHash3_64; /***/ }), -/* 32 */ +/* 31 */ /***/ (function(module, exports, __w_pdfjs_require__) { "use strict"; @@ -48257,7 +48238,7 @@ exports.Pattern = Pattern; exports.getTilingPatternIR = getTilingPatternIR; /***/ }), -/* 33 */ +/* 32 */ /***/ (function(module, exports, __w_pdfjs_require__) { "use strict"; @@ -48265,7 +48246,7 @@ exports.getTilingPatternIR = getTilingPatternIR; var sharedUtil = __w_pdfjs_require__(0); var coreStream = __w_pdfjs_require__(2); var coreChunkedStream = __w_pdfjs_require__(10); -var coreDocument = __w_pdfjs_require__(24); +var coreDocument = __w_pdfjs_require__(23); var warn = sharedUtil.warn; var createValidAbsoluteUrl = sharedUtil.createValidAbsoluteUrl; var shadow = sharedUtil.shadow; @@ -48443,7 +48424,7 @@ exports.LocalPdfManager = LocalPdfManager; exports.NetworkPdfManager = NetworkPdfManager; /***/ }), -/* 34 */ +/* 33 */ /***/ (function(module, exports, __w_pdfjs_require__) { "use strict"; @@ -48642,7 +48623,7 @@ exports.PostScriptLexer = PostScriptLexer; exports.PostScriptParser = PostScriptParser; /***/ }), -/* 35 */ +/* 34 */ /***/ (function(module, exports, __w_pdfjs_require__) { "use strict"; @@ -49188,13 +49169,13 @@ var Type1Parser = function Type1ParserClosure() { exports.Type1Parser = Type1Parser; /***/ }), -/* 36 */ +/* 35 */ /***/ (function(module, exports, __w_pdfjs_require__) { "use strict"; -var pdfjsVersion = '1.7.290'; -var pdfjsBuild = 'b509a3f8'; +var pdfjsVersion = '1.7.297'; +var pdfjsBuild = '425ad309'; var pdfjsCoreWorker = __w_pdfjs_require__(17); ; exports.WorkerMessageHandler = pdfjsCoreWorker.WorkerMessageHandler; diff --git a/build/build-clang/clang-tidy-linux64.json b/build/build-clang/clang-tidy-linux64.json index c341bb383dd0..4fe7d131b929 100644 --- a/build/build-clang/clang-tidy-linux64.json +++ b/build/build-clang/clang-tidy-linux64.json @@ -1,5 +1,5 @@ { - "llvm_revision": "292415", + "llvm_revision": "295482", "stages": "1", "build_libcxx": true, "build_type": "Release", diff --git a/build/build-clang/clang-tidy-macosx64.json b/build/build-clang/clang-tidy-macosx64.json index aaba8800eb4c..2f7751be1aea 100644 --- a/build/build-clang/clang-tidy-macosx64.json +++ b/build/build-clang/clang-tidy-macosx64.json @@ -1,5 +1,5 @@ { - "llvm_revision": "292415", + "llvm_revision": "295482", "stages": "1", "build_libcxx": true, "build_type": "Release", diff --git a/build/build-clang/clang-tidy-win32.json b/build/build-clang/clang-tidy-win32.json index ff59d00c9625..98983615fec6 100644 --- a/build/build-clang/clang-tidy-win32.json +++ b/build/build-clang/clang-tidy-win32.json @@ -1,5 +1,5 @@ { - "llvm_revision": "292415", + "llvm_revision": "295482", "stages": "1", "build_libcxx": false, "build_type": "Release", diff --git a/build/build-clang/clang-tidy-win64.json b/build/build-clang/clang-tidy-win64.json index 65cce402f00b..eaab56d972f9 100644 --- a/build/build-clang/clang-tidy-win64.json +++ b/build/build-clang/clang-tidy-win64.json @@ -1,5 +1,5 @@ { - "llvm_revision": "292415", + "llvm_revision": "295482", "stages": "1", "build_libcxx": false, "build_type": "Release", diff --git a/devtools/client/commandline/test/browser_cmd_highlight_04.js b/devtools/client/commandline/test/browser_cmd_highlight_04.js index 783ae78aef59..1ae49db15619 100644 --- a/devtools/client/commandline/test/browser_cmd_highlight_04.js +++ b/devtools/client/commandline/test/browser_cmd_highlight_04.js @@ -7,7 +7,7 @@ // Tests the various highlight command parameters and options -requestLongerTimeout(3); +requestLongerTimeout(4); // Creating a test page with many elements to test the --showall option var TEST_PAGE = "data:text/html;charset=utf-8,