view-source does not work
Reported by
giol...@gmail.com,
Nov 3 2016
|
|||||
Issue descriptionChrome Version : 54.0.2840.87 m URLs (if applicable) : view-source: Other browsers tested: Opera 41.0.2353.46, same problem What steps will reproduce the problem? (1) Page source code is less than 4 symbols (2) if page source code is 1,2 or 3 sybmbols view-source will show no info
,
Nov 4 2016
Test result: file sampleUTF8.html, encoding UFT-8 with BOM I open this file in chrome, after open view-source://this file link (hotkey CTRL+U) - its all ok. file sampleASCII.html, encoding ASCII I open this file in chrome, after open view-source://this file link - and source code is empty. Test shows that if source code length is less than 4, view-source:// (hotkey CTRL+U) will show an empty result. file sampleUTF8withoutBOM.html, encoding UFT-8 without BOM I open this file in chrome, after open view-source://this file link - and source code is empty. Test shows that if source code length is less than 4, view-source:// (hotkey CTRL+U) will show an empty result. Result: if source file code is 1, 2 or 3 symbols page source (hotkey CTRL+U) will show an empty result that is not good.
,
Nov 4 2016
Second test: this files in host: http://crypcode.com/google/sampleUTF8.html http://crypcode.com/google/sampleASCII.html http://crypcode.com/google/sampleUTF8withoutBOM.html test result is same. Third result: check same code with php headers http://crypcode.com/google/sampleUTF8.php http://crypcode.com/google/sampleASCII.php http://crypcode.com/google/sampleUTF8withoutBOM.php Result is same.
,
Nov 4 2016
My system is Windows 7 x64
,
Nov 11 2016
Thank you for providing more feedback. Adding requester "krajshree@chromium.org" for another review and adding "Needs-Review" label for tracking. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Nov 29 2016
giolaza@ - Sorry for late reply. Able to reproduce the issue on Windows 10, Ubuntu 14.04, Mac OS 10.11.6 using reported version #54.0.2840.87 and latest canary #57.0.2934.0. Bisect Information: ===================== Good build: 54.0.2823.0 Revision(410278) Bad Build : 54.0.2824.0 Revision(410520) Change Log URL: https://chromium.googlesource.com/chromium/src/+log/9ff5d04a4b2c1359b2d02bf038534fb57371f0cf..c792d1ca228e3fd8fc254c9a8f3a51e5e5d76832 From the above change log suspecting below change Review-Url: https://codereview.chromium.org/2212393003 tzik@ - Could you please check whether this is caused with respect to your change, if not please help us in assigning it to the right owner. Thanks...!!
,
Nov 29 2016
I checked on Windows 10 x64 pro eng Chrome version #54.0.2840.99 m Same problem
,
Nov 29 2016
Unfortunately, I have no #54.0.2840.87. Now On win 7 my vers is 54.0.2840.99 m, same on Win 10
,
Nov 29 2016
,
Dec 2 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/1dc6c96302f6607d3ecc2a230ecf05521bff1066 commit 1dc6c96302f6607d3ecc2a230ecf05521bff1066 Author: tzik <tzik@chromium.org> Date: Fri Dec 02 08:44:16 2016 Flush HTMLViewSourceParser on the end of document Undecoded bytes may be left in the TextResourceDecoder on view-source mode document. BUG= 661969 Review-Url: https://codereview.chromium.org/2542393002 Cr-Commit-Position: refs/heads/master@{#435888} [modify] https://crrev.com/1dc6c96302f6607d3ecc2a230ecf05521bff1066/third_party/WebKit/Source/core/html/parser/HTMLViewSourceParser.cpp
,
Jan 17 2017
,
Jan 17 2017
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by krajshree@chromium.org
, Nov 4 2016Components: Blink>ViewSource
Labels: Needs-Feedback