Closed
Bug 698935
Opened 13 years ago
Closed 13 years ago
Error in errStrayStartTag key of dom/chrome/layout/htmlparser.properties
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla10
People
(Reporter: rpmdisguise-nave, Assigned: rpmdisguise-nave)
References
()
Details
Attachments
(2 files, 1 obsolete file)
1.44 KB,
patch
|
hsivonen
:
review+
|
Details | Diff | Splinter Review |
2.46 KB,
patch
|
Pike
:
review+
|
Details | Diff | Splinter Review |
errStrayStartTag key of htmlparser.properties is: Stray end tag “%1$S”. instead of: Stray start tag “%1$S”. So, "end" -> "start". Patch provided.
Attachment #571178 -
Flags: review?(hsivonen)
Comment 1•13 years ago
|
||
Comment on attachment 571178 [details] [diff] [review] End vs. Start switch Good catch. Thanks.
Attachment #571178 -
Flags: review?(hsivonen) → review+
Comment 2•13 years ago
|
||
Ricardo, do you have access to land this patch yourself? If not, is it OK to use your bugzilla email in the patch author field?
Assignee | ||
Comment 3•13 years ago
|
||
(In reply to Henri Sivonen (:hsivonen) from comment #2) > Ricardo, do you have access to land this patch yourself? If not, is it OK to > use your bugzilla email in the patch author field? No, I don't have access, so I've set the checkin-needed keyword. Of course, it is OK to use my e-mail, so everybody can blame me if the Universe crash down after landing the patch. :-)
Keywords: checkin-needed
Comment 4•13 years ago
|
||
Thanks for the fix. Pushed to inbound: https://hg.mozilla.org/integration/mozilla-inbound/rev/df8fb0f7eb07
Keywords: checkin-needed
Comment 5•13 years ago
|
||
It has been suggested to me that the string key should be renamed even though the erroneous message had been for less than 24 hours on m-c. Axel, should the key be renamed? Here's a patch for renaming the key in case it needs to be renamed.
Attachment #571320 -
Flags: review?
Updated•13 years ago
|
Attachment #571320 -
Flags: review? → review?(l10n)
Comment 6•13 years ago
|
||
Comment on attachment 571320 [details] [diff] [review] Rename the key Hrm. errNoElementToCloseButEndTagSeen is also wrong, having %1$S in there twice, I guess we want to fix that, too. I'm unsure, does the suffix Bis carry any meaning?
Comment 7•13 years ago
|
||
(In reply to Axel Hecht [:Pike] from comment #6) > Comment on attachment 571320 [details] [diff] [review] [diff] [details] [review] > Rename the key > > Hrm. errNoElementToCloseButEndTagSeen is also wrong, having %1$S in there > twice, I guess we want to fix that, too. It's intentional that the message contains the same tag name twice. > I'm unsure, does the suffix Bis carry any meaning? Not beyond the first meaning listed at http://en.wikipedia.org/wiki/Bis I didn't want to use time to find out if digits are allowed in keys, so I didn't use errStartStrayTag2.
Comment 8•13 years ago
|
||
Comment on attachment 571320 [details] [diff] [review] Rename the key Review of attachment 571320 [details] [diff] [review]: ----------------------------------------------------------------- Our printf code suprises me often, is there a test that verifies that the multiple %1$S works? Just haven't seen that done before, so I'm cautious. Re the Bis, just use 2 as suffix, that is allowed and folks are used to it.
Attachment #571320 -
Flags: review?(l10n) → review-
Comment 9•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/df8fb0f7eb07 leaving open for the l10n fix
Target Milestone: --- → mozilla10
Updated•13 years ago
|
Assignee: nobody → rpmdisguise-otros
Comment 10•13 years ago
|
||
I don't think that landing patches in the middle of the solution is helpful, tbh. Now you're exposing the right string the wrong way.
Comment 11•13 years ago
|
||
Attachment #571320 -
Attachment is obsolete: true
Attachment #571918 -
Flags: review?(l10n)
Comment 12•13 years ago
|
||
Comment on attachment 571918 [details] [diff] [review] Rename the key, v2 Review of attachment 571918 [details] [diff] [review]: ----------------------------------------------------------------- r=me, thanks.
Attachment #571918 -
Flags: review?(l10n) → review+
Comment 13•13 years ago
|
||
Thanks. https://hg.mozilla.org/integration/mozilla-inbound/rev/936c243bf7fc
Comment 14•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/936c243bf7fc
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•