Closed Bug 1129837 Opened 9 years ago Closed 9 years ago

Remove generatedLocation from BreakpointActor.

Categories

(DevTools :: Debugger, defect)

x86
macOS
defect
Not set
normal

Tracking

(firefox39 fixed)

RESOLVED FIXED
Firefox 39
Tracking Status
firefox39 --- fixed

People

(Reporter: ejpbruel, Assigned: ejpbruel)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch patch (obsolete) — Splinter Review
Now that BreakpointActors are stored in the BreakpointActorMap by original location we can remove the generated location from the BreakpointActor.

This patch is based on top of the one in bug 1129834.
Attachment #8559682 - Flags: review?(jlong)
Attachment #8559682 - Attachment is patch: true
Attachment #8559682 - Attachment mime type: text/x-patch → text/plain
I think we are still going to need this. In bug 1129834 you changed `_addScript` to run this original location through the source map, but we can't do that. I think we need to continue storing the generated location here so that we can access it on page load in `_addScript` and set it directly.
Comment on attachment 8559682 [details] [diff] [review]
patch

Review of attachment 8559682 [details] [diff] [review]:
-----------------------------------------------------------------

This is a cascading r- from bug 1129834
Attachment #8559682 - Flags: review?(jlong) → review-
Attached patch patchSplinter Review
Now that bug 1129834 has been resolved, this should be able to land as well. Here is a rebased patch.
Attachment #8559682 - Attachment is obsolete: true
Attachment #8568530 - Flags: review?(jlong)
Comment on attachment 8568530 [details] [diff] [review]
patch

Review of attachment 8568530 [details] [diff] [review]:
-----------------------------------------------------------------

No problems here
Attachment #8568530 - Flags: review?(jlong) → review+
Try push looks green, landing on fx-team:
https://hg.mozilla.org/integration/fx-team/rev/7230951c2c5b
https://hg.mozilla.org/mozilla-central/rev/7230951c2c5b
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 39
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: