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

Issue 2492863003: [Extensions] Don't show the pending URL for chrome.tabs API navigations (Closed)

Created:
4 years, 1 month ago by Devlin
Modified:
4 years, 1 month ago
Reviewers:
Charlie Reis, nasko
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, Charlie Reis, lfg
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Extensions] Don't show the pending URL for chrome.tabs API navigations For the pdf extension, treat navigations as renderer-initiated. Ideally, we want this to become default for all extensions, but that risks breakage. Based on creis@'s patch at https://codereview.chromium.org/2475033002/. BUG=660498 TEST=See bug for repro steps. Committed: https://crrev.com/2097de33a1f3d04e78d93e9e2f16aad4b97e47d7 Cr-Commit-Position: refs/heads/master@{#431726}

Patch Set 1 #

Patch Set 2 : test #

Total comments: 2

Patch Set 3 : Missing file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -4 lines) Patch
M chrome/browser/extensions/api/tabs/tabs_api.cc View 1 chunk +16 lines, -4 lines 0 comments Download
M chrome/browser/extensions/api/tabs/tabs_api_unittest.cc View 1 3 chunks +53 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/tabs/tabs_test.cc View 1 3 chunks +31 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/tabs/pdf_extension_test.html View 1 2 1 chunk +41 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (17 generated)
Devlin
Nasko, mind taking a look? cc Charlie as FYI.
4 years, 1 month ago (2016-11-11 01:49:59 UTC) #7
nasko
The code looks good, however it will be nice to have a test case for ...
4 years, 1 month ago (2016-11-11 17:22:00 UTC) #8
Charlie Reis
LGTM, though I agree a test would be worth adding if possible. lfg@ or ekaramad@, ...
4 years, 1 month ago (2016-11-11 18:26:12 UTC) #10
nasko
On 2016/11/11 18:26:12, Charlie Reis (OOO til 11-11) wrote: > LGTM, though I agree a ...
4 years, 1 month ago (2016-11-11 18:29:01 UTC) #11
EhsanK
On 2016/11/11 18:29:01, nasko wrote: > On 2016/11/11 18:26:12, Charlie Reis (OOO til 11-11) wrote: ...
4 years, 1 month ago (2016-11-11 20:22:18 UTC) #12
Devlin
BrowserTest or UnitTest? https://i.ytimg.com/vi/X9Jl2I-hwfE/hqdefault.jpg Done.
4 years, 1 month ago (2016-11-11 23:18:52 UTC) #15
Charlie Reis
Hooray! LGTM with one question. https://codereview.chromium.org/2492863003/diff/20001/chrome/browser/extensions/api/tabs/tabs_test.cc File chrome/browser/extensions/api/tabs/tabs_test.cc (right): https://codereview.chromium.org/2492863003/diff/20001/chrome/browser/extensions/api/tabs/tabs_test.cc#newcode2132 chrome/browser/extensions/api/tabs/tabs_test.cc:2132: "/extensions/api_test/tabs/pdf_extension_test.html"); Do you need ...
4 years, 1 month ago (2016-11-11 23:26:08 UTC) #16
Devlin
https://codereview.chromium.org/2492863003/diff/20001/chrome/browser/extensions/api/tabs/tabs_test.cc File chrome/browser/extensions/api/tabs/tabs_test.cc (right): https://codereview.chromium.org/2492863003/diff/20001/chrome/browser/extensions/api/tabs/tabs_test.cc#newcode2132 chrome/browser/extensions/api/tabs/tabs_test.cc:2132: "/extensions/api_test/tabs/pdf_extension_test.html"); On 2016/11/11 23:26:07, Charlie Reis (OOO til 11-11) ...
4 years, 1 month ago (2016-11-11 23:48:56 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2492863003/40001
4 years, 1 month ago (2016-11-12 01:24:10 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-12 01:29:41 UTC) #26
commit-bot: I haz the power
4 years, 1 month ago (2016-11-12 01:32:02 UTC) #28
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2097de33a1f3d04e78d93e9e2f16aad4b97e47d7
Cr-Commit-Position: refs/heads/master@{#431726}

Powered by Google App Engine
This is Rietveld 408576698