Simon Giesecke
1e6ec7ec86
Bug 1656117 - Reduce include dependencies on nsRefreshDriver.h. r=mstange
...
The abstract observer base classes are moved to a separate header file
nsRefreshObservers.h and the includes are adjusted accordingly.
Some method implementations are moved to the corresponding implementation files
to avoid the need to include the nsRefreshDriver.h file in the header.
Differential Revision: https://phabricator.services.mozilla.com/D85764
2020-08-04 21:17:50 +00:00
Dave Townsend
c551d1b151
Bug 1642398: Add a lint rule to warn about multiple calls to document.l10n.formatValue. r=Standard8,preferences-reviewers,ntim
...
Differential Revision: https://phabricator.services.mozilla.com/D77900
2020-07-02 18:51:44 +00:00
Simon Giesecke
cd8b8939b9
Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D80860
2020-07-01 08:29:29 +00:00
Aaron Klotz
5338289548
Bug 1648631: Part 3 - Update tests to work with the revised L10nRegistry API; r=zbraniecki,robwu
...
Depends on D81390
Differential Revision: https://phabricator.services.mozilla.com/D81391
2020-06-26 20:27:57 +00:00
Gijs Kruitbosch
1e9bcf361a
Bug 1645246 - add error reporting when fluent overwrites child elements (rather than just text), r=zbraniecki
...
Differential Revision: https://phabricator.services.mozilla.com/D79813
2020-06-16 23:54:51 +00:00
Gijs Kruitbosch
7a932125e9
Bug 1645246 - fluent shouldn't release-crash if one translation clobbers another element listed for translation, r=zbraniecki,smaug
...
See https://bugzilla.mozilla.org/show_bug.cgi?id=1645246#c4 for what causes the crash.
I'm avoiding translating as well as attempting to update prototypes
for disconnected elements, which I've verified fixes the crash.
Differential Revision: https://phabricator.services.mozilla.com/D79508
2020-06-17 13:07:15 +00:00
Dave Townsend
155fe87ea2
Bug 1642423: document.l10n.formatValues should accept simple strings as well as L10nKeys. r=zbraniecki
...
Differential Revision: https://phabricator.services.mozilla.com/D77857
2020-06-08 18:11:00 +00:00
Butkovits Atila
a561ed634b
Backed out changeset 3b5928fd85e5 (bug 1642423) for causing failure at test_getAttributes.html. CLOSED TREE
2020-06-06 00:32:42 +03:00
Dave Townsend
67bca5c4f4
Bug 1642423: document.l10n.formatValues should accept simple strings as well as L10nKeys. r=zbraniecki
...
Differential Revision: https://phabricator.services.mozilla.com/D77857
2020-06-05 19:57:05 +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
79c24a615e
Bug 1631593 - Cache bundles in Localization C++. r=jfkthame,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D71815
2020-05-31 07:12:31 +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
Zibi Braniecki
099f8774bd
Bug 1631593 - Move resourceIds to Localization C++. r=stas,jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D71677
2020-05-31 07:12:38 +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
2a163b0aca
Bug 1631593 - Cache bundles in Localization C++. r=jfkthame,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D71815
2020-05-30 09:37:02 +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
Zibi Braniecki
b7cc044565
Bug 1631593 - Move resourceIds to Localization C++. r=stas,jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D71677
2020-05-30 09:36:25 +00:00
Randell Jesup
e068346a1f
Bug 1602757: disable process caching/preallocation while testing browser_resource_uri r=zbraniecki
...
Differential Revision: https://phabricator.services.mozilla.com/D76534
2020-05-30 14:38:59 +00:00
Narcis Beleuzu
4e6564f9f0
Backed out 7 changesets (bug 1602757, bug 1640801, bug 1612063, bug 1569928) for wpt failures on operator-dictionary-spacing-002/003/006.html CLOSED TREE
...
Backed out changeset 11277f03c48c (bug 1640801)
Backed out changeset 6d2a92d25b8f (bug 1569928)
Backed out changeset 383fd9b931ae (bug 1602757)
Backed out changeset 58ec60831af6 (bug 1602757)
Backed out changeset 4b9c579de3b2 (bug 1602757)
Backed out changeset a34288a6f60c (bug 1612063)
Backed out changeset 5134aaa3278e (bug 1602757)
2020-05-29 05:38:02 +03:00
Randell Jesup
793c7e1cdd
Bug 1602757: disable process caching/preallocation while testing browser_resource_uri r=zbraniecki
...
Differential Revision: https://phabricator.services.mozilla.com/D76534
2020-05-28 21:37:28 +00:00
Narcis Beleuzu
0d860681b7
Backed out 6 changesets (bug 1602757, bug 1612063, bug 1569928) for wpt failure on operator-dictionary-spacing-001.html . CLOSED TREE
...
Backed out changeset 0f9c7960f36e (bug 1569928)
Backed out changeset 9456c9f960c9 (bug 1602757)
Backed out changeset 8dc7e11dbb9c (bug 1602757)
Backed out changeset 8bacf5ad656e (bug 1602757)
Backed out changeset b15fc1090ac7 (bug 1612063)
Backed out changeset bd19c329c6b7 (bug 1602757)
2020-05-28 21:29:25 +03:00
Randell Jesup
2a1082919d
Bug 1602757: disable process caching/preallocation while testing browser_resource_uri r=zbraniecki
...
Differential Revision: https://phabricator.services.mozilla.com/D76534
2020-05-28 14:33:53 +00:00
Narcis Beleuzu
34d12babb2
Backed out 5 changesets (bug 1602757, bug 1612063) for marionette failures on test_crash.py
...
Backed out changeset 232da017dc6a (bug 1602757)
Backed out changeset 32851bed1929 (bug 1602757)
Backed out changeset 1c6a6bfaaeef (bug 1602757)
Backed out changeset 45e22f062bce (bug 1612063)
Backed out changeset a7d7edf158a4 (bug 1602757)
2020-05-23 23:45:59 +03:00
Randell Jesup
2208332d44
Bug 1602757: disable process caching/preallocation while testing browser_resource_uri r=zbraniecki
...
Differential Revision: https://phabricator.services.mozilla.com/D76534
2020-05-23 05:07:53 +00:00
Peter Van der Beken
af82496fc7
Bug 1639310 - Remove unnecessary implicitJSContext annotations. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D76020
2020-05-19 20:48:21 +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
Simon Giesecke
a84bea3851
Bug 1626570 - Improve handling of copying arrays in dom/l10n/. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D73651
2020-05-05 10:17:52 +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
Simon Giesecke
c0341c3791
Bug 1628715 - Part 10: Activate nodiscard attributes on AppendElement(s). r=xpcom-reviewers,nika,peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D70834
2020-04-24 14:34:15 +00:00
Zibi Braniecki
a7712e985a
Bug 1621674 - Update tests to use Localization WebIDL. r=jfkthame,Mardak
...
Differential Revision: https://phabricator.services.mozilla.com/D66549
--HG--
extra : moz-landing-system : lando
2020-04-10 23:35:58 +00:00
Zibi Braniecki
fcdb32de94
Bug 1621674 - Unify Localization.jsm, mozILocalization and Localization WebIDL. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D66531
--HG--
extra : moz-landing-system : lando
2020-04-10 23:35:03 +00:00
Stefan Hindli
37b364e264
Backed out 3 changesets (bug 1621674) for causing xpcshell permafailures in browser/extensions/formautofill/test/unit/test_createRecords.js CLOSED TREE
...
Backed out changeset f45de944f20a (bug 1621674)
Backed out changeset 0b2fdf331bce (bug 1621674)
Backed out changeset 2f7e9c807020 (bug 1621674)
2020-04-08 00:49:16 +03:00
Zibi Braniecki
2f35997cd0
Bug 1621674 - Update tests to use Localization WebIDL. r=jfkthame,Mardak
...
Differential Revision: https://phabricator.services.mozilla.com/D66549
--HG--
extra : moz-landing-system : lando
2020-04-07 20:12:21 +00:00
Zibi Braniecki
7510f5c207
Bug 1621674 - Unify Localization.jsm, mozILocalization and Localization WebIDL. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D66531
--HG--
extra : moz-landing-system : lando
2020-04-07 18:03:46 +00:00
Razvan Maries
24116686ba
Backed out 3 changesets (bug 1621674) for newtab perma failures. CLOSED TREE
...
Backed out changeset f197d83fd8a1 (bug 1621674)
Backed out changeset 939beec809c1 (bug 1621674)
Backed out changeset a657cda5467e (bug 1621674)
2020-04-07 21:00:15 +03:00
Zibi Braniecki
401872b352
Bug 1621674 - Update tests to use Localization WebIDL. r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D66549
--HG--
extra : moz-landing-system : lando
2020-04-07 16:28:23 +00:00
Zibi Braniecki
804246b7c6
Bug 1621674 - Unify Localization.jsm, mozILocalization and Localization WebIDL. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D66531
--HG--
extra : moz-landing-system : lando
2020-04-07 16:28:12 +00:00
Mark Striemer
03def4e38c
Bug 1532077
- Clarify browserAction message in shortcuts UI r=fluent-reviewers,rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D69856
--HG--
extra : moz-landing-system : lando
2020-04-07 09:16:39 +00:00
Axel Hecht
606a2df712
Bug 1617669 - Check if an element is in any of the roots before adding to pending mutations. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D67111
--HG--
rename : dom/l10n/tests/mochitest/dom_localization/test_connectRoot_webcomponent.html => dom/l10n/tests/mochitest/l10n_mutations/test_disconnectedRoot_webcomponent.html
extra : moz-landing-system : lando
2020-03-31 19:57:21 +00:00