Closed Bug 1523736 Opened 2 years ago Closed 3 months ago

Migrate updates.dtd to fluent


(Toolkit :: Application Update, task, P3)




Tracking Status
firefox67 --- wontfix
firefox77 --- verified


(Reporter: Gijs, Assigned: yanbingj, Mentored)


(Blocks 2 open bugs)



(1 file, 1 obsolete file)

This is only used from . We will need to keep the doctype declaration there purely for the macOS ifdef.

As with other dialogs, we'll probably need to make sure it sizes to the content after the localization is complete.

Just heads up that this UI might be going away according to :rstrong in bug 1515484.

Priority: -- → P3
Blocks: 1608163
No longer blocks: 1517304
Type: enhancement → task
Blocks: 1581212

It doesn't look like bug 1521632 is assigned or prioritized above P3, so I think this one is safe to do - it's unlikely that updateElevation.xhtml is going to get removed out from under us. Plus, it's likely that the doorhanger proposed in bug 1521632 would want to use some or all of these strings anyways, so might as well get them converted.

Assignee: nobody → yanbingj

Hey Kevin,

To test this, drop this into the Browser Console to bring up the dialog:

Services.ww.openWindow(null, "chrome://mozapps/content/update/updateElevation.xhtml", "Update:Elevation", "chrome,centerscreen,resizable=no,titlebar,toolbar=no,dialog=no", null);
Attachment #9136341 - Attachment is obsolete: true
Pushed by
migrate updates.dtd to fluent r=fluent-reviewers,flod,Gijs

Backed out changeset afe014a1b475 (bug 1523736) for causing build bustages

Push with failure:

Failure log:

Backout link:

task 2020-04-17T16:11:50.989Z] 16:11:50     INFO -  js/src> Creating config.status
[task 2020-04-17T16:11:51.032Z] 16:11:51     INFO -  Creating config.status
[task 2020-04-17T16:11:51.316Z] 16:11:51     INFO -  Reticulating splines...
[task 2020-04-17T16:11:53.044Z] 16:11:53     INFO -   0:01.76 File already read. Skipping: /builds/worker/checkouts/gecko/gfx/angle/targets/angle_common/
[task 2020-04-17T16:12:07.316Z] 16:12:07    ERROR -  Traceback (most recent call last):
[task 2020-04-17T16:12:07.317Z] 16:12:07     INFO -    File "/builds/worker/checkouts/gecko/", line 181, in <module>
[task 2020-04-17T16:12:07.317Z] 16:12:07     INFO -      sys.exit(main(sys.argv))
[task 2020-04-17T16:12:07.317Z] 16:12:07     INFO -    File "/builds/worker/checkouts/gecko/", line 57, in main
[task 2020-04-17T16:12:07.317Z] 16:12:07     INFO -      return config_status(config)
[task 2020-04-17T16:12:07.317Z] 16:12:07     INFO -    File "/builds/worker/checkouts/gecko/", line 176, in config_status
[task 2020-04-17T16:12:07.317Z] 16:12:07     INFO -      return config_status(args=[], **normalize(sanitized_config))
[task 2020-04-17T16:12:07.317Z] 16:12:07     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/", line 148, in config_status
[task 2020-04-17T16:12:07.317Z] 16:12:07     INFO -      the_backend.consume(definitions)
[task 2020-04-17T16:12:07.317Z] 16:12:07     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/backend/", line 129, in consume
[task 2020-04-17T16:12:07.317Z] 16:12:07     INFO -      if (not self.consume_object(obj) and
[task 2020-04-17T16:12:07.317Z] 16:12:07     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/backend/", line 65, in consume_object
[task 2020-04-17T16:12:07.317Z] 16:12:07     INFO -      self._consume_jar_manifest(obj)
[task 2020-04-17T16:12:07.317Z] 16:12:07     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/backend/", line 508, in _consume_jar_manifest
[task 2020-04-17T16:12:07.317Z] 16:12:07     INFO -      '%s: Cannot find %s (tried %s)' % (obj.path, e.source, src.full_path))
[task 2020-04-17T16:12:07.317Z] 16:12:07     INFO -  Exception: Cannot find chrome/mozapps/update/updates.dtd (tried /builds/worker/checkouts/gecko/toolkit/locales/en-US/chrome/mozapps/update/updates.dtd)
[task 2020-04-17T16:12:08.321Z] 16:12:08     INFO -  *** Fix above errors and then restart with\
[task 2020-04-17T16:12:08.321Z] 16:12:08     INFO -                 "./mach build"
[task 2020-04-17T16:12:08.321Z] 16:12:08     INFO - recipe for target 'configure' failed
[task 2020-04-17T16:12:08.322Z] 16:12:08     INFO -  make: *** [configure] Error 1
[task 2020-04-17T16:12:08.391Z] 16:12:08    ERROR - Return code: 2
[task 2020-04-17T16:12:08.391Z] 16:12:08  WARNING - setting return code to 2
[task 2020-04-17T16:12:08.391Z] 16:12:08    FATAL - 'mach build -v' did not run successfully. Please check log for errors.
[task 2020-04-17T16:12:08.391Z] 16:12:08    FATAL - Running post_fatal callback...
[task 2020-04-17T16:12:08.391Z] 16:12:08    FATAL - Exiting -1
[task 2020-04-17T16:12:08.392Z] 16:12:08     INFO - [mozharness: 2020-04-17 16:12:08.391997Z] Finished build step (failed)
[task 2020-04-17T16:12:08.392Z] 16:12:08     INFO - Running post-run listener: _parse_build_tests_ccov
[task 2020-04-17T16:12:08.392Z] 16:12:08     INFO - Running command: ['/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/init/bin/python', 'mach', 'python', 'testing/'] in /builds/worker/checkouts/gecko
[task 2020-04-17T16:12:08.392Z] 16:12:08     INFO - Copy/paste: /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/init/bin/python mach python testing/
[task 2020-04-17T16:12:08.394Z] 16:12:08     INFO - Using env: {'ACCEPTED_MAR_CHANNEL_IDS': 'firefox-mozilla-central',
Flags: needinfo?(gijskruitbosch+bugs)
Flags: needinfo?(gijskruitbosch+bugs)
Pushed by
migrate updates.dtd to fluent r=fluent-reviewers,flod,Gijs
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77

Verified fixed as part of PI 551; tested with Nightly 77 across platforms (Windows 10, macOS 10.15 and Ubuntu 18.04).

You need to log in before you can comment on or make changes to this bug.