Closed
Bug 1224981
Opened 9 years ago
Closed 5 years ago
[e10s] Pretty printing and syntax highlight don't work if JS file causes 302-response-redirect (debugger doesn't get Content-Type)
Categories
(DevTools :: Debugger, defect)
DevTools
Debugger
Tracking
(firefox44 affected, firefox45 affected)
RESOLVED
INVALID
People
(Reporter: arni2033, Unassigned)
References
(Blocks 1 open bug, )
Details
User Story
>>> My Info: Win7_64, Nightly 49, 32bit, ID 20160526082509 STR_1: 1. Disallow 3rd-party cookies 2. Open url [1] 3. Open debugger, click button to prettify script. STR_2: 1. Open url [2] 2. Open debugger, click button to prettify script. STR_3: 1. Open url [3] 2. Open debugger, click button to prettify script. > [1] data:text/html,<script src="https://mc.yandex.ru/watch/723233?wmode=5&callback=_ymjsp600000000"></script> > [2] data:text/html,<script src="https://hangouts.google.com/webchat/host-js"></script> > [3] data:text/html,<script src="https://bugzilla.mozilla.org/attachment.cgi?id=8767369"></script> Notes: 1) IMO this happens because debugger doesn't understand Content-Type of file after 302 response and therefore runs into bug 1224654, which isn't e10s-specific. I think that you (team) should (1) consider fixing the mess regarding Content-Type (2) do that before fixing bug 1224654 2) If it turns out that e10s in general messes up Content-Type in case of 302 response from server, and its not a known bug, please use this bug report to work on that, if possible 3) Don't read comments 0-7. Well, you can read them to understand where I got this bug. Especially ignore comment 6 ("testcase 1"), which describes different bug. I'll report it soon ____
Attachments
(3 files, 1 obsolete file)
37.06 KB,
image/png
|
Details | |
screenshot 2 - [e10s] Pretty printing and syntax highlight don't work if JS file causes redirect.png
78.95 KB,
image/png
|
Details | |
39 bytes,
application/x-javascript
|
Details |
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Blocks: dbg-prettyprint
It appears to be e10s-only issue. It's presented since at least (2013-11-16)
status-firefox44:
--- → affected
tracking-e10s:
--- → ?
Summary: Pretty printing and syntax highlight don't work on some third-party JS if third-party cookies are forbidden → [e10s] Pretty printing and syntax highlight don't work on some third-party JS if third-party cookies are forbidden
Comment hidden (obsolete) |
Comment hidden (spam) |
Comment hidden (obsolete) |
Attachment #8688351 -
Attachment is obsolete: true
Comment hidden (obsolete) |
Comment hidden (spam) |
Blocks: 1224654
User Story: (updated)
Summary: [e10s] Pretty printing and syntax highlight don't work if JS file causes redirect → [e10s] Pretty printing and syntax highlight don't work if JS file causes 302-response-redirect (debugger doesn't get Content-Type)
Attachment #8688351 -
Attachment is obsolete: true
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•5 years ago
|
tracking-e10s:
+ → ---
Updated•5 years ago
|
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.