Home | History | Annotate | Download | only in gaia_auth
      1 // Copyright (c) 2012 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 
      5 function load() {
      6   var params = getUrlSearchParams(location.search);
      7   var msg = {
      8     'method': 'confirmLogin',
      9     'attemptToken': params['attemptToken']
     10   };
     11   window.parent.postMessage(msg,
     12           'chrome-extension://mfffpogegjflfpflabcdkioaeobkgjik/main.html');
     13 }
     14 
     15 document.addEventListener('DOMContentLoaded', load);
     16 
     17