Opened 5 years ago

Closed 17 months ago

#11077 closed enhancement (invalid)

Finish HTML5Canvas (currently says "XHR has no multipart field")

Reported by: ttcoder Owned by: mmu_man
Priority: low Milestone: Unscheduled
Component: Servers/app_server Version: R1/Development
Keywords: html5 Cc: degea@…
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

After digging I eventually figured out that the way to use the HTML5 Remote Desktop is to type e.g. this on the server (?) :

echo connected; export TARGET_SCREEN=html5:80; StyledEdit

And then browse to (in my case) http://192.168.1.10 from another computer.. And indeed I do get a blue "canvas", but in all cases (WebPositive on Haiku, Firefox on Windows7 ..etc) the canvas simply contains this error message:

onPageLoad()
initDesktop()
decodeCanvasMessage()
u16:24930 0x6162
code: 24930
'''XHR has no multipart field!'''

It could very well be that I don't know what I'm doing even after spending a couple hours digging through the source, feel free to correct me if so ;-)

Change History (5)

comment:1 Changed 5 years ago by mmu_man

Component: Applications/RemoteDesktopServers/app_server
Keywords: html5 added
Owner: changed from mmlr to mmu_man
Priority: normallow
Status: newassigned

I'm afraid HTML5 desktop is just an unfinished attempt as of yet.

comment:2 Changed 5 years ago by ttcoder

Cc: degea@… added
Summary: HTML5Canvas: "XHR has no multipart field"Finish HTML5Canvas (currently says "XHR has no multipart field")
Type: bugenhancement

comment:3 Changed 5 years ago by kallisti5

Current issue: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest

multipart Obsolete since Gecko 22


This Gecko-only feature was removed in Firefox/Gecko 22. Please use Server-Sent Events, Web Sockets, or responseText from progress events instead.

Indicates whether or not the response is expected to be a stream of possibly multiple XML documents. If set to true, the content type of the initial response must be multipart/x-mixed-replace or an error will occur. All requests must be asynchronous.

This enables support for server push; for each XML document that's written to this request, a new XML DOM document is created and the onload handler is called between documents.

comment:4 Changed 4 years ago by pulkomandy

Milestone: R1Unscheduled

Not an R1 feature, moving out of milestone.

comment:5 Changed 17 months ago by waddlesplash

Resolution: invalid
Status: assignedclosed

HTML5Canvas was just removed in favor of HTML5 RemoteDesktop client, closing as invalid.

Note: See TracTickets for help on using tickets.