[Webkit-unassigned] [Bug 140276] New: Web Inspector: Phantom breakpoint appears on empty line after reload of minified file with a breakpoint

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 8 18:00:41 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=140276

            Bug ID: 140276
           Summary: Web Inspector: Phantom breakpoint appears on empty
                    line after reload of minified file with a breakpoint
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: joepeck at webkit.org
                CC: graouts at webkit.org, joepeck at webkit.org,
                    jonowells at apple.com, mattbaker at apple.com,
                    msaboff at apple.com, nvasilyev at apple.com,
                    timothy at apple.com, webkit-bug-importer at group.apple.com

Created attachment 244311
  --> https://bugs.webkit.org/attachment.cgi?id=244311&action=review
[PATCH] Reduction

* SUMMARY
Phantom breakpoint appears on empty line after reload of minified file with a breakpoint.

* STEPS TO REPRODUCE
1. Inspect attached test case
2. Select resource "foo.min.js"
3. Pretty print the resource
4. Set a breakpoint on line 6 (console.log("test"))
5. Reload the page
  => in "foo.min.js" there are now 2 breakpoints, 1 is a phantom

* NOTES
- There appears to be some significance that the minified file has a newline at the end. Removing the newline didn't cause the phantom to appear.
- After steps, removing and resetting a breakpoint has further issues. There may be yet another bug here.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150109/8f70bab6/attachment-0002.html>


More information about the webkit-unassigned mailing list