Closed Bug 946647 Opened 12 years ago Closed 12 years ago

Remove bidi attributes in nsIMarkupDocumentViewer as dead code

Categories

(Core :: Internationalization, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla29

People

(Reporter: hsivonen, Assigned: hsivonen)

Details

(Keywords: addon-compat, Whiteboard: [qa-])

Attachments

(1 file)

Except it's used by this extension: https://addons.mozilla.org/en-US/firefox/addon/toolbar-buttons/ . Sigh. I wonder if that button in the button pack actually has users.
Attached patch Zap the codeSplinter Review
Anyway, here's a patch.
Comment on attachment 8343007 [details] [diff] [review] Zap the code Requesting review anyway, since the add-on probably shouldn't be offering a directionality change button for all pages. The only use case is flipping between ISO-8859-8-I and ISO-8859-8, which the add-on could do via nsIDocShell::charset.
Attachment #8343007 - Flags: review?(smontagu)
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
> Requesting review anyway, since the add-on probably shouldn't be offering a > directionality change button for all pages. The only use case is flipping > between ISO-8859-8-I and ISO-8859-8, which the add-on could do via > nsIDocShell::charset. FWIW, that would be the use case of a button which toggled bidiTextType, not bidiTextDirection. I haven't tested, but I imagine that the add-on has already been broken by bug 151407. To fix it, it probably needs to do something similar to SwitchDocumentDirection in browser.js.
Comment on attachment 8343007 [details] [diff] [review] Zap the code Review of attachment 8343007 [details] [diff] [review]: ----------------------------------------------------------------- In fact this is orthogonal to bug 867936, even though the patches overlap. Removing it doesn't affect the functionality of the prefs as far as I can tell. Thanks!
Attachment #8343007 - Flags: review?(smontagu) → review+
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Summary: Remove nsIMarkupDocumentViewer::bidiTextDirection as dead code → Remove bidi attributes in nsIMarkupDocumentViewer as dead code
Assignee: nobody → hsivonen
Status: REOPENED → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: