Bug 1697135 Comment 14 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

So I did a PTO-mode investigation, in Rust 😛: https://github.com/saschanaz/filesystemwatcher-win-rs/

The behavior changes with and without `browser.download.improvements_to_download_panel`  (which is enabled after the initial report).

Without the flag it shows exactly what the reporter says: the file is added, then removed, and then re-added.

```
File added
Name: firefox-99.0a1.en-US.linux-i686.awsy.tests(6).tar.gz
File removed
Name: firefox-99.0a1.en-US.linux-i686.awsy.tests(6).tar.gz
File added
Name: firefox-99.0a1.en-US.linux-i686.awsy.tests(6).tar.gz
```

With the flag enabled it's also kinda similar: It's added first with a temporary name, and then the file with the correct name is added, then is removed, and then the one with the temporary name is renamed with the correct name.

```
File added
Name: b3zHTnIi.tar.part
File added
Name: firefox-99.0a1.en-US.linux-i686.awsy.tests(5).tar.gz
File removed
Name: firefox-99.0a1.en-US.linux-i686.awsy.tests(5).tar.gz
File renamed
Name: b3zHTnIi.tar.part
File renamed
Name: firefox-99.0a1.en-US.linux-i686.awsy.tests(5).tar.gz
```

Technically this is nothing to do with DOM, so maybe change the component?
So I did a PTO-mode investigation, in Rust 😛: https://github.com/saschanaz/filesystemwatcher-win-rs/

The behavior changes with and without `browser.download.improvements_to_download_panel`  (which is enabled after the initial report).

Without the flag it shows exactly what the reporter says: the file is added, then removed, and then re-added.

```
File added
Name: firefox-99.0a1.en-US.linux-i686.awsy.tests(6).tar.gz
File removed
Name: firefox-99.0a1.en-US.linux-i686.awsy.tests(6).tar.gz
File added
Name: firefox-99.0a1.en-US.linux-i686.awsy.tests(6).tar.gz
```

With the flag enabled it's also kinda similar: It's added first with a temporary name, and then the file with the correct name is added, then is removed, and then the one with the temporary name is renamed with the correct name.

```
File added
Name: b3zHTnIi.tar.part
File added
Name: firefox-99.0a1.en-US.linux-i686.awsy.tests(5).tar.gz
File removed
Name: firefox-99.0a1.en-US.linux-i686.awsy.tests(5).tar.gz
File renamed from
Name: b3zHTnIi.tar.part
File renamed to
Name: firefox-99.0a1.en-US.linux-i686.awsy.tests(5).tar.gz
```

Technically this is nothing to do with DOM, so maybe change the component?

Back to Bug 1697135 Comment 14