RESOLVED FIXED 22882
Make fast\encoding\char-encoding.html not depend on the ability to have reference fragments on data URLs
https://bugs.webkit.org/show_bug.cgi?id=22882
Summary Make fast\encoding\char-encoding.html not depend on the ability to have refer...
xlyuan
Reported 2008-12-16 11:19:58 PST
1. Currently, fast\encoding\char-encoding.html depend on the ability to have reference fragments on data URLs, it makes the layout test on Chrome fails, modified char-encoding.html and added resources/dummy.html to make this test case can be passed on Chrome 2. Move Mac* encodings to char-encoding-mac.html
Attachments
Patch file (3.67 KB, patch)
2008-12-16 11:22 PST, xlyuan
no flags
patch built on top of xlyuan's change (10.01 KB, patch)
2008-12-29 12:55 PST, Jungshik Shin
no flags
patch with ChangeLog (12.10 KB, patch)
2008-12-30 14:18 PST, Jungshik Shin
no flags
patch with changelog diff fixed (11.32 KB, patch)
2008-12-30 14:23 PST, Jungshik Shin
ap: review+
updated patch with ap's review comments addressed (11.13 KB, patch)
2009-01-05 13:07 PST, Jungshik Shin
jshin: review+
xlyuan
Comment 1 2008-12-16 11:22:17 PST
Created attachment 26058 [details] Patch file
Mark Rowe (bdash)
Comment 2 2008-12-17 17:40:54 PST
*** Bug 22883 has been marked as a duplicate of this bug. ***
Alexey Proskuryakov
Comment 3 2008-12-19 03:35:43 PST
The attachment is not a patch, please see <http://webkit.org/coding/contributing.html> for instructions.
Jungshik Shin
Comment 4 2008-12-29 12:55:03 PST
Created attachment 26295 [details] patch built on top of xlyuan's change As in attachment 26058 [details] by Xiaolu, I used a local dummy file access instead of data: . While splitting char-encoding to two tests (char-encoding and char-encoding-mac), I moved the common functions to resources/char-encoding-utils.js
Alexey Proskuryakov
Comment 5 2008-12-29 13:16:32 PST
Could you please add a ChangeLog?
Jungshik Shin
Comment 6 2008-12-30 14:18:51 PST
Created attachment 26324 [details] patch with ChangeLog Oops. Now this one has the changelog.
Jungshik Shin
Comment 7 2008-12-30 14:23:05 PST
Created attachment 26325 [details] patch with changelog diff fixed
Alexey Proskuryakov
Comment 8 2008-12-31 00:00:09 PST
Comment on attachment 26325 [details] patch with changelog diff fixed > + possible to to skip it. Typo: "to to". > + - Enable UTF-8 test for U+221A How did you ensure that this is safe now? Did you test on Tiger? This should really be mentioned in ChangeLog. > + * fast/encoding/resources/char-encoding-utils.js: Added. > + (encode): > + (testsDone): > + (processResult): > + (subframeLoaded): > + (loadTimedOut): > + (runTest): > + (testEncode): We normally try to describe changes for each file, not just as a global overview. This is not very important in this case, but I think that you could omit function names for brevity, as you don't have descriptions of individual changes anyway. r=me
Jungshik Shin
Comment 9 2009-01-05 13:07:38 PST
Created attachment 26437 [details] updated patch with ap's review comments addressed Moving r+ flag from the previous patch. I addressed ap's review comments: I got rid of function names in ChangeLog. I also left alone the UTF-8 test case (i.e. it's still commented out) because I don't have an access to Tiger. I mistakenly thought that the issue was across platforms and not using 'data' url would resolve it.
Alexey Proskuryakov
Comment 10 2009-01-11 01:41:27 PST
Committed revision 39787. I had to remove UTF-8 test results from expected results file to make the test pass.
Note You need to log in before you can comment on or make changes to this bug.