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)

defect
Not set
normal

Tracking

(firefox44 affected, firefox45 affected)

RESOLVED INVALID
Tracking Status
firefox44 --- affected
firefox45 --- affected

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)

It appears to be e10s-only issue. It's presented since at least (2013-11-16)
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
Attachment #8688351 - Attachment is obsolete: true
See Also: → 1249022
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
See Also: → 1258830
Product: Firefox → DevTools
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.

Attachment

General

Creator:
Created:
Updated:
Size: