Use testharness.js instead of js-test.js in fast/images/
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/3d22b2bf006e53aa11cbf27561f51962698d188d commit 3d22b2bf006e53aa11cbf27561f51962698d188d Author: siva.gunturi <siva.gunturi@samsung.com> Date: Mon Aug 15 18:06:32 2016 Use testharness.js in fast/images/ for border/cmyk tests Remove js-test.js and start using testharness.js. Code refactoring using testharness asserts. BUG= 637859 . Review-Url: https://codereview.chromium.org/2228333003 Cr-Commit-Position: refs/heads/master@{#411985} [delete] https://crrev.com/195d077434c640a296b94a53b05e4ac9999566ed/third_party/WebKit/LayoutTests/fast/images/border-expected.txt [modify] https://crrev.com/3d22b2bf006e53aa11cbf27561f51962698d188d/third_party/WebKit/LayoutTests/fast/images/border.html [delete] https://crrev.com/195d077434c640a296b94a53b05e4ac9999566ed/third_party/WebKit/LayoutTests/fast/images/cmyk-jpeg-with-color-profile-expected.txt [modify] https://crrev.com/3d22b2bf006e53aa11cbf27561f51962698d188d/third_party/WebKit/LayoutTests/fast/images/cmyk-jpeg-with-color-profile.html [delete] https://crrev.com/195d077434c640a296b94a53b05e4ac9999566ed/third_party/WebKit/LayoutTests/fast/images/script-tests/border.js [delete] https://crrev.com/195d077434c640a296b94a53b05e4ac9999566ed/third_party/WebKit/LayoutTests/fast/images/script-tests/cmyk-jpeg-with-color-profile.js
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/7d3156f22a42e0da256c80134684ebfb7d99225c commit 7d3156f22a42e0da256c80134684ebfb7d99225c Author: siva.gunturi <siva.gunturi@samsung.com> Date: Tue Aug 16 14:28:30 2016 Use testharness.js instead of js-test.js in fast/images. This patch uses testharness.js instead of js-test.js. Other changes involved are 1. Move image-error-event-not-firing.html to http/tests/images/. Make sure the destination url used in the test exists. 2.Add test images to http/tests/resources folder. 3.Change DOCTYPE declarations. BUG= 637859 . Review-Url: https://codereview.chromium.org/2227423002 Cr-Commit-Position: refs/heads/master@{#412230} [delete] https://crrev.com/0906a0189f972bf46ea3b877a0a8648d057e478b/third_party/WebKit/LayoutTests/fast/images/image-change-without-resize-shouldnt-layout-expected.txt [modify] https://crrev.com/7d3156f22a42e0da256c80134684ebfb7d99225c/third_party/WebKit/LayoutTests/fast/images/image-change-without-resize-shouldnt-layout.html [delete] https://crrev.com/0906a0189f972bf46ea3b877a0a8648d057e478b/third_party/WebKit/LayoutTests/fast/images/image-error-event-not-firing-expected.txt [delete] https://crrev.com/0906a0189f972bf46ea3b877a0a8648d057e478b/third_party/WebKit/LayoutTests/fast/images/image-error-event-not-firing.html [delete] https://crrev.com/0906a0189f972bf46ea3b877a0a8648d057e478b/third_party/WebKit/LayoutTests/fast/images/natural-dimensions-correct-after-image-reset-expected.txt [modify] https://crrev.com/7d3156f22a42e0da256c80134684ebfb7d99225c/third_party/WebKit/LayoutTests/fast/images/natural-dimensions-correct-after-image-reset.html [add] https://crrev.com/7d3156f22a42e0da256c80134684ebfb7d99225c/third_party/WebKit/LayoutTests/http/tests/images/image-error-event-not-firing.html
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/79331e5aff1549688db5bcde820812827e6fbd97 commit 79331e5aff1549688db5bcde820812827e6fbd97 Author: siva.gunturi <siva.gunturi@samsung.com> Date: Tue Aug 16 14:56:25 2016 Use testharness.js instead of js-test.js in fast/images. This patch replaces js-test.js with testharness.js in 1.Onload event after reloading image test. 2.Document add remove listener test. and changes DOCTYPE declarations in border.html and cmyk-jpeg-with-color-profile.html. BUG= 637859 Review-Url: https://codereview.chromium.org/2246303003 Cr-Commit-Position: refs/heads/master@{#412235} [modify] https://crrev.com/79331e5aff1549688db5bcde820812827e6fbd97/third_party/WebKit/LayoutTests/fast/images/border.html [modify] https://crrev.com/79331e5aff1549688db5bcde820812827e6fbd97/third_party/WebKit/LayoutTests/fast/images/cmyk-jpeg-with-color-profile.html [delete] https://crrev.com/e99b9c69a63d7857dd397ae2e488a16cc8e7c48d/third_party/WebKit/LayoutTests/fast/images/image-document-remove-listener-expected.txt [modify] https://crrev.com/79331e5aff1549688db5bcde820812827e6fbd97/third_party/WebKit/LayoutTests/fast/images/image-document-remove-listener.html [delete] https://crrev.com/e99b9c69a63d7857dd397ae2e488a16cc8e7c48d/third_party/WebKit/LayoutTests/fast/images/onload-event-when-reloading-image-after-interrupted-broken-image-load-expected.txt [modify] https://crrev.com/79331e5aff1549688db5bcde820812827e6fbd97/third_party/WebKit/LayoutTests/fast/images/onload-event-when-reloading-image-after-interrupted-broken-image-load.html
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/8aad247c738a74aef7bcb442bb990b31af90094d commit 8aad247c738a74aef7bcb442bb990b31af90094d Author: siva.gunturi <siva.gunturi@samsung.com> Date: Tue Aug 16 19:22:19 2016 Use testharness.js instead of js-test.js in fast/images. 1.Move code out of imagemap-dynamic-area-updates.js to html and remove the js file. 2.Use testharness.js in img-dimensions-styled.html BUG= 637859 Review-Url: https://codereview.chromium.org/2255433002 Cr-Commit-Position: refs/heads/master@{#412304} [delete] https://crrev.com/7223c9decebd30e78f52166795f942f421ee4aa2/third_party/WebKit/LayoutTests/fast/images/imagemap-dynamic-area-updates-expected.txt [modify] https://crrev.com/8aad247c738a74aef7bcb442bb990b31af90094d/third_party/WebKit/LayoutTests/fast/images/imagemap-dynamic-area-updates.html [delete] https://crrev.com/7223c9decebd30e78f52166795f942f421ee4aa2/third_party/WebKit/LayoutTests/fast/images/img-dimensions-styled-expected.txt [modify] https://crrev.com/8aad247c738a74aef7bcb442bb990b31af90094d/third_party/WebKit/LayoutTests/fast/images/img-dimensions-styled.html [delete] https://crrev.com/7223c9decebd30e78f52166795f942f421ee4aa2/third_party/WebKit/LayoutTests/fast/images/script-tests/imagemap-dynamic-area-updates.js
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/f6ceacf5494a9fff8d53c86d6a39f19f954c8e23 commit f6ceacf5494a9fff8d53c86d6a39f19f954c8e23 Author: siva.gunturi <siva.gunturi@samsung.com> Date: Wed Aug 17 11:54:01 2016 Handle window.onload and img.onload in image-change-without-resize-shouldnt-layout test. 1.Handle the test inside window.onload. 2.Change image src of same size. This triggers img.onload. 3.Check for no layout on src change. BUG= 638288 , 637859 Review-Url: https://codereview.chromium.org/2250323002 Cr-Commit-Position: refs/heads/master@{#412501} [modify] https://crrev.com/f6ceacf5494a9fff8d53c86d6a39f19f954c8e23/third_party/WebKit/LayoutTests/TestExpectations [modify] https://crrev.com/f6ceacf5494a9fff8d53c86d6a39f19f954c8e23/third_party/WebKit/LayoutTests/fast/images/image-change-without-resize-shouldnt-layout.html
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/d33a1f9291e7d9de12795342d8e7ec9bb44ce3d4 commit d33a1f9291e7d9de12795342d8e7ec9bb44ce3d4 Author: siva.gunturi <siva.gunturi@samsung.com> Date: Wed Aug 17 15:17:27 2016 Use testharness.js instead of js-test.js in fast/images. This test used testharness.js instead of js-test.js in server-side-imagemap and webgl-teximage2d. BUG= 637859 Review-Url: https://codereview.chromium.org/2253513005 Cr-Commit-Position: refs/heads/master@{#412532} [delete] https://crrev.com/c557c6b561d3cc1f5d5fa7a128cac30ca7775612/third_party/WebKit/LayoutTests/fast/images/server-side-imagemap-expected.txt [modify] https://crrev.com/d33a1f9291e7d9de12795342d8e7ec9bb44ce3d4/third_party/WebKit/LayoutTests/fast/images/server-side-imagemap.html [delete] https://crrev.com/c557c6b561d3cc1f5d5fa7a128cac30ca7775612/third_party/WebKit/LayoutTests/fast/images/webgl-teximage2d-expected.txt [modify] https://crrev.com/d33a1f9291e7d9de12795342d8e7ec9bb44ce3d4/third_party/WebKit/LayoutTests/fast/images/webgl-teximage2d.html
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/50cc56a7af56811b317d2af42d9f22fc4ffba3e0 commit 50cc56a7af56811b317d2af42d9f22fc4ffba3e0 Author: siva.gunturi <siva.gunturi@samsung.com> Date: Thu Aug 18 12:11:08 2016 Use document.ElementFromPoint instead of eventsender. This patch takes care of TODO to replace eventsender with document.ElementFromPoint. BUG= 637859 Review-Url: https://codereview.chromium.org/2244333004 Cr-Commit-Position: refs/heads/master@{#412801} [modify] https://crrev.com/50cc56a7af56811b317d2af42d9f22fc4ffba3e0/third_party/WebKit/LayoutTests/fast/images/imagemap-dynamic-area-updates.html
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/eb35d1f2baf4c0e4b42f8b4d4a33f543c2185597 commit eb35d1f2baf4c0e4b42f8b4d4a33f543c2185597 Author: siva.gunturi <siva.gunturi@samsung.com> Date: Thu Aug 18 12:19:03 2016 Use testharness.js in image load tests. This test uses testharness.js to test whether image load event is fired even if the image is the last one we loaded successfully. BUG= 637859 . Review-Url: https://codereview.chromium.org/2251413002 Cr-Commit-Position: refs/heads/master@{#412806} [delete] https://crrev.com/42dc140ebb986b2f3047efc78cb8195aa05c8335/third_party/WebKit/LayoutTests/fast/images/onload-event-when-reloading-image-after-interrupted-null-src-load-expected.txt [modify] https://crrev.com/eb35d1f2baf4c0e4b42f8b4d4a33f543c2185597/third_party/WebKit/LayoutTests/fast/images/onload-event-when-reloading-image-after-interrupted-null-src-load.html [delete] https://crrev.com/42dc140ebb986b2f3047efc78cb8195aa05c8335/third_party/WebKit/LayoutTests/fast/images/onload-event-when-reloading-image-after-successful-image-load-expected.txt [modify] https://crrev.com/eb35d1f2baf4c0e4b42f8b4d4a33f543c2185597/third_party/WebKit/LayoutTests/fast/images/onload-event-when-reloading-image-after-successful-image-load.html
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/afe2f0fbde66f6a890d357f9a0243b3102b3bd1f commit afe2f0fbde66f6a890d357f9a0243b3102b3bd1f Author: siva.gunturi <siva.gunturi@samsung.com> Date: Fri Aug 19 12:03:35 2016 Use testharness.js to test move image to new document. 1.Change template to use testharness.js instead of js-test.js. 2.Remove move-image-to-new-document.js and move js code to html file. 3.Change script it test to use testharness.js. BUG= 637859 Review-Url: https://codereview.chromium.org/2255213002 Cr-Commit-Position: refs/heads/master@{#413111} [delete] https://crrev.com/c51d7ae19a5e001eb9aea418b3efc83fcc9b4649/third_party/WebKit/LayoutTests/fast/images/move-image-to-new-document-expected.txt [modify] https://crrev.com/afe2f0fbde66f6a890d357f9a0243b3102b3bd1f/third_party/WebKit/LayoutTests/fast/images/move-image-to-new-document.html [modify] https://crrev.com/afe2f0fbde66f6a890d357f9a0243b3102b3bd1f/third_party/WebKit/LayoutTests/fast/images/script-tests/TEMPLATE.html [delete] https://crrev.com/c51d7ae19a5e001eb9aea418b3efc83fcc9b4649/third_party/WebKit/LayoutTests/fast/images/script-tests/move-image-to-new-document.js
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/0fd18b4775d4038af7512dfc72b2bc17425faabb commit 0fd18b4775d4038af7512dfc72b2bc17425faabb Author: siva.gunturi <siva.gunturi@samsung.com> Date: Fri Aug 19 14:50:41 2016 Convert image size and zoom level test to testharness.js 1.Remove zoomed-offset-size-expected.txt. 2.Simply code to test whether image size is changed when zoom level is altered. BUG= 637859 Review-Url: https://codereview.chromium.org/2260773002 Cr-Commit-Position: refs/heads/master@{#413146} [modify] https://crrev.com/0fd18b4775d4038af7512dfc72b2bc17425faabb/third_party/WebKit/LayoutTests/fast/images/zoomed-offset-size-expected.txt [modify] https://crrev.com/0fd18b4775d4038af7512dfc72b2bc17425faabb/third_party/WebKit/LayoutTests/fast/images/zoomed-offset-size.html
Comment 1 by siva.gun...@samsung.com
, Aug 15 2016