| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2015 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 reportChromeI18nState(background, iframe) { |
| 6 chrome.test.log('got iframe state: ' + background + ', ' + iframe); |
| 7 document.getElementById('background').textContent = |
| 8 (background) ? 'defined' : 'undefined'; |
| 9 document.getElementById('iframe').textContent = |
| 10 (iframe) ? 'defined' : 'undefined'; |
| 11 chrome.test.assertTrue(background); |
| 12 chrome.test.assertTrue(iframe); |
| 13 chrome.test.succeed(); |
| 14 } |
| OLD | NEW |