fetch-request-css-cross-origin-read-contents.html (703B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>iframe: cross-origin CSS via service worker</title> 4 5 <!-- Service worker responds with a cross-origin opaque response. --> 6 <link href="cross-origin-css.css" rel="stylesheet" type="text/css"> 7 8 <!-- Service worker responds with a cross-origin CORS approved response. --> 9 <link href="cross-origin-css.css?cors" rel="stylesheet" type="text/css"> 10 11 <!-- Service worker falls back to network. This is a same-origin response. --> 12 <link href="fetch-request-css-cross-origin-mime-check-same.css" rel="stylesheet" type="text/css"> 13 14 <!-- Service worker responds with a new Response() synthetic response. --> 15 <link href="synthetic.css" rel="stylesheet" type="text/css">