format-leading-space.any.js (458B)
1 // META: title=EventSource: leading space 2 var test = async_test() 3 test.step(function() { 4 var source = new EventSource("resources/message.py?message=data%3A%09test%0Ddata%3A%20%0Adata%3Atest") 5 source.onmessage = function(e) { 6 test.step(function() { 7 assert_equals("\ttest\n\ntest", e.data) 8 source.close() 9 }) 10 test.done() 11 } 12 }) 13 // also used a CR as newline once