Bug 117343 - REGRESSION: r149001 made proximity test fail.
Summary: REGRESSION: r149001 made proximity test fail.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kihong Kwon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-07 05:45 PDT by Kihong Kwon
Modified: 2013-06-07 07:40 PDT (History)
2 users (show)

See Also:


Attachments
Patch (2.32 KB, patch)
2013-06-07 05:49 PDT, Kihong Kwon
no flags Details | Formatted Diff | Diff
Patch (2.81 KB, patch)
2013-06-07 06:11 PDT, Kihong Kwon
no flags Details | Formatted Diff | Diff
Patch (2.59 KB, patch)
2013-06-07 06:40 PDT, Kihong Kwon
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kihong Kwon 2013-06-07 05:45:13 PDT
Update window-property.html test cases for Device Proximity Event.
The global constructors are no longer enumerable after r149001.
Comment 1 Kihong Kwon 2013-06-07 05:49:08 PDT
Created attachment 204032 [details]
Patch
Comment 2 Chris Dumez 2013-06-07 05:54:36 PDT
Comment on attachment 204032 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=204032&action=review

The change is correct. Why doesn't it unskip the test for any port?

> LayoutTests/proximity/window-property.html:-20
> -shouldBeTrue("hasDeviceProximityEventProperty()");

hasDeviceProximityEventProperty function above can be removed as well.
Comment 3 Kihong Kwon 2013-06-07 06:01:05 PDT
Device Proximity Event is not enabled yet on the all port.
I will enable this on the efl soon.
And I will remove "shouldBeTrue("hasDeviceProximityEventProperty()");" also.
Comment 4 Kihong Kwon 2013-06-07 06:11:27 PDT
Created attachment 204035 [details]
Patch
Comment 5 Chris Dumez 2013-06-07 06:31:40 PDT
Comment on attachment 204035 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=204035&action=review

Sorry this is not what I meant.

> LayoutTests/proximity/window-property.html:20
> +shouldBeFalse("window.propertyIsEnumerable('DeviceProximityEvent')");

This change is OK. However, the hasDeviceProximityEventProperty() function 10 lines above should be removed as well and it is likely not used anymore.

> LayoutTests/proximity/window-property.html:-34
> -shouldBeTrue("hasOnDeviceProximityProperty()");

This is unrelated and should stay.
Comment 6 Kihong Kwon 2013-06-07 06:40:30 PDT
Created attachment 204038 [details]
Patch
Comment 7 Chris Dumez 2013-06-07 06:41:58 PDT
Comment on attachment 204038 [details]
Patch

Looks good, thanks. r=me.
Comment 8 WebKit Commit Bot 2013-06-07 07:40:54 PDT
Comment on attachment 204038 [details]
Patch

Clearing flags on attachment: 204038

Committed r151317: <http://trac.webkit.org/changeset/151317>
Comment 9 WebKit Commit Bot 2013-06-07 07:40:56 PDT
All reviewed patches have been landed.  Closing bug.