gecko-dev/layout
Emilio Cobos Álvarez ff890f406e Bug 1579788 - Don't update validity state when the JS engine fails to execute the pattern. r=smaug
When we call nsContentUtils::IsPatternMatching, we swallow JS engine errors
unconditionally returning true.

This is bad, because if it happens in one of the value sets that arguably
shouldn't change the state of the element, we end up returning an arbitrary
value (true) which may or may not match the previous state of the element.

Handle error explicitly instead, by not updating the state.

Differential Revision: https://phabricator.services.mozilla.com/D45727

--HG--
extra : moz-landing-system : lando
2019-09-16 10:11:42 +00:00
..
base Bug 1579788 - Don't update validity state when the JS engine fails to execute the pattern. r=smaug 2019-09-16 10:11:42 +00:00
build Backed out changeset 82faf6a9be50 (bug 1578133) for failure increase in Bug 1352715 2019-09-13 19:51:01 +03:00
doc Bug 1544343 - part 3: Make layout use mozilla::PresShell instead of nsIPresShell as far as possible r=emilio 2019-04-16 07:25:10 +00:00
forms Bug 1574493 - Part 3. Stop rounding rects/clips during display list building. r=jrmuizel 2019-09-14 16:17:04 +00:00
generic Bug 1577859 - Additional post container scrolling removal cleanup in Layout code. r=tnikkel 2019-09-15 21:51:41 +00:00
inspector Bug 713106: Add test for InspectorUtils. r=emilio 2019-09-13 22:12:38 +00:00
ipc Bug 1556548 - Rename RenderFrame to RemoteLayerTreeOwner. r=mattwoodrow 2019-06-02 13:51:33 -04:00
mathml Bug 1579602 - Rename nsMathMLElement to dom::MathMLElement. r=bzbarsky 2019-09-13 16:27:54 +00:00
media
painting Bug 1577859 - Additional post container scrolling removal cleanup in Layout code. r=tnikkel 2019-09-15 21:51:41 +00:00
printing Bug 1577711 - Part 2: Perform frame static clone after parent static clone, r=smaug 2019-09-05 14:55:19 +00:00
reftests Merge autoland to mozilla-central. a=merge 2019-09-16 11:16:05 +03:00
style Bug 1579788 - Don't update validity state when the JS engine fails to execute the pattern. r=smaug 2019-09-16 10:11:42 +00:00
svg Bug 1581399 - Remove useless rule in svg.css. r=longsonr 2019-09-15 17:39:12 +00:00
tables Bug 1574493 - Part 3. Stop rounding rects/clips during display list building. r=jrmuizel 2019-09-14 16:17:04 +00:00
tools Bug 1567642 - [reftest] Fix flake8 under Python 3 lint issues r=gbrown 2019-09-10 19:15:30 +00:00
xul Bug 1574493 - Part 3. Stop rounding rects/clips during display list building. r=jrmuizel 2019-09-14 16:17:04 +00:00
moz.build