WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
63620
View source mode has extra space at EOL
https://bugs.webkit.org/show_bug.cgi?id=63620
Summary
View source mode has extra space at EOL
Keishi Hattori
Reported
2011-06-29 05:07:57 PDT
View source mode has extra space at EOL. If you select the source and copy+paste, the result is different from the original. Also the last line is empty when there is a "\n" right before EOF. It should show a line, just as an text editor would.
Attachments
patch
(8.22 KB, patch)
2011-06-29 05:19 PDT
,
Keishi Hattori
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ec2-cr-linux-02
(1.42 MB, application/zip)
2011-06-29 05:36 PDT
,
WebKit Review Bot
no flags
Details
fixed patch
(8.27 KB, patch)
2011-06-29 18:32 PDT
,
Keishi Hattori
no flags
Details
Formatted Diff
Diff
used String()
(8.28 KB, patch)
2011-06-29 19:28 PDT
,
Keishi Hattori
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Keishi Hattori
Comment 1
2011-06-29 05:19:57 PDT
Created
attachment 99075
[details]
patch
Keishi Hattori
Comment 2
2011-06-29 05:21:38 PDT
Chromium bug is
http://code.google.com/p/chromium/issues/detail?id=87726
WebKit Review Bot
Comment 3
2011-06-29 05:36:36 PDT
Comment on
attachment 99075
[details]
patch
Attachment 99075
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/8959189
New failing tests: fast/frames/viewsource-linebreak.html
WebKit Review Bot
Comment 4
2011-06-29 05:36:41 PDT
Created
attachment 99078
[details]
Archive of layout-test-results from ec2-cr-linux-02 The attached test failures were seen while running run-webkit-tests on the chromium-ews. Bot: ec2-cr-linux-02 Port: Chromium Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Adam Barth
Comment 5
2011-06-29 08:31:00 PDT
Comment on
attachment 99075
[details]
patch Thank you fix this bug. It's really annoying. If you upload a new patch that passes the tests, I'll be happy to review.
Keishi Hattori
Comment 6
2011-06-29 18:32:01 PDT
Created
attachment 99200
[details]
fixed patch
Keishi Hattori
Comment 7
2011-06-29 18:40:50 PDT
(In reply to
comment #6
)
> Created an attachment (id=99200) [details] > fixed patch
In the previous patch, I must have changed my test after generating the expected results.
Adam Barth
Comment 8
2011-06-29 19:14:02 PDT
Comment on
attachment 99200
[details]
fixed patch View in context:
https://bugs.webkit.org/attachment.cgi?id=99200&action=review
> Source/WebCore/html/HTMLViewSourceDocument.cpp:115 > + addLine("");
Maybe String() to avoid an allocation?
Keishi Hattori
Comment 9
2011-06-29 19:28:49 PDT
Created
attachment 99214
[details]
used String()
WebKit Review Bot
Comment 10
2011-06-29 20:03:31 PDT
The commit-queue encountered the following flaky tests while processing
attachment 99214
[details]
: fast/flexbox/box-orient-button.html
bug 63682
(author:
hamaji@chromium.org
) The commit-queue is continuing to process your patch.
WebKit Review Bot
Comment 11
2011-06-29 20:05:17 PDT
Comment on
attachment 99214
[details]
used String() Clearing flags on attachment: 99214 Committed
r90082
: <
http://trac.webkit.org/changeset/90082
>
WebKit Review Bot
Comment 12
2011-06-29 20:05:25 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug