mirror of
https://github.com/servo/servo.git
synced 2025-06-25 01:24:37 +01:00
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
9 lines
300 B
JavaScript
9 lines
300 B
JavaScript
self.addEventListener('fetch', function(event) {
|
|
if (event.request.url.indexOf('dummy.xml') != -1) {
|
|
if (!event.request.destination || event.request.destination == "")
|
|
event.respondWith(new Response());
|
|
else
|
|
event.respondWith(Response.error());
|
|
}
|
|
});
|
|
|