2 <script src=
"../resources/testharness.js"></script>
3 <script src=
"../resources/testharnessreport.js"></script>
7 assert_false(new BeforeInstallPromptEvent('eventType').bubbles
, 'bubbles');
8 assert_true(new BeforeInstallPromptEvent('eventType').cancelable
, 'cancelable');
9 }, 'No initializer passed');
12 var event
= new BeforeInstallPromptEvent('eventType', { platforms
: ['a'] });
13 assert_array_equals(['a'], event
.platforms
, 'platforms');
14 }, 'paltforms is passed');