Open Bug 973604 Opened 10 years ago Updated 1 year ago

Standardize or hide from content Element.prototype.setCapture and Document.prototype.releaseCapture

Categories

(Core :: DOM: Events, defect, P5)

defect

Tracking

()

ASSIGNED

People

(Reporter: bruant.d, Assigned: saschanaz)

References

(Depends on 2 open bugs, Blocks 1 open bug)

Details

(Keywords: dev-doc-needed, site-compat)

Attachments

(3 files)

      No description provided.
Assignee: bruant.d → nobody
Component: DOM → DOM: Events
Product: Developer Documentation → Core
It looks like these are in IE and Gecko, but nowhere else.
Maybe it's time to let them go.
Flags: needinfo?(bzbarsky)
Flags: needinfo?(annevk)
No longer blocks: 973223
Blocks: 973223
Bug 503943 (where this was implemented) points to http://lists.w3.org/Archives/Public/public-webapps/2008OctDec/0308.html where standardization was attempted. I haven't read up on what happened to that.
Blocks: 503943
I would guess that the standardized version is https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html or something?

Jonas, is that the case?
Flags: needinfo?(bzbarsky) → needinfo?(jonas)
And of course the second question is whether this is being used.  Note http://stackoverflow.com/questions/7481022/mouse-capture-in-non-ie-browser and http://news.qooxdoo.org/mouse-capturing and the like...
I don't know anything about these functions.

Are these the old netscape versions capturing event listeners (as in, bubbling event listeners vs. capturing event listeners). If so, didn't we remove support for those ages ago?

If these are for pointer lock, I don't know what the latest spec is.

Either way, Olli is probably your guy here.
Flags: needinfo?(jonas)
SetCapture is the thing which makes event targeting to use the same target all the time. So, not Netscapeism but IEism.
It seems per comment 2 standardization was attempted and failed? And now there's a new standard Blink/WebKit are interested in implementing? Not sure what the best way forward here would be. Add use counters?
Flags: needinfo?(annevk)
I think we should wait for setPointerCapture to be implemented and stable, and then
start warning about use of setCapture/releaseCapture.
Priority: -- → P5
Keywords: site-compat
Assignee: nobody → krosylight
Status: NEW → ASSIGNED
Keywords: leave-open
Attached file data review request
Attachment #9180817 - Flags: data-review?(chutten)

Comment on attachment 9180817 [details]
data review request

DATA COLLECTION REVIEW RESPONSE:

Is there or will there be documentation that describes the schema for the ultimate data set available publicly, complete and accurate?

Yes.

Is there a control mechanism that allows the user to turn the data collection on and off?

Yes. This collection is Telemetry so can be controlled through Firefox's Preferences.

If the request is for permanent data collection, is there someone who will monitor the data over time?

Yes, Kagami Rosylight is responsible.

Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under?

Category 1, Technical.

Is the data collection request for default-on or default-off?

Default on for all channels.

Does the instrumentation include the addition of any new identifiers?

No.

Is the data collection covered by the existing Firefox privacy notice?

Yes.

Does there need to be a check-in in the future to determine whether to renew the data?

No. This collection is permanent.


Result: datareview+

Attachment #9180817 - Flags: data-review?(chutten) → data-review+
Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1fce98c10f98
Add use counters for set/releaseCapture r=emilio

The noVNC code polyfills it if not present, right? Would the polyfill work in Gecko?

Also a bunch of those uses seem like they make no assumption that the method exists, which is nice.

Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/df43273ec88c
Mark set/releaseCapture() as deprecated r=annevk,edgar

The value reduced to 0.01% in Nightly 90 and now 0 in Nightly 91. Not sure what happened as noVNC hasn't change. Anyway, we can probably try disabling it on Nightly.

Depends on: 1718140

The leave-open keyword is there and there is no activity for 6 months.
:saschanaz, maybe it's time to close this bug?

Flags: needinfo?(krosylight)

It's not hidden yet.

Flags: needinfo?(krosylight)
Keywords: leave-open
Depends on: 1786811
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: