webchannelbasetransport_test.js
No description.

File Location

/goog/labs/net/webchannel/webchannelbasetransport_test.js


Public Protected Private

Global Functions

setUp()
No description.
code »
simulateCloseEvent(channel)
Simulates the WebChannelBase firing the close event for the given channel.
Arguments:
channel : !goog.labs.net.webChannel.WebChannelBase
The WebChannelBase.
code »
simulateErrorEvent(channel)
Simulates the WebChannelBase firing the error event for the given channel.
Arguments:
channel : !goog.labs.net.webChannel.WebChannelBase
The WebChannelBase.
code »
simulateMessageEvent(channeldata)
Simulates the WebChannelBase firing the message event for the given channel.
Arguments:
channel : !goog.labs.net.webChannel.WebChannelBase
The WebChannelBase.
data : String
The message data.
code »
simulateOpenEvent(channel)
Simulates the WebChannelBase firing the open event for the given channel.
Arguments:
channel : !goog.labs.net.webChannel.WebChannelBase
The WebChannelBase.
code »
tearDown()
No description.
code »
testChannelError()
No description.
code »
testChannelMessage()
No description.
code »
testOpenThenCloseChannel()
No description.
code »
testOpenWithCorsEnabled()
No description.
code »
testOpenWithCustomHeaders()
No description.
code »
testOpenWithCustomParams()
No description.
code »
testOpenWithTestUrl()
No description.
code »
testOpenWithUrl()
No description.
code »

Global Variables

channelUrl :
No description.
Code »
webChannel : goog.net.WebChannel
No description.
Code »

Directory webchannel

File Reference