1
Vote

About top mock

description

In my test page ,there is the js code like this:

if (top && top.location.toString().indexOf("string1") < 0) {
     top.window.location = '/Home';
}

But in this scene I think the "top" will instead of "frame".

comments