Skip to content
Commit bfba6fcb authored by kihong.kwon@samsung.com's avatar kihong.kwon@samsung.com
Browse files

Add an ASSERT to didChangeDeviceProximity

https://bugs.webkit.org/show_bug.cgi?id=110317

Reviewed by Hajime Morrita.

Source/WebCore:

Add An ASSERT to didChangeDeviceProximity function to check range of value.

Change exist test cases.

* Modules/proximity/DeviceProximityController.cpp:
(WebCore::DeviceProximityController::didChangeDeviceProximity):

LayoutTests:

Fix wrong test cases which are found by ASSERT insertion.

* proximity/basic-operation-expected.txt:
* proximity/basic-operation.html:
* proximity/resources/event-after-navigation-new.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143882 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 5ca5d104
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment