Searched refs:js_code (Results 1 – 7 of 7) sorted by relevance
261 std::string js_code("var plugin = document.getElementById('plugin');\n"); in TestPostMessageAndAwaitResponse() local262 js_code += "var result = undefined;\n"; in TestPostMessageAndAwaitResponse()272 js_code += "result = plugin.postMessageAndAwaitResponse("; in TestPostMessageAndAwaitResponse()273 js_code += values_to_test[i]; in TestPostMessageAndAwaitResponse()274 js_code += ");\n"; in TestPostMessageAndAwaitResponse()275 js_code += "if (!deepCompare(result, "; in TestPostMessageAndAwaitResponse()276 js_code += values_to_test[i]; in TestPostMessageAndAwaitResponse()277 js_code += "))\n"; in TestPostMessageAndAwaitResponse()278 js_code += " InternalError(\" Failed postMessageAndAwaitResponse for: "; in TestPostMessageAndAwaitResponse()279 js_code += values_to_test[i]; in TestPostMessageAndAwaitResponse()[all …]
164 std::string js_code; in ~TestPostMessage() local165 js_code += "var plugin = document.getElementById('plugin');" in ~TestPostMessage()169 instance_->EvalScript(js_code); in ~TestPostMessage()185 std::string js_code; in Init() local191 js_code += "var plugin = document.getElementById('plugin');" in Init()201 instance_->EvalScript(js_code); in Init()242 std::string js_code; in AddEchoingListener() local248 js_code += "var plugin = document.getElementById('plugin');" in AddEchoingListener()253 js_code += expression; in AddEchoingListener()254 js_code += " );" in AddEchoingListener()[all …]
93 std::string js_code; in TestGetFrame() local94 js_code += "var test_stream;" in TestGetFrame()103 instance_->EvalScript(js_code); in TestGetFrame()
102 std::string js_code; in TestPutFrame() local103 js_code += "var test_stream = new webkitMediaStream([]);" in TestPutFrame()107 instance_->EvalScript(js_code); in TestPutFrame()
67 std::string js_code; in ~TestInputEvent() local68 js_code += "var plugin = document.getElementById('plugin');" in ~TestInputEvent()72 instance_->EvalScript(js_code); in ~TestInputEvent()104 std::string js_code; in Init() local110 js_code += "var plugin = document.getElementById('plugin');" in Init()120 instance_->EvalScript(js_code); in Init()
43 std::string js_code; in ~TestImeInputEvent() local44 js_code = "var plugin = document.getElementById('plugin');" in ~TestImeInputEvent()48 instance_->EvalScript(js_code); in ~TestImeInputEvent()82 std::string js_code = in Init() local93 instance_->EvalScript(js_code); in Init()
46 js_code = gen.generate_js() variable50 open(output_js_file, 'wt').write(js_code)58 ('js_code', js_code),81 open('flat_script.js', 'wt').write(js_code)