| 
    
      
  | 
  
 Chromium Code Reviews| 
         Created: 
          4 years, 8 months ago by hiroshige Modified: 
          
          
          4 years ago CC: 
          
          
          chromium-reviews, tyoshino+watch_chromium.org, Yoav Weiss, gavinp+loader_chromium.org, blink-reviews, loading-reviews+fetch_chromium.org, Nate Chapin Base URL: 
          
          
          https://chromium.googlesource.com/chromium/src.git@master Target Ref: 
          
          
          refs/pending/heads/master Project: 
          
          chromium Visibility: 
          
          
          
        Public.  | 
      
        
  DescriptionDo not rely on broken images in http/tests/multipart/ tests
Preparation for https://codereview.chromium.org/2513413008.
This CL introduces Internals::isLoading() and make the tests to use
isLoading() instead of size checks for detecting broken images.
BUG=668598
Committed: https://crrev.com/0292701c1facba4d2162eaff216ba10065ca482f
Cr-Commit-Position: refs/heads/master@{#434947}
   
  Patch Set 1 #Patch Set 2 : auto-Rebase #Patch Set 3 : Rebase #Patch Set 4 : Rebase #Patch Set 5 : Rebase #Patch Set 6 : Rebase #Patch Set 7 : Rebase #Patch Set 8 : Rebase #Patch Set 9 : Rebase #
      Total comments: 12
      
     
  
  Patch Set 10 : Rebase #Patch Set 11 : Rebase #Dependent Patchsets: Messages
    Total messages: 59 (46 generated)
     
  
  
 The CQ bit was checked by hiroshige@chromium.org to run a CQ dry run 
 Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1840933002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1840933002/1 
 The CQ bit was unchecked by commit-bot@chromium.org 
 Dry run: This issue passed the CQ dry run. 
 The CQ bit was checked by hiroshige@chromium.org to run a CQ dry run 
 Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or... 
 The CQ bit was checked by hiroshige@chromium.org to run a CQ dry run 
 Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or... 
 The CQ bit was unchecked by commit-bot@chromium.org 
 Dry run: Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...) 
 The CQ bit was checked by hiroshige@chromium.org to run a CQ dry run 
 Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or... 
 The CQ bit was unchecked by commit-bot@chromium.org 
 Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm6...) 
 Description was changed from ========== Do not rely on broken images in http/tests/multipart/ tests BUG= ========== to ========== Do not rely on broken images in http/tests/multipart/ tests BUG=668598 ========== 
 hiroshige@chromium.org changed reviewers: + yhirano@chromium.org 
 The CQ bit was checked by hiroshige@chromium.org to run a CQ dry run 
 Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or... 
 The CQ bit was unchecked by commit-bot@chromium.org 
 Dry run: This issue passed the CQ dry run. 
 The CQ bit was checked by hiroshige@chromium.org to run a CQ dry run 
 Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or... 
 The CQ bit was checked by hiroshige@chromium.org to run a CQ dry run 
 Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or... 
 The CQ bit was checked by hiroshige@chromium.org to run a CQ dry run 
 Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or... 
 The CQ bit was unchecked by commit-bot@chromium.org 
 Dry run: This issue passed the CQ dry run. 
 Description was changed from ========== Do not rely on broken images in http/tests/multipart/ tests BUG=668598 ========== to ========== Do not rely on broken images in http/tests/multipart/ tests Preparation for https://codereview.chromium.org/2513413008. This CL introduces Internals::isLoading() and make the tests to use isLoading() instead of size checks for detecting broken images. BUG=668598 ========== 
 PTAL. 
 The CQ bit was checked by hiroshige@chromium.org to run a CQ dry run 
 Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or... 
 The CQ bit was unchecked by commit-bot@chromium.org 
 Dry run: This issue passed the CQ dry run. 
 https://codereview.chromium.org/1840933002/diff/160001/third_party/WebKit/Lay... File third_party/WebKit/LayoutTests/http/tests/multipart/stop-loading-after-onload1.html (right): https://codereview.chromium.org/1840933002/diff/160001/third_party/WebKit/Lay... third_party/WebKit/LayoutTests/http/tests/multipart/stop-loading-after-onload1.html:13: assert_true(internals.isLoading("resources/multipart.php?interval=1&loop=1&img1=2x2-green.png&img2=abe.png&label=1"), "The image should be loading before window.stop()."); Is it a good idea to have a constant for the url in this function? https://codereview.chromium.org/1840933002/diff/160001/third_party/WebKit/Lay... third_party/WebKit/LayoutTests/http/tests/multipart/stop-loading-after-onload1.html:18: assert_false(internals.isLoading("resources/multipart.php?interval=1&loop=1&img1=2x2-green.png&img2=abe.png&label=1"), "The image should not be loading before window.stop()."); after https://codereview.chromium.org/1840933002/diff/160001/third_party/WebKit/Lay... File third_party/WebKit/LayoutTests/http/tests/multipart/stop-loading-after-onload2.html (right): https://codereview.chromium.org/1840933002/diff/160001/third_party/WebKit/Lay... third_party/WebKit/LayoutTests/http/tests/multipart/stop-loading-after-onload2.html:13: assert_true(internals.isLoading("resources/multipart.php?interval=1&loop=1&img1=2x2-green.png&img2=abe.png&label=2"), "The image should be loading before window.stop()."); Is it a good idea to have a constant for the url in this function? https://codereview.chromium.org/1840933002/diff/160001/third_party/WebKit/Lay... third_party/WebKit/LayoutTests/http/tests/multipart/stop-loading-after-onload2.html:18: assert_false(internals.isLoading("resources/multipart.php?interval=1&loop=1&img1=2x2-green.png&img2=abe.png&label=2"), "The image should not be loading before window.stop()."); after https://codereview.chromium.org/1840933002/diff/160001/third_party/WebKit/Lay... File third_party/WebKit/LayoutTests/http/tests/multipart/stop-loading.html (right): https://codereview.chromium.org/1840933002/diff/160001/third_party/WebKit/Lay... third_party/WebKit/LayoutTests/http/tests/multipart/stop-loading.html:11: assert_true(internals.isLoading("resources/multipart.php?interval=1&loop=1&img1=2x2-green.png&img2=abe.png"), "The image should be loading before window.stop()."); Is it a good idea to have a constant for the url in this function? https://codereview.chromium.org/1840933002/diff/160001/third_party/WebKit/Lay... third_party/WebKit/LayoutTests/http/tests/multipart/stop-loading.html:16: assert_false(internals.isLoading("resources/multipart.php?interval=1&loop=1&img1=2x2-green.png&img2=abe.png"), "The image should not be loading before window.stop()."); after 
 The CQ bit was checked by hiroshige@chromium.org to run a CQ dry run 
 Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or... 
 https://codereview.chromium.org/1840933002/diff/160001/third_party/WebKit/Lay... File third_party/WebKit/LayoutTests/http/tests/multipart/stop-loading-after-onload1.html (right): https://codereview.chromium.org/1840933002/diff/160001/third_party/WebKit/Lay... third_party/WebKit/LayoutTests/http/tests/multipart/stop-loading-after-onload1.html:13: assert_true(internals.isLoading("resources/multipart.php?interval=1&loop=1&img1=2x2-green.png&img2=abe.png&label=1"), "The image should be loading before window.stop()."); On 2016/11/29 01:59:39, yhirano wrote: > Is it a good idea to have a constant for the url in this function? Done. https://codereview.chromium.org/1840933002/diff/160001/third_party/WebKit/Lay... third_party/WebKit/LayoutTests/http/tests/multipart/stop-loading-after-onload1.html:18: assert_false(internals.isLoading("resources/multipart.php?interval=1&loop=1&img1=2x2-green.png&img2=abe.png&label=1"), "The image should not be loading before window.stop()."); On 2016/11/29 01:59:39, yhirano wrote: > after Done. https://codereview.chromium.org/1840933002/diff/160001/third_party/WebKit/Lay... File third_party/WebKit/LayoutTests/http/tests/multipart/stop-loading-after-onload2.html (right): https://codereview.chromium.org/1840933002/diff/160001/third_party/WebKit/Lay... third_party/WebKit/LayoutTests/http/tests/multipart/stop-loading-after-onload2.html:13: assert_true(internals.isLoading("resources/multipart.php?interval=1&loop=1&img1=2x2-green.png&img2=abe.png&label=2"), "The image should be loading before window.stop()."); On 2016/11/29 01:59:39, yhirano wrote: > Is it a good idea to have a constant for the url in this function? Done. https://codereview.chromium.org/1840933002/diff/160001/third_party/WebKit/Lay... third_party/WebKit/LayoutTests/http/tests/multipart/stop-loading-after-onload2.html:18: assert_false(internals.isLoading("resources/multipart.php?interval=1&loop=1&img1=2x2-green.png&img2=abe.png&label=2"), "The image should not be loading before window.stop()."); On 2016/11/29 01:59:39, yhirano wrote: > after Done. https://codereview.chromium.org/1840933002/diff/160001/third_party/WebKit/Lay... File third_party/WebKit/LayoutTests/http/tests/multipart/stop-loading.html (right): https://codereview.chromium.org/1840933002/diff/160001/third_party/WebKit/Lay... third_party/WebKit/LayoutTests/http/tests/multipart/stop-loading.html:11: assert_true(internals.isLoading("resources/multipart.php?interval=1&loop=1&img1=2x2-green.png&img2=abe.png"), "The image should be loading before window.stop()."); On 2016/11/29 01:59:39, yhirano wrote: > Is it a good idea to have a constant for the url in this function? Done. https://codereview.chromium.org/1840933002/diff/160001/third_party/WebKit/Lay... third_party/WebKit/LayoutTests/http/tests/multipart/stop-loading.html:16: assert_false(internals.isLoading("resources/multipart.php?interval=1&loop=1&img1=2x2-green.png&img2=abe.png"), "The image should not be loading before window.stop()."); On 2016/11/29 01:59:39, yhirano wrote: > after Done. 
 lgtm 
 The CQ bit was unchecked by commit-bot@chromium.org 
 Dry run: This issue passed the CQ dry run. 
 The CQ bit was checked by hiroshige@chromium.org 
 CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or... 
 The CQ bit was unchecked by commit-bot@chromium.org 
 Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...) 
 The CQ bit was checked by hiroshige@chromium.org to run a CQ dry run 
 Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or... 
 hiroshige@chromium.org changed reviewers: + kouhei@chromium.org 
 +kouhei, PTAL as core/ OWNER. 
 lgtm 
 The CQ bit was unchecked by hiroshige@chromium.org 
 The CQ bit was checked by hiroshige@chromium.org 
 The patchset sent to the CQ was uploaded after l-g-t-m from yhirano@chromium.org Link to the patchset: https://codereview.chromium.org/1840933002/#ps200001 (title: "Rebase") 
 CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or... 
 CQ is committing da patch.
Bot data: {"patchset_id": 200001, "attempt_start_ts": 1480414504099140,
"parent_rev": "7edca0bc39ce412802facd700fa44d90125ba47b", "commit_rev":
"014ac951ce3f8245c478c3d72ad0571326de281a"}
          
 
            
              
                Message was sent while issue was closed.
              
            
             
          
        Description was changed from ========== Do not rely on broken images in http/tests/multipart/ tests Preparation for https://codereview.chromium.org/2513413008. This CL introduces Internals::isLoading() and make the tests to use isLoading() instead of size checks for detecting broken images. BUG=668598 ========== to ========== Do not rely on broken images in http/tests/multipart/ tests Preparation for https://codereview.chromium.org/2513413008. This CL introduces Internals::isLoading() and make the tests to use isLoading() instead of size checks for detecting broken images. BUG=668598 ========== 
 
            
              
                Message was sent while issue was closed.
              
            
             
          
        Committed patchset #11 (id:200001) 
 
            
              
                Message was sent while issue was closed.
              
            
             
          
        Description was changed from ========== Do not rely on broken images in http/tests/multipart/ tests Preparation for https://codereview.chromium.org/2513413008. This CL introduces Internals::isLoading() and make the tests to use isLoading() instead of size checks for detecting broken images. BUG=668598 ========== to ========== Do not rely on broken images in http/tests/multipart/ tests Preparation for https://codereview.chromium.org/2513413008. This CL introduces Internals::isLoading() and make the tests to use isLoading() instead of size checks for detecting broken images. BUG=668598 Committed: https://crrev.com/0292701c1facba4d2162eaff216ba10065ca482f Cr-Commit-Position: refs/heads/master@{#434947} ========== 
 
            
              
                Message was sent while issue was closed.
              
            
             
          
        Patchset 11 (id:??) landed as https://crrev.com/0292701c1facba4d2162eaff216ba10065ca482f Cr-Commit-Position: refs/heads/master@{#434947}  | 
    
