| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 2 | 3 | 0.961 | ExpressionStatement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 833 | Closure/closure/goog/net/channelrequest.js |
| 2 | 4 | 865 | Closure/closure/goog/net/channelrequest.js |
| ||||
/**
* Callback from the Trident htmlfile ActiveX control for when a new message
* is received.
*
* @param {string} msg The data payload.
* @private
*/
goog.net.ChannelRequest.prototype.onTridentRpcMessage_= function (msg){
// need to do async b/c this gets called off of the context of the ActiveX
goog.net.BrowserChannel.setTimeout(
goog.bind(this.onTridentRpcMessageAsync_, this, msg), 0);
} ;
|
| ||||
/**
* Callback from the Trident htmlfile ActiveX control for when the request
* is complete
*
* @param {boolean} successful Whether the request successfully completed.
* @private
*/
goog.net.ChannelRequest.prototype.onTridentDone_= function (successful){
// need to do async b/c this gets called off of the context of the ActiveX
goog.net.BrowserChannel.setTimeout(
goog.bind(this.onTridentDoneAsync_, this, successful), 0);
} ;
|
| |||
/**
* Callback from the Trident htmlfile ActiveX control for when the request
* is complete
*
* @param {boolean} successful Whether the request successfully completed.
* @private
*/
/**
* Callback from the Trident htmlfile ActiveX control for when a new message
* is received.
*
* @param {string} msg The data payload.
* @private
*/
goog.net.ChannelRequest.prototype. [[#variable3cf98f20]]= function ( [[#variable3cf98e60]])
{
// need to do async b/c this gets called off of the context of the ActiveX
goog.net.BrowserChannel.setTimeout(goog.bind(this. [[#variable3cf98e00]],this, [[#variable3cf98e60]]),0);
} ;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#3cf98f20]] | onTridentDone_ |
| 1 | 2 | [[#3cf98f20]] | onTridentRpcMessage_ |
| 2 | 1 | [[#3cf98e60]] | successful |
| 2 | 2 | [[#3cf98e60]] | msg |
| 3 | 1 | [[#3cf98e00]] | onTridentDoneAsync_ |
| 3 | 2 | [[#3cf98e00]] | onTridentRpcMessageAsync_ |