1// Copyright 2013 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5var PARENT_PAGE = 'chrome://oobe/'; 6 7var msg = { 8 'method': 'loginUILoaded' 9}; 10window.parent.postMessage(msg, PARENT_PAGE); 11 12var msg = { 13 'method': 'completeLogin', 14 'email': 'test@test.test', 15 'gaiaId': '12345', 16 'password': '' 17}; 18window.parent.postMessage(msg, PARENT_PAGE); 19