Closed Bug 915462 Opened 11 years ago Closed 4 years ago

[jsdbg2] Add Debugger.Source.prototype.contentType

Categories

(Core :: JavaScript Engine, defect)

25 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: fitzgen, Unassigned)

Details

When getting source text, we want to know what the content type of the source is. Usually it is "text/javascript" or "application/x-javascript" or what have you, but sometimes the source is actually embedded in an HTML file, at which point it would be helptul to have a content type of "text/html" or "application/html" or whatever.
Assignee: general → nobody

The need for this right now isn't clear so going to close.

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