Opened 15 years ago
Last modified 3 years ago
#5972 new bug
DD-WRT administration interface not rendered properly. javascript issues too — at Version 12
Reported by: | saivert | Owned by: | stippi |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Kits/Web Kit | Version: | R1/Development |
Keywords: | render issue | Cc: | anevilyak |
Blocked By: | Blocking: | ||
Platform: | x86 |
Description (last modified by )
DD-WRT is a nice third-party firmware interface for a host of cheap wireless routers, most prominently Broadcom based routers like Linksys WRT54G. It has a nice web based administration interface, but this interface is not rendered properly in WebPositive build hrev488 on Haiku r1alpha2.
Provided is screenshot with BeZillaBrowser used as reference since it renders the interface properly and also handles the JavaScript used on the page.
Change History (13)
by , 15 years ago
Attachment: | dd-wrt_webpositive_bezilla.png added |
---|
comment:1 by , 15 years ago
comment:2 by , 15 years ago
It's ok to report WebPositive issues here.
But from the screenshot, I don't see what the big problem is. Some frames are missing, but the interface looks functional. For all I know, it could be a problem in the page and not WebPositive. Also, could you explain what is non-functional about the Javascript? How about other WebKit browsers, do they all render this interface "correctly"?
comment:3 by , 15 years ago
Chrome, Opera and Internet Explorer handles the DD-WRT web interface ok. Everything works.
The page has some CSS for the FIELDSET tags (the groupbox like elements on the page) which only looks as it is supposed to on Firefox/BeZillaBrowser.
Following JavaScript snippet is the function that is called by the "Add" button on the page. This sets some form (identified by F) values then submits the form.
function forward_add_submit(F) { F.change_action.value="gozila_cgi"; F.submit_type.value = "add_forward_spec"; apply(F); }
This is the "apply" function:
function apply(form, text, delay) { form.submit(); for (i = 0; i < form.elements.length; i++) { if(defined(form.elements[i].disabled)) form.elements[i].disabled = true; } if (form.contents) document.getElementById("contents").style.color = '#999999'; }
so it seems like WebPositive's handling of the form submit from javascript is the culprit here. When that is executed it comes with an error message:
Error loading http://192.168.1.1/apply.cgi Server returned norhing (no headers, no data)
The other browser happily submit the form when called from javascript.
comment:5 by , 12 years ago
Hi. Our WebKit port (and thus WebPositive) was updated in July. Could you retest this in a new nightly image and report back? http://www.haiku-files.org/haiku/development Thanks!
comment:6 by , 11 years ago
Our WebKit port was updated again last week. Could you retest this in a new nightly image and report back? âhttp://www.haiku-files.org/haiku/development Thanks!
comment:7 by , 11 years ago
Cc: | added |
---|---|
Version: | R1/alpha2 → R1/Development |
Will check tonight, my router runs this as well. Since it was primarily AJAX issues similar to those seen with GMail, I suspect this is likely to be resolved though.
comment:8 by , 11 years ago
The interface renders properly from a visual standpoint, but something's still wrong as far as actually handling it goes. Clicking any of its tabs to go to the corresponding configuration subsection triggers the appropriate http digest authentication dialog, but after one enters credentials, Web+ simply sits there waiting, seemingly for a response, until finally failing with a network read error several minutes later.
comment:9 by , 11 years ago
There may be bugs in our http auth code. It was only tested with dev.haiku-os.org so far.
screenshot for comparison