repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
http
/
tests
/
serviceworker
/
resources
/
end-to-end-worker.js
blob
d45a50556a93c7e38d94ac05b90d2d733c04896a
1
onmessage = function(e) {
2
var message = e.data;
3
if (typeof message === 'object' && 'port' in message) {
4
var response = 'Ack for: ' + message.from;
5
message.port.postMessage(response);
6
}
7
};