Skip to content

Commit

Permalink
Add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
philc committed May 9, 2016
1 parent d00cc69 commit 25587a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion background_scripts/main.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ Frames =
unregisterFrame: ({tabId, frameId}) ->
# FrameId 0 is the top/main frame. We never unregister that frame. If the tab is closing, then we tidy
# up elsewhere. If the tab is navigating to a new page, then a new top frame will be along soon.
# This mitigates against the unregister and register messages arriving in the "wrong" order.
# This mitigates against the unregister and register messages arriving out of order. See #2125.
if 0 < frameId
if tabId of frameIdsForTab
frameIdsForTab[tabId] = (fId for fId in frameIdsForTab[tabId] when fId != frameId)
Expand Down

0 comments on commit 25587a5

Please sign in to comment.