Closed Bug 742261 Opened 12 years ago Closed 12 years ago

Remove useless queryCommandText/execCommandShowHelp methods

Categories

(Core :: DOM: Editor, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla14

People

(Reporter: ayg, Assigned: ayg)

Details

(Keywords: addon-compat, dev-doc-complete)

Attachments

(1 file)

These are non-standard, and all they do is throw exceptions anyway.
Attached patch Patch v1Splinter Review
Attachment #612157 - Flags: review?(ehsan)
Whiteboard: [autoland-try:-u all]
Whiteboard: [autoland-try:-u all] → [autoland-in-queue]
Comment on attachment 612157 [details] [diff] [review]
Patch v1

Review of attachment 612157 [details] [diff] [review]:
-----------------------------------------------------------------

You need to change the IID of nsIDOMHTMLDocument.  r=me with that.

Also, before landing, please do the following:

1. Please file an issue with firebug to get them to remove these two methods from the list of DOM methods they recognize.
2. Please search the comm-central MXR for these two methods to make sure they are not being used there.

Thanks!
Attachment #612157 - Flags: review?(ehsan) → review+
Autoland Patchset:
	Patches: 612157
	Branch: mozilla-central => try
	Destination: http://hg.mozilla.org/try/pushloghtml?changeset=59c0ad0d1673
Try run started, revision 59c0ad0d1673. To cancel or monitor the job, see: https://tbpl.mozilla.org/?tree=Try&rev=59c0ad0d1673
Try run for 59c0ad0d1673 is complete.
Detailed breakdown of the results available here:
    https://tbpl.mozilla.org/?tree=Try&rev=59c0ad0d1673
Results (out of 218 total builds):
    exception: 2
    success: 181
    warnings: 35
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/autolanduser@mozilla.com-59c0ad0d1673
(In reply to Ehsan Akhgari [:ehsan] from comment #3)
> You need to change the IID of nsIDOMHTMLDocument.  r=me with that.

Okay, will do.

> Also, before landing, please do the following:
> 
> 1. Please file an issue with firebug to get them to remove these two methods
> from the list of DOM methods they recognize.

http://code.google.com/p/fbug/issues/detail?id=5374&thanks=5374&ts=1333697823

> 2. Please search the comm-central MXR for these two methods to make sure
> they are not being used there.

I see them in this IDL file:

http://mxr.mozilla.org/comm-central/source/mozilla/dom/interfaces/html/nsIDOMHTMLDocument.idl

I'm guessing this file is synced somehow from mozilla-central and I don't need to worry about it?  I don't see any other instances.
https://hg.mozilla.org/integration/mozilla-inbound/rev/f40757e78476
Flags: in-testsuite+
Target Milestone: --- → mozilla14
Whiteboard: [autoland-in-queue]
https://hg.mozilla.org/mozilla-central/rev/f40757e78476
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
(In reply to Aryeh Gregor from comment #6)
> I see them in this IDL file:
> 
> http://mxr.mozilla.org/comm-central/source/mozilla/dom/interfaces/html/
> nsIDOMHTMLDocument.idl
> 
> I'm guessing this file is synced somehow from mozilla-central and I don't
> need to worry about it?  I don't see any other instances.

Yeah, comm-central is built with a m-c checkout under the mozilla/ directory, and MXR indexes that too.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: