NEW 17579
simultaneouslyRegsiteredTimerFireOrder.html is spelled wrong and uses bad line endings
https://bugs.webkit.org/show_bug.cgi?id=17579
Summary simultaneouslyRegsiteredTimerFireOrder.html is spelled wrong and uses bad lin...
Eric Seidel (no email)
Reported 2008-02-27 16:25:36 PST
simultaneouslyRegsiteredTimerFireOrder.html is spelled wrong and uses bad line endings The name has a typo in it. Also, the code uses document.getElementById("pre").appendChild(document.createTextNode(s + "\r\n")); which just seems evil and wrong. That should be changed to use <br>s or "\n" or better yet, to use the logging functions from the js-tests-pre.js file found in fast/js/resources.js
Attachments
Eric Seidel (no email)
Comment 1 2008-02-27 18:42:27 PST
There seem to be a couple other examples of this strange use of \r\n: fast/dom/set-inner-text-newlines.html: div.innerText = "\r\nText\r\nwith\r\nnewlines\r\n\r\n"; fast/dom/simultaneouslyRegsiteredTimerFireOrder.html: document.getElementById("pre").appendChild(document.createTextNode(s + "\r\n")); fast/dom/Window/btoa-pnglet.html: return "\211PNG\r\n\032\n"+this.png.join(''); fast/dom/Window/window-property-clearing.html: document.getElementById("console").appendChild(document.createTextNode(s + "\r\n")); fast/dom/Window/window-property-clearing.html: log("\r\nPage " + count + ":");
Eric Seidel (no email)
Comment 2 2008-02-27 20:01:00 PST
When i tried to add svn:eol-style from my windows box, it claimed these -expected.txt files had inconsistent line endings. Instead I added the property from my os x box. I expect the next time anyone tries to modify one of these test cases from windows svn will barf at them.
Ahmad Saleem
Comment 3 2024-04-27 17:15:55 PDT
Renamed - https://github.com/WebKit/WebKit/commit/8a0764b139746a0a2a7a9cdd9ee1edb8709cee71 Plus this got changed: https://searchfox.org/wubkat/rev/c1fefa0bb16a18b82461ac3111b56f3395e7a1b7/LayoutTests/fast/dom/simultaneously-registered-timer-fire-order.html#11 by https://commits.webkit.org/113186@main ___ > fast/dom/set-inner-text-newlines.html: div.innerText = "\r\nText\r\nwith\r\nnewlines\r\n\r\n"; Still same and also in Blink. [set-inner-text-newlines.html](https://searchfox.org/wubkat/rev/c1fefa0bb16a18b82461ac3111b56f3395e7a1b7/LayoutTests/fast/dom/set-inner-text-newlines.html#20) > fast/dom/Window/btoa-pnglet.html: return "\211PNG\r\n\032\n"+this.png.join(''); Still same and also in Blink. [btoa-pnglet.html](https://searchfox.org/wubkat/rev/c1fefa0bb16a18b82461ac3111b56f3395e7a1b7/LayoutTests/fast/dom/Window/btoa-pnglet.html#766) > fast/dom/Window/window-property-clearing.html: same commit fixed > https://commits.webkit.org/113186@main ____ @Alexey - any idea, if we need to do anything here.
Note You need to log in before you can comment on or make changes to this bug.