|
|
Chromium Code Reviews|
Created:
4 years, 5 months ago by Azure Wei Modified:
4 years, 5 months ago CC:
chromium-reviews, nona+watch_chromium.org, James Su, shuchen+watch_chromium.org, yusukes+watch_chromium.org, tfarina, site-isolation-reviews_chromium.org Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionInputImeApiTest.SendKeyEventsOnNormalPage fails on Site Isolation Linux FYI bot.
This test is used to test that input.ime.sendKeyEvents API has limitations on some special pages. It fails on Site Isolation Linux FYI bot, as the test fails to navigate the right test url: GRUL(chrome::kChromeUINewTabURL) in the test environment. It tests under GURL(kChromeSearchLocalNtpUrl): chrome-search://local-ntp/local-ntp.html, which is special page for input.ime.sendKeyEvents.
Fix this by not testing the API if the url has not been correctly set.
BUG=624958
TEST=None
Committed: https://crrev.com/923f91436b01b92825d1998f18b344d151850ad3
Cr-Commit-Position: refs/heads/master@{#403641}
Patch Set 1 #Patch Set 2 #Patch Set 3 #Patch Set 4 #
Messages
Total messages: 23 (11 generated)
The CQ bit was checked by azurewei@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_androi...)
Description was changed from ========== SendKey test failure. BUG=624958 TEST=None ========== to ========== InputImeApiTest.SendKeyEventsOnNormalPage fails on Site Isolation Linux FYI bot. This test is used to test that input.ime.sendKeyEvents API has limitations on some special pages. It fails on Site Isolation Linux FYI bot, as the test fails to navigate the right test url: GRUL(chrome::kChromeUINewTabURL) in the test environment. It tests under GURL(kChromeSearchLocalNtpUrl): chrome-search://local-ntp/local-ntp.html, which is special page for input.ime.sendKeyEvents. Fix this by not testing the API if the url has not been correctly set. BUG=624958 TEST=None ==========
The CQ bit was checked by azurewei@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== InputImeApiTest.SendKeyEventsOnNormalPage fails on Site Isolation Linux FYI bot. This test is used to test that input.ime.sendKeyEvents API has limitations on some special pages. It fails on Site Isolation Linux FYI bot, as the test fails to navigate the right test url: GRUL(chrome::kChromeUINewTabURL) in the test environment. It tests under GURL(kChromeSearchLocalNtpUrl): chrome-search://local-ntp/local-ntp.html, which is special page for input.ime.sendKeyEvents. Fix this by not testing the API if the url has not been correctly set. BUG=624958 TEST=None ========== to ========== InputImeApiTest.SendKeyEventsOnNormalPage fails on Site Isolation Linux FYI bot. This test is used to test that input.ime.sendKeyEvents API has limitations on some special pages. It fails on Site Isolation Linux FYI bot, as the test fails to navigate the right test url: GRUL(chrome::kChromeUINewTabURL) in the test environment. It tests under GURL(kChromeSearchLocalNtpUrl): chrome-search://local-ntp/local-ntp.html, which is special page for input.ime.sendKeyEvents. Fix this by not testing the API if the url has not been correctly set. BUG=624958 TEST=None ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
azurewei@chromium.org changed reviewers: + creis@chromium.org, rdevlin.cronin@chromium.org, shuchen@chromium.org
Please review this cl. Thanks!
lgtm
The CQ bit was checked by azurewei@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== InputImeApiTest.SendKeyEventsOnNormalPage fails on Site Isolation Linux FYI bot. This test is used to test that input.ime.sendKeyEvents API has limitations on some special pages. It fails on Site Isolation Linux FYI bot, as the test fails to navigate the right test url: GRUL(chrome::kChromeUINewTabURL) in the test environment. It tests under GURL(kChromeSearchLocalNtpUrl): chrome-search://local-ntp/local-ntp.html, which is special page for input.ime.sendKeyEvents. Fix this by not testing the API if the url has not been correctly set. BUG=624958 TEST=None ========== to ========== InputImeApiTest.SendKeyEventsOnNormalPage fails on Site Isolation Linux FYI bot. This test is used to test that input.ime.sendKeyEvents API has limitations on some special pages. It fails on Site Isolation Linux FYI bot, as the test fails to navigate the right test url: GRUL(chrome::kChromeUINewTabURL) in the test environment. It tests under GURL(kChromeSearchLocalNtpUrl): chrome-search://local-ntp/local-ntp.html, which is special page for input.ime.sendKeyEvents. Fix this by not testing the API if the url has not been correctly set. BUG=624958 TEST=None ==========
Message was sent while issue was closed.
Committed patchset #4 (id:60001)
Message was sent while issue was closed.
Description was changed from ========== InputImeApiTest.SendKeyEventsOnNormalPage fails on Site Isolation Linux FYI bot. This test is used to test that input.ime.sendKeyEvents API has limitations on some special pages. It fails on Site Isolation Linux FYI bot, as the test fails to navigate the right test url: GRUL(chrome::kChromeUINewTabURL) in the test environment. It tests under GURL(kChromeSearchLocalNtpUrl): chrome-search://local-ntp/local-ntp.html, which is special page for input.ime.sendKeyEvents. Fix this by not testing the API if the url has not been correctly set. BUG=624958 TEST=None ========== to ========== InputImeApiTest.SendKeyEventsOnNormalPage fails on Site Isolation Linux FYI bot. This test is used to test that input.ime.sendKeyEvents API has limitations on some special pages. It fails on Site Isolation Linux FYI bot, as the test fails to navigate the right test url: GRUL(chrome::kChromeUINewTabURL) in the test environment. It tests under GURL(kChromeSearchLocalNtpUrl): chrome-search://local-ntp/local-ntp.html, which is special page for input.ime.sendKeyEvents. Fix this by not testing the API if the url has not been correctly set. BUG=624958 TEST=None Committed: https://crrev.com/923f91436b01b92825d1998f18b344d151850ad3 Cr-Commit-Position: refs/heads/master@{#403641} ==========
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/923f91436b01b92825d1998f18b344d151850ad3 Cr-Commit-Position: refs/heads/master@{#403641}
Message was sent while issue was closed.
This makes the test pass, but it also doesn't really test in the case of site isolation (which is a problem). IIRC, there were a few other tests that had the problem of newtab appearing as chrome-search - can we add a TODO in the code to fix this?
Message was sent while issue was closed.
Description was changed from ========== InputImeApiTest.SendKeyEventsOnNormalPage fails on Site Isolation Linux FYI bot. This test is used to test that input.ime.sendKeyEvents API has limitations on some special pages. It fails on Site Isolation Linux FYI bot, as the test fails to navigate the right test url: GRUL(chrome::kChromeUINewTabURL) in the test environment. It tests under GURL(kChromeSearchLocalNtpUrl): chrome-search://local-ntp/local-ntp.html, which is special page for input.ime.sendKeyEvents. Fix this by not testing the API if the url has not been correctly set. BUG=624958 TEST=None Committed: https://crrev.com/923f91436b01b92825d1998f18b344d151850ad3 Cr-Commit-Position: refs/heads/master@{#403641} ========== to ========== InputImeApiTest.SendKeyEventsOnNormalPage fails on Site Isolation Linux FYI bot. This test is used to test that input.ime.sendKeyEvents API has limitations on some special pages. It fails on Site Isolation Linux FYI bot, as the test fails to navigate the right test url: GRUL(chrome::kChromeUINewTabURL) in the test environment. It tests under GURL(kChromeSearchLocalNtpUrl): chrome-search://local-ntp/local-ntp.html, which is special page for input.ime.sendKeyEvents. Fix this by not testing the API if the url has not been correctly set. BUG=624958 TEST=None Committed: https://crrev.com/923f91436b01b92825d1998f18b344d151850ad3 Cr-Commit-Position: refs/heads/master@{#403641} ==========
Message was sent while issue was closed.
[+site-isolation-reviews] On 2016/07/06 16:58:49, Devlin wrote: > This makes the test pass, but it also doesn't really test in the case of site > isolation (which is a problem). IIRC, there were a few other tests that had the > problem of newtab appearing as chrome-search - can we add a TODO in the code to > fix this? First, thanks for tracking this down to the NTP problem! I think that's probably https://crbug.com/456420, which proved difficult to fix at the time. I think I agree with Devlin that this way of working around it isn't ideal, though. This will end up making us forget about this test and we won't ever have coverage for it in --site-per-process. Instead, it's better to leave it disabled and mark the bug as blocked on 456420. Hopefully the test will pass as originally written when that bug is fixed. Can you revert this CL? I'll take care of the bug triage. Thanks!
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/2125243002/ by azurewei@chromium.org. The reason for reverting is: Revert the working around. The bug has been marked as blocked on bug:456420.. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
