Commit 82b936ec authored by Raphael Kubo da Costa's avatar Raphael Kubo da Costa Committed by Commit Bot

sensors: Remove Blink-specific idl-*.html tests

These tests were just asserting that the given interfaces existed. The idl
harness tests in web-platform-tests do the same and a lot more, so rely
exclusively on those instead.

Bug: 816462
Change-Id: If2dd8e6bda97d23bb71eff3070921481dc1281a7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1743631
Auto-Submit: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Reviewed-by: default avatarRijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Reviewed-by: default avatarReilly Grant <reillyg@chromium.org>
Reviewed-by: default avatarRobert Ma <robertma@chromium.org>
Commit-Queue: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#685352}
parent 899cfab2
...@@ -874,8 +874,6 @@ scrollbars/scrollbar-scrollbarparts-repaint-crash.html ...@@ -874,8 +874,6 @@ scrollbars/scrollbar-scrollbarparts-repaint-crash.html
scrollbars/scrollbar-visibility-hidden.html scrollbars/scrollbar-visibility-hidden.html
security/lazy-event-listener.html security/lazy-event-listener.html
security/set-form-autocomplete-attribute.html security/set-form-autocomplete-attribute.html
sensor/idl-AbsoluteOrientationSensor.html
sensor/idl-Magnetometer.html
shadow-dom/crashes/slots-nested-in-document-tree-crash.html shadow-dom/crashes/slots-nested-in-document-tree-crash.html
shadow-dom/css-cascade-outer-scope2.html shadow-dom/css-cascade-outer-scope2.html
shadow-dom/slotted-pseudo-element-in-v0-tree-crash.html shadow-dom/slotted-pseudo-element-in-v0-tree-crash.html
......
<!DOCTYPE html>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script>
test(function() {
// Test that AbsoluteOrientationSensor interface exists
assert_true('AbsoluteOrientationSensor' in window);
}, 'Test that the AbsoluteOrientationSensor interface is present.');
</script>
<!DOCTYPE html>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script>
test(function() {
// Test that Accelerometer interface exists
assert_true('Accelerometer' in window);
}, 'Test that the Accelerometer interface is present');
</script>
<!DOCTYPE html>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script>
test(function() {
// Test that AmbientLightSensor interface exists
assert_true('AmbientLightSensor' in window);
}, 'Test that the AmbientLightSensor interface is present');
</script>
<!DOCTYPE html>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script>
test(function() {
// Test that Gyroscope interface exists
assert_true('Gyroscope' in window);
}, 'Test that the Gyroscope interface is present.');
</script>
<!DOCTYPE html>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script>
test(function() {
// Test that LinearAccelerationSensor interface exists
assert_true('LinearAccelerationSensor' in window);
}, 'Test that the LinearAccelerationSensor interface is present');
</script>
<!DOCTYPE html>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script>
test(function() {
// Test that Magnetometer interface exists
assert_true('Magnetometer' in window);
}, 'Test that the Magnetometer interface is present.');
</script>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment