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

Issue 10257015: Added a new automation hook ExecuteJavascriptInOOBEWebUI() to execute javascript prior to login on… (Closed)

Created:
8 years, 8 months ago by craigdh
Modified:
8 years, 7 months ago
CC:
chromium-reviews, Nirnimesh, kkania, anantha, robertshield, dyu1, dennis_jeffrey
Visibility:
Public.

Description

Added a new automation hook ExecuteJavascriptInOOBEWebUI() to permit executing abitrary javascript prior to login on chromeos. Change-Id: If96d94bb22ac5bd25fa4ab1e3a4c3ba52ea47370 BUG=chromium-os:29466, chromium-os:20709 TEST=functional/chromeos_login.py (testExecuteJavascriptInOOBEWebUI) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=134666

Patch Set 1 #

Patch Set 2 : Ready for review. #

Patch Set 3 : Added a test for the hook. #

Patch Set 4 : Ready for review. #

Total comments: 10

Patch Set 5 : Complied with Nirnimesh's suggestions. #

Patch Set 6 : #

Total comments: 4

Patch Set 7 : Addressed reviewer comments. #

Total comments: 3

Patch Set 8 : Renamed hook and updated doc strings. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -5 lines) Patch
M chrome/browser/automation/testing_automation_provider.h View 1 2 3 4 5 6 7 3 chunks +21 lines, -0 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider.cc View 1 2 3 4 5 6 7 3 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider_chromeos.cc View 1 2 3 4 5 6 7 3 chunks +50 lines, -0 lines 0 comments Download
M chrome/test/functional/chromeos_login.py View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/test/pyautolib/pyauto.py View 1 2 3 4 5 6 7 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
craigdh
8 years, 8 months ago (2012-04-27 22:14:40 UTC) #1
Nirnimesh
https://chromiumcodereview.appspot.com/10257015/diff/3005/chrome/browser/automation/testing_automation_provider.cc File chrome/browser/automation/testing_automation_provider.cc (right): https://chromiumcodereview.appspot.com/10257015/diff/3005/chrome/browser/automation/testing_automation_provider.cc#newcode2171 chrome/browser/automation/testing_automation_provider.cc:2171: handler_map["ExecuteJavascriptInLogin"] = move to OS_CHROMEOS section below https://chromiumcodereview.appspot.com/10257015/diff/3005/chrome/browser/automation/testing_automation_provider.h File ...
8 years, 8 months ago (2012-04-27 22:46:38 UTC) #2
craigdh
https://chromiumcodereview.appspot.com/10257015/diff/3005/chrome/browser/automation/testing_automation_provider.cc File chrome/browser/automation/testing_automation_provider.cc (right): https://chromiumcodereview.appspot.com/10257015/diff/3005/chrome/browser/automation/testing_automation_provider.cc#newcode2171 chrome/browser/automation/testing_automation_provider.cc:2171: handler_map["ExecuteJavascriptInLogin"] = On 2012/04/27 22:46:38, Nirnimesh wrote: > move ...
8 years, 8 months ago (2012-04-27 23:29:50 UTC) #3
dennis_jeffrey
https://chromiumcodereview.appspot.com/10257015/diff/10002/chrome/browser/automation/testing_automation_provider_chromeos.cc File chrome/browser/automation/testing_automation_provider_chromeos.cc (right): https://chromiumcodereview.appspot.com/10257015/diff/10002/chrome/browser/automation/testing_automation_provider_chromeos.cc#newcode966 chrome/browser/automation/testing_automation_provider_chromeos.cc:966: const UserManager* user_manager = UserManager::Get(); move this down below ...
8 years, 7 months ago (2012-04-28 16:44:05 UTC) #4
craigdh
https://chromiumcodereview.appspot.com/10257015/diff/10002/chrome/browser/automation/testing_automation_provider_chromeos.cc File chrome/browser/automation/testing_automation_provider_chromeos.cc (right): https://chromiumcodereview.appspot.com/10257015/diff/10002/chrome/browser/automation/testing_automation_provider_chromeos.cc#newcode966 chrome/browser/automation/testing_automation_provider_chromeos.cc:966: const UserManager* user_manager = UserManager::Get(); On 2012/04/28 16:44:05, dennis_jeffrey ...
8 years, 7 months ago (2012-04-30 18:41:32 UTC) #5
Nirnimesh
Since this automation hook can be used to inject js in any OOBE webui, not ...
8 years, 7 months ago (2012-04-30 18:57:07 UTC) #6
dennis_jeffrey
LGTM
8 years, 7 months ago (2012-04-30 21:51:00 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/craigdh@chromium.org/10257015/16007
8 years, 7 months ago (2012-05-01 00:03:55 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/craigdh@chromium.org/10257015/16007
8 years, 7 months ago (2012-05-01 00:06:24 UTC) #9
commit-bot: I haz the power
8 years, 7 months ago (2012-05-01 02:07:56 UTC) #10
Change committed as 134666

Powered by Google App Engine
This is Rietveld 408576698