| OLD | NEW | 
|   1 <!DOCTYPE html> |   1 <!DOCTYPE html> | 
|   2 <html> |   2 <html> | 
|   3 <head></head> |   3 <head></head> | 
|   4 <script> |   4 <script> | 
|   5  |   5  | 
|   6 function sendValueToTest(value) { |   6 function sendValueToTest(value) { | 
|   7   window.domAutomationController.setAutomationId(0); |  | 
|   8   window.domAutomationController.send(value); |   7   window.domAutomationController.send(value); | 
|   9 } |   8 } | 
|  10  |   9  | 
|  11 var resourcesNumber = -1; |  10 var resourcesNumber = -1; | 
|  12 window.onload = function () { |  11 window.onload = function () { | 
|  13     resourcesNumber = window.performance.getEntriesByType("resource").length; |  12     resourcesNumber = window.performance.getEntriesByType("resource").length; | 
|  14 }; |  13 }; | 
|  15  |  14  | 
|  16 function getResourceNumber() { |  15 function getResourceNumber() { | 
|  17     setInterval(function() { |  16     setInterval(function() { | 
|  18         if (resourcesNumber != -1) { |  17         if (resourcesNumber != -1) { | 
|  19             sendValueToTest(resourcesNumber); |  18             sendValueToTest(resourcesNumber); | 
|  20         } |  19         } | 
|  21     }, 300); |  20     }, 300); | 
|  22 } |  21 } | 
|  23 </script> |  22 </script> | 
|  24  |  23  | 
|  25 <picture> |  24 <picture> | 
|  26     <source media="(min-width: 980px)" srcset="200.png"> |  25     <source media="(min-width: 980px)" srcset="200.png"> | 
|  27     <img src="400.png"> |  26     <img src="400.png"> | 
|  28 </picture> |  27 </picture> | 
|  29  |  28  | 
|  30 <img srcset = "635.png 635w, 1270.png 1270w"  |  29 <img srcset = "635.png 635w, 1270.png 1270w"  | 
|  31           sizes = "(max-width: 600px) calc(100vw - 32px), |  30           sizes = "(max-width: 600px) calc(100vw - 32px), | 
|  32                    (max-width: 1000px) calc(66.67vw - 32px), |  31                    (max-width: 1000px) calc(66.67vw - 32px), | 
|  33                    635px"> |  32                    635px"> | 
|  34 </html> |  33 </html> | 
| OLD | NEW |