From 6bad28de5268cbcf504799782477a7e33991610c Mon Sep 17 00:00:00 2001 From: nednguyen Date: Sat, 16 May 2015 15:47:02 -0700 Subject: [PATCH] Replace self.NavigateToPage with self.Navigate(self.url) for skia page sets BUG=487800 Review URL: https://codereview.chromium.org/1131113005 --- tools/skp/page_sets/other/CRASHING-skia_vnexpress_nexus10.json | 2 +- .../page_sets/other/CRASHING-skia_wikipedia_galaxynexus.json | 2 +- tools/skp/page_sets/skia_css3gradients_desktop.py | 2 +- tools/skp/page_sets/skia_digg_nexus10.py | 2 +- tools/skp/page_sets/skia_espn_desktop.py | 2 +- tools/skp/page_sets/skia_gamedeksiam_nexus10.py | 2 +- tools/skp/page_sets/skia_gmail_nexus10.py | 2 +- tools/skp/page_sets/skia_gmailthread_desktop.py | 2 +- tools/skp/page_sets/skia_googlehome_desktop.py | 2 +- tools/skp/page_sets/skia_jsfiddlebigcar_desktop.py | 2 +- tools/skp/page_sets/skia_mozilla_nexus10.py | 2 +- tools/skp/page_sets/skia_nytimes_desktop.py | 2 +- tools/skp/page_sets/skia_pokemonwiki_desktop.py | 2 +- tools/skp/page_sets/skia_pravda_nexus10.py | 2 +- tools/skp/page_sets/skia_samoasvg_desktop.py | 2 +- tools/skp/page_sets/skia_theverge_desktop.py | 2 +- tools/skp/page_sets/skia_tigersvg_desktop.py | 2 +- tools/skp/page_sets/skia_ugamsolutions_desktop.py | 2 +- tools/skp/page_sets/skia_unicodetable_desktop.py | 2 +- tools/skp/page_sets/skia_wowwiki_desktop.py | 2 +- 20 files changed, 20 insertions(+), 20 deletions(-) diff --git a/tools/skp/page_sets/other/CRASHING-skia_vnexpress_nexus10.json b/tools/skp/page_sets/other/CRASHING-skia_vnexpress_nexus10.json index 1e4a9366c2..10454f6bea 100644 --- a/tools/skp/page_sets/other/CRASHING-skia_vnexpress_nexus10.json +++ b/tools/skp/page_sets/other/CRASHING-skia_vnexpress_nexus10.json @@ -19,7 +19,7 @@ class SkiaBuildbotDesktopPage(page_module.Page): self.archive_data_file = 'data/skia_vnexpress_nexus10.json' def RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) + action_runner.Navigate(self.url) action_runner.Wait(5) diff --git a/tools/skp/page_sets/other/CRASHING-skia_wikipedia_galaxynexus.json b/tools/skp/page_sets/other/CRASHING-skia_wikipedia_galaxynexus.json index e31ec41225..2cf2179137 100644 --- a/tools/skp/page_sets/other/CRASHING-skia_wikipedia_galaxynexus.json +++ b/tools/skp/page_sets/other/CRASHING-skia_wikipedia_galaxynexus.json @@ -19,7 +19,7 @@ class SkiaBuildbotDesktopPage(page_module.Page): self.archive_data_file = 'data/skia_wikipedia_galaxynexus.json' def RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) + action_runner.Navigate(self.url) action_runner.Wait(5) diff --git a/tools/skp/page_sets/skia_css3gradients_desktop.py b/tools/skp/page_sets/skia_css3gradients_desktop.py index a340f1b8f8..dbc1f374c8 100644 --- a/tools/skp/page_sets/skia_css3gradients_desktop.py +++ b/tools/skp/page_sets/skia_css3gradients_desktop.py @@ -22,7 +22,7 @@ class SkiaBuildbotDesktopPage(page_module.Page): action_runner.ScrollElement() def RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) + action_runner.Navigate(self.url) action_runner.Wait(15) diff --git a/tools/skp/page_sets/skia_digg_nexus10.py b/tools/skp/page_sets/skia_digg_nexus10.py index 84bc6a74e9..68a5f1b68a 100644 --- a/tools/skp/page_sets/skia_digg_nexus10.py +++ b/tools/skp/page_sets/skia_digg_nexus10.py @@ -19,7 +19,7 @@ class SkiaBuildbotDesktopPage(page_module.Page): self.archive_data_file = 'data/skia_digg_nexus10.json' def RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) + action_runner.Navigate(self.url) action_runner.Wait(5) class SkiaDiggNexus10PageSet(page_set_module.PageSet): diff --git a/tools/skp/page_sets/skia_espn_desktop.py b/tools/skp/page_sets/skia_espn_desktop.py index f143a8cf4d..38ab36853e 100644 --- a/tools/skp/page_sets/skia_espn_desktop.py +++ b/tools/skp/page_sets/skia_espn_desktop.py @@ -19,7 +19,7 @@ class SkiaBuildbotDesktopPage(page_module.Page): self.archive_data_file = 'data/skia_espn_desktop.json' def RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) + action_runner.Navigate(self.url) action_runner.Wait(5) diff --git a/tools/skp/page_sets/skia_gamedeksiam_nexus10.py b/tools/skp/page_sets/skia_gamedeksiam_nexus10.py index 46de457c61..78ef86f425 100644 --- a/tools/skp/page_sets/skia_gamedeksiam_nexus10.py +++ b/tools/skp/page_sets/skia_gamedeksiam_nexus10.py @@ -19,7 +19,7 @@ class SkiaBuildbotDesktopPage(page_module.Page): self.archive_data_file = 'data/skia_gamedeksiam_nexus10.json' def RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) + action_runner.Navigate(self.url) action_runner.Wait(5) diff --git a/tools/skp/page_sets/skia_gmail_nexus10.py b/tools/skp/page_sets/skia_gmail_nexus10.py index 825d6619b1..1b6140fbf4 100644 --- a/tools/skp/page_sets/skia_gmail_nexus10.py +++ b/tools/skp/page_sets/skia_gmail_nexus10.py @@ -23,7 +23,7 @@ class SkiaBuildbotDesktopPage(page_module.Page): action_runner.ScrollElement() def RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) + action_runner.Navigate(self.url) action_runner.Wait(10) diff --git a/tools/skp/page_sets/skia_gmailthread_desktop.py b/tools/skp/page_sets/skia_gmailthread_desktop.py index 076948c15c..7fefa2fd6f 100644 --- a/tools/skp/page_sets/skia_gmailthread_desktop.py +++ b/tools/skp/page_sets/skia_gmailthread_desktop.py @@ -23,7 +23,7 @@ class SkiaBuildbotDesktopPage(page_module.Page): action_runner.ScrollElement() def RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) + action_runner.Navigate(self.url) action_runner.Wait(15) diff --git a/tools/skp/page_sets/skia_googlehome_desktop.py b/tools/skp/page_sets/skia_googlehome_desktop.py index d683d44f89..ab7a7abd54 100644 --- a/tools/skp/page_sets/skia_googlehome_desktop.py +++ b/tools/skp/page_sets/skia_googlehome_desktop.py @@ -19,7 +19,7 @@ class SkiaBuildbotDesktopPage(page_module.Page): self.archive_data_file = 'data/skia_googlehome_desktop.json' def RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) + action_runner.Navigate(self.url) action_runner.Wait(5) diff --git a/tools/skp/page_sets/skia_jsfiddlebigcar_desktop.py b/tools/skp/page_sets/skia_jsfiddlebigcar_desktop.py index e0cb0af338..bfb88126c9 100644 --- a/tools/skp/page_sets/skia_jsfiddlebigcar_desktop.py +++ b/tools/skp/page_sets/skia_jsfiddlebigcar_desktop.py @@ -19,7 +19,7 @@ class SkiaBuildbotDesktopPage(page_module.Page): self.archive_data_file = 'data/skia_jsfiddlebigcar_desktop.json' def RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) + action_runner.Navigate(self.url) action_runner.Wait(5) diff --git a/tools/skp/page_sets/skia_mozilla_nexus10.py b/tools/skp/page_sets/skia_mozilla_nexus10.py index d77bbdbda0..a8b35332b3 100644 --- a/tools/skp/page_sets/skia_mozilla_nexus10.py +++ b/tools/skp/page_sets/skia_mozilla_nexus10.py @@ -19,7 +19,7 @@ class SkiaBuildbotDesktopPage(page_module.Page): self.archive_data_file = 'data/skia_mozilla_nexus10.json' def RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) + action_runner.Navigate(self.url) action_runner.Wait(5) diff --git a/tools/skp/page_sets/skia_nytimes_desktop.py b/tools/skp/page_sets/skia_nytimes_desktop.py index d8f9ed7f08..3f72b91cfd 100644 --- a/tools/skp/page_sets/skia_nytimes_desktop.py +++ b/tools/skp/page_sets/skia_nytimes_desktop.py @@ -19,7 +19,7 @@ class SkiaBuildbotDesktopPage(page_module.Page): self.archive_data_file = 'data/skia_nytimes_desktop.json' def RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) + action_runner.Navigate(self.url) action_runner.Wait(15) diff --git a/tools/skp/page_sets/skia_pokemonwiki_desktop.py b/tools/skp/page_sets/skia_pokemonwiki_desktop.py index 7c34133853..612657c197 100644 --- a/tools/skp/page_sets/skia_pokemonwiki_desktop.py +++ b/tools/skp/page_sets/skia_pokemonwiki_desktop.py @@ -19,7 +19,7 @@ class SkiaBuildbotDesktopPage(page_module.Page): self.archive_data_file = 'data/skia_pokemonwiki_desktop.json' def RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) + action_runner.Navigate(self.url) action_runner.Wait(5) diff --git a/tools/skp/page_sets/skia_pravda_nexus10.py b/tools/skp/page_sets/skia_pravda_nexus10.py index 66d93d46de..9cefaca094 100644 --- a/tools/skp/page_sets/skia_pravda_nexus10.py +++ b/tools/skp/page_sets/skia_pravda_nexus10.py @@ -19,7 +19,7 @@ class SkiaBuildbotDesktopPage(page_module.Page): self.archive_data_file = 'data/skia_pravda_nexus10.json' def RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) + action_runner.Navigate(self.url) action_runner.Wait(5) diff --git a/tools/skp/page_sets/skia_samoasvg_desktop.py b/tools/skp/page_sets/skia_samoasvg_desktop.py index 965a73224b..5cc760ed09 100644 --- a/tools/skp/page_sets/skia_samoasvg_desktop.py +++ b/tools/skp/page_sets/skia_samoasvg_desktop.py @@ -19,7 +19,7 @@ class SkiaBuildbotDesktopPage(page_module.Page): self.archive_data_file = 'data/skia_samoasvg_desktop.json' def RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) + action_runner.Navigate(self.url) action_runner.Wait(5) diff --git a/tools/skp/page_sets/skia_theverge_desktop.py b/tools/skp/page_sets/skia_theverge_desktop.py index 54d3879ea6..dd8182ccbf 100644 --- a/tools/skp/page_sets/skia_theverge_desktop.py +++ b/tools/skp/page_sets/skia_theverge_desktop.py @@ -19,7 +19,7 @@ class SkiaBuildbotDesktopPage(page_module.Page): self.archive_data_file = 'data/skia_theverge_desktop.json' def RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) + action_runner.Navigate(self.url) action_runner.Wait(15) diff --git a/tools/skp/page_sets/skia_tigersvg_desktop.py b/tools/skp/page_sets/skia_tigersvg_desktop.py index c627cee910..2e490a274c 100644 --- a/tools/skp/page_sets/skia_tigersvg_desktop.py +++ b/tools/skp/page_sets/skia_tigersvg_desktop.py @@ -19,7 +19,7 @@ class SkiaBuildbotDesktopPage(page_module.Page): self.archive_data_file = 'data/skia_tigersvg_desktop.json' def RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) + action_runner.Navigate(self.url) action_runner.Wait(5) diff --git a/tools/skp/page_sets/skia_ugamsolutions_desktop.py b/tools/skp/page_sets/skia_ugamsolutions_desktop.py index b7855fe373..83c445d300 100644 --- a/tools/skp/page_sets/skia_ugamsolutions_desktop.py +++ b/tools/skp/page_sets/skia_ugamsolutions_desktop.py @@ -19,7 +19,7 @@ class SkiaBuildbotDesktopPage(page_module.Page): self.archive_data_file = 'data/skia_ugamsolutions_desktop.json' def RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) + action_runner.Navigate(self.url) action_runner.Wait(15) diff --git a/tools/skp/page_sets/skia_unicodetable_desktop.py b/tools/skp/page_sets/skia_unicodetable_desktop.py index 27a97c1186..735c3ee819 100644 --- a/tools/skp/page_sets/skia_unicodetable_desktop.py +++ b/tools/skp/page_sets/skia_unicodetable_desktop.py @@ -19,7 +19,7 @@ class SkiaBuildbotDesktopPage(page_module.Page): self.archive_data_file = 'data/skia_unicodetable_desktop.json' def RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) + action_runner.Navigate(self.url) action_runner.ScrollPage(distance=100000) action_runner.Wait(20) diff --git a/tools/skp/page_sets/skia_wowwiki_desktop.py b/tools/skp/page_sets/skia_wowwiki_desktop.py index d825e76ec6..2de1b29c12 100644 --- a/tools/skp/page_sets/skia_wowwiki_desktop.py +++ b/tools/skp/page_sets/skia_wowwiki_desktop.py @@ -19,7 +19,7 @@ class SkiaBuildbotDesktopPage(page_module.Page): self.archive_data_file = 'data/skia_wowwiki_desktop.json' def RunNavigateSteps(self, action_runner): - action_runner.NavigateToPage(self) + action_runner.Navigate(self.url) action_runner.Wait(25)