mirror of
https://github.com/servo/servo.git
synced 2025-08-16 02:45:36 +01:00
Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
This commit is contained in:
parent
fb4f421c8b
commit
296fa2512b
21852 changed files with 2080936 additions and 892894 deletions
|
@ -17,8 +17,18 @@
|
|||
return '../' + url;
|
||||
}
|
||||
});
|
||||
var request = new PresentationRequest(urls);
|
||||
if (ev.data === 'start') {
|
||||
var request = null;
|
||||
if (ev.data === 'create') {
|
||||
try {
|
||||
request = new PresentationRequest(urls);
|
||||
parent.window.postMessage('success', '*');
|
||||
}
|
||||
catch (err) {
|
||||
parent.window.postMessage(err.name, '*');
|
||||
}
|
||||
}
|
||||
else if (ev.data === 'start') {
|
||||
request = new PresentationRequest(urls);
|
||||
request.start()
|
||||
.then(function () {
|
||||
parent.window.postMessage('success', '*');
|
||||
|
@ -38,6 +48,7 @@
|
|||
});
|
||||
}
|
||||
else if (ev.data === 'reconnect') {
|
||||
request = new PresentationRequest(urls);
|
||||
request.reconnect('someid')
|
||||
.then(function () {
|
||||
parent.window.postMessage('success', '*');
|
||||
|
@ -47,6 +58,7 @@
|
|||
});
|
||||
}
|
||||
else if (ev.data === 'getAvailability') {
|
||||
request = new PresentationRequest(urls);
|
||||
request.getAvailability()
|
||||
.then(function () {
|
||||
parent.window.postMessage('success', '*');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue