Zibi Braniecki
738b080795
Bug 1560342 - Add basic tests for Localization. r=stas
...
Differential Revision: https://phabricator.services.mozilla.com/D35587
--HG--
extra : moz-landing-system : lando
2019-06-26 17:04:36 +00:00
Zibi Braniecki
224a1bb5c4
Bug 1560342 - Replace generic object
argument with a specific L10nArgs object for passing l10n arguments. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D35586
--HG--
extra : moz-landing-system : lando
2019-06-25 19:43:50 +00:00
Zibi Braniecki
ae32fa44eb
Bug 1560342 - Factor Localization out of DOMLocalization. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D35445
--HG--
extra : moz-landing-system : lando
2019-06-25 19:39:53 +00:00
Zibi Braniecki
b4932e4709
Bug 1555662 - Register L10nRegistry sources using categories. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D34227
--HG--
extra : moz-landing-system : lando
2019-06-08 04:37:31 +00:00
Andreea Pavel
ab7673faaa
Backed out 2 changesets (bug 1555662) for multiple bc failures e.g browser_panelUINotifications_multiWindow.js on a CLOSED TREE
...
Backed out changeset 84c57f9dda5b (bug 1555662)
Backed out changeset ede8b931ee0d (bug 1555662)
2019-06-08 03:25:28 +03:00
Zibi Braniecki
6ca89e400f
Bug 1555662 - Register L10nRegistry sources using categories. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D34227
--HG--
extra : moz-landing-system : lando
2019-06-07 20:11:00 +00:00
Zibi Braniecki
0075d6e610
Bug 1552714 - Migrate all remaining callsites to use WebIDL DOMLocalization and remove mozIDOMLocalization and DOMLocalization.jsm. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D33200
--HG--
rename : intl/l10n/test/dom_overlays/test_same_id.html => dom/l10n/tests/mochitest/domoverlays/test_same_id.html
rename : intl/l10n/test/dom_overlays/test_same_id_args.html => dom/l10n/tests/mochitest/domoverlays/test_same_id_args.html
extra : moz-landing-system : lando
2019-06-06 16:32:49 +00:00
Zibi Braniecki
f01344c760
Bug 1552714 - Refactor constructors of mozILocalization and DOMLocalization to handle custom generateMessages. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D33198
--HG--
extra : moz-landing-system : lando
2019-06-06 16:32:41 +00:00
Zibi Braniecki
23627f4456
Bug 1552714 - Move DOM L10n tests from intl/l10n to dom/l10n. r=fluent-reviewers,smaug,Pike
...
Differential Revision: https://phabricator.services.mozilla.com/D33197
--HG--
rename : intl/l10n/test/browser.ini => dom/l10n/tests/mochitest/browser.ini
rename : intl/l10n/test/document_l10n/README.txt => dom/l10n/tests/mochitest/document_l10n/README.txt
rename : intl/l10n/test/document_l10n/non-system-principal/README.txt => dom/l10n/tests/mochitest/document_l10n/non-system-principal/README.txt
rename : intl/l10n/test/document_l10n/non-system-principal/browser_resource_uri.js => dom/l10n/tests/mochitest/document_l10n/non-system-principal/browser_resource_uri.js
rename : intl/l10n/test/document_l10n/non-system-principal/localization/test.ftl => dom/l10n/tests/mochitest/document_l10n/non-system-principal/localization/test.ftl
rename : intl/l10n/test/document_l10n/non-system-principal/test.html => dom/l10n/tests/mochitest/document_l10n/non-system-principal/test.html
rename : intl/l10n/test/dom/test_docl10n.html => dom/l10n/tests/mochitest/document_l10n/test_docl10n.html
rename : intl/l10n/test/dom/test_docl10n.xhtml => dom/l10n/tests/mochitest/document_l10n/test_docl10n.xhtml
rename : intl/l10n/test/dom/test_docl10n.xul => dom/l10n/tests/mochitest/document_l10n/test_docl10n.xul
rename : intl/l10n/test/dom/test_docl10n_initialize_after_parse.xhtml => dom/l10n/tests/mochitest/document_l10n/test_docl10n_initialize_after_parse.xhtml
rename : intl/l10n/test/dom/test_docl10n_initialize_after_parse.xul => dom/l10n/tests/mochitest/document_l10n/test_docl10n_initialize_after_parse.xul
rename : intl/l10n/test/dom/test_docl10n_ready_rejected.html => dom/l10n/tests/mochitest/document_l10n/test_docl10n_ready_rejected.html
rename : intl/l10n/test/dom/test_docl10n_removeResourceIds.html => dom/l10n/tests/mochitest/document_l10n/test_docl10n_removeResourceIds.html
rename : intl/l10n/test/dom/test_docl10n_unpriv_iframe.html => dom/l10n/tests/mochitest/document_l10n/test_unpriv_iframe.html
rename : intl/l10n/test/dom/test_domloc_attr_sanitized.html => dom/l10n/tests/mochitest/dom_localization/test_attr_sanitized.html
rename : intl/l10n/test/dom/test_domloc_connectRoot.html => dom/l10n/tests/mochitest/dom_localization/test_connectRoot.html
rename : intl/l10n/test/dom/test_domloc_disconnectRoot.html => dom/l10n/tests/mochitest/dom_localization/test_disconnectRoot.html
rename : intl/l10n/test/dom/test_domloc.xul => dom/l10n/tests/mochitest/dom_localization/test_domloc.xul
rename : intl/l10n/test/dom/test_domloc_getAttributes.html => dom/l10n/tests/mochitest/dom_localization/test_getAttributes.html
rename : intl/l10n/test/dom/test_domloc_mutations.html => dom/l10n/tests/mochitest/dom_localization/test_mutations.html
rename : intl/l10n/test/dom/test_domloc_overlay.html => dom/l10n/tests/mochitest/dom_localization/test_overlay.html
rename : intl/l10n/test/dom/test_domloc_overlay_missing_all.html => dom/l10n/tests/mochitest/dom_localization/test_overlay_missing_all.html
rename : intl/l10n/test/dom/test_domloc_overlay_missing_children.html => dom/l10n/tests/mochitest/dom_localization/test_overlay_missing_children.html
rename : intl/l10n/test/dom/test_domloc_overlay_repeated.html => dom/l10n/tests/mochitest/dom_localization/test_overlay_repeated.html
rename : intl/l10n/test/dom/test_domloc_overlay_sanitized.html => dom/l10n/tests/mochitest/dom_localization/test_overlay_sanitized.html
rename : intl/l10n/test/dom/test_domloc_repeated_l10nid.html => dom/l10n/tests/mochitest/dom_localization/test_repeated_l10nid.html
rename : intl/l10n/test/dom/test_domloc_setAttributes.html => dom/l10n/tests/mochitest/dom_localization/test_setAttributes.html
rename : intl/l10n/test/dom/test_domloc_translateElements.html => dom/l10n/tests/mochitest/dom_localization/test_translateElements.html
rename : intl/l10n/test/dom/test_domloc_translateFragment.html => dom/l10n/tests/mochitest/dom_localization/test_translateFragment.html
rename : intl/l10n/test/dom/test_domloc_translateRoots.html => dom/l10n/tests/mochitest/dom_localization/test_translateRoots.html
rename : dom/l10n/tests/mochitest/test_domoverlays_attributes.html => dom/l10n/tests/mochitest/domoverlays/test_attributes.html
rename : dom/l10n/tests/mochitest/test_domoverlays.xul => dom/l10n/tests/mochitest/domoverlays/test_domoverlays.xul
rename : dom/l10n/tests/mochitest/test_domoverlays_extra_text_markup.html => dom/l10n/tests/mochitest/domoverlays/test_extra_text_markup.html
rename : dom/l10n/tests/mochitest/test_domoverlays_functional_children.html => dom/l10n/tests/mochitest/domoverlays/test_functional_children.html
rename : dom/l10n/tests/mochitest/test_domoverlays_text_children.html => dom/l10n/tests/mochitest/domoverlays/test_text_children.html
rename : intl/l10n/test/mochitest.ini => dom/l10n/tests/mochitest/mochitest.ini
extra : moz-landing-system : lando
2019-06-06 16:32:39 +00:00
Zibi Braniecki
fdd3cb9cbd
Bug 1552714 - Move DocumentL10n to dom/l10n. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D32957
--HG--
rename : dom/webidl/DocumentL10n.webidl => dom/chrome-webidl/DocumentL10n.webidl
rename : intl/l10n/DocumentL10n.cpp => dom/l10n/DocumentL10n.cpp
rename : intl/l10n/DocumentL10n.h => dom/l10n/DocumentL10n.h
extra : moz-landing-system : lando
2019-06-06 16:31:44 +00:00
Zibi Braniecki
49972af017
Bug 1552714 - Refactor constructors. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D32956
--HG--
extra : moz-landing-system : lando
2019-06-06 16:31:37 +00:00
Zibi Braniecki
319ed7e3c9
Bug 1552714 - Extract DOMLocalization out of DocumentL10n. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D32397
--HG--
extra : moz-landing-system : lando
2019-06-06 16:31:25 +00:00
Zibi Braniecki
314d90ae91
Bug 1555340 - Check for pending mutations when Document creates PresShell. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D33378
--HG--
extra : moz-landing-system : lando
2019-06-03 10:00:47 +00:00
Zibi Braniecki
9e3c527610
Bug 1546432 - Move DocumentL10n to use mozILocalization. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D31554
--HG--
extra : moz-landing-system : lando
2019-05-21 19:22:36 +00:00
Zibi Braniecki
2a9aacbacb
Bug 1546432 - Add roots management to Mutations. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D31337
--HG--
extra : moz-landing-system : lando
2019-05-23 19:01:35 +00:00
Zibi Braniecki
2ee19983ae
Bug 1546432 - Migrate DocumentL10n to use dom::l10n::Mutations. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D28981
--HG--
extra : moz-landing-system : lando
2019-05-21 19:46:32 +00:00
Zibi Braniecki
fbc6e0304a
Bug 1546432 - Introduce mozilla::dom::l10n::Mutations. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D28979
--HG--
extra : moz-landing-system : lando
2019-05-21 19:21:54 +00:00
Zibi Braniecki
0e59a5d8f4
Bug 1544118
- Move nsINode::localize to use DocumentL10n::TranslateFragment. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D28269
--HG--
extra : moz-landing-system : lando
2019-04-24 10:35:37 +00:00
Zibi Braniecki
bf768d3bb3
Bug 1545312 - Make L10nRegistry handle removed sources. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D28270
--HG--
extra : moz-landing-system : lando
2019-04-24 20:36:00 +00:00
Zibi Braniecki
d143f8ce30
Bug 1503657 - Migrate nsINode::localize and DOMLocalization.jsm to use DOMOverlays C++. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D27201
--HG--
extra : moz-landing-system : lando
2019-04-24 05:05:15 +00:00
Zibi Braniecki
0890bbe4c2
Bug 1503657 - Implement Fluent DOMOverlays in C++. r=smaug,Pike
...
Differential Revision: https://phabricator.services.mozilla.com/D27200
--HG--
extra : moz-landing-system : lando
2019-04-24 05:05:11 +00:00
Zibi Braniecki
d6b38f2162
Bug 1503657 - Land DOMOverlays tests prior to switch to C++. r=Pike
...
Differential Revision: https://phabricator.services.mozilla.com/D27199
--HG--
extra : moz-landing-system : lando
2019-04-24 05:03:28 +00:00
Andrew McCreight
f242e71c8a
Bug 1545822
- Clean up some whitespace in XPIDL files. r=froydnj
...
The attributes for an interface should be on the line right before the
interface.
Interface attributes should be separated by spaces.
Clean up some trailing whitespace in widget/.
Differential Revision: https://phabricator.services.mozilla.com/D28234
--HG--
extra : moz-landing-system : lando
2019-04-21 01:47:00 +00:00
Mike Conley
b5af04e2bf
Bug 1545125 - Notify DOMLocalization if the intl.uidirection pref has been changed. r=zbraniecki
...
This way, if the user updates the pref, we can properly set the localedir
on Fluent-translated documents.
Differential Revision: https://phabricator.services.mozilla.com/D27928
--HG--
extra : moz-landing-system : lando
2019-04-17 20:38:40 +00:00
Zibi Braniecki
a1791b1910
Bug 1534480 - Do not update Fluent DOM attributes if they match current ones. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D23063
--HG--
extra : moz-landing-system : lando
2019-04-16 20:45:52 +00:00
arthur.iakab
efa7bba713
Backed out changeset a8acb6aa4a52 (bug 1534480)for chrome mochitest failures on dom_overlays/test_same_attribute.html CLOSED TREE
2019-04-16 20:54:11 +03:00
Zibi Braniecki
c7b8eb7f7f
Bug 1534480 - Do not update Fluent DOM attributes if they match current ones. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D23063
--HG--
extra : moz-landing-system : lando
2019-04-16 16:29:38 +00:00
Brian Grinstead
911776d674
Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
...
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the case where the script src is on the line below the script tag.
This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 3` argument.
Differential Revision: https://phabricator.services.mozilla.com/D27458
--HG--
extra : moz-landing-system : lando
2019-04-16 03:59:25 +00:00
Brian Grinstead
ede8c44ef2
Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky
...
This excludes dom/, otherwise the file size is too large for phabricator to handle.
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.
This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 2` argument.
Differential Revision: https://phabricator.services.mozilla.com/D27456
--HG--
extra : moz-landing-system : lando
2019-04-16 03:50:44 +00:00
Brian Grinstead
6515f97bcb
Bug 1544322 - Part 1 - Remove the [type] attribute for one-liner <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
...
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.
This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 1` argument.
Differential Revision: https://phabricator.services.mozilla.com/D26812
--HG--
extra : moz-landing-system : lando
2019-04-15 20:56:58 +00:00
Gijs Kruitbosch
851325cbfe
Bug 1543493 - ensure DOM localization in XUL docs can localize content that includes an <image>, r=zbraniecki
...
Differential Revision: https://phabricator.services.mozilla.com/D26989
--HG--
extra : moz-landing-system : lando
2019-04-12 00:47:15 +00:00
Axel Hecht
08639a4653
Bug 1540089, doc fix for Fluent 0.9 Syntax, r=stas
...
Depends on D25403
Differential Revision: https://phabricator.services.mozilla.com/D25404
--HG--
extra : moz-landing-system : lando
2019-03-29 15:51:58 +00:00
Staś Małolepszy
3aa3bb6bc9
Bug 1539192 - Update to Fluent.jsm 0.12.0, FluentSyntax 0.12.0. r=zbraniecki
...
Update the vendored Fluent libraries to their latest versions, both supporting Fluent Syntax 0.9.
Differential Revision: https://phabricator.services.mozilla.com/D25043
--HG--
extra : moz-landing-system : lando
2019-03-27 20:43:33 +00:00
Zibi Braniecki
4f5881dda7
Bug 1483036 - Simplify the DocumentL10n::PromiseResolver handler. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D24451
--HG--
extra : moz-landing-system : lando
2019-03-26 15:05:21 +00:00
Zibi Braniecki
bb5e52fa01
Bug 1483036 - Report meaningful Promise values from FluentDOM C++ bits r=Gijs,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D24113
--HG--
extra : moz-landing-system : lando
2019-03-26 19:34:27 +00:00
championshuttler
677714a968
Bug 1536103 - Fix Sphinx Warning - Title Underline too short in 'mach doc'. r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D24536
--HG--
extra : moz-landing-system : lando
2019-03-22 19:30:34 +00:00
Zibi Braniecki
ee31c806ce
Bug 1532712 - Fix tests to await for gotoPref. r=gijs
...
Differential Revision: https://phabricator.services.mozilla.com//D23377
--HG--
extra : amend_source : 4f28d4b1dcc9be7cf3f981a9e17f78fe875e66b3
extra : histedit_source : 0b84776abd74cacac4c04861f5e21d74e15120ed
2019-03-13 19:43:50 +00:00
Zibi Braniecki
20e3e4f215
Bug 1532712 - Expose pause/resume observing methods on DocumentL10n. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com//D23244
--HG--
extra : histedit_source : 7278710f71d900dfdedcf68abbf8315f05cd44c6
2019-03-13 00:24:41 +00:00
Gurzau Raul
cd795da219
Backed out 2 changesets (bug 1532712) for mochitest failures at browser_policy_set_homepage.js on a CLOSED TREE.
...
Backed out changeset 1af088f5fc34 (bug 1532712)
Backed out changeset 5fb5272aec8e (bug 1532712)
2019-03-13 21:18:53 +02:00
Zibi Braniecki
54254e08a5
Bug 1532712 - Expose pause/resume observing methods on DocumentL10n. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D23244
--HG--
extra : moz-landing-system : lando
2019-03-13 16:39:41 +00:00
Zibi Braniecki
7e28ab1e17
Bug 1532226 - Move observers registration for Fluent DOM to C++. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D21898
--HG--
extra : moz-landing-system : lando
2019-03-05 02:16:14 +00:00
Christian Frey
fccf4fa2b5
Bug 1517493 - migrated pageInfo.dtd and pageInfo.properties to pageInfo.ftl r=jaws,flod,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D16931
--HG--
extra : moz-landing-system : lando
2019-02-22 15:26:15 +00:00
Oana Pop Rus
d259530ce5
Backed out changeset d28d0498bd7b (bug 1517493) for bc failures at browser_firstPartyIsolation_saveAs.js
2019-02-21 14:28:56 +02:00
Christian Frey
df96294465
Bug 1517493 Migrating pageInfo to Fluent r=jaws,flod,Gijs
...
Translating most string from pageInfo.properties and making pageInfo.js and security.js use Fluent
Differential Revision: https://phabricator.services.mozilla.com/D16931
--HG--
extra : moz-landing-system : lando
2019-02-21 11:31:05 +00:00
Staś Małolepszy
c2cf572a24
Bug 1526875 - Land intl/l10n/FluentSyntax.jsm r=zbraniecki
...
Differential Revision: https://phabricator.services.mozilla.com/D19391
--HG--
extra : moz-landing-system : lando
2019-02-20 16:45:16 +00:00
shindli
428bc0ca50
Backed out changeset cfb1a7fbbfa7 (bug 1517493) for bc failures in browser/base/content/test/static/browser_all_files_referenced.js
2019-02-18 22:49:05 +02:00
Christian Frey
59bf1f3f79
Bug 1517493 Migrating pageInfo to Fluent r=jaws,flod
...
Translating most string from pageInfo.properties and making pageInfo.js and security.js use Fluent
Differential Revision: https://phabricator.services.mozilla.com/D16931
--HG--
extra : moz-landing-system : lando
2019-02-07 06:31:04 +00:00
Sylvestre Ledru
41d1d79094
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D19663
--HG--
extra : moz-landing-system : lando
2019-02-15 08:15:57 +00:00
Brendan Dahl
74c580a4c5
Bug 1527733 - Remove special XUL DOM tree traversal. r=smaug
...
Move functionality out of XULDocument::AddElementToDocumentPost:
1) Convert all XUL link elements into HTML link elements which have
code to handle when they are added to the DOM.
2) Move handling of the end of a linkset element into nsXULElement's DoneAddingChildren callback.
3) Move document direction reset to where the root element is created.
Differential Revision: https://phabricator.services.mozilla.com/D19739
--HG--
extra : moz-landing-system : lando
2019-02-14 10:43:35 +00:00
Dorel Luca
efbf371fda
Backed out changeset f3a52e8d6861 (bug 1526875) for Browser-chrome failures. CLOSED TREE
2019-02-14 20:43:45 +02:00