Commit Graph

306 Commits

Author SHA1 Message Date
Ryan VanderMeulen
15488471bd Bug 1364136 - Update pdf.js to version 1.8.346. r=bdahl 2017-05-11 13:17:17 -04:00
Ryan VanderMeulen
6f4901d18d Bug 1363022 - Update pdf.js to version 1.8.331. r=bdahl 2017-05-08 10:00:47 -04:00
Honza Bambas
e8227e774f Bug 1319111 - Expose URI to make security check against on LoadInfo (no LOAD_REPLACE flag). r=bz 2017-01-27 19:10:01 +01:00
Ryan VanderMeulen
ae37db771d Bug 1362108 - Update pdf.js to version 1.8.314. r=bdahl 2017-05-04 12:57:14 -04:00
Ryan VanderMeulen
a1deba2890 Bug 1361060 - Update pdf.js to version 1.8.290. r=bdahl 2017-05-01 11:01:24 -04:00
Sebastian Hengst
6d4b7656d3 Backed out changeset 88c2a0b2dde5 (bug 1319111) for crashing Talos. r=backout 2017-04-28 00:16:39 +02:00
Ryan VanderMeulen
70fef73e3e Bug 1360342 - Update pdf.js to version 1.8.269. r=bdahl 2017-04-27 16:09:49 -04:00
Honza Bambas
b8b338133e Bug 1319111 - Exposing URI to make security check against on LoadInfo (no LOAD_REPLACE flag). r=bz 2017-01-27 19:10:01 +01:00
Florian Queze
6cc0b6e992 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
Ryan VanderMeulen
1c1326fa8d Bug 1358335 - Update pdf.js to version 1.8.243. r=bdahl 2017-04-20 22:02:35 -04:00
Joel Maher
12505893fc Bug 1355088 - add BUG_COMPONENT to browser/* files. r=mossop
MozReview-Commit-ID: 88mDTdI0oN7
2017-04-19 08:11:47 -04:00
Zibi Braniecki
8c433fc56a Bug 1346616 - Migrate callsites that are retrieving requested locale from pref, to use LocaleService::GetRequestedLocales. r=jfkthame,Pike
I'm adding a helper function mozILocaleService::GetRequestedLocale to simplify
most of the callsites that are looking for the first of the requested locales.

In most cases, I'm just matching the behavior of the code with reusing
LocaleService API instead of direct manipulation on the prefs.
That includes how I handle error case scenarios.

In case of sdk/l10n/locale.js I am reusing LocaleService heuristics over
the custom one from the file since the ones in LocaleService are just
more correct and unified accross the whole platform.

In case of FallbackEncoding I have to turn it into a nsIObserver to listen
to intl:requested-locales-changed.

MozReview-Commit-ID: 7rOr2CovLK
2017-03-11 18:43:11 -08:00
Sebastian Hengst
017c2ee2bf Backed out changeset 60d72c2dd49d (bug 1346616) for eslint failure in DirectoryLinksProvider.jsm. r=backout on a CLOSED TREE 2017-04-18 00:48:16 +02:00
Zibi Braniecki
64bae2dccf Bug 1346616 - Migrate callsites that are retrieving requested locale from pref, to use LocaleService::GetRequestedLocales. r=jfkthame,Pike
I'm adding a helper function mozILocaleService::GetRequestedLocale to simplify
most of the callsites that are looking for the first of the requested locales.

In most cases, I'm just matching the behavior of the code with reusing
LocaleService API instead of direct manipulation on the prefs.
That includes how I handle error case scenarios.

In case of sdk/l10n/locale.js I am reusing LocaleService heuristics over
the custom one from the file since the ones in LocaleService are just
more correct and unified accross the whole platform.

In case of FallbackEncoding I have to turn it into a nsIObserver to listen
to intl:requested-locales-changed.

MozReview-Commit-ID: 7rOr2CovLK
2017-03-11 18:43:11 -08:00
Ryan VanderMeulen
ddd39a3a29 Bug 1357069 - Update pdf.js to version 1.8.229. r=bdahl 2017-04-17 09:28:32 -04:00
Florian Queze
451928e614 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst
f75839c723 Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
61aabdf237 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Ryan VanderMeulen
6fe87da52f Bug 1355901 - Update pdf.js to version 1.8.183. r=bdahl 2017-04-12 12:50:37 -04:00
Ryan VanderMeulen
da850ea614 Bug 1354081 - Update pdf.js to version 1.8.173. r=bdahl 2017-04-07 13:32:57 -04:00
Andrew McCreight
3d50fc3dcb Bug 1352218, part 2 - Avoid PdfJs.enabled call. r=Gijs
This avoids a sync IPC message from child to parent.

Changes entirely from:
  https://github.com/mozilla/pdf.js/pull/8218

MozReview-Commit-ID: 3Egayok3DBZ
2017-03-30 14:52:09 -07:00
Andrew McCreight
84e55230f5 Bug 1352218, part 1 - Split pdf.js boot strap file. r=Gijs
One is always run, the other is only run when PdfJs.enabled is true in
the parent process. This refactoring enables the next patch.

The extensions changes are from:
  https://github.com/mozilla/pdf.js/pull/8218

MozReview-Commit-ID: HwQ3yk8Jck4
2017-03-30 14:43:04 -07:00
Ryan VanderMeulen
aa39d2c47d Bug 1352276 - Update pdf.js to version 1.7.401. r=bdahl 2017-03-30 20:52:55 -04:00
Ryan VanderMeulen
ff41954746 Bug 1350416 - Update pdf.js to version 1.7.381. r=bdahl 2017-03-24 15:19:24 -04:00
Mark Banner
ec9074e132 Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
MozReview-Commit-ID: LH0CQOPfoe6
2017-03-20 12:36:37 +01:00
Sebastian Hengst
8071c40e1c Bug 1348416 - Update pdf.js to version 1.7.367: Use shiny new complex string pref getter and setter. r=eslint-fix 2017-03-17 23:37:33 +01:00
Ryan VanderMeulen
109b443105 Bug 1348416 - Update pdf.js to version 1.7.367. r=bdahl 2017-03-17 18:15:26 -04:00
Carsten "Tomcat" Book
dfd22b262a Merge mozilla-central to mozilla-inbound 2017-03-17 14:55:15 +01:00
Florian Quèze
49d8db6821 Bug 1345294 - script generated patch (+ some hand cleanup) to replace {get,set}ComplexValue for nsISupportsString by {get,set}StringPref, r=Mossop. 2017-03-16 19:26:01 +01:00
Jim Porter
8c24212591 Bug 1346671 - Enable the no-useless-concat eslint rule in toolkit/ r=jaws
MozReview-Commit-ID: 1a422BiLEhK
2017-03-13 17:34:24 -05:00
Ryan VanderMeulen
ea56bf5c9d Bug 1346402 - Update pdf.js to version 1.7.359. r=bdahl 2017-03-10 16:55:38 -05:00
Florian Quèze
b15de4893d Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
Ryan VanderMeulen
8285a20b5b Bug 1344563 - Update pdf.js to version 1.7.348. r=bdahl 2017-03-05 14:06:02 -05:00
Ryan VanderMeulen
c6b3da03f2 Bug 1343644 - Update pdf.js to version 1.7.337. r=bdahl 2017-03-01 15:55:46 -05:00
Ryan VanderMeulen
0d6f78efb0 Bug 1342274 - Update pdf.js to version 1.7.312. r=bdahl 2017-02-23 19:22:10 -05:00
Ryan VanderMeulen
004e9e6106 Bug 1340644 - Update pdf.js to version 1.7.297. r=bdahl 2017-02-17 14:39:53 -05:00
Ryan VanderMeulen
4296bffa34 Bug 1338395 - Update pdf.js to version 1.7.290. r=bdahl 2017-02-13 18:57:51 -05:00
Sebastian Hengst
61e43ed4e3 Backed out changeset f884a597f402 (bug 1338395) for timing out in browser_pdfjs_main.js, at least on Linux with e10s. r=backout 2017-02-10 20:46:38 +01:00
Ryan VanderMeulen
0b9bcad296 Bug 1338395 - Update pdf.js to version 1.7.278. r=bdahl 2017-02-10 13:12:37 -05:00
Ryan VanderMeulen
539645910d Backed out changeset e9d5d057344d (bug 1338395) for packaging bustage on a CLOSED TREE. 2017-02-09 21:56:00 -05:00
Ryan VanderMeulen
044882391f Bug 1338395 - Update pdf.js to version 1.7.274. r=bdahl 2017-02-09 21:37:45 -05:00
Ryan VanderMeulen
4cc7dfa0e2 Bug 1336418 - Update pdf.js to version 1.7.242. r=bdahl 2017-02-03 08:41:40 -05:00
Ryan VanderMeulen
92a1db5da0 Bug 1335048 - Update pdf.js to version 1.7.235. r=bdahl 2017-01-23 15:32:49 -05:00
Florian Quèze
c32c931bc9 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Ryan VanderMeulen
2bf465d6c3 Bug 1334363 - Update pdf.js to version 1.7.227. r=bdahl 2017-01-26 21:35:12 -05:00
Florian Quèze
91f7a2ef3a Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Ryan VanderMeulen
392d59d817 Bug 1332910 - Update pdf.js to version 1.6.467. r=bdahl 2017-01-22 07:54:33 -05:00