|
[Sensors] Align sensor reading attribute implementation with the specification
This patch updates sensor reading implementation accordingly to specification [1] which says: "the reading attribute of two instances of the same Sensor interface associated with the same sensor hold the same SensorReading during a single event loop turn".
Besides, this patch also drops 'SensorReadingEvent' and 'SensorReadingEventInit' types which no longer exist in the specification.
[1] https://w3c.github.io/sensors/#sensor-reading
BUG= 606766
Committed: https://crrev.com/62a49b3515112ea2ca6bbab6196f68717c52f94b
Cr-Commit-Position: refs/heads/master@{#430578}
Total comments: 4
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+190 lines, -224 lines) |
Patch |
|
M |
content/test/data/generic_sensor/ambient_light_sensor_test.html
|
View
|
1
2
3
4
|
2 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/sensor/ambient-light-sensor.html
|
View
|
1
2
3
|
4 chunks |
+55 lines, -6 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt
|
View
|
1
2
3
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/bindings/modules/BUILD.gn
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/modules_idl_files.gni
|
View
|
1
2
3
|
3 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/sensor/AmbientLightSensor.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/sensor/AmbientLightSensor.cpp
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/sensor/AmbientLightSensorReading.h
|
View
|
|
1 chunk |
+4 lines, -7 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/sensor/AmbientLightSensorReading.cpp
|
View
|
|
1 chunk |
+20 lines, -13 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/sensor/BUILD.gn
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/sensor/Sensor.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/sensor/Sensor.cpp
|
View
|
|
8 chunks |
+17 lines, -18 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/sensor/SensorProviderProxy.h
|
View
|
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/sensor/SensorProviderProxy.cpp
|
View
|
|
3 chunks |
+14 lines, -5 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/sensor/SensorProxy.h
|
View
|
1
2
3
|
4 chunks |
+15 lines, -8 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/sensor/SensorProxy.cpp
|
View
|
1
2
3
|
6 chunks |
+17 lines, -8 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/sensor/SensorReading.h
|
View
|
|
1 chunk |
+24 lines, -4 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/modules/sensor/SensorReading.cpp
|
View
|
|
2 chunks |
+3 lines, -17 lines |
0 comments
|
Download
|
|
D |
third_party/WebKit/Source/modules/sensor/SensorReadingEvent.h
|
View
|
|
1 chunk |
+0 lines, -54 lines |
0 comments
|
Download
|
|
D |
third_party/WebKit/Source/modules/sensor/SensorReadingEvent.cpp
|
View
|
|
1 chunk |
+0 lines, -32 lines |
0 comments
|
Download
|
|
D |
third_party/WebKit/Source/modules/sensor/SensorReadingEvent.idl
|
View
|
|
1 chunk |
+0 lines, -13 lines |
0 comments
|
Download
|
|
D |
third_party/WebKit/Source/modules/sensor/SensorReadingEventInit.idl
|
View
|
|
1 chunk |
+0 lines, -13 lines |
0 comments
|
Download
|
Total messages: 30 (20 generated)
|