gecko-dev/dom
Jessica Jong 47209070af Bug 1385478 - Part 2: Change Required/IsRequired() to look at NS_EVENT_STATE_REQUIRED instead. r=bz
In order to speed up Required/IsRequired(), instead of querying for the
@required attribute, we're now using the NS_EVENT_STATE_REQUIRED flag to know
whether an element's value is required.

For this to work correctly, we need to set NS_EVENT_STATE_REQUIRED earlier,
that is, in AfterSetAttr(), before any consumer of IsRequired(). We also need
to update or clear our required states when input type changes, since we may
have changed from a required input type to a non-required input type or
vice versa.

Note that NS_EVENT_STATE_REQUIRED/OPTIONAL is now part of the
EXTERNALLY_MANAGED_STATES.

MozReview-Commit-ID: Bjiby9GqJSB
2017-08-03 01:27:00 -04:00
..
animation Bug 1383998 - Enable dom/animation/test/css-transitions/test_element-get-animations.html. r=heycam 2017-08-02 11:54:04 +08:00
asmjscache
audiochannel Bug 1384835 (part 3, attempt 2) - Remove the Preferences::Get*CString() variants that return nsAdoptingCString. r=froydnj. 2017-07-31 14:28:48 +10:00
base Bug 1385478 - Part 1: Use IsRequired/Required() to get the current required state. r=bz 2017-08-03 01:23:00 -04:00
battery
bindings Bug 1382955 (part 1) - Remove MozPowerManager and related things. r=bz,gsvelto. 2017-08-02 10:04:36 +10:00
broadcastchannel
browser-element Bug 1331680 - Part 4: Tests for document.cookie behaving synchronously and reflecting changes from the parent process. r=jdm 2017-08-03 19:02:06 +08:00
cache Bug 1350958 - Finish labeling ProxyReleaseEvent, r=billm 2017-07-14 08:49:22 +02:00
canvas Bug 1379920 - Introduce CanvasRenderer and its derived classes. r=nical,jrmuizel 2017-08-03 13:55:14 +08:00
commandhandler
console Bug 1382563 - Remove ns*String::AssignWithConversion. r=erahm. 2017-07-24 19:23:52 +02:00
credentialmanagement Bug 1384307 - Set WebAuthn PublicKeyCredential's "id" and "type" fields r=keeler 2017-07-25 15:03:59 -07:00
crypto
encoding Bug 1384835 (part 3, attempt 2) - Remove the Preferences::Get*CString() variants that return nsAdoptingCString. r=froydnj. 2017-07-31 14:28:48 +10:00
events Bug 1385478 - Part 2: Change Required/IsRequired() to look at NS_EVENT_STATE_REQUIRED instead. r=bz 2017-08-03 01:27:00 -04:00
fetch Bug 1379631 - Turn off OMT delivery for FetchDriver until bug 1380255 lands. The fix for this bug makes some test fail because of FetchDriver. r=mayhemer 2017-08-01 15:05:51 -04:00
file Bug 1382172 - Name nsITimerCallback instances in native implementation. r=billm 2017-07-27 02:18:20 +08:00
filehandle
filesystem Bug 1350958 - Finish labeling ProxyReleaseEvent, r=billm 2017-07-14 08:49:22 +02:00
flyweb Bug 1382172 - Name nsITimerCallback instances in native implementation. r=billm 2017-07-27 02:18:20 +08:00
gamepad Bug 1352410 - Add a preference to enable or disable haptic feedback for gamepads; r=Lenzak 2017-07-27 17:55:16 +08:00
geolocation Bug 1382172 - Name nsITimerCallback instances in native implementation. r=billm 2017-07-27 02:18:20 +08:00
grid
html Bug 1385478 - Part 2: Change Required/IsRequired() to look at NS_EVENT_STATE_REQUIRED instead. r=bz 2017-08-03 01:27:00 -04:00
imptests
indexedDB Bug 1384835 (part 3, attempt 2) - Remove the Preferences::Get*CString() variants that return nsAdoptingCString. r=froydnj. 2017-07-31 14:28:48 +10:00
interfaces Backed out changeset 46d1fa12a082 (bug 1383367) for failing browser_windowopen_reflows.js after merge, especially on OS X. r=backout a=backout 2017-07-30 14:08:38 +02:00
ipc Bug 1331680 - Part 3: Broadcast cookie changes to all content processes. r=jdm 2017-08-03 18:00:12 +08:00
json
jsurl Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu 2017-07-29 20:50:21 +09:00
locales Bug 1331351: Block toplevel window data: URI navigations. r=smaug,francois 2017-07-24 18:51:21 +02:00
manifest
mathml Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
media merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-03 12:17:50 +02:00
messagechannel Bug 1378930 - Part 2: Remove the aName parameter from SchedulerGroup/DocGroup/DispatcherTrait. r=billm 2017-07-26 16:13:35 +08:00
network Bug 1382099 - Remove MOZ_WIDGET_GONK from several dom/ subdirectories. r=mccr8,jdm. 2017-07-21 10:52:44 +10:00
notification Bug 1378930 - Part 2: Remove the aName parameter from SchedulerGroup/DocGroup/DispatcherTrait. r=billm 2017-07-26 16:13:35 +08:00
offline Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
payments Bug 1379892 - Reject PaymentRequest.show() with AbortError DOMException if a request is showing. r=baku 2017-07-25 15:39:39 +08:00
performance Bug 1382768 - Performance API must be a memory reporter, r=bz 2017-07-27 09:05:51 +02:00
permission
plugins merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-07-31 11:28:37 +02:00
power Bug 1382955 (part 2) - Remove nsIPowerManagerService::{powerOff,reboot,restart} and related things. r=gsvelto. 2017-08-02 10:09:26 +10:00
presentation Bug 1384835 (part 3, attempt 2) - Remove the Preferences::Get*CString() variants that return nsAdoptingCString. r=froydnj. 2017-07-31 14:28:48 +10:00
promise Bug 1378930 - Part 2: Remove the aName parameter from SchedulerGroup/DocGroup/DispatcherTrait. r=billm 2017-07-26 16:13:35 +08:00
push Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu 2017-07-29 20:50:21 +09:00
quota Bug 1370701 - Part 2: Null out the private window, r=btseng 2017-07-18 15:31:03 +08:00
res
script Bug 1053321 - Correctly pass info about 'defer' and 'async' attributes to HTML5 parser invoked script preload. r=bkelly 2017-08-01 21:21:09 +02:00
secureelement
security Bug 1386183 - Test Meta CSP on data: URI iframe to be merged with CSP from including context. r=dveditz 2017-08-03 10:52:27 +02:00
smil Bug 1384769 - Skip two smil tests due to crashes until bug 1385089 is sorted out. r=me 2017-07-27 17:49:46 -07:00
storage Bug 1385413 - Remove thread parameter from onDispatchedEvent (r=erahm) 2017-07-28 13:09:06 -07:00
svg Bug 1384835 (part 2, attempt 2) - Remove the Preferences::Get*String() variants that return nsAdoptingString. r=froydnj. 2017-07-31 14:23:50 +10:00
system Bug 1382099 - Remove MOZ_WIDGET_GONK from several dom/ subdirectories. r=mccr8,jdm. 2017-07-21 10:52:44 +10:00
tests Bug 1385818 - Convert dom/tests/mochitest/chrome/test_popup_blocker_chrome.xul to comply with new data: URI inheritance model. r=smaug 2017-08-03 10:53:42 +02:00
time Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
u2f Bug 1384233 - Remove SizePrintfMacros.h. r=froydnj 2017-07-26 16:03:57 -04:00
url Bug 1379113 - Deleting non-existing URL query parameters should remove ?, r=qdot 2017-07-19 09:12:41 +02:00
vr Bug 1382438 - Part 2: Replace vr controller displayId test with gamepadbuttondown event; r=kip 2017-07-27 11:25:45 +08:00
webauthn Bug 1385313 - Use MozPromiseRequestHolders in U2FTokenManager r=jcj 2017-07-28 17:11:03 +02:00
webbrowserpersist Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu 2017-07-29 20:50:21 +09:00
webidl Bug 1382955 (part 1) - Remove MozPowerManager and related things. r=bz,gsvelto. 2017-08-02 10:04:36 +10:00
workers Bug 1283609 - Part 2: Rename BackgroundChild::SynchronouslyCreateForCurrentThread to BackgroundChild::GetOrCreateForCurrentThread; r=billm 2017-08-03 11:21:53 +02:00
worklet
xbl Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu 2017-07-29 20:50:21 +09:00
xhr Backed out changeset 6ed95396bdb6 (bug 1362354) for failing web-platform-test /html/browsers/browsing-the-web/navigating-across-documents/010.html. r=backout 2017-07-27 12:48:45 +02:00
xml Bug 1279218 - Additional applet tag logic removal; r=bz 2017-07-28 16:44:39 -07:00
xslt Bug 1279218 - Additional applet tag logic removal; r=bz 2017-07-28 16:44:39 -07:00
xul Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu 2017-07-29 20:50:21 +09:00
jar.mn
moz.build Bug 1381916 - Remove support for plugins on Android r=jchen,bsmedberg 2017-07-31 12:25:16 -05:00