https://github.com/web-platform-tests/wpt
Revision 7547853bcc27be8bd0fc6f57b7cd2ea38e179cd7 authored by Henrik Boström on 29 March 2018, 13:27:36 UTC, committed by Chromium WPT Sync on 29 March 2018, 13:27:36 UTC
This exposes RTCRtpReceiver.getStats() in JavaScript (behind flag) which
implements the stats selection algorithm[1] for receivers.

(This is similar to RTCRtpSender.getStats():
https://chromium-review.googlesource.com/c/chromium/src/+/975306)

[1] https://w3c.github.io/webrtc-pc/#dfn-stats-selection-algorithm

Bug: 680172
Change-Id: I8049a52fcaa3c2bd51e5541c7149d9b3aee57e3d
Reviewed-on: https://chromium-review.googlesource.com/976121
Commit-Queue: Henrik Boström <hbos@chromium.org>
Reviewed-by: Taylor Brandstetter <deadbeef@chromium.org>
Cr-Commit-Position: refs/heads/master@{#546801}
1 parent 604d17e
Raw File
Tip revision: 7547853bcc27be8bd0fc6f57b7cd2ea38e179cd7 authored by Henrik Boström on 29 March 2018, 13:27:36 UTC
RTCRtpReceiver.getStats() in blink added behind flag.
Tip revision: 7547853
Accelerometer-enabled-by-feature-policy.https.html
<!DOCTYPE html>
<body>
<title>Accelerometer Feature Policy Test: Enabled</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
<script>
"use strict";

run_fp_tests_enabled(Accelerometer);
run_fp_tests_enabled(LinearAccelerationSensor);
run_fp_tests_enabled(GravitySensor);
</script>
</body>
back to top