Closed Bug 1425300 Opened 8 years ago Closed 6 years ago

cant debug with get params

Categories

(DevTools :: Debugger, defect, P1)

58 Branch
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nextor, Assigned: bhackett1024)

References

(Blocks 1 open bug)

Details

(Whiteboard: [debugger-reserve])

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0 Build ID: 20171211020921 Steps to reproduce: Debug a page with different response content when a GET param is present example if http://example.com/index?var=xxxx and http://example.com/index response content differs Actual results: When visit page with url http://example.com/index?var=xxxx Show code for http://example.com/index Expected results: if you visit http://example.com/index in debuger must shows the code for http://example.com/index when you visit http://example.com/index?someParam=xxxx debugger must shows the code for http://example.com/index?someParam=xxxx
I don't see a bug here (yet). One page title is "ShuttleWizard.com :: Reservation2", the other is "Administration - Login". Hence different pages delivered. If it's not different pages delivered then please provide a public testcase. Thanks!
Flags: needinfo?(nextor)
thats the bug. Debugger show same code for urls with diferent GET params https://links.nextor.mx/test/?xx=0 shows alert with hello https://links.nextor.mx/test/?xx=1 Show alert with there https://links.nextor.mx/test/?xx=0 on inspector shows code for hello https://links.nextor.mx/test/?xx=1 on inspector shows code for there https://links.nextor.mx/test/?xx=0 on debuger shows code for hello https://links.nextor.mx/test/?xx=1 on debugger shows code for hello I was able to resume my work by disabling the cache, even though I think it is a minor bug
Flags: needinfo?(nextor)
(In reply to Andre Klapper from comment #1) > I don't see a bug here (yet). One page title is "ShuttleWizard.com :: > Reservation2", the other is "Administration - Login". > Hence different pages delivered. If it's not different pages delivered then > please provide a public testcase. Thanks! thats the bug. "Debugger shows same code for urls with diferent GET params" another point of view is "Debugger shows different code in Inspector and debugger for the same page" when you already visit previous page with diferent GET params if you are debuggin you can't see the current code that is in the runtime In the zip the two images correspond to the same page, in inspector and in debugger the code must be the same, but differs. In the second post i made a test case. the screenshot shows the diference between the runtime and the code displayed in debugger for simple pages disabling cache fix my problem but for complex pages my problem persist.
Component: Untriaged → Developer Tools: Debugger
Product: Firefox → DevTools
Blocks: dbg-sources
Priority: -- → P1

Thanks for the clear example. This fails for me as well.

Brian, could you investigate this? I think we've seen similar reports to this one, but this has the clearest STR I've seen.

Flags: needinfo?(bhackett1024)

Brian, assigning you for planning purposes. Feel free to pass it back.

Assignee: nobody → bhackett1024
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Status: ASSIGNED → NEW

Sylvester, we're using the status field to track whether something is in progress

(In reply to Jason Laster [:jlast] from comment #5)

Brian, could you investigate this? I think we've seen similar reports to this one, but this has the clearest STR I've seen.

The links in comment 2 don't work anymore, unfortunately. This sounds like a problem with fetch() returning the wrong results, in which case it would be a similar problem to bug 1375036. The analysis in comment 16 of that bug should apply here as well.

Flags: needinfo?(bhackett1024)

I agree with your assessment that this should be fixed via bug 1375036.

Did you try comment 2?

These two links for me when the cache was disabled via the net monitor
https://links.nextor.mx/test/?xx=0
https://links.nextor.mx/test/?xx=1

It seems like a good test case

Blocks: dbg-70
Whiteboard: [debugger-mvp]
Whiteboard: [debugger-mvp] → [debugger-reserve]

This was fixed via bug 1538056.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: