summaryrefslogtreecommitdiffstats
path: root/devtools/client/debugger/src/utils/pause/frames/getFrameUrl.js
blob: 6a151e14f7dde8388919f828790e95829181eaae (plain)
1
2
3
4
5
6
7
8
9
10
11
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */

// @flow

import type { Frame } from "../../../types";

export function getFrameUrl(frame: Frame) {
  return frame?.source?.url ?? "";
}