Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
relative urls
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
benny  
View profile  
 More options Jun 12 2012, 5:28 am
From: benny <ceddlybu...@googlemail.com>
Date: Tue, 12 Jun 2012 02:28:15 -0700 (PDT)
Local: Tues, Jun 12 2012 5:28 am
Subject: relative urls
Hi all

I am trying to use a relative url when setting window.location in
env.js, but the current widow.location.href is 'about:blank', which is
no use to me, and setting

window.location.href = '../jasminetest/specrunner.html' ;
or
window.location.href = Envjs.uri('../jasminetest/specrunner.html');

returns the following error

failed to open file file://c/source/JasmineTest/SpecRunner.html
Java Exception: java.net.UnknownHostException: c

Am I missing something here?

Thanks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »