Closed Bug 1948932 Opened 6 months ago Closed 5 months ago

[Late Beta] High frequency uriloader/exthandler/tests/mochitest/browser_save_filenames.js | <something> was saved with the correct name when copying - Got "", expected "<something" - when Gecko 137 switches to late beta on 2025-03-14

Categories

(Firefox :: File Handling, defect)

defect

Tracking

()

VERIFIED FIXED
138 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox135 --- unaffected
firefox136 --- unaffected
firefox137 + wontfix
firefox138 --- verified

People

(Reporter: amarc, Assigned: edgar)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

Attachments

(1 file)

Central-as-beta-simulation

How to run these simulations

Failure log

  • Failure snippet:
[task 2025-02-18T12:00:36.489Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i1 simple.png was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.490Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i2 invalidfilename_a_b_ccd.png was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.490Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i3 invalidextension.png was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.490Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i4 reallyapng.png was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.491Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i5 nottext.png was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.492Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i6 noext.png was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.492Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i7 noextdot.png was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.493Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i8 averylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongf.png was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.495Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i9 bverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongf.png was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.495Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i10 cverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongf.png was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.497Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i11 thejpg.jpg was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.498Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i12 thejpg.jpeg was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.498Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i13 morejpg.jpg was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.499Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i14 anotherjpg.jpg.jpg was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.500Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i15 jpg.jpg was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.501Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i16 exe.png was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.502Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i17 first file.png was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.502Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i18 second2file.png was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.503Z] 12:00:36     INFO - Buffered messages finished
[task 2025-02-18T12:00:36.504Z] 12:00:36     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i32 save_filename.png was saved with the correct name when copying - Got "", expected "save_filename.png"
[task 2025-02-18T12:00:36.504Z] 12:00:36     INFO - Stack trace:
[task 2025-02-18T12:00:36.504Z] 12:00:36     INFO - chrome://mochikit/content/browser-test.js:test_is:1627
[task 2025-02-18T12:00:36.504Z] 12:00:36     INFO - chrome://mochitests/content/browser/uriloader/exthandler/tests/mochitest/browser_save_filenames.js:copy_image:406
[task 2025-02-18T12:00:36.504Z] 12:00:36     INFO - chrome://mochikit/content/browser-test.js:handleTask:1147
[task 2025-02-18T12:00:36.504Z] 12:00:36     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1219
[task 2025-02-18T12:00:36.504Z] 12:00:36     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1360
[task 2025-02-18T12:00:36.504Z] 12:00:36     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1136
[task 2025-02-18T12:00:36.504Z] 12:00:36     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2025-02-18T12:00:36.506Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i34 override.png was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.506Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i35 flower.png was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.507Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i36 ruby.png was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.507Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i37 sapphire_data.png was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.508Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i38 emerald.png was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.508Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i39 base.png was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.509Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i51 webpimage.webp was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.510Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i52 realwebpimage.webp was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.511Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i55 extinvalid.png was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.512Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i56 red.png was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.513Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i57 green.jpg was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.513Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i59 aquamarine.png was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.514Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i60 lazuli.png was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.515Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i61 with spaces.png was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.515Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i62 with..dots..png was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.516Z] 12:00:36     INFO - Not taking screenshot here: see the one that was previously logged
[task 2025-02-18T12:00:36.518Z] 12:00:36     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i63 smeescapes.png was saved with the correct name when copying - Got "", expected "smeescapes.png"
[task 2025-02-18T12:00:36.518Z] 12:00:36     INFO - Stack trace:
[task 2025-02-18T12:00:36.518Z] 12:00:36     INFO - chrome://mochikit/content/browser-test.js:test_is:1627
[task 2025-02-18T12:00:36.518Z] 12:00:36     INFO - chrome://mochitests/content/browser/uriloader/exthandler/tests/mochitest/browser_save_filenames.js:copy_image:406
[task 2025-02-18T12:00:36.518Z] 12:00:36     INFO - chrome://mochikit/content/browser-test.js:handleTask:1147
[task 2025-02-18T12:00:36.518Z] 12:00:36     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1219
[task 2025-02-18T12:00:36.518Z] 12:00:36     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1360
[task 2025-02-18T12:00:36.518Z] 12:00:36     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1136
[task 2025-02-18T12:00:36.518Z] 12:00:36     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2025-02-18T12:00:36.519Z] 12:00:36     INFO - Not taking screenshot here: see the one that was previously logged
[task 2025-02-18T12:00:36.520Z] 12:00:36     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i64 save_thename.png was saved with the correct name when copying - Got "", expected "save_thename.png"
[task 2025-02-18T12:00:36.520Z] 12:00:36     INFO - Stack trace:
[task 2025-02-18T12:00:36.520Z] 12:00:36     INFO - chrome://mochikit/content/browser-test.js:test_is:1627
[task 2025-02-18T12:00:36.520Z] 12:00:36     INFO - chrome://mochitests/content/browser/uriloader/exthandler/tests/mochitest/browser_save_filenames.js:copy_image:406
[task 2025-02-18T12:00:36.520Z] 12:00:36     INFO - chrome://mochikit/content/browser-test.js:handleTask:1147
[task 2025-02-18T12:00:36.520Z] 12:00:36     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1219
[task 2025-02-18T12:00:36.520Z] 12:00:36     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1360
[task 2025-02-18T12:00:36.520Z] 12:00:36     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1136
[task 2025-02-18T12:00:36.520Z] 12:00:36     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2025-02-18T12:00:36.521Z] 12:00:36     INFO - Not taking screenshot here: see the one that was previously logged
[task 2025-02-18T12:00:36.522Z] 12:00:36     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i72 compressed.png.png was saved with the correct name when copying - Got "", expected "compressed.png.png"
[task 2025-02-18T12:00:36.522Z] 12:00:36     INFO - Stack trace:
[task 2025-02-18T12:00:36.522Z] 12:00:36     INFO - chrome://mochikit/content/browser-test.js:test_is:1627
[task 2025-02-18T12:00:36.522Z] 12:00:36     INFO - chrome://mochitests/content/browser/uriloader/exthandler/tests/mochitest/browser_save_filenames.js:copy_image:406
[task 2025-02-18T12:00:36.522Z] 12:00:36     INFO - chrome://mochikit/content/browser-test.js:handleTask:1147
[task 2025-02-18T12:00:36.522Z] 12:00:36     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1219
[task 2025-02-18T12:00:36.522Z] 12:00:36     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1360
[task 2025-02-18T12:00:36.522Z] 12:00:36     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1136
[task 2025-02-18T12:00:36.522Z] 12:00:36     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2025-02-18T12:00:36.523Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i78 extension.png was saved with the correct name when copying - 
[task 2025-02-18T12:00:36.523Z] 12:00:36     INFO - Leaving test bound copy_image
[task 2025-02-18T12:00:36.524Z] 12:00:36     INFO - Entering test bound saveas_files
[task 2025-02-18T12:00:36.636Z] 12:00:36     INFO - GECKO(5828) | [Parent 2320, Main Thread] WARNING: 'mIndex >= Count()', file /builds/worker/checkouts/gecko/xpcom/ds/nsStringEnumerator.cpp:203
[task 2025-02-18T12:00:36.640Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i0 basic.png was saved with the correct name context menu - 
[task 2025-02-18T12:00:36.686Z] 12:00:36     INFO - GECKO(5828) | [Parent 2320, Main Thread] WARNING: 'mIndex >= Count()', file /builds/worker/checkouts/gecko/xpcom/ds/nsStringEnumerator.cpp:203
[task 2025-02-18T12:00:36.688Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i1 simple.png was saved with the correct name context menu - 
[task 2025-02-18T12:00:36.725Z] 12:00:36     INFO - GECKO(5828) | [Parent 2320, Main Thread] WARNING: 'mIndex >= Count()', file /builds/worker/checkouts/gecko/xpcom/ds/nsStringEnumerator.cpp:203
[task 2025-02-18T12:00:36.726Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i2 invalidfilename_a_b_ccd.png was saved with the correct name context menu - 
[task 2025-02-18T12:00:36.763Z] 12:00:36     INFO - GECKO(5828) | [Parent 2320, Main Thread] WARNING: 'mIndex >= Count()', file /builds/worker/checkouts/gecko/xpcom/ds/nsStringEnumerator.cpp:203
[task 2025-02-18T12:00:36.767Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i3 invalidextension.png was saved with the correct name context menu - 
[task 2025-02-18T12:00:36.815Z] 12:00:36     INFO - GECKO(5828) | [Parent 2320, Main Thread] WARNING: 'mIndex >= Count()', file /builds/worker/checkouts/gecko/xpcom/ds/nsStringEnumerator.cpp:203
[task 2025-02-18T12:00:36.817Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i4 reallyapng.png was saved with the correct name context menu - 
[task 2025-02-18T12:00:36.855Z] 12:00:36     INFO - GECKO(5828) | [Parent 2320, Main Thread] WARNING: 'mIndex >= Count()', file /builds/worker/checkouts/gecko/xpcom/ds/nsStringEnumerator.cpp:203
[task 2025-02-18T12:00:36.860Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i5 nottext.png was saved with the correct name context menu - 
[task 2025-02-18T12:00:36.904Z] 12:00:36     INFO - GECKO(5828) | [Parent 2320, Main Thread] WARNING: 'mIndex >= Count()', file /builds/worker/checkouts/gecko/xpcom/ds/nsStringEnumerator.cpp:203
[task 2025-02-18T12:00:36.908Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i6 noext.png was saved with the correct name context menu - 
[task 2025-02-18T12:00:36.953Z] 12:00:36     INFO - GECKO(5828) | [Parent 2320, Main Thread] WARNING: 'mIndex >= Count()', file /builds/worker/checkouts/gecko/xpcom/ds/nsStringEnumerator.cpp:203
[task 2025-02-18T12:00:36.955Z] 12:00:36     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i7 noextdot.png was saved with the correct name context menu - 
[task 2025-02-18T12:00:36.997Z] 12:00:36     INFO - GECKO(5828) | [Parent 2320, Main Thread] WARNING: 'mIndex >= Count()', file /builds/worker/checkouts/gecko/xpcom/ds/nsStringEnumerator.cpp:203
[task 2025-02-18T12:00:37.003Z] 12:00:37     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i8 averylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongf.png was saved with the correct name context menu - 
[task 2025-02-18T12:00:37.042Z] 12:00:37     INFO - GECKO(5828) | [Parent 2320, Main Thread] WARNING: 'mIndex >= Count()', file /builds/worker/checkouts/gecko/xpcom/ds/nsStringEnumerator.cpp:203
[task 2025-02-18T12:00:37.048Z] 12:00:37     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i9 bverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongf.png was saved with the correct name context menu - 
[task 2025-02-18T12:00:37.089Z] 12:00:37     INFO - GECKO(5828) | [Parent 2320, Main Thread] WARNING: 'mIndex >= Count()', file /builds/worker/checkouts/gecko/xpcom/ds/nsStringEnumerator.cpp:203
[task 2025-02-18T12:00:37.091Z] 12:00:37     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i10 cverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongfilenameverylongf.png was saved with the correct name context menu - 
[task 2025-02-18T12:00:37.124Z] 12:00:37     INFO - GECKO(5828) | [Parent 2320, Main Thread] WARNING: 'mIndex >= Count()', file /builds/worker/checkouts/gecko/xpcom/ds/nsStringEnumerator.cpp:203
[task 2025-02-18T12:00:37.125Z] 12:00:37     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i11 thejpg.jpg was saved with the correct name context menu - 
[task 2025-02-18T12:00:37.181Z] 12:00:37     INFO - GECKO(5828) | [Parent 2320, Main Thread] WARNING: 'mIndex >= Count()', file /builds/worker/checkouts/gecko/xpcom/ds/nsStringEnumerator.cpp:203
[task 2025-02-18T12:00:37.183Z] 12:00:37     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i12 thejpg.jpeg was saved with the correct name context menu - 
[task 2025-02-18T12:00:37.226Z] 12:00:37     INFO - GECKO(5828) | [Parent 2320, Main Thread] WARNING: 'mIndex >= Count()', file /builds/worker/checkouts/gecko/xpcom/ds/nsStringEnumerator.cpp:203
[task 2025-02-18T12:00:37.227Z] 12:00:37     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i13 morejpg.jpg was saved with the correct name context menu - 
[task 2025-02-18T12:00:37.267Z] 12:00:37     INFO - GECKO(5828) | [Parent 2320, Main Thread] WARNING: 'mIndex >= Count()', file /builds/worker/checkouts/gecko/xpcom/ds/nsStringEnumerator.cpp:203
[task 2025-02-18T12:00:37.270Z] 12:00:37     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i14 anotherjpg.jpg.jpg was saved with the correct name context menu - 
[task 2025-02-18T12:00:37.312Z] 12:00:37     INFO - GECKO(5828) | [Parent 2320, Main Thread] WARNING: 'mIndex >= Count()', file /builds/worker/checkouts/gecko/xpcom/ds/nsStringEnumerator.cpp:203
[task 2025-02-18T12:00:37.314Z] 12:00:37     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i15 jpg.jpg was saved with the correct name context menu - 
[task 2025-02-18T12:00:37.359Z] 12:00:37     INFO - GECKO(5828) | [Parent 2320, Main Thread] WARNING: 'mIndex >= Count()', file /builds/worker/checkouts/gecko/xpcom/ds/nsStringEnumerator.cpp:203
[task 2025-02-18T12:00:37.361Z] 12:00:37     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i16 exe.png was saved with the correct name context menu - 
[task 2025-02-18T12:00:37.407Z] 12:00:37     INFO - GECKO(5828) | [Parent 2320, Main Thread] WARNING: 'mIndex >= Count()', file /builds/worker/checkouts/gecko/xpcom/ds/nsStringEnumerator.cpp:203
[task 2025-02-18T12:00:37.408Z] 12:00:37     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i17 first file.png was saved with the correct name context menu - 
[task 2025-02-18T12:00:37.450Z] 12:00:37     INFO - GECKO(5828) | [Parent 2320, Main Thread] WARNING: 'mIndex >= Count()', file /builds/worker/checkouts/gecko/xpcom/ds/nsStringEnumerator.cpp:203
[task 2025-02-18T12:00:37.452Z] 12:00:37     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i18 second2file.png was saved with the correct name context menu - 
[task 2025-02-18T12:00:37.494Z] 12:00:37     INFO - GECKO(5828) | [Parent 2320, Main Thread] WARNING: 'mIndex >= Count()', file /builds/worker/checkouts/gecko/xpcom/ds/nsStringEnumerator.cpp:203
[task 2025-02-18T12:00:37.497Z] 12:00:37     INFO - TEST-PASS | uriloader/exthandler/tests/mochitest/browser_save_filenames.js | i32 save_filename.png was saved with the correct name context menu - 

This failure goes back to 136 and only happens on late beta, confirmed when beta switched to late

Interestingly, this is observed for the 64-bit build but not the 32-bit one.

Summary: High frequency uriloader/exthandler/tests/mochitest/browser_save_filenames.js | <something> was saved with the correct name when copying - Got "", expected "<something" - when Gecko 137 switches to beta on 2025-03-14 → [Late Beta] High frequency uriloader/exthandler/tests/mochitest/browser_save_filenames.js | <something> was saved with the correct name when copying - Got "", expected "<something" - when Gecko 137 switches to late beta on 2025-03-14

The bug is marked as tracked for firefox137 (nightly). We have limited time to fix this, the soft freeze is in 7 days. However, the bug still isn't assigned.

:pluk, could you please find an assignee for this tracked bug? If you disagree with the tracking decision, please talk with the release managers.

For more information, please visit BugBot documentation.

Flags: needinfo?(pluk)

This is a reminder regarding comment #4!

The bug is marked as tracked for firefox137 (nightly). We have limited time to fix this, the soft freeze is in a day. However, the bug still isn't assigned.

Hey Dave.. can you help weigh in and see if this is something that is needed for fx137 (and if so, who might be an appropriate person / team to investigate?)

Flags: needinfo?(pluk) → needinfo?(dtownsend)

While the failure references different filenames each time it always appears to be in the case that tests copying an image to the clipboard. This part of the test is only run if the preference clipboard.imageAsFile.enabled is true, and that preference is only true in late beta or later which is why we only see the failure in late betas.

It looks like this is testing a feature that we plan on disabling everywhere but bug 1857764 appears to have stalled.

Edgar, it's been over a year since we turned this off in Nightly, is there a reason not to turn it off everywhere at this stage? That would be the simplest solution to fixing this intermittent test failure.

Depends on: 1857764
Flags: needinfo?(dtownsend) → needinfo?(echen)

(In reply to Dave Townsend [:mossop] from comment #7)

Edgar, it's been over a year since we turned this off in Nightly, is there a reason not to turn it off everywhere at this stage? That would be the simplest solution to fixing this intermittent test failure.

We still need to support reading PNG format while pasting to prevent transparency information from being stripped before disabling the pref by default everywhere, see bug 1857764 comment 5.

Flags: needinfo?(echen)

Ok, can you take a look at this intermittent failure and determine whether it is something we need to address before then?

Flags: needinfo?(echen)

[task 2025-03-06T12:44:27.170Z] 12:44:27 INFO - GECKO(7724) | [Parent 8340: Main Thread]: D/WidgetClipboard OleSetClipboard result: S_OK
[task 2025-03-06T12:44:27.171Z] 12:44:27 INFO - GECKO(7724) | [Parent 8340: Main Thread]: D/WidgetClipboard virtual nsBaseClipboard::GetData: clipboard=1
[task 2025-03-06T12:44:27.171Z] 12:44:27 INFO - GECKO(7724) | [Parent 8340: Main Thread]: D/WidgetClipboard virtual nsClipboard::GetNativeClipboardData aWhichClipboard=1
[task 2025-03-06T12:44:27.172Z] 12:44:27 INFO - GECKO(7724) | [Parent 8340: Main Thread]: D/WidgetClipboard OleGetClipboard result: CLIPBRD_E_CANT_OPEN
[task 2025-03-06T12:44:27.173Z] 12:44:27 INFO - GECKO(7724) | [Parent 8340: Main Thread]: D/WidgetClipboard IDataObject::OleGetClipboard | Clipboard already opened by HWND: 440204 | Process ID: 4480 | Thread ID: 6260 | App name: \Device\HarddiskVolume4\Windows\explorer.exe
[task 2025-03-06T12:44:27.173Z] 12:44:27 INFO - GECKO(7724) | [Parent 8340: Main Thread]: D/WidgetClipboard OleGetClipboard result: CLIPBRD_E_CANT_OPEN
[task 2025-03-06T12:44:27.174Z] 12:44:27 INFO - GECKO(7724) | [Parent 8340: Main Thread]: D/WidgetClipboard IDataObject::OleGetClipboard | Clipboard already opened by HWND: 440204 | Process ID: 4480 | Thread ID: 6260 | App name: \Device\HarddiskVolume4\Windows\explorer.exe
[task 2025-03-06T12:44:27.175Z] 12:44:27 INFO - GECKO(7724) | [Parent 8340: Main Thread]: D/WidgetClipboard OleGetClipboard result: CLIPBRD_E_CANT_OPEN
[task 2025-03-06T12:44:27.176Z] 12:44:27 INFO - GECKO(7724) | [Parent 8340: Main Thread]: D/WidgetClipboard IDataObject::OleGetClipboard | Clipboard already opened by HWND: 440204 | Process ID: 4480 | Thread ID: 6260 | App name: \Device\HarddiskVolume4\Windows\explorer.exe
[task 2025-03-06T12:44:27.176Z] 12:44:27 INFO - GECKO(7724) | [Parent 8340: Main Thread]: D/WidgetClipboard static nsClipboard::GetDataFromDataObject

The failure occurs because the clipboard is locked by another application, preventing us from retrieving the data.
We have experienced similar issues with other intermittent failures, and there isn’t much we can do about it except adding some retries.

Assignee: nobody → echen
Flags: needinfo?(echen)
Blocks: 1776018
Pushed by echen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/85698ddbd736 Improve the robustness of the test for saving an image as a file; r=evilpie
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch

The patch landed in nightly and beta is affected.
:edgar, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox137 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(echen)
Flags: needinfo?(echen)

Verified fixed with today's beta-simulation

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: