HomeSort by relevance Sort by last modified time
    Searched full:message_event (Results 1 - 25 of 36) sorted by null

1 2

  /external/chromium_org/ppapi/native_client/tests/nacl_browser/manifest_file/
pm_manifest_file_test.html 33 plugin.addEventListener('message', function(message_event) {
35 status.assertEqual(message_event.data,
42 plugin.addEventListener('message', function(message_event) {
44 status.assertEqual(message_event.data,
51 plugin.addEventListener('message', function(message_event) {
54 message_event.data.indexOf('Manifest Contents:\n') != -1,
55 '"Manifest Contents:" not found in "' + message_event.data + '"')
57 message_event.data.indexOf('nmf says hello world\n') != -1,
58 '"nmf says hello world" not found in "' + message_event.data + '"')
60 message_event.data.indexOf('test_file\n') != -1
    [all...]
pm_pre_init_manifest_file_test.html 33 plugin.addEventListener('message', function(message_event) {
41 status.log('message_event.data.length: ' + message_event.data.length);
42 var min_length = Math.min(message_event.data.length, golden.length);
46 var mchar = message_event.data.charAt(i);
53 var accept_both = (message_event.data == golden) ||
54 (message_event.data == golden_old);
56 // status.assertEqual(message_event.data, golden);
irt_manifest_file_test.html 33 plugin.addEventListener('message', function(message_event) {
36 status.assertEqual(message_event.data, golden);
  /external/chromium_org/native_client_sdk/src/examples/demo/pi_generator/
example.js 8 function handleMessage(message_event) {
9 document.getElementById('pi').value = message_event.data;
  /external/chromium_org/native_client_sdk/src/examples/api/url_loader/
example.js 22 function handleMessage(message_event) {
27 var url = message_event.data;
29 var eol_pos = message_event.data.indexOf("\n");
31 url = message_event.data.substring(0, eol_pos);
32 if (eol_pos < message_event.data.length - 1) {
33 result = message_event.data.substring(eol_pos + 1);
  /external/chromium_org/ppapi/examples/crxfs/
crxfs.js 11 function HandleMessage(message_event) {
12 document.getElementById("content").value = message_event.data;
  /external/chromium_org/ppapi/native_client/tests/nacl_browser/fault_injection/
no_fault_pm_nameservice_test.html 33 plugin.addEventListener('message', function(message_event) {
35 status.assertEqual(message_event.data,
42 plugin.addEventListener('message', function(message_event) {
44 status.assertEqual(message_event.data,
54 plugin.addEventListener('message', function(message_event) {
56 // alert(message_event.data);
62 plugin.addEventListener('message', function(message_event) {
64 status.assertEqual(message_event.data,
  /external/chromium_org/ppapi/native_client/tests/nacl_browser/nameservice/
pm_nameservice_test.html 33 plugin.addEventListener('message', function(message_event) {
35 status.assertEqual(message_event.data,
42 plugin.addEventListener('message', function(message_event) {
44 status.assertEqual(message_event.data,
54 plugin.addEventListener('message', function(message_event) {
56 // alert(message_event.data);
62 plugin.addEventListener('message', function(message_event) {
64 status.assertEqual(message_event.data,
  /external/chromium_org/native_client_sdk/src/examples/demo/earth/
example.js 64 function handleMessage(message_event) {
65 if (message_event.data['message'] == 'benchmark_result') {
67 var result = message_event.data['value'];
73 } else if (message_event.data['message'] == 'set_zoom') {
75 var zoom = message_event.data['value'];
77 } else if (message_event.data['message'] == 'set_light') {
79 var light = message_event.data['value'];
81 } else if (message_event.data['message'] == 'request_textures') {
83 var names = message_event.data['names'];
  /external/chromium_org/ppapi/examples/audio_input/
audio_input.html 15 function HandleMessage(message_event) {
16 if (message_event.data) {
18 if (message_event.data == 'EnumerationFailed') {
20 } else if (message_event.data == 'MonitorDeviceChangeFailed') {
22 } else if (message_event.data == 'OpenFailed') {
24 } else if (message_event.data == 'StartFailed') {
26 } else if (message_event.data == 'StopFailed') {
29 AddDevices(message_event.data);
  /external/chromium_org/ppapi/examples/video_capture/
video_capture.html 15 function HandleMessage(message_event) {
16 if (message_event.data) {
18 if (message_event.data == 'EnumerationFailed') {
20 } else if (message_event.data == 'MonitorDeviceChangeFailed') {
22 } else if (message_event.data == 'OpenFailed') {
24 } else if (message_event.data == 'StartFailed') {
26 } else if (message_event.data == 'StopFailed') {
29 AddDevices(message_event.data);
  /external/chromium_org/ppapi/examples/scaling/
scaling.html 12 function HandleMessage(message_event) {
13 if (message_event.data) {
14 console.log(message_event.data);
  /external/chromium_org/native_client_sdk/src/examples/demo/voronoi/
example.js 51 function handleMessage(message_event) {
52 if (message_event.data['message'] == 'benchmark_result') {
53 var x = (Math.round(message_event.data['value'] * 1000) / 1000).toFixed(3);
  /external/chromium_org/ppapi/examples/enumerate_devices/
enumerate_devices.html 14 function HandleMessage(message_event) {
15 if (message_event.data) {
17 if (message_event.data == 'EnumerationFailed') {
21 message_event.data.substring('EnumerationSuccess'.length);
  /external/chromium_org/ppapi/tests/
test_post_message.cc 173 "var wait_for_messages_handler = function(message_event) {"
174 " if (!IsTestingMessage(message_event.data) &&"
175 " message_event.data === '" FINISHED_WAITING_MESSAGE "') {"
186 success = success && AddEchoingListener("message_event.data");
228 "var message_handler = function(message_event) {"
229 " if (!IsTestingMessage(message_event.data) &&"
230 " !(message_event.data === '" FINISHED_WAITING_MESSAGE "')) {"
318 ASSERT_TRUE(AddEchoingListener("message_event.data"));
406 "message_event.data.constructor.name === 'ArrayBuffer'");
408 std::string("message_event.data.byteLength === ") + kSizeAsString)
    [all...]
  /external/chromium_org/ppapi/examples/scripting/
post_message.html 12 function HandleMessage(message_event) {
13 if (message_event.data) {
  /external/chromium_org/ppapi/examples/url_loader/
url_loader.html 41 function HandleMessage(message_event) {
42 document.getElementById("log_result").innerHTML = message_event.data;
  /external/chromium_org/native_client_sdk/src/examples/tutorial/debugging/
example.js 94 function handleMessage(message_event) {
95 msg_type = message_event.data.substring(0, 4);
96 msg_data = message_event.data.substring(5, message_event.data.length);
  /external/chromium_org/ppapi/native_client/tests/nacl_browser/inbrowser_test_runner/
test_runner.html 84 div.addEventListener('message', status.wrap(function(message_event) {
85 if (message_event.data.substr(0, stdout_prefix.length) == stdout_prefix) {
86 var msg = message_event.data.substr(stdout_prefix.length);
94 status.assertEqual(message_event.data, 'passed');
  /external/chromium_org/native_client_sdk/src/examples/api/core/
example.js 45 function handleMessage(message_event) {
47 itrNaCl[itrCount] = message_event.data * 1000.0;
  /external/chromium_org/native_client_sdk/src/gonacl_appengine/static/pnacl-demo/
example.js 233 function handleMessage(message_event) {
234 if (message_event.data['message'] == 'set_zoom') {
236 var zoom = message_event.data['value'];
238 } else if (message_event.data['message'] == 'set_light') {
240 var light = message_event.data['value'];
242 } else if (message_event.data['message'] == 'request_textures') {
244 var names = message_event.data['names'];
  /external/chromium_org/ppapi/native_client/tests/nacl_browser/postmessage_redir/
pm_redir_test.html 33 plugin.addEventListener('message', function(message_event) {
35 if (message_event.data.indexOf(prefix) == 0) {
53 var msg_string = message_event.data.substring(prefix.length);
  /external/chromium_org/chrome/renderer/
external_host_bindings.h 34 bool CreateMessageEvent(NPObject** message_event);
  /external/chromium_org/native_client_sdk/src/examples/api/audio/
example.js 39 getFrequencyElement().value = message_event.data;
  /external/chromium_org/ppapi/examples/video_effects/
video_effects.html 102 function HandleMessage(message_event) {
103 if (message_event.data) {
104 if (message_event.data == 'DoneRegistering') {
107 trace(message_event.data);

Completed in 614 milliseconds

1 2