#11401: Lightstreamer regression in web+ - WebSocket broken ----------------------------------------+---------------------------- Reporter: AlienSoldier | Owner: pulkomandy Type: bug | Status: new Priority: normal | Milestone: R1 Component: Applications/WebPositive | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 0 | Platform: All ----------------------------------------+---------------------------- Comment (by Mone83): [Disclaimer: I work for the company that makes Lightstreamer] Hi, I had the time to test one of your nightly builds (namely 48869 gcc2 hybrid); what I noticed is that the issue is not related to websockets (they work fine) but to the Arguments object. The arguments object can be obtained in two ways, one is deprecated[1], the other is not[2]. While I do not expect to find the deprecated form, I expect that if it is indeed available it should also be usable. I attach a tiny test case for the issue: {{{ function foo() { bar(arguments); //expects [object Arguments] prints [object Arguments] bar(arguments[0]) ///expects 1 prints 1 bar(foo.arguments); //expects [object Arguments] prints [object Arguments] bar(foo.arguments[0]) //expects 1 prints undefined } function bar(args) { console.log(args) } foo(1,2,3); }}} HTH I'm linking the mdn documentation for convenience's sake [1] https://developer.mozilla.org/en- US/docs/Web/JavaScript/Reference/Global_Objects/Function/arguments [2] https://developer.mozilla.org/en- US/docs/Web/JavaScript/Reference/Functions/arguments -- Ticket URL: <https://dev.haiku-os.org/ticket/11401#comment:5> Haiku <https://dev.haiku-os.org> Haiku - the operating system.