repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
chrome
/
test
/
data
/
devtools
/
extensions
/
devtools_experimental
/
devtools.js
blob
9346f95c8ec7da2ae85bf855035fe79ef43ef835
1
function
output
(
msg
) {
2
chrome
.
devtools
.
inspectedWindow
.
eval
(
"console.log(unescape('"
+
3
escape
(
msg
) +
"'));"
);
4
}
5
6
function
test
() {
7
if
(!
chrome
.
experimental
|| !
chrome
.
experimental
.
devtools
) {
8
output
(
"FAIL: chrome.experimental.devtools should be defined"
);
9
return
;
10
}
11
output
(
"PASS"
);
12
}
13
14
test
();