Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / test / data / extensions / api_test / executescript / navigation_race / javascript_url.js
blob588dcee1a2fb60f6747377eaef9a14dfc2ca5244
1 // Copyright (c) 2011 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.
5 function executeCodeInTab(tabId, callback) {
6 chrome.tabs.update(
7 tabId,
8 {url: "javascript:void(document.title = 'hi, I\\'m on ' + location)"},
9 callback);