Commit 12536f40 authored by caseq@chromium.org's avatar caseq@chromium.org
Browse files

Unreviewed test rebaseline.

* platform/chromium-win/inspector/console/command-line-api-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130161 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent fc27bcb8
2012-10-02 Andrey Kosyakov <caseq@chromium.org>
Unreviewed test rebaseline.
* platform/chromium-win/inspector/console/command-line-api-expected.txt: Added.
2012-10-02 Christophe Dumez <christophe.dumez@intel.com>
 
[XMLHttpRequest] overrideMimeType(mime) does not update the response's "Content-Type" header
CONSOLE MESSAGE: line 959: The console function $() has changed from $=getElementById(id) to $=querySelector(selector). You might try $("#%s")
Tests that command line api works.
String($0)
"[object HTMLParagraphElement]"
$3
undefined
String(keys([3,4]))
"0,1"
String(values([3,4]))
"3,4"
String($('#foo'))
"[object HTMLParagraphElement]"
String($('#foo', document.body))
"[object HTMLParagraphElement]"
String($('#foo', 'non-node'))
"[object HTMLParagraphElement]"
String($('#foo', $('#bar')))
"null"
String($$('p#foo'))
"[object NodeList]"
String($$('p#foo', document.body))
"[object NodeList]"
String($('foo'))
The console function $() has changed from $=getElementById(id) to $=querySelector(selector). You might try $("#foo")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment