gecko-dev/toolkit
Luca Greco 68f1169aaf Bug 1403349 - Prevent WebNavigation jsm to leak the sourceTab browser on unpaired CreatedNavigationTarget messages. r=aswan
This applies the following changes:

- store a weak reference to the browser element in the WebNavigation.jsm Manager's map
  of pending CreatedNavigationTarget messages

- when a CreatedNavigationTarget message is received from a sourceTab
  for a created window that is not currently tracked in the map
  (e.g. it has been immediately closed), the message received from the sourceTab
  is not saved in the map of the pending CreatedNavigationTarget (and a message
  is logged in the console to make easier to investigate issues related to discarded
  CreatedNavigationTarget events).

- adds an additional assertion to the related test case to ensure that no CreatedNavigationTarget
  message is still pending in the WebNavigation/jsm's Manager.

MozReview-Commit-ID: FijQ8IqiY8L

--HG--
extra : rebase_source : 20e5c27ba18f7f05f9076db19091f1c1153a6c39
2017-09-27 19:07:41 +02:00
..
components Bug 1407967 - Fix comparison checks in lz4 tests incorrectly comparing arrays to themselves. r=Yoric 2017-10-12 12:23:03 +01:00
content Bug 1405311: Remove uses of :-moz-system-metric. r=xidorn,dao 2017-10-12 14:47:06 +02:00
crashreporter Bug 1405713 - Reorder sourcepath normalization to fix srcsrv. r=ted 2017-10-10 09:19:00 -04:00
forgetaboutsite
library No bug - Revendor rust dependencies. r=me 2017-10-12 18:20:31 +02:00
locales Bug 1395363 - Switch to webextension-langpacks. r=Pike 2017-10-06 15:15:39 -07:00
modules Bug 1403349 - Prevent WebNavigation jsm to leak the sourceTab browser on unpaired CreatedNavigationTarget messages. r=aswan 2017-09-27 19:07:41 +02:00
mozapps Bug 1406749 - Use member variables instead of global variables in ArchiveReader. r=rstrong 2017-10-08 06:51:02 -07:00
pluginproblem
profile Bug 1403668 - Use SA_ONSTACK for several SIGSEGV handlers. r=ted 2017-10-07 17:59:37 +02:00
system Bug 1402666 - Part 2: Replace Replace(NS_LITERAL_CSTRING("")) with ReplaceLiteral(""). r=erahm 2017-09-15 19:27:59 -07:00
themes Bug 1405311: Remove uses of :-moz-system-metric. r=xidorn,dao 2017-10-12 14:47:06 +02:00
xre Bug 1403868 (part 4) - Reduce tools/profiler/public/*.h to almost nothing in non-MOZ_GECKO_PROFILER builds. r=mstange. 2017-10-04 09:11:18 +11:00
.eslintrc.js
moz.build Bug 1328351 - annotate rest of testing and toolkit. r=gps 2017-09-13 05:19:00 -04:00
moz.configure Bug 1406081 - Make --enable-coverage flag available in JS shell. r=froydnj 2017-10-05 18:30:26 +02:00
nss.configure
toolkit.mozbuild Bug 1371065: Part 1 - Remove external references to the add-on SDK. r=Mossop,glandium 2017-09-12 11:54:47 -07:00