SeleniumHQ / selenium-google-code-issue-archive

Archive, please see main selenium repo
https://github.com/seleniumhq/selenium
346 stars 194 forks source link

Selenium Formaters 1.6.0 add extensions to some files when saving #3336

Closed lukeis closed 8 years ago

lukeis commented 8 years ago

Originally reported on Google Code with ID 3336

Before filing an issue, please read the page at

What steps will reproduce the problem?
1. navigate to a URL with an image
2. right-click to open contextual menu
3. Save Image As ...
4. the file browser opens
5. the image's file extension is displayed followed by .rb and if show file extensions
is turned on the file extension again.
6. For instance http://ecx.images-amazon.com/images/I/51DgBnmyYKL.jpg is saved as 51DgBnmyYKL.jpg.rb.jpg
7. Disable the Ruby formatter and restart browser it saves as .py instead of .rb. Disable
Python and it's a different one.
8 The changing of extensions only stops when you turn off all of the formatters

What is the expected output? What do you see instead?

Expected result is that the file extension of non-script files should not be altered.

Selenium version: 1.6.0
OS: Windows 7 46 bit
Browser: Firefox
Brower version: 9.0.1

Reported by walter.gorlitz on 2012-02-04 07:13:02

lukeis commented 8 years ago
Similar behavior on FF 10.0. 

When trying to save any content (html page, image, etc.) during normal browsing
the file extension was changed to .rb. 

For a quick workaround:
Go to Add-Ons and disable all of the Selenum code formatters.

Reported by mirza.sejto on 2012-02-07 19:21:58

lukeis commented 8 years ago
Disabling the formatters requires a reboot.
Enabling the formatters later when needed requires a reboot as well.

Reported by walter.gorlitz on 2012-02-07 22:19:19

lukeis commented 8 years ago

Reported by dave.hunt on 2012-02-09 13:16:01

lukeis commented 8 years ago

Reported by dave.hunt on 2012-02-09 14:07:57

lukeis commented 8 years ago
I believe this may be related to r15173

Reported by dave.hunt on 2012-02-10 17:37:00

lukeis commented 8 years ago
I have replicated this and can also confirm that it does not occur in Selenium IDE 1.5.0

Reported by dave.hunt on 2012-02-10 18:04:22

lukeis commented 8 years ago
This is fixed in r15870. If you don't want to wait for the next release, please try
the latest successful artifact from our CI: http://xserve.openqa.org:8085/browse/IDE-EDITOR/latestSuccessful/artifact

Reported by dave.hunt on 2012-02-10 20:02:35

lukeis commented 8 years ago

Reported by luke.semerau on 2015-09-17 18:14:47