RESOLVED FIXED Bug 39994
Geolocation LayoutTests should make more careful use of LayoutTestController
https://bugs.webkit.org/show_bug.cgi?id=39994
Summary Geolocation LayoutTests should make more careful use of LayoutTestController
Steve Block
Reported 2010-06-01 06:49:17 PDT
The Geolocation LayoutTests should guard calls to LayoutTestController methods with 'if (window.layoutTestController)' and should make it clear if the test can not pass without LayoutTestController.
Attachments
Patch (25.79 KB, patch)
2010-06-01 07:01 PDT, Steve Block
no flags
Patch (26.02 KB, patch)
2010-06-01 13:36 PDT, Steve Block
no flags
Patch (29.30 KB, patch)
2010-06-04 02:21 PDT, Steve Block
jorlow: review+
Steve Block
Comment 1 2010-06-01 07:01:02 PDT
Steve Block
Comment 2 2010-06-01 13:36:37 PDT
Dumitru Daniliuc
Comment 3 2010-06-03 15:13:17 PDT
LGTM, but i have an unrelated question about the .js files in fast/dom/Geolocation/script-tests/. lots of them seem to have code that looks like this: }, function(e) { error = e shouldBe('error.code', 'mockCode'); shouldBe('error.message', 'mockMessage'); ... shouldn't there be a ';' after 'error = e' (at least from a style point of view)?
Steve Block
Comment 4 2010-06-03 15:35:26 PDT
> shouldn't there be a ';' after 'error = e' (at least from a style point of view)? Yes, good catch. I can fix this on landing if that's OK with you?
Dumitru Daniliuc
Comment 5 2010-06-03 15:46:14 PDT
That's fine with me. Please go through every .js file as quite a few of them seem to have this issue. Oh, and you're still going to need an official r+ from somebody else since I'm not a reviewer... sorry. :)
Steve Block
Comment 6 2010-06-04 02:21:29 PDT
Jeremy Orlow
Comment 7 2010-06-04 02:24:36 PDT
Comment on attachment 57856 [details] Patch r=me
Steve Block
Comment 8 2010-06-04 02:33:35 PDT
Note You need to log in before you can comment on or make changes to this bug.