Граф коммитов

66 Коммитов

Автор SHA1 Сообщение Дата
Olli Pettay 371cbcd489 Bug 1751609, trigger localization at expected time, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D139311
2022-02-25 09:57:31 +00:00
Matthew Gaudet bc10b96605 Bug 1748888 - Add ErrorResult parameter to PromiseNativeHandler callbacks r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D136423
2022-01-20 19:11:39 +00:00
Zibi Braniecki 3881c4ca80 Bug 1687118 - Bail early from DocumentL10n::TriggerInitialTranslation if mReady is not available. r=emilio,nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D131253
2021-11-17 23:31:45 +00:00
Zibi Braniecki 1aa25b7d0b Bug 1739143 - Capture DOM L10n initial translation and mutations rejections and report to console. r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D130797
2021-11-10 23:40:43 +00:00
Butkovits Atila 7f1436e4bc Backed out changeset 4f859ea95ec6 (bug 1739143) for causing failures at document_l10n/non-system-principal/browser_resource_uri.js. CLOSED TREE 2021-11-10 02:14:34 +02:00
Zibi Braniecki d32521c61b Bug 1739143 - Capture DOM L10n initial translation and mutations rejections and report to console. r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D130797
2021-11-09 23:10:26 +00:00
Emilio Cobos Álvarez 1e29954c07 Bug 1730576 - Don't keep DocumentL10n::mContentSink alive for more than we need. r=smaug
Once we call InitialTranslationCompleted we don't need it anymore.

This is not needed to fix the leak bug 1729477 uncovered, but seems
probably worth landing as it is a trivial cycle from
Document->DocumentL10n->DocShell->Sink->Document (which IIUC we don't
want, since Document->mContainerWeak is well, weak).

Differential Revision: https://phabricator.services.mozilla.com/D125453
2021-09-13 21:30:51 +00:00
Zibi Braniecki 92183f248d Bug 1613705 - [localization] part9: Update DOMLocalization to match Localization constructor. r=nika,emilio
Depends on D113691

Differential Revision: https://phabricator.services.mozilla.com/D113692
2021-08-03 16:25:13 +00:00
Zibi Braniecki 9e80b809ed Bug 1613705 - [localization] part8: Refactor SetIsSync to be SetAsync. r=platform-i18n-reviewers,dminor,emilio
Depends on D113571

Differential Revision: https://phabricator.services.mozilla.com/D113691
2021-08-03 16:25:13 +00:00
Zibi Braniecki 9f3aa2521f Bug 1613705 - [localization] part2: Switch Localization class to use localization-ffi. r=emilio,nika
Depends on D104788

Differential Revision: https://phabricator.services.mozilla.com/D104789
2021-08-03 16:25:10 +00:00
Butkovits Atila 949da905e7 Backed out 19 changesets (bug 1613705) for causing build bustages complaining about Document.cpp. CLOSED TREE
Backed out changeset 2ee1091dd20d (bug 1613705)
Backed out changeset d377afc0b09f (bug 1613705)
Backed out changeset de9d4378f0ac (bug 1613705)
Backed out changeset 9843372abb6e (bug 1613705)
Backed out changeset 5fc5918e5905 (bug 1613705)
Backed out changeset a7aeae7afd49 (bug 1613705)
Backed out changeset 5d61617a5402 (bug 1613705)
Backed out changeset 85bf98573899 (bug 1613705)
Backed out changeset 175af8a1b8c2 (bug 1613705)
Backed out changeset 93fcb23d7898 (bug 1613705)
Backed out changeset 595529cd906f (bug 1613705)
Backed out changeset 9f3e2963d925 (bug 1613705)
Backed out changeset 442289058933 (bug 1613705)
Backed out changeset fc3b9acb0e81 (bug 1613705)
Backed out changeset 408983c64f7f (bug 1613705)
Backed out changeset 08b637fc3fcd (bug 1613705)
Backed out changeset 6ef0aafd2db0 (bug 1613705)
Backed out changeset d88b294e0a5e (bug 1613705)
Backed out changeset e6bebff87544 (bug 1613705)
2021-08-03 12:36:01 +03:00
Zibi Braniecki 36d143e8ba Bug 1613705 - [localization] part9: Update DOMLocalization to match Localization constructor. r=nika,emilio
Depends on D113691

Differential Revision: https://phabricator.services.mozilla.com/D113692
2021-08-03 05:52:03 +00:00
Zibi Braniecki de1ee6dbf1 Bug 1613705 - [localization] part8: Refactor SetIsSync to be SetAsync. r=platform-i18n-reviewers,dminor,emilio
Depends on D113571

Differential Revision: https://phabricator.services.mozilla.com/D113691
2021-08-03 05:52:03 +00:00
Zibi Braniecki 294c93befa Bug 1613705 - [localization] part2: Switch Localization class to use localization-ffi. r=emilio,nika
Depends on D104788

Differential Revision: https://phabricator.services.mozilla.com/D104789
2021-08-03 05:52:00 +00:00
Cosmin Sabou 3564c330b3 Backed out 11 changesets (bug 1613705) for several test failures. CLOSED TREE
Backed out changeset 4e690882b6af (bug 1613705)
Backed out changeset 302e7a75affc (bug 1613705)
Backed out changeset 626b40e3aad1 (bug 1613705)
Backed out changeset 1cbab987bb7d (bug 1613705)
Backed out changeset 2213917abb30 (bug 1613705)
Backed out changeset c89aa0375690 (bug 1613705)
Backed out changeset 6466027c5767 (bug 1613705)
Backed out changeset 6c188c4b38bf (bug 1613705)
Backed out changeset 8d0c087b9896 (bug 1613705)
Backed out changeset 3404fd6725f1 (bug 1613705)
Backed out changeset c9cfbba15d90 (bug 1613705)
2021-08-02 14:04:29 +03:00
Zibi Braniecki 458a2494df Bug 1613705 - [localization] part9: Update DOMLocalization to match Localization constructor. r=nika,emilio
Depends on D113691

Differential Revision: https://phabricator.services.mozilla.com/D113692
2021-08-02 09:54:10 +00:00
Zibi Braniecki c5240d354f Bug 1613705 - [localization] part8: Refactor SetIsSync to be SetAsync. r=platform-i18n-reviewers,dminor,emilio
Depends on D113571

Differential Revision: https://phabricator.services.mozilla.com/D113691
2021-08-02 09:54:10 +00:00
Zibi Braniecki bcc80223e2 Bug 1613705 - [localization] part2: Switch Localization class to use localization-ffi. r=emilio,nika
Depends on D104788

Differential Revision: https://phabricator.services.mozilla.com/D104789
2021-08-02 09:54:07 +00:00
Tom Ritter 1b9b6b72db Bug 1666222: Cut over a ton of NowUnfuzzed calls -> Now 4/5 r=smaug,extension-reviewers,zombie
With Fuzzyfox removed, Now() does what NowUnfuzzed() did.

Differential Revision: https://phabricator.services.mozilla.com/D119639
2021-07-14 18:18:17 +00:00
Simon Giesecke 7c6ccbe4a8 Bug 1676361 - Move AutoEntryScript to a separate header file to avoid pulling in GeckoProfiler.h everywhere. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D97742
2021-03-05 15:29:49 +00:00
Alexandru Michis 8c28934f09 Backed out changeset c6b72f3c76ba (bug 1676361) for causing bustages in nsSocketTransportService2.cpp
CLOSED TREE
2021-03-04 23:26:04 +02:00
Simon Giesecke e41d350c04 Bug 1676361 - Move AutoEntryScript to a separate header file to avoid pulling in GeckoProfiler.h everywhere. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D97742
2021-03-04 17:30:48 +00:00
Noemi Erli 11891059f7 Backed out changeset 06452c4c828c (bug 1676361) for causing bustages CLOSED TREE 2021-03-04 19:13:56 +02:00
Simon Giesecke 6c371fcc1c Bug 1676361 - Move AutoEntryScript to a separate header file to avoid pulling in GeckoProfiler.h everywhere. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D97742
2021-03-04 16:14:44 +00:00
smolnar 9f8b74a18d Backed out changeset 9062e17fe15c (bug 1676361) on devs request. CLOSED TREE 2021-03-04 16:51:21 +02:00
Simon Giesecke e1330cc8f0 Bug 1676361 - Move AutoEntryScript to a separate header file to avoid pulling in GeckoProfiler.h everywhere. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D97742
2021-03-04 14:32:15 +00:00
Zibi Braniecki 067730d042 Bug 1692064 - Add Histogram Telemetry on main UI localization times. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D104783
2021-02-13 20:10:35 +00:00
Bogdan Tara dfc38e80e0 Backed out changeset 11c143ff4c3f (bug 1692064) for test_telemetry.html failures CLOSED TREE
DONTBUILD
2021-02-13 15:13:24 +02:00
Zibi Braniecki 058b563c00 Bug 1692064 - Add Histogram Telemetry on main UI localization times. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D104783
2021-02-13 12:36:51 +00:00
Bogdan Tara 5a8a0d9f6b Backed out changeset 6ed0ffc2329d (bug 1692064) for test_telemetry.html failures CLOSED TREE 2021-02-13 14:04:59 +02:00
Zibi Braniecki 639e9734da Bug 1692064 - Add Histogram Telemetry on main UI localization times. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D104783
2021-02-13 11:06:31 +00:00
Simon Giesecke 971b645fe3 Bug 1660470 - Add missing include directives/forward declarations. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D87865
2020-11-23 16:21:38 +00:00
Christoph Kerschbaumer 359ca7017e Bug 1666419: Assert IsSafeToRunScript. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D91391
2020-09-28 06:29:44 +00:00
Zibi Braniecki 065441a790 Bug 1631593 - Lazify JSM initialization. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D71834
2020-06-04 17:02:01 +00:00
Zibi Braniecki df730b0525 Bug 1631593 - Move aIsSync to Localization C++. r=stas,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D71679
2020-05-31 07:12:35 +00:00
Razvan Maries 5e4d4827aa Backed out 6 changesets (bug 1631593) for perma failures on browser_aboutCertError_exception. CLOSED TREE
Backed out changeset f176af77900a (bug 1631593)
Backed out changeset 74b6fa2a1409 (bug 1631593)
Backed out changeset 7fbc8e2c4a4a (bug 1631593)
Backed out changeset 77ff0aee23f6 (bug 1631593)
Backed out changeset 90bde53721ac (bug 1631593)
Backed out changeset ea777b1a9380 (bug 1631593)
2020-05-31 09:58:41 +03:00
Zibi Braniecki f549a16cc7 Bug 1631593 - Lazify JSM initialization. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D71834
2020-05-30 09:37:15 +00:00
Zibi Braniecki 780f61eb15 Bug 1631593 - Move aIsSync to Localization C++. r=stas,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D71679
2020-05-30 09:36:37 +00:00
Dorel Luca 134e648c76 Backed out 6 changesets (bug 1631593) for Assertion failure in xpcom/base/nsCycleCollector.cpp. CLOSED TREE
Backed out changeset 35b4cd4bb12a (bug 1631593)
Backed out changeset a20b9fb485fc (bug 1631593)
Backed out changeset 8ade55be1042 (bug 1631593)
Backed out changeset ee3255e55ab3 (bug 1631593)
Backed out changeset 7d5a3d1035dc (bug 1631593)
Backed out changeset 90972e768c33 (bug 1631593)
2020-05-19 20:02:59 +03:00
Zibi Braniecki 3e0c621a68 Bug 1631593 - Lazify JSM initialization. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D71834
2020-05-19 16:28:28 +00:00
Zibi Braniecki f6d6adc6b3 Bug 1631593 - Move aIsSync to Localization C++. r=stas,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D71679
2020-05-19 16:27:58 +00:00
Zibi Braniecki 749612612f Bug 1629291 - Don't set l10n as cached if there was any error during initial translation. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D74818
2020-05-14 16:56:57 +00:00
Csoregi Natalia 9f074fab9b Backed out changeset 4309266ff43d (bug 1629291) for frequent assertion failures on ErrorResult.h. CLOSED TREE 2020-05-13 10:23:18 +03:00
Zibi Braniecki fabff274c8 Bug 1629291 - Don't set l10n as cached if there was any error during initial translation. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D74818
2020-05-12 23:22:03 +00:00
Zibi Braniecki 3701c67646 Bug 1631381 - Reject the initial translation if allocating an element fails. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D74343
2020-05-08 11:33:53 +00:00
Zibi Braniecki 816c29ddb0 Bug 1627809 - Make the DocumentL10n translate the document when initialized lazily. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D71224
2020-04-30 17:57:06 +00:00
Zibi Braniecki ff33f89421 Bug 1627809 - Make DocumentL10n translate all roots and add ConnectRoot with initial translation. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D70981
2020-04-30 17:56:54 +00:00
Zibi Braniecki 4084d5c48b Bug 1627809 - Move DocumentL10n construction earlier. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D70976
2020-04-30 17:56:41 +00:00
Zibi Braniecki 1427870732 Bug 1627809 - Move Localization.jsm construction to Localization constructor. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D70973
2020-04-30 18:22:38 +00:00
Zibi Braniecki 30bcee56da Bug 1627809 - Rename *DocumentTranslation to *Translation. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D70971
2020-04-30 17:55:26 +00:00