Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / notifications / resources / serviceworker-notification-constructor.js
blob7294592935350ec33d2e60d09a1f48ec6e225657
1 importScripts('../../serviceworker/resources/worker-testharness.js');
2 importScripts('../../resources/testharness-helpers.js');
4 test(function() {
5 assert_true('Notification' in self);
7 assert_throws({ name: 'TypeError' }, function() {
8 new Notification();
9 });
11 }, 'Constructing a Notification object in a Service Worker throws.');