Commit graph

269 commits

Author SHA1 Message Date
Ryan VanderMeulen
2f92028458 Bug 1372003 - Update pdf.js to version 1.8.439. r=bdahl 2017-06-11 09:20:20 -04:00
Ryan VanderMeulen
cb7e3eeee0 Bug 1371748 - Update pdf.js to version 1.8.432. r=bdahl 2017-06-09 13:27:53 -04:00
Ryan VanderMeulen
8b9f10e8a7 Bug 1370122 - Update pdf.js to version 1.8.423. r=bdahl
--HG--
extra : rebase_source : 8fc5c4bb26e180872f6bba88c7a2ed7be7eccdb2
2017-06-04 21:38:45 -04:00
Doug Thayer
24ad7bda2a 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

--HG--
extra : rebase_source : f4c0790a76e7d31525d2016f8917d8301b67e677
2017-05-30 16:34:53 -07:00
Ryan VanderMeulen
7ceba98c75 Bug 1368878 - Update pdf.js to version 1.8.398. r=bdahl 2017-05-30 21:23:18 -04:00
Ryan VanderMeulen
f319a0cdcd Bug 1367898 - Update pdf.js to version 1.8.384. r=bdahl
--HG--
extra : rebase_source : 33466d04c6fc3b0314f7f8865d345821f04448d2
2017-05-25 17:01:21 -04:00
Ryan VanderMeulen
96f477fd99 Bug 1366004 - Update pdf.js to version 1.8.363. r=bdahl 2017-05-18 13:40:06 -04:00
Christoph Kerschbaumer
e4f38c8d7c Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Honza Bambas
d6d727a69e backout of f9abb9c83452 (bug 1319111) for crashes, r=bz 2017-05-13 13:55:11 +02:00
Wes Kocher
0a1e1fe23b 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
70f62bdec1 backout of f9abb9c83452 (bug 1319111) for crashes, r=bz 2017-05-12 22:13:49 +02:00
Florian Quèze
4e937e42a2 Bug 1353542 - Cleanup the script output and fix tests, r=Mossop. 2017-05-12 14:54:05 +02:00
Florian Quèze
5e3539e504 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
9669157cae Bug 1364136 - Update pdf.js to version 1.8.346. r=bdahl 2017-05-11 13:17:17 -04:00
Ryan VanderMeulen
3a4ab7966c Bug 1363022 - Update pdf.js to version 1.8.331. r=bdahl 2017-05-08 10:00:47 -04:00
Honza Bambas
a1b64b4694 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
6de9f99729 Bug 1362108 - Update pdf.js to version 1.8.314. r=bdahl 2017-05-04 12:57:14 -04:00
Ryan VanderMeulen
7d60d02ada Bug 1361060 - Update pdf.js to version 1.8.290. r=bdahl 2017-05-01 11:01:24 -04:00
Sebastian Hengst
0936d33fb8 Backed out changeset 88c2a0b2dde5 (bug 1319111) for crashing Talos. r=backout 2017-04-28 00:16:39 +02:00
Ryan VanderMeulen
3c3c6e6773 Bug 1360342 - Update pdf.js to version 1.8.269. r=bdahl
--HG--
extra : rebase_source : 4ee0256ecb9ea964f73812b0b687c9b0a8bb327e
2017-04-27 16:09:49 -04:00
Honza Bambas
0504ed64c3 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
4b1556a5f2 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
2e10aa4902 Bug 1358335 - Update pdf.js to version 1.8.243. r=bdahl 2017-04-20 22:02:35 -04:00
Joel Maher
6af97db02d Bug 1355088 - add BUG_COMPONENT to browser/* files. r=mossop
MozReview-Commit-ID: 88mDTdI0oN7
2017-04-19 08:11:47 -04:00
Zibi Braniecki
a1a4f0b7c9 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

--HG--
extra : rebase_source : 883a91b249b6953b7872bfb9a8851e8be7257c7b
2017-03-11 18:43:11 -08:00
Sebastian Hengst
7b30105d39 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
cce53c69bc 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

--HG--
extra : rebase_source : 2f166cf1746f389a035f7cf557edcadeacb10fa0
2017-03-11 18:43:11 -08:00
Ryan VanderMeulen
a09005c936 Bug 1357069 - Update pdf.js to version 1.8.229. r=bdahl
--HG--
extra : histedit_source : e48c60969151f177d3d841834e06c437ee463c77%2Cd981da974d30238357ffc03d4262e5bb4f4c87e4
2017-04-17 09:28:32 -04:00
Florian Queze
f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699 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
738d097aae Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
3c564a2b02 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Ryan VanderMeulen
12a16529b1 Bug 1355901 - Update pdf.js to version 1.8.183. r=bdahl 2017-04-12 12:50:37 -04:00
Ryan VanderMeulen
6ca4bae63d Bug 1354081 - Update pdf.js to version 1.8.173. r=bdahl
--HG--
extra : amend_source : f9c411dd1c63a7308f391d8d4ff90239c9408a03
2017-04-07 13:32:57 -04:00
Andrew McCreight
8aedac1cad 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

--HG--
extra : rebase_source : e02829e2508bb75caf44c0a3c86b06fac3bf167f
2017-03-30 14:52:09 -07:00
Andrew McCreight
fec8ba650f 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

--HG--
extra : rebase_source : 94f1516989685176a95e235f2d3ef8658adaf8b7
2017-03-30 14:43:04 -07:00
Ryan VanderMeulen
3dd93aa05c Bug 1352276 - Update pdf.js to version 1.7.401. r=bdahl 2017-03-30 20:52:55 -04:00
Ryan VanderMeulen
66002ebff7 Bug 1350416 - Update pdf.js to version 1.7.381. r=bdahl
--HG--
extra : rebase_source : 250478a4ca6e95f76ec9f06edf7e1e23a7c0bfa2
2017-03-24 15:19:24 -04:00
Mark Banner
bd625e4e9f 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

--HG--
extra : rebase_source : 83eaf40c5cbb5e25cfb3f3b5afadf4fbf0422c92
2017-03-20 12:36:37 +01:00
Sebastian Hengst
b292757fb7 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
92937b757e Bug 1348416 - Update pdf.js to version 1.7.367. r=bdahl
--HG--
extra : rebase_source : 134ce90313211f4ff94807aa263f4d9fe887f0d3
2017-03-17 18:15:26 -04:00
Carsten "Tomcat" Book
3e0a5441c6 Merge mozilla-central to mozilla-inbound 2017-03-17 14:55:15 +01:00
Florian Quèze
9c4d40bb54 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
5e6b22bdde Bug 1346671 - Enable the no-useless-concat eslint rule in toolkit/ r=jaws
MozReview-Commit-ID: 1a422BiLEhK

--HG--
extra : rebase_source : a83b8d753e2a48593904ef0755d5517908588b93
2017-03-13 17:34:24 -05:00
Ryan VanderMeulen
5b66a7d3e4 Bug 1346402 - Update pdf.js to version 1.7.359. r=bdahl
--HG--
extra : rebase_source : 91f96ab6f1ae98fdc3924c614dbae556678d0085
2017-03-10 16:55:38 -05:00
Florian Quèze
9d62681259 Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
Ryan VanderMeulen
686f97bd38 Bug 1344563 - Update pdf.js to version 1.7.348. r=bdahl 2017-03-05 14:06:02 -05:00
Ryan VanderMeulen
09cfc9d2fa Bug 1343644 - Update pdf.js to version 1.7.337. r=bdahl
--HG--
extra : rebase_source : bc551393b10f941d3c084b8c58e591bfecd65f1a
2017-03-01 15:55:46 -05:00