Commit Graph

375 Commits

Author SHA1 Message Date
Ryan VanderMeulen
6712245d89 Bug 1377586 - Update pdf.js to version 1.8.507. r=bdahl 2017-06-30 18:38:42 -04:00
Ryan VanderMeulen
e7c65b1f36 Bug 1376427 - Update pdf.js to version 1.8.497. r=bdahl 2017-06-27 09:10:09 -04:00
Florian Quèze
c0468168f5 Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
Ryan VanderMeulen
3e7f6f6102 Bug 1375695 - Update pdf.js to version 1.8.480. r=bdahl 2017-06-22 18:53:14 -04:00
Ryan VanderMeulen
a8dc75970c Bug 1374426 - Update pdf.js to version 1.8.467. r=bdahl 2017-06-19 16:44:42 -04:00
Ryan VanderMeulen
da46aba91c Bug 1373467 - Update pdf.js to version 1.8.450. r=bdahl 2017-06-15 20:27:11 -04:00
Ryan VanderMeulen
dd9d0bb080 Bug 1372003 - Update pdf.js to version 1.8.439. r=bdahl 2017-06-11 09:20:20 -04:00
Ryan VanderMeulen
c42e16b4de Bug 1371748 - Update pdf.js to version 1.8.432. r=bdahl 2017-06-09 13:27:53 -04:00
Ryan VanderMeulen
15f7fec809 Bug 1370122 - Update pdf.js to version 1.8.423. r=bdahl 2017-06-04 21:38:45 -04:00
Doug Thayer
b1a9ee0919 Bug 1353029 - Pass PdfJs.enabled into child on change r=bdahl
isDefaultHandler in PdfJs.jsm appears to only be called on
startup and when the settings for pdfs (either the pref or the
setting in about:preferences) are changed. During startup, it's
only the parent process which makes this call, which it uses
to conditionally load a script in the content process. On change,
the parent process controls notifying the content process, so
it can simply pass along the enabled boolean. This change simply
shifts to pass this boolean along to the child, and adds some
guards to assert that we're only checking the actual values in
the parent process.

MozReview-Commit-ID: 9JSEJqHR2Ni
2017-05-30 16:34:53 -07:00
Ryan VanderMeulen
4a6c198493 Bug 1368878 - Update pdf.js to version 1.8.398. r=bdahl 2017-05-30 21:23:18 -04:00
Ryan VanderMeulen
52d6a37131 Bug 1367898 - Update pdf.js to version 1.8.384. r=bdahl 2017-05-25 17:01:21 -04:00
Ryan VanderMeulen
6634e4746a Bug 1366004 - Update pdf.js to version 1.8.363. r=bdahl 2017-05-18 13:40:06 -04:00
Christoph Kerschbaumer
5452a95b49 Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Honza Bambas
f3b5a77a73 backout of f9abb9c83452 (bug 1319111) for crashes, r=bz 2017-05-13 13:55:11 +02:00
Wes Kocher
7b49a483cc Backed out changeset 95ff98f1c2e5 (bug 1319111) for talos failures a=backout
MozReview-Commit-ID: Gs09moFm5rQ
2017-05-12 18:24:42 -07:00
Honza Bambas
b05b600614 backout of f9abb9c83452 (bug 1319111) for crashes, r=bz 2017-05-12 22:13:49 +02:00
Florian Quèze
38c24463e4 Bug 1353542 - Cleanup the script output and fix tests, r=Mossop. 2017-05-12 14:54:05 +02:00
Florian Quèze
ff53eb9a63 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
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