Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / app_banner / before-install-prompt-event-constructor.html
bloba10fab266a2cf56adcba1ff4d6b383e1c17182a6
1 <!DOCTYPE html>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4 <script>
6 test(function() {
7 assert_false(new BeforeInstallPromptEvent('eventType').bubbles, 'bubbles');
8 assert_true(new BeforeInstallPromptEvent('eventType').cancelable, 'cancelable');
9 }, 'No initializer passed');
11 test(function() {
12 var event = new BeforeInstallPromptEvent('eventType', { platforms: ['a'] });
13 assert_array_equals(['a'], event.platforms, 'platforms');
14 }, 'paltforms is passed');
15 </script>