Bug 1515463 - MessageBroadcaster.getChildAt should be out-of-bounds safe. r=peterv, a=RyanVM
authorOlli Pettay <Olli.Pettay@helsinki.fi>
Thu, 03 Jan 2019 16:48:32 +0200
changeset 509327 5c4518a4eb1f7f32da81477d094872bfdf87d698
parent 509326 662cf99f3994de6e70e01b1df85bb78b94b7174c
child 509328 47a7517154c06dc94d13bdcd18daedeb90cc1c97
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspeterv, RyanVM
bugs1515463
milestone65.0
Bug 1515463 - MessageBroadcaster.getChildAt should be out-of-bounds safe. r=peterv, a=RyanVM
dom/chrome-webidl/MessageManager.webidl
--- a/dom/chrome-webidl/MessageManager.webidl
+++ b/dom/chrome-webidl/MessageManager.webidl
@@ -537,17 +537,17 @@ interface MessageBroadcaster : MessageLi
   /**
    * Number of subordinate message managers.
    */
   readonly attribute unsigned long childCount;
 
   /**
    * Return a single subordinate message manager.
    */
-  MessageListenerManager getChildAt(unsigned long aIndex);
+  MessageListenerManager? getChildAt(unsigned long aIndex);
 
   /**
    * Some processes are kept alive after their last tab/window are closed for testing
    * (see dom.ipc.keepProcessesAlive). This function releases those.
    */
    void releaseCachedProcesses();
 };