[Cronet] Delay StartNetLog and StopNetLog until native request context is initialized
[chromium-blink-merge.git] / chrome / test / data / extensions / content_capabilities / capability_tests.js
blob65eb20ee903e25099702773f6130e4c65e330717
1 // Copyright 2014 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() {
7 window.tests = {
8 canReadClipboard: function() {
9 domAutomationController.send(document.execCommand('paste'));
12 canWriteClipboard: function() {
13 domAutomationController.send(document.execCommand('copy'));
17 }());