Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / serviceworker / resources / events-worker.js
blob80a2188677ba5a9cc728158dbf10fd973bbc0f27
1 var eventsSeen = [];
3 function handler(event) { eventsSeen.push(event.type); }
5 ['activate', 'install'].forEach(function(type) {
6 self.addEventListener(type, handler);
7 });
9 onmessage = function(e) {
10 var message = e.data;
11 message.port.postMessage({events: eventsSeen});