blob: 0a320b6e0c848be85a06b8677ddcd8a78436d202 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
onmessage = function(e) {
var data = JSON.parse(e.data);
if (data[0] != 'sandboxed frame msg')
return;
var param = data[1];
e.source.postMessage(JSON.stringify(['local frame msg', param]), '*');
};