Closed
Bug 381467
Opened 18 years ago
Closed 4 years ago
[meta] Switch application/x-javascript to application/javascript
Categories
(Core :: General, defect)
Core
General
Tracking
()
RESOLVED
FIXED
People
(Reporter: sdwilsh, Assigned: sgautherie)
References
()
Details
(Keywords: meta)
Attachments
(7 files, 1 obsolete file)
32.40 KB,
patch
|
mayhemer
:
review+
|
Details | Diff | Splinter Review |
981 bytes,
patch
|
dbaron
:
review+
|
Details | Diff | Splinter Review |
1.65 KB,
patch
|
Biesinger
:
review+
|
Details | Diff | Splinter Review |
17.25 KB,
patch
|
dbaron
:
review-
|
Details | Diff | Splinter Review |
872 bytes,
patch
|
dbaron
:
review+
|
Details | Diff | Splinter Review |
3.37 KB,
patch
|
dbaron
:
review+
|
Details | Diff | Splinter Review |
5.17 KB,
patch
|
dbaron
:
review-
|
Details | Diff | Splinter Review |
For lack of a better product/component...
I'll be filing and fixing bugs for the various parts of our tree. We need to then fix http://lxr.mozilla.org/mozilla/source/content/xul/document/src/nsXULContentSink.cpp#1018 so that it's in a more sensible order.
Comment 1•18 years ago
|
||
Do we absolutely have to have multiple bugs/patches for this?
Comment 2•18 years ago
|
||
And for the reference - from bug 380250:
--- Comment #39 from Christian Biesinger (:bi) <cbiesinger@gmx.at> 2007-05-21 09:33:14 PDT ---
(In reply to comment #37)
> Is application/javascript preferred over application/x-javascript now? Why? The
> x-javascript version is the de-facto standard in moz code - see
application/javascript has been registered recentlyish,
http://www.rfc-editor.org/rfc/rfc4329.txt
Reporter | ||
Comment 3•18 years ago
|
||
(In reply to comment #1)
> Do we absolutely have to have multiple bugs/patches for this?
Well, mxr/lxr searches get too many results fast, so that's a big reason why I'm splitting it up. Also, it's easier to get reviewed with bugs in specific areas.
Reporter | ||
Comment 4•18 years ago
|
||
For clarification purposes, everything in our backend ought to be using the same thing, so we can fix nsXULContentSink.cpp such that it is optimized properly (right now it's application/x-javascript, but we have places in the code base that use application/javascript).
Reporter | ||
Comment 5•18 years ago
|
||
Assigning this to myself to keep it on my radar.
Assignee: nobody → comrade693+bmo
Assignee | ||
Updated•17 years ago
|
Assignee: sdwilsh → nobody
Product: Firefox → Core
QA Contact: general → general
Assignee | ||
Updated•17 years ago
|
Assignee | ||
Comment 6•17 years ago
|
||
Current status:
Found 537 matching lines in 211 files
Assignee | ||
Updated•16 years ago
|
Depends on: text-ecmascript
Assignee | ||
Comment 7•16 years ago
|
||
Used a tool to replace
|<script type="application/x-javascript"|
by
|<script type="application/javascript"|
"Found 71 matching lines in 27 files"
Assignee: nobody → sgautherie.bz
Status: NEW → ASSIGNED
Attachment #406012 -
Flags: review?(honzab.moz)
![]() |
||
Comment 8•16 years ago
|
||
Comment on attachment 406012 [details] [diff] [review]
(Av1) /security/manager/pki/*
[Checkin: Comment 9]
r=honzab
Attachment #406012 -
Flags: review?(honzab.moz) → review+
Assignee | ||
Comment 9•16 years ago
|
||
Comment on attachment 406012 [details] [diff] [review]
(Av1) /security/manager/pki/*
[Checkin: Comment 9]
http://hg.mozilla.org/mozilla-central/rev/3a42ae54a001
Attachment #406012 -
Attachment description: (Av1) /security/manager/pki/* → (Av1) /security/manager/pki/*
[Checkin: Comment 9]
Assignee | ||
Comment 10•16 years ago
|
||
Attachment #407409 -
Flags: review?(dbaron)
Attachment #407409 -
Flags: review?(dbaron) → review+
Comment on attachment 407409 [details] [diff] [review]
(Bv1) /tools/performance/*
[Checkin: Comment 12]
Was there a reason you prefer application/javascript to application/ecmascript or one of the other types?
Assignee | ||
Comment 12•16 years ago
|
||
Comment on attachment 407409 [details] [diff] [review]
(Bv1) /tools/performance/*
[Checkin: Comment 12]
http://hg.mozilla.org/mozilla-central/rev/6810cc6dc5db
(In reply to comment #11)
> Was there a reason you prefer application/javascript to application/ecmascript
> or one of the other types?
That was not my choice, but iiuc the rfc,
{
3. Deployed Scripting Media Types and Compatibility
The media types,
* application/javascript
* application/ecmascript
which are also defined in this document, are intended for common use
and should be used instead.
8.2. application/ecmascript
File extension(s): .es
}
and ecmascript is "normalized" whereas javascript has new versions...
Attachment #407409 -
Attachment description: (Bv1) /tools/performance/* → (Bv1) /tools/performance/*
[Checkin: Comment 12]
Assignee | ||
Comment 13•16 years ago
|
||
Attachment #413306 -
Flags: review?(cbiesinger)
Updated•16 years ago
|
Attachment #413306 -
Flags: review?(cbiesinger) → review+
Assignee | ||
Comment 14•16 years ago
|
||
Attachment #413329 -
Flags: review?(dbaron)
Comment on attachment 413329 [details] [diff] [review]
(Dv1) /layout/*, Fix some nits too
If you're going to do directory-wide cleanups for things like this, separate them by what you're cleaning up. It's not worth my time to review a mix of whitespace changes and all sorts of other things.
Attachment #413329 -
Flags: review?(dbaron) → review-
Attachment #415063 -
Flags: review?(dbaron) → review+
Assignee | ||
Updated•16 years ago
|
Keywords: checkin-needed
Whiteboard: [c-n: Cv1 to m-c after 'Firefox 3.6 RC code freeze']
Assignee | ||
Comment 17•16 years ago
|
||
Comment on attachment 415063 [details] [diff] [review]
(Ev1) /layout/base/crashtests/123946-1.html, EOL/whitespace fix (only)
[Checkin: Comment 17]
http://hg.mozilla.org/mozilla-central/rev/091a108677ad
Attachment #415063 -
Attachment description: (Ev1) /layout/base/crashtests/123946-1.html, EOL/whitespace fix (only) → (Ev1) /layout/base/crashtests/123946-1.html, EOL/whitespace fix (only)
[Checkin: Comment 17]
Comment on attachment 415068 [details] [diff] [review]
(Dv2) /layout/* and fix some related nits too
I think we want our tests to have the variation in types that reflects the real Web rather than making all of our tests switch to one thing. The non-test changes (i.e., layout/tools) look fine, though.
Attachment #415068 -
Flags: review?(dbaron) → review-
Assignee | ||
Comment 20•16 years ago
|
||
Per your comment 19.
Attachment #415068 -
Attachment is obsolete: true
Attachment #415875 -
Flags: review?(dbaron)
Assignee | ||
Comment 21•16 years ago
|
||
Comment on attachment 413306 [details] [diff] [review]
(Cv1) /docshell/resources/content/netError.xhtml
[Checkin: Comment 21]
http://hg.mozilla.org/mozilla-central/rev/2337f12e8e9c
Attachment #413306 -
Attachment description: (Cv1) /docshell/resources/content/netError.xhtml → (Cv1) /docshell/resources/content/netError.xhtml
[Checkin: Comment 21]
Assignee | ||
Updated•16 years ago
|
Keywords: checkin-needed
Whiteboard: [c-n: Cv1 to m-c after 'Firefox 3.6 RC code freeze']
Comment on attachment 415875 [details] [diff] [review]
(Dv3) /layout/tools/*
[Checkin: Comment 23]
r=dbaron, if you remove "and fix some related nits too." from the description of the patch
Attachment #415875 -
Flags: review?(dbaron) → review+
Assignee | ||
Comment 23•16 years ago
|
||
Comment on attachment 415875 [details] [diff] [review]
(Dv3) /layout/tools/*
[Checkin: Comment 23]
http://hg.mozilla.org/mozilla-central/rev/29224597307a
Attachment #415875 -
Attachment description: (Dv3) /layout/tools/* and fix some related nits too → (Dv3) /layout/tools/*
[Checkin: Comment 23]
Assignee | ||
Comment 24•16 years ago
|
||
Attachment #429994 -
Flags: review?(dbaron)
Comment on attachment 429994 [details] [diff] [review]
(Ev1) /layout/*, tests part
We should have a variety of approaches in our tests rather than switching everything to one, so we shouldn't do this.
Attachment #429994 -
Flags: review?(dbaron) → review-
Comment 26•4 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months.
:overholt, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee: bugzillamozillaorg_serge_20140323 → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(overholt)
Updated•4 years ago
|
Summary: Switch application/x-javascript to application/javascript → [meta] Switch application/x-javascript to application/javascript
Comment 27•4 years ago
|
||
Some patches landed here, so I think this can be marked fixed.
Assignee: nobody → bugzillamozillaorg_serge_20140323
Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(overholt)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•