Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Enable text copy from log steps buttons (1030627) #93

Merged
merged 1 commit into from Jul 9, 2014

Conversation

tojon
Copy link

@tojon tojon commented Jul 8, 2014

This work addresses Bugzilla bug 1030627.

The log steps and the log step error lines can now be selected, copied and pasted, like TBPL. I've tested a variety of failed jobs using different log content of varying sizes (short, hugely long) and it seems to behave as expected on Firefox.

As noted in the bug, it works fine on Google Chrome, but the carriage-returns get lost during the copy. I have been digging on stack overflow, and trying some workarounds injecting discrete line endings, but Chrome seems to ignore them too. There seems to be a number of complaints about Chrome with this behavior in both directions, including this example.

There were a few white space corrections made in the files, in proximity to changed code.

Adding @jeads for visibility.

Tested on Windows:
FF Release 30.0
Chrome Latest Release 35.0.1916.153 m

camd pushed a commit that referenced this pull request Jul 9, 2014
Enable text copy from log steps buttons (1030627)
Looks great!  I think the Chrome issue is pretty minor.  And doesn't everybody just use Firefox all the time anyway?  :)
@camd camd merged commit 50894b0 into mozilla:master Jul 9, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants