Bug 1599935 - Make unsupported PDF features a warning. r=bdahl
authorMichael Kaply <mozilla@kaply.com>
Thu, 02 Jan 2020 18:30:16 +0000
changeset 508645 7d0cec2c6c40d070d643112bc348e632d19d4cc8
parent 508644 bcde7a6ed3da5e95aa5114d10966ceb76799dccf
child 508646 e954fcf487195136c45423a5a6a079d69a7db630
push id104140
push usermozilla@kaply.com
push dateThu, 02 Jan 2020 18:33:20 +0000
treeherderautoland@7d0cec2c6c40 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbdahl
bugs1599935
milestone73.0a1
first release with
nightly linux32
7d0cec2c6c40 / 73.0a1 / 20200102215015 / files
nightly linux64
7d0cec2c6c40 / 73.0a1 / 20200102215015 / files
nightly mac
7d0cec2c6c40 / 73.0a1 / 20200102215015 / files
nightly win32
7d0cec2c6c40 / 73.0a1 / 20200102215015 / files
nightly win64
7d0cec2c6c40 / 73.0a1 / 20200102215015 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1599935 - Make unsupported PDF features a warning. r=bdahl Differential Revision: https://phabricator.services.mozilla.com/D55527
browser/extensions/pdfjs/content/PdfjsChromeUtils.jsm
--- a/browser/extensions/pdfjs/content/PdfjsChromeUtils.jsm
+++ b/browser/extensions/pdfjs/content/PdfjsChromeUtils.jsm
@@ -385,17 +385,17 @@ var PdfjsChromeUtils = {
           sendMessage(true);
         },
       },
     ];
     notificationBox.appendNotification(
       data.message,
       "pdfjs-fallback",
       null,
-      notificationBox.PRIORITY_INFO_LOW,
+      notificationBox.PRIORITY_WARNING_LOW,
       buttons,
       function eventsCallback(eventType) {
         // Currently there is only one event "removed" but if there are any other
         // added in the future we still only care about removed at the moment.
         if (eventType !== "removed") {
           return;
         }
         // Don't send a response again if we already responded when the button was