Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Unified Diff: LayoutTests/fast/dom/Geolocation/script-tests/enabled.js

Issue 821303006: bindings: Fixes layouttests when moving attributes to prototype chains. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/Geolocation/script-tests/enabled.js
diff --git a/LayoutTests/fast/dom/Geolocation/script-tests/enabled.js b/LayoutTests/fast/dom/Geolocation/script-tests/enabled.js
index 60d232884b6c45f1c579977c7b4aef9502e2f4c9..6e3ec6c14603ccd2b0ef07596f973c5a824da764 100644
--- a/LayoutTests/fast/dom/Geolocation/script-tests/enabled.js
+++ b/LayoutTests/fast/dom/Geolocation/script-tests/enabled.js
@@ -12,6 +12,5 @@ function hasGeolocationProperty()
shouldBeTrue("typeof navigator.geolocation == 'object'");
shouldBeTrue("hasGeolocationProperty()");
shouldBeTrue("'geolocation' in navigator");
-shouldBeTrue("navigator.hasOwnProperty('geolocation')");
window.jsTestIsAsync = false;

Powered by Google App Engine
This is Rietveld 408576698