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
blame
|
history
|
raw
|
HEAD
Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
http
/
tests
/
serviceworker
/
resources
/
shared-worker-controlled.js
blob
1ccc2fe3bdbe68ad200f7037fd5c68d768931834
1
onconnect
=
function
(
e
) {
2
var
port
=
e
.
ports
[
0
];
3
var
xhr
=
new
XMLHttpRequest
();
4
xhr
.
onload
=
function
() {
port
.
postMessage
(
this
.
responseText
); };
5
xhr
.
onerror
=
function
(
e
) {
port
.
postMessage
(
e
); };
6
xhr
.
open
(
'GET'
,
'dummy.txt?simple'
,
true
);
7
xhr
.
send
();
8
};