gecko-dev/dom
Alex Chronopoulos ae8562694f Bug 1482150 - Create a unit test to verify all corner cases of the helper method. r=padenot
Quering the stored devices list for an ID was not always correct. The stored devices list is expected to be empty before an enumeration takes place or after a collection change notification. In those cases, the method will fail to find an existing ID. The method has been updated to address these cases in previous patch. Here I have implemented a unit test to verify the case. Currently, the method is not being used.

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

--HG--
extra : moz-landing-system : lando
2018-11-08 12:33:41 +00:00
..
abort Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop 2018-10-24 19:11:17 +00:00
animation Bug 1479173 - Check animation generation change in the mProperties loop and drop LayerAnimationInfo::sRecords loop. r=birtles 2018-11-06 21:02:18 +00:00
asmjscache Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop 2018-10-24 19:11:17 +00:00
audiochannel Bug 1503207 - Remove nsWeakPtr.h and cleanup all files including weak reference-related headers r=froydnj 2018-10-31 20:39:03 +00:00
base Merge mozilla-central to inbound 2018-11-07 23:56:03 +02:00
battery Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop 2018-10-24 19:11:17 +00:00
bindings Bug 1505504. Improve the error message when two WebIDL callbacks are defined with the same name. r=qdot 2018-11-07 14:06:05 -05:00
broadcastchannel Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop 2018-10-24 19:11:17 +00:00
browser-element Bug 1503655 part 10 - Remove unneeded includes for RenderFrameParent. r=kats 2018-11-06 15:34:59 -06:00
cache Bug 1486698 - Update Fetch+Stream implementation to throw when the stream is disturbed or locked, r=bz 2018-10-31 18:30:18 +01:00
canvas Bug 1503082 - Clear CanvasShutdownObserver::mCanvas when the canvas goes away. r=nical 2018-11-05 21:35:44 -05:00
chrome-webidl Bug 1482091: Part 1 - Add native TelemetryStopwatch implementation. r=chutten,mccr8 2018-10-26 13:17:55 -07:00
clients Bug 1492648 - Move from nsDocShellLoadInfo to nsDocShellLoadState; r=bz, nika 2018-10-29 17:13:29 -07:00
commandhandler Bug 1503207 - Remove nsWeakPtr.h and cleanup all files including weak reference-related headers r=froydnj 2018-10-31 20:39:03 +00:00
console Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop 2018-10-24 19:11:17 +00:00
credentialmanagement Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop 2018-10-19 12:55:39 +00:00
crypto Bug 1500759 - Root parameter dictionaries in AesTask::Init() r=keeler a=abillings 2018-11-07 11:12:49 +00:00
encoding Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop 2018-10-24 19:11:17 +00:00
events Bug 1502795 - Set keyCode or charCode of keypress event whose value is zero to the other's non-zero value by default again unless dispatched on known broken web apps r=smaug 2018-11-07 06:39:10 +00:00
fetch Bug 1500879 - Fetch should not consume Request/Response with null-body, r=asuth 2018-11-06 14:48:07 +01:00
file Backed out changeset 6babd3b956aa (bug 1502403) for wpt leak at mozilla::dom::FileReader::ReadFileContent 2018-10-30 12:50:37 +02:00
filehandle
filesystem
flex Bug 1498273 Part 4: Add tests of FlexItem clampState. r=dholbert 2018-10-25 00:14:40 +00:00
gamepad
geolocation Bug 1503207 - Remove nsWeakPtr.h and cleanup all files including weak reference-related headers r=froydnj 2018-10-31 20:39:03 +00:00
grid
html Merge inbound to mozilla-central a=merge 2018-11-07 23:51:27 +02:00
imptests
indexedDB Bug 1467712 - Fix leftover calls to ok() with 3 args in ipc and indexedDB;r=test-only 2018-11-01 17:42:48 +01:00
interfaces Merge inbound to mozilla-central. a=merge 2018-11-06 11:57:49 +02:00
ipc Merge mozilla-central to mozilla-inbound. CLOSED TREE 2018-11-07 11:59:33 +02:00
jsurl Bug 1498510 - Move nsICSPEventListener out of CSP object, r=ckerschb 2018-10-23 08:17:13 +02:00
locales Bug 1504946 - Deprecate moz-prefixed fullscreen API, r=smaug 2018-11-06 13:36:13 +01:00
manifest Bug 1499096 - Use ok() with 2 arguments instead of 3 when possible;r=Standard8 2018-10-23 07:13:35 +00:00
mathml
media Bug 1482150 - Create a unit test to verify all corner cases of the helper method. r=padenot 2018-11-08 12:33:41 +00:00
messagechannel Bug 1499096 - Update tests using ok() to is();r=Standard8 2018-10-23 07:12:23 +00:00
midi Bug 1503207 - Remove nsWeakPtr.h and cleanup all files including weak reference-related headers r=froydnj 2018-10-31 20:39:03 +00:00
network Bug 1504439 - Remove the XPCOM registration for "@mozilla.org/udp-socket-child;1" r=valentin 2018-11-04 19:14:08 +00:00
notification Bug 1502747 - Remove nsIContentPermissionType.access and all of its supporting code r=snorp,baku 2018-10-30 07:48:55 +00:00
offline
payments Bug 1504046 - Typo in tests "reqeustPayerPhone" should be "requestPayerPhone". r=edenchuang 2018-11-04 21:24:19 +00:00
performance Bug 1417976 - Part 2: Include DocShell IDs to marker payloads r=mstange 2018-11-06 21:45:50 +00:00
permission
plugins Bug 1504605 - Add Prefs to xpcshell test files for allowing usage of eval. r=ckerschb 2018-11-05 16:41:45 +02:00
power
presentation Bug 1503207 - Remove nsWeakPtr.h and cleanup all files including weak reference-related headers r=froydnj 2018-10-31 20:39:03 +00:00
prio Bug 1501784 - throw if the limit of booleans Prio can encode in one batch is exceeded r=hsivonen 2018-10-29 10:31:26 +00:00
promise
push Bug 1502747 - Remove nsIContentPermissionType.access and all of its supporting code r=snorp,baku 2018-10-30 07:48:55 +00:00
quota Bug 1459603 - Remove the checkbox from the persistent storage notification. r=johannh 2018-11-02 08:15:05 +00:00
res
script Merge inbound to mozilla-central. a=merge 2018-11-06 11:57:49 +02:00
security Bug 1467712 - Simplify calls to ok to use only 2 arguments;r=Standard8 2018-11-01 13:48:48 +00:00
serviceworkers Bug 1486698 - Update Fetch+Stream implementation to throw when the stream is disturbed or locked, r=bz 2018-10-31 18:30:18 +01:00
simpledb
smil Bug 1499096 - Update tests using ok() to is();r=Standard8 2018-10-23 07:12:23 +00:00
storage Bug 1503468 - Add more AUTO_PROFILER_THREAD_SLEEP's - r=mstange 2018-11-02 16:26:50 +00:00
svg Bug 1467712 - Simplify calls to ok to use only 2 arguments;r=Standard8 2018-11-01 13:48:48 +00:00
system Bug 1388134 - Move some OS.Constants.Path members to lazy init r=baku 2018-10-17 17:36:04 +00:00
tests Bug 1389628 - Part 2: Enable Streams API by default. r=baku,tcampbell 2018-11-07 17:02:02 +00:00
u2f
url Bug 1500962 - Test for URL.toJSON(), r=qdot 2018-10-30 07:54:57 +01:00
vr Bug 1501869 - Part 2: Stop calling VR tasks when they are at background. r=kip 2018-10-28 22:49:15 +00:00
webauthn Merge mozilla-inbound to mozilla-central. a=merge 2018-11-02 00:27:53 +02:00
webbrowserpersist Bug 1504574 - Remove the XPCOM registration for nsDocumentEncoder; r=mccr8 2018-11-05 23:16:04 -05:00
webgpu
webidl Bug 1504982 - Add AutomationRate webidl definition. r=baku 2018-11-07 08:04:41 +00:00
websocket
workers Bug 1389628 - Part 2: Enable Streams API by default. r=baku,tcampbell 2018-11-07 17:02:02 +00:00
worklet Bug 1503236 - Move WorkletImpl reference from WorkletGlobalScope to classes inheriting WorkletGlobalScope r=karlt 2018-10-31 23:03:39 +00:00
xbl Bug 1426492 - Add an assertion to limit XBL bindings in the content process r=NeilDeakin 2018-11-03 11:11:31 +00:00
xhr Backed out 10 changesets (bug 1501044, bug 1472212) for fetch-destination.https.html perma failure CLOSED TREE 2018-10-30 23:31:10 +02:00
xml Bug 1494745 part 4 - Make Loader::AddObserver void since it's infallible. r=bz 2018-10-14 18:12:23 +02:00
xslt Backed out changeset cb84a3ed7bdd (bug 1504557) for nsErrorService leakcheck failures CLOSED TREE 2018-11-05 05:17:40 +02:00
xul Bug 1490464 - Fix XUL attribute persistence for browser.xhtml. r=smaug 2018-11-06 21:45:20 +00:00
jar.mn
moz.build