Closed Bug 1003273 Opened 10 years ago Closed 4 years ago

Fix typo in HTML parser error message

Categories

(Core :: DOM: HTML Parser, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: sideshowbarker, Assigned: sideshowbarker)

References

Details

Attachments

(3 files)

Comment on attachment 8414590 [details] [diff] [review]
patch.TreeBuilder.table-error-message

Do I also need to do here what you described over in bug 1077211? That is, revise the string for errNonSpaceInTable accordingly and mint a new key for it, e.g. errNonSpaceInTable2?
Attachment #8414590 - Flags: review?(hsivonen)
Comment on attachment 8414590 [details] [diff] [review]
patch.TreeBuilder.table-error-message

(In reply to Michael[tm] Smith from comment #2)
> Comment on attachment 8414590 [details] [diff] [review]
> patch.TreeBuilder.table-error-message

r+ for the Java part.

> Do I also need to do here what you described over in bug 1077211? That is,
> revise the string for errNonSpaceInTable accordingly and mint a new key for
> it, e.g. errNonSpaceInTable2?

Yes, that's needed to keep Gecko in sync.
Attachment #8414590 - Flags: review?(hsivonen) → review+
Comment on attachment 8414590 [details] [diff] [review]
patch.TreeBuilder.table-error-message

pretty straight-forward fix of a spelling error.
Summary: Fix typo in HTML parser error message: "insided" -> "inside" → Fix typo in HTML parser error message
Note that dom/locales/en-US/chrome/layout/htmlparser.properties already has this change, from https://bugzilla.mozilla.org/show_bug.cgi?id=698866
Attachment #8591732 - Flags: review?(hsivonen)
See Also: → 698866
(In reply to Henri Sivonen (:hsivonen) from comment #3)
> (In reply to Michael[tm] Smith from comment #2)
> > Do I also need to do here what you described over in bug 1077211? That is,
> > revise the string for errNonSpaceInTable accordingly and mint a new key for
> > it, e.g. errNonSpaceInTable2?
> 
> Yes, that's needed to keep Gecko in sync.

It seems there's no change needed at this point to the C++ code or the dom/locales/en-US/chrome/layout/htmlparser.properties since those were already fixed in bug 698866
Attachment #8591732 - Flags: review?(hsivonen) → review+
Status: UNCONFIRMED → NEW
Ever confirmed: true

Another patch I've failed to land. :-( Sorry.

Assignee: nobody → hsivonen
Status: NEW → ASSIGNED
Pushed by hsivonen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/00f0f2503c02
Fix "non-space characters insided a table" typo. DONTBUILD NPOTB r=alchen
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
Assignee: hsivonen → mike
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: