Bug 3808 - REQ: Implement location.assign
Summary: REQ: Implement location.assign
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Anders Carlsson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-02 04:01 PDT by Matthew
Modified: 2006-06-03 20:50 PDT (History)
1 user (show)

See Also:


Attachments
Implement location.assign (4.12 KB, patch)
2005-07-09 05:24 PDT, Anders Carlsson
mjs: review-
Details | Formatted Diff | Diff
Add test case (4.52 KB, patch)
2005-07-12 04:06 PDT, Anders Carlsson
mjs: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew 2005-07-02 04:01:18 PDT
function addClick() {
   var loc = 'scvrtsrv.html';

   var code = 'location.assign("' + loc + '")';
   eval(code);
}

Unable to open up the requested page so that one can add a virtual server to the Router.

The Router used is a US Robotics 9105; and the site is the internal configuration pages; all the pages use 
the same consistant use of the javascript call; location.assign
Comment 1 Mark Rowe (bdash) 2005-07-02 04:05:36 PDT
location.assign appears to be an Internet Explorer extension, though it supported by Mozilla + family.
Comment 2 Anders Carlsson 2005-07-09 05:24:36 PDT
Created attachment 2878 [details]
Implement location.assign

This patch implements location.assign. It works the same as setting location to
an explicit value.
Comment 3 Maciej Stachowiak 2005-07-09 14:13:01 PDT
Comment on attachment 2878 [details]
Implement location.assign

needs a layout test, but other than that looks great. r- until a test case is
added.
Comment 4 Anders Carlsson 2005-07-12 04:06:57 PDT
Created attachment 2922 [details]
Add test case
Comment 5 Maciej Stachowiak 2005-07-13 11:12:42 PDT
Comment on attachment 2922 [details]
Add test case

r=me
Comment 6 Alexey Proskuryakov 2006-05-17 13:07:18 PDT
*** Bug 8959 has been marked as a duplicate of this bug. ***
Comment 7 David Carson 2006-06-03 20:50:34 PDT
*** Bug 8959 has been marked as a duplicate of this bug. ***