Skip to content

Error while parsing trace of pages with spaces in hash  #30

@Kein1945

Description

@Kein1945

I have problem with correct function name detection on page http://localhost:3000/#test -some with trace generated on <button onclick="undefinedFunction()"></button>
Current stack:

error.stack
"ReferenceError: asd is not defined
    at HTMLButtonElement.onclick (http://localhost:3000/#test -some:7:32)"

Expected Behavior

file: "http://localhost:3000/#test -some"
name: "HTMLButtonElement.onclick"

Current Behavior

file:"-some"
name:"HTMLButtonElement.onclick (http://localhost:3000/#test"

Steps to Reproduce (for bugs)

add error handler and parser on simple page with address: http://localhost:3000/#test -some (space in hash)
and click on page on <button onclick="undefinedFunction()"></button>

Your Environment

Chrome 51.0.2704.79

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions