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

Issue 838723003: Testcases for nameddests and navigate for PDF (Closed)

Created:
5 years, 11 months ago by Deepak
Modified:
5 years, 10 months ago
Reviewers:
Lei Zhang, raymes, gene
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, arv+watch_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Testcases for nameddests for PDF. Test cases added for nameddests and navigate. common_test.js file have been added that have the common function for viewport_test and nameddestinations_test file. This is followup for 447888 issue. BUG=450105 Committed: https://crrev.com/dc24a5d7603a57d8da13c18c6e7adf114f373a85 Cr-Commit-Position: refs/heads/master@{#314119}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Changes as per review comments. #

Patch Set 3 : Removed extra space. #

Patch Set 4 : Refactor common function for Viewport test and NamedDestinations test. #

Patch Set 5 : Correcting Indentation. #

Total comments: 24

Patch Set 6 : Changes as per review comments. #

Patch Set 7 : Added Callback for navigation. #

Patch Set 8 : Addressing nit. #

Total comments: 25

Patch Set 9 : Changes as per review comments. #

Patch Set 10 : Addressing nit. #

Total comments: 8

Patch Set 11 : Changes as per review comments. #

Total comments: 6

Patch Set 12 : Changes as per review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+316 lines, -97 lines) Patch
M chrome/browser/resources/pdf/navigator.js View 1 2 3 4 5 6 7 8 9 10 2 chunks +13 lines, -8 lines 0 comments Download
M chrome/browser/resources/pdf/pdf.js View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +23 lines, -1 line 0 comments Download
M chrome/browser/resources/pdf/pdf_extension_test.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +16 lines, -3 lines 0 comments Download
A chrome/test/data/pdf/navigator_test.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +98 lines, -0 lines 0 comments Download
A chrome/test/data/pdf/params_parser_test.js View 1 2 3 4 5 1 chunk +77 lines, -0 lines 0 comments Download
A chrome/test/data/pdf/test_util.js View 1 2 3 4 5 6 1 chunk +89 lines, -0 lines 0 comments Download
M chrome/test/data/pdf/viewport_test.js View 1 2 3 1 chunk +0 lines, -85 lines 0 comments Download

Messages

Total messages: 27 (5 generated)
Deepak
Dear Raymes, PTAL at my changes. Thanks.
5 years, 11 months ago (2015-01-20 05:48:32 UTC) #2
Deepak
Dear Raymes, PTAL at my changes and share your thoughts. Thanks.
5 years, 11 months ago (2015-01-21 06:25:34 UTC) #3
raymes
https://codereview.chromium.org/838723003/diff/1/chrome/browser/resources/pdf/pdf_extension_test.cc File chrome/browser/resources/pdf/pdf_extension_test.cc (right): https://codereview.chromium.org/838723003/diff/1/chrome/browser/resources/pdf/pdf_extension_test.cc#newcode100 chrome/browser/resources/pdf/pdf_extension_test.cc:100: RunTestsInFile("nameddestinations_test.js", "test_nameddestinations.pdf"); Since we're not actually using the PDF ...
5 years, 11 months ago (2015-01-23 00:01:44 UTC) #4
Deepak
@Raymes Thanks for review. PTAL https://codereview.chromium.org/838723003/diff/1/chrome/browser/resources/pdf/pdf_extension_test.cc File chrome/browser/resources/pdf/pdf_extension_test.cc (right): https://codereview.chromium.org/838723003/diff/1/chrome/browser/resources/pdf/pdf_extension_test.cc#newcode100 chrome/browser/resources/pdf/pdf_extension_test.cc:100: RunTestsInFile("nameddestinations_test.js", "test_nameddestinations.pdf"); On 2015/01/23 ...
5 years, 11 months ago (2015-01-23 14:05:15 UTC) #5
Deepak
PTAL.
5 years, 11 months ago (2015-01-27 03:32:31 UTC) #6
raymes
Thanks! https://codereview.chromium.org/838723003/diff/80001/chrome/browser/resources/pdf/pdf_extension_test.cc File chrome/browser/resources/pdf/pdf_extension_test.cc (right): https://codereview.chromium.org/838723003/diff/80001/chrome/browser/resources/pdf/pdf_extension_test.cc#newcode45 chrome/browser/resources/pdf/pdf_extension_test.cc:45: std::string commonfile) { Let's not pass this as ...
5 years, 10 months ago (2015-01-28 01:33:45 UTC) #8
raymes
Thanks!
5 years, 10 months ago (2015-01-28 01:48:47 UTC) #9
Deepak
Thanks for review. Changes updated. PTAL. https://codereview.chromium.org/838723003/diff/80001/chrome/browser/resources/pdf/pdf_extension_test.cc File chrome/browser/resources/pdf/pdf_extension_test.cc (right): https://codereview.chromium.org/838723003/diff/80001/chrome/browser/resources/pdf/pdf_extension_test.cc#newcode45 chrome/browser/resources/pdf/pdf_extension_test.cc:45: std::string commonfile) { ...
5 years, 10 months ago (2015-01-28 05:57:24 UTC) #10
raymes
Looks good! just a few small things https://codereview.chromium.org/838723003/diff/140001/chrome/browser/resources/pdf/navigator.js File chrome/browser/resources/pdf/navigator.js (right): https://codereview.chromium.org/838723003/diff/140001/chrome/browser/resources/pdf/navigator.js#newcode12 chrome/browser/resources/pdf/navigator.js:12: * @param ...
5 years, 10 months ago (2015-01-29 04:27:14 UTC) #11
Deepak
Thanks for review. All suggestions addressed. PTAL. https://codereview.chromium.org/838723003/diff/140001/chrome/browser/resources/pdf/navigator.js File chrome/browser/resources/pdf/navigator.js (right): https://codereview.chromium.org/838723003/diff/140001/chrome/browser/resources/pdf/navigator.js#newcode12 chrome/browser/resources/pdf/navigator.js:12: * @param ...
5 years, 10 months ago (2015-01-29 06:05:41 UTC) #12
raymes
https://codereview.chromium.org/838723003/diff/140001/chrome/browser/resources/pdf/navigator.js File chrome/browser/resources/pdf/navigator.js (right): https://codereview.chromium.org/838723003/diff/140001/chrome/browser/resources/pdf/navigator.js#newcode76 chrome/browser/resources/pdf/navigator.js:76: // window.open doesn't have this guarantee. Please keep this ...
5 years, 10 months ago (2015-01-30 03:45:04 UTC) #13
Deepak
Thanks for Review. PTAL https://codereview.chromium.org/838723003/diff/180001/chrome/browser/resources/pdf/navigator.js File chrome/browser/resources/pdf/navigator.js (right): https://codereview.chromium.org/838723003/diff/180001/chrome/browser/resources/pdf/navigator.js#newcode46 chrome/browser/resources/pdf/navigator.js:46: navigateInNewTab_: function(url) { On 2015/01/30 ...
5 years, 10 months ago (2015-01-30 04:39:21 UTC) #14
Deepak
@Raymes These changes are ready to rolled in. Thanks PTAL
5 years, 10 months ago (2015-02-01 04:10:49 UTC) #15
raymes
https://codereview.chromium.org/838723003/diff/200001/chrome/browser/resources/pdf/pdf.js File chrome/browser/resources/pdf/pdf.js (right): https://codereview.chromium.org/838723003/diff/200001/chrome/browser/resources/pdf/pdf.js#newcode380 chrome/browser/resources/pdf/pdf.js:380: }, These don't need to be functions hanging off ...
5 years, 10 months ago (2015-02-01 23:50:38 UTC) #16
Deepak
Thanks for review.Changes done as suggested. PTAL Thanks. https://codereview.chromium.org/838723003/diff/200001/chrome/browser/resources/pdf/pdf.js File chrome/browser/resources/pdf/pdf.js (right): https://codereview.chromium.org/838723003/diff/200001/chrome/browser/resources/pdf/pdf.js#newcode380 chrome/browser/resources/pdf/pdf.js:380: }, ...
5 years, 10 months ago (2015-02-02 04:00:12 UTC) #17
raymes
lgtm
5 years, 10 months ago (2015-02-02 04:04:43 UTC) #18
Deepak
On 2015/02/02 04:04:43, raymes wrote: > lgtm Thanks.
5 years, 10 months ago (2015-02-02 04:05:31 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/838723003/220001
5 years, 10 months ago (2015-02-02 04:06:07 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_gn_rel on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_gn_rel/builds/3851)
5 years, 10 months ago (2015-02-02 06:59:58 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/838723003/220001
5 years, 10 months ago (2015-02-02 07:07:47 UTC) #25
commit-bot: I haz the power
Committed patchset #12 (id:220001)
5 years, 10 months ago (2015-02-02 09:27:11 UTC) #26
commit-bot: I haz the power
5 years, 10 months ago (2015-02-02 09:28:06 UTC) #27
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/dc24a5d7603a57d8da13c18c6e7adf114f373a85
Cr-Commit-Position: refs/heads/master@{#314119}

Powered by Google App Engine
This is Rietveld 408576698