8000 8000
Skip to content

Address "unsafe CPOW usage" warnings #2151

@arantius

Description

@arantius

I'm seeing them now for:

Line 266 and 270 of browser.js, in:

function GM_showPopup(aEvent) {
  function urlsOfAllFrames(contentWindow) {
    var urls = [contentWindow.location.href];
    function collect(contentWindow) {
      urls = urls.concat(urlsOfAllFrames(contentWindow));
    }

6947
    Array.prototype.slice.call(contentWindow.frames).forEach(collect);
    return urls;
  }

The var urls = ... and the Array.prototype.slice... lines. Line 17, 23, and 28 of windowId.js.

Maybe others I haven't noticed yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0