Skip to Content.
Sympa Menu

ndt-dev - [ndt-dev] Issue 111 in ndt: NDTUtils inadvertently overrides ServerHostname from FlashVars

Subject: NDT-DEV email list created

List archive

[ndt-dev] Issue 111 in ndt: NDTUtils inadvertently overrides ServerHostname from FlashVars


Chronological Thread 
  • From:
  • To:
  • Subject: [ndt-dev] Issue 111 in ndt: NDTUtils inadvertently overrides ServerHostname from FlashVars
  • Date: Fri, 07 Feb 2014 18:20:18 +0000

Status: New
Owner: ----
Labels: Type-Defect Severity-Medium

New issue 111 by : NDTUtils inadvertently overrides ServerHostname from FlashVars
http://code.google.com/p/ndt/issues/detail?id=111

What steps will reproduce the problem?
1. Embed the applet and include a ServerHostname in FlashVars:
<param name="FlashVars" value="ServerHostname=oops.measurementlab.net">
2. Do not include a getNDTServer javascript function
3. Run a test

What is the expected output? What do you see instead?
Expected output is that the test will attempt to connect to oops.measurementlab.net. The actual output is that it attempts to connect to the default server from the applet.

The applet does not check to see if getNDTServer is defined before it attempts to invoke it. When the function is not defined in javascript, the ExternalInterface.call() excepts and our handler resets Main.server_hostname to the default. Please see the attached patch to fix this problem.

Attachments:
NDTUtils.as.patch 1.5 KB

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings



Archive powered by MHonArc 2.6.16.

Top of Page