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

Issue 2402873002: Add check for file:-navigations from PDFs (Closed)

Created:
4 years, 2 months ago by robwu
Modified:
4 years, 2 months ago
Reviewers:
Lei Zhang, raymes
CC:
chromium-reviews, arv+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add check for file:-navigations from PDFs BUG=654279 TEST=./browser_tests --gtest_filter=PDFExtensionTest.Navigator CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/374249e767a68d8da073a4ed3a4f29236451174c Cr-Commit-Position: refs/heads/master@{#425287}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Put logic at single location, add test #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -12 lines) Patch
M chrome/browser/resources/pdf/navigator.js View 1 4 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/resources/pdf/pdf.js View 1 1 chunk +1 line, -2 lines 0 comments Download
M chrome/test/data/pdf/navigator_test.js View 1 4 chunks +39 lines, -4 lines 2 comments Download

Messages

Total messages: 25 (16 generated)
robwu
Lei, I hope you still have energy for this review after a weekend of plumbing ...
4 years, 2 months ago (2016-10-09 16:59:29 UTC) #8
Lei Zhang
+raymes for Javascript bits. It turns out plumbing is hard work and I ran out ...
4 years, 2 months ago (2016-10-10 21:07:04 UTC) #10
raymes
https://codereview.chromium.org/2402873002/diff/1/chrome/browser/resources/pdf/navigator.js File chrome/browser/resources/pdf/navigator.js (right): https://codereview.chromium.org/2402873002/diff/1/chrome/browser/resources/pdf/navigator.js#newcode74 chrome/browser/resources/pdf/navigator.js:74: if (!this.isSourceFileUrl_ && /^file:/i.test(url)) On 2016/10/10 21:07:04, Lei Zhang ...
4 years, 2 months ago (2016-10-11 06:37:42 UTC) #11
robwu
https://codereview.chromium.org/2402873002/diff/1/chrome/browser/resources/pdf/navigator.js File chrome/browser/resources/pdf/navigator.js (right): https://codereview.chromium.org/2402873002/diff/1/chrome/browser/resources/pdf/navigator.js#newcode74 chrome/browser/resources/pdf/navigator.js:74: if (!this.isSourceFileUrl_ && /^file:/i.test(url)) On 2016/10/11 06:37:42, raymes wrote: ...
4 years, 2 months ago (2016-10-12 22:08:01 UTC) #14
raymes
lgtm thanks for the cleanups too https://codereview.chromium.org/2402873002/diff/20001/chrome/test/data/pdf/navigator_test.js File chrome/test/data/pdf/navigator_test.js (right): https://codereview.chromium.org/2402873002/diff/20001/chrome/test/data/pdf/navigator_test.js#newcode53 chrome/test/data/pdf/navigator_test.js:53: return; Can we ...
4 years, 2 months ago (2016-10-13 00:11:34 UTC) #18
robwu
https://codereview.chromium.org/2402873002/diff/20001/chrome/test/data/pdf/navigator_test.js File chrome/test/data/pdf/navigator_test.js (right): https://codereview.chromium.org/2402873002/diff/20001/chrome/test/data/pdf/navigator_test.js#newcode53 chrome/test/data/pdf/navigator_test.js:53: return; On 2016/10/13 00:11:34, raymes wrote: > Can we ...
4 years, 2 months ago (2016-10-13 07:22:35 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/2402873002/20001
4 years, 2 months ago (2016-10-14 09:28:27 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-14 10:13:44 UTC) #23
commit-bot: I haz the power
4 years, 2 months ago (2016-10-14 10:15:07 UTC) #25
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/374249e767a68d8da073a4ed3a4f29236451174c
Cr-Commit-Position: refs/heads/master@{#425287}

Powered by Google App Engine
This is Rietveld 408576698