Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / script-tests / domtimestamp-is-number.js
blob5b28114aca83b2a90af0f5333a14f69e951e59cf
1 description("This tests that DOMTimeStamp is a Number (and not a Date object).");
2 // See https://bugs.webkit.org/show_bug.cgi?id=49963
4 var timestamp = null;
6 function do_check(e) {
7 timestamp = e.timeStamp;
8 shouldBeFalse("timestamp instanceof Date");
9 shouldBeTrue("timestamp == Number(timestamp)");
10 finishJSTest();
12 window.jsTestIsAsync = true;