gecko-dev/dom/html/reftests
Edgar Chen 2f22be013f Bug 1512297 - Do not need to clear image broken state in BindToTree call; r=smaug
ImageLoadingContent will take care of updating element to correct state, we don't need to do this.
Especially for HTMLImageElement, because it may not reload the image after BindToTree (
e.g. the selected source isn't changed), clearing broken state may put element into
incorrect state.

The original code seems from https://bugzilla.mozilla.org/show_bug.cgi?id=491063#c32
for a performance reason, however I test the http://mozilla.pettay.fi/moztests/1x1image.html
again on recent codebase, I don't see difference with/without applying this patch.

--HG--
extra : rebase_source : 2de29cced4ad0a18a5a6908641305203cc88a5f4
2018-12-20 13:59:34 +01:00
..
autofocus Bug 1369941: Replace single integers N in fuzzy() and fuzzy-if() with 0-N ranges. r=dholbert 2018-08-09 20:10:21 +00:00
toblob-todataurl Bug 1369941: Replace single integers N in fuzzy() and fuzzy-if() with 0-N ranges. r=dholbert 2018-08-09 20:10:21 +00:00
41464-1-ref.html
41464-1a.html
41464-1b.html
52019-1-ref.html
52019-1.html
82711-1-ref.html
82711-1.html
82711-2-ref.html
82711-2.html
468263-1a.html
468263-1b.html
468263-1c.html
468263-1d.html
468263-2-alternate-ref.html Bug 1196668 - Make images without alt generate a replaced box regardless of src. r=bz 2018-11-09 18:10:14 +01:00
468263-2-ref.html
468263-2.html
484200-1-ref.html
484200-1.html
485377-ref.html
485377.html
557840-ref.html
557840.html
560059-video-dimensions-ref.html
560059-video-dimensions.html
573322-no-quirks-ref.html
573322-no-quirks.html
573322-quirks-ref.html
573322-quirks.html
596455-1a.html
596455-1b.html
596455-2a.html
596455-2b.html
596455-ref-1.html
596455-ref-2.html
610935-ref.html
610935.html
649134-1.html
649134-2-ref.html
649134-2.html
649134-ref.html
741776-1-ref.html Bug 741776 - Treat JSON, WebVTT and AppCache manifests as UTF-8 when loaded as plain text. r=Ehsan 2016-06-09 14:29:30 +03:00
741776-1.vtt Bug 741776 - Treat JSON, WebVTT and AppCache manifests as UTF-8 when loaded as plain text. r=Ehsan 2016-06-09 14:29:30 +03:00
body-frame-margin-remove-other-pres-hint-ref.html Bug 1377861 - Update reftests to comply with new data: URI inheritance model. r=smaug 2017-07-07 11:27:36 +02:00
body-frame-margin-remove-other-pres-hint.html Bug 1377861 - Update reftests to comply with new data: URI inheritance model. r=smaug 2017-07-07 11:27:36 +02:00
body-topmargin-dynamic.html Bug 1341647 - stylo: Move HTMLBodyElement::WalkContentStyleRules to the mapped attr functionality; r=bz 2017-03-29 12:10:00 -07:00
body-topmargin-ref.html Bug 1341647 - stylo: Move HTMLBodyElement::WalkContentStyleRules to the mapped attr functionality; r=bz 2017-03-29 12:10:00 -07:00
bug448564-1_ideal.html
bug448564-1_malformed.html
bug448564-1_well-formed.html
bug448564-4a.html
bug448564-4b.html
bug448564_forms.css
bug502168-1_malformed.html
bug502168-1_well-formed.html
bug917595-1-ref.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
bug917595-exif-rotated.jpg
bug917595-iframe-1.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
bug917595-pixel-rotated.jpg
bug917595-unrotated.jpg
bug1106522-1.html
bug1106522-2.html
bug1106522-ref.html
bug1196784-no-srcset.html
bug1196784-with-srcset.html
bug1196784.png
bug1228601-video-rotated-ref.html Bug 1228601 - [Part3] Add reftest to check rotation by <video> and capture the result after playback ended; r=mattwoodrow 2016-05-30 11:00:23 +08:00
bug1228601-video-rotation-90.html Bug 1228601 - [Part3] Add reftest to check rotation by <video> and capture the result after playback ended; r=mattwoodrow 2016-05-30 11:00:23 +08:00
bug1512297-ref.html Bug 1512297 - Do not need to clear image broken state in BindToTree call; r=smaug 2018-12-20 13:59:34 +01:00
bug1512297.html Bug 1512297 - Do not need to clear image broken state in BindToTree call; r=smaug 2018-12-20 13:59:34 +01:00
figure-ref.html
figure.html
href-attr-change-restyles-ref.html
href-attr-change-restyles.html
image-load-shortcircuit-1.html Bug 1317901 - Ensure image loads don't short-circuit if element's adopting steps are run; r=jdm 2016-11-18 15:54:21 +08:00
image-load-shortcircuit-2.html Bug 1317901 - Ensure image loads don't short-circuit if element's adopting steps are run; r=jdm 2016-11-18 15:54:21 +08:00
image-load-shortcircuit-ref.html Bug 1307185 - Ensure image loads don't short-circuit if the element changed trees since the last load. r=echen 2016-10-04 13:50:33 -04:00
lime100x100.svg
pass.png
pre-1-ref.html
pre-1.html
red.png
reftest.list Bug 1512297 - Do not need to clear image broken state in BindToTree call; r=smaug 2018-12-20 13:59:34 +01:00
responsive-image-load-shortcircuit-ref.html
responsive-image-load-shortcircuit.html
table-border-1-ref.html
table-border-1.html
table-border-2-notref.html
table-border-2-ref.html
table-border-2.html
video_rotated.mp4 Bug 1228601 - [Part3] Add reftest to check rotation by <video> and capture the result after playback ended; r=mattwoodrow 2016-05-30 11:00:23 +08:00
video_rotation_90.mp4 Bug 1228601 - [Part3] Add reftest to check rotation by <video> and capture the result after playback ended; r=mattwoodrow 2016-05-30 11:00:23 +08:00