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

Issue 840493002: Introduce new test for bookmark loading. (Closed)

Created:
5 years, 11 months ago by Alexandre Carlton
Modified:
5 years, 11 months ago
Reviewers:
Sam McNally, raymes
Base URL:
https://chromium.googlesource.com/chromium/src.git@bookmarks-minimal
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce new test for bookmark loading. BUG=110020 Committed: https://crrev.com/50567ebbd5ca2ff79d87382addc11d25658776d2 Cr-Commit-Position: refs/heads/master@{#312076} Committed: https://crrev.com/1325b5e80b371e4e559aa745a669c060d08c0ea3 Cr-Commit-Position: refs/heads/master@{#313198}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Implement some of Raymes' changes #

Patch Set 3 : Use ScriptingAPI to wait for bookmarks #

Total comments: 10

Patch Set 4 : Implement Raymes' suggestions #

Patch Set 5 : Cleanup #

Total comments: 4

Patch Set 6 : Add getter for bookmarks #

Total comments: 2

Patch Set 7 : Fix Documentation #

Patch Set 8 : Rebase after failing last time #

Patch Set 9 : Rebase for re-upload #

Patch Set 10 : Corrections after rebase #

Total comments: 2

Patch Set 11 : Remove newline in argument list. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -6 lines) Patch
M chrome/browser/resources/pdf/pdf.js View 1 2 3 4 5 6 7 8 9 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/resources/pdf/pdf_extension_test.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +9 lines, -5 lines 0 comments Download
A chrome/test/data/pdf/bookmarks_test.js View 1 2 3 4 5 1 chunk +39 lines, -0 lines 0 comments Download
A chrome/test/data/pdf/test-bookmarks.pdf View Binary file 0 comments Download
M pdf/pdfium/pdfium_engine.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 38 (9 generated)
Alexandre Carlton
5 years, 11 months ago (2015-01-06 01:34:56 UTC) #2
raymes
https://codereview.chromium.org/840493002/diff/1/chrome/browser/resources/pdf/pdf.js File chrome/browser/resources/pdf/pdf.js (right): https://codereview.chromium.org/840493002/diff/1/chrome/browser/resources/pdf/pdf.js#newcode430 chrome/browser/resources/pdf/pdf.js:430: }); if we ensure that bookmark information is sent ...
5 years, 11 months ago (2015-01-06 05:52:29 UTC) #3
raymes
https://codereview.chromium.org/840493002/diff/1/chrome/browser/resources/pdf/pdf.js File chrome/browser/resources/pdf/pdf.js (right): https://codereview.chromium.org/840493002/diff/1/chrome/browser/resources/pdf/pdf.js#newcode430 chrome/browser/resources/pdf/pdf.js:430: }); (we also wouldn't need the bookmarksLoaded member either ...
5 years, 11 months ago (2015-01-13 07:25:12 UTC) #4
Alexandre Carlton
https://codereview.chromium.org/840493002/diff/1/chrome/browser/resources/pdf/pdf.js File chrome/browser/resources/pdf/pdf.js (right): https://codereview.chromium.org/840493002/diff/1/chrome/browser/resources/pdf/pdf.js#newcode430 chrome/browser/resources/pdf/pdf.js:430: }); On 2015/01/13 07:25:12, raymes wrote: > (we also ...
5 years, 11 months ago (2015-01-15 05:01:42 UTC) #5
Alexandre Carlton
https://codereview.chromium.org/840493002/diff/1/chrome/browser/resources/pdf/pdf_extension_test.cc File chrome/browser/resources/pdf/pdf_extension_test.cc (right): https://codereview.chromium.org/840493002/diff/1/chrome/browser/resources/pdf/pdf_extension_test.cc#newcode41 chrome/browser/resources/pdf/pdf_extension_test.cc:41: void RunTestsInFile(std::string filename, std::string filepath, On 2015/01/13 07:25:12, raymes ...
5 years, 11 months ago (2015-01-15 05:01:42 UTC) #6
raymes
Looks good! A few minor issues https://codereview.chromium.org/840493002/diff/40001/chrome/browser/resources/pdf/pdf.js File chrome/browser/resources/pdf/pdf.js (left): https://codereview.chromium.org/840493002/diff/40001/chrome/browser/resources/pdf/pdf.js#oldcode413 chrome/browser/resources/pdf/pdf.js:413: console.log(JSON.stringify(this.bookmarks_, null, '\t')); ...
5 years, 11 months ago (2015-01-15 05:40:19 UTC) #7
Alexandre Carlton
https://codereview.chromium.org/840493002/diff/40001/chrome/browser/resources/pdf/pdf.js File chrome/browser/resources/pdf/pdf.js (left): https://codereview.chromium.org/840493002/diff/40001/chrome/browser/resources/pdf/pdf.js#oldcode413 chrome/browser/resources/pdf/pdf.js:413: console.log(JSON.stringify(this.bookmarks_, null, '\t')); On 2015/01/15 05:40:19, raymes wrote: > ...
5 years, 11 months ago (2015-01-16 02:39:08 UTC) #8
raymes
https://codereview.chromium.org/840493002/diff/80001/chrome/test/data/pdf/bookmarks_test.js File chrome/test/data/pdf/bookmarks_test.js (right): https://codereview.chromium.org/840493002/diff/80001/chrome/test/data/pdf/bookmarks_test.js#newcode6 chrome/test/data/pdf/bookmarks_test.js:6: nit: we can remove this line https://codereview.chromium.org/840493002/diff/80001/chrome/test/data/pdf/bookmarks_test.js#newcode11 chrome/test/data/pdf/bookmarks_test.js:11: var ...
5 years, 11 months ago (2015-01-16 02:46:31 UTC) #9
Alexandre Carlton
https://codereview.chromium.org/840493002/diff/80001/chrome/test/data/pdf/bookmarks_test.js File chrome/test/data/pdf/bookmarks_test.js (right): https://codereview.chromium.org/840493002/diff/80001/chrome/test/data/pdf/bookmarks_test.js#newcode6 chrome/test/data/pdf/bookmarks_test.js:6: On 2015/01/16 02:46:30, raymes wrote: > nit: we can ...
5 years, 11 months ago (2015-01-16 03:14:07 UTC) #10
raymes
lgtm
5 years, 11 months ago (2015-01-18 21:31:16 UTC) #11
Sam McNally
https://codereview.chromium.org/840493002/diff/90001/chrome/browser/resources/pdf/pdf.js File chrome/browser/resources/pdf/pdf.js (right): https://codereview.chromium.org/840493002/diff/90001/chrome/browser/resources/pdf/pdf.js#newcode621 chrome/browser/resources/pdf/pdf.js:621: * - page Optional?
5 years, 11 months ago (2015-01-18 23:56:57 UTC) #12
Alexandre Carlton
https://codereview.chromium.org/840493002/diff/90001/chrome/browser/resources/pdf/pdf.js File chrome/browser/resources/pdf/pdf.js (right): https://codereview.chromium.org/840493002/diff/90001/chrome/browser/resources/pdf/pdf.js#newcode621 chrome/browser/resources/pdf/pdf.js:621: * - page On 2015/01/18 23:56:57, Sam McNally wrote: ...
5 years, 11 months ago (2015-01-19 00:42:47 UTC) #13
Sam McNally
lgtm
5 years, 11 months ago (2015-01-19 00:43:31 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/840493002/110001
5 years, 11 months ago (2015-01-19 01:41:47 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/15963) Try jobs failed on following ...
5 years, 11 months ago (2015-01-19 03:01:32 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/840493002/110001
5 years, 11 months ago (2015-01-19 04:18:25 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/15963)
5 years, 11 months ago (2015-01-19 04:18:39 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/840493002/130001
5 years, 11 months ago (2015-01-19 05:03:27 UTC) #24
commit-bot: I haz the power
Committed patchset #8 (id:130001)
5 years, 11 months ago (2015-01-19 07:04:40 UTC) #25
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/50567ebbd5ca2ff79d87382addc11d25658776d2 Cr-Commit-Position: refs/heads/master@{#312076}
5 years, 11 months ago (2015-01-19 07:06:17 UTC) #26
Alexandre Carlton
A revert of this CL (patchset #8 id:130001) has been created in https://codereview.chromium.org/857863002/ by alexandrec@chromium.org. ...
5 years, 11 months ago (2015-01-19 22:54:35 UTC) #27
Alexandre Carlton
Preparation for another landing.
5 years, 11 months ago (2015-01-22 23:56:32 UTC) #28
raymes
lgtm https://codereview.chromium.org/840493002/diff/170001/chrome/browser/resources/pdf/pdf_extension_test.cc File chrome/browser/resources/pdf/pdf_extension_test.cc (right): https://codereview.chromium.org/840493002/diff/170001/chrome/browser/resources/pdf/pdf_extension_test.cc#newcode44 chrome/browser/resources/pdf/pdf_extension_test.cc:44: std::string pdf_filename) { Will this all fit on ...
5 years, 11 months ago (2015-01-23 00:34:51 UTC) #29
Alexandre Carlton
https://codereview.chromium.org/840493002/diff/170001/chrome/browser/resources/pdf/pdf_extension_test.cc File chrome/browser/resources/pdf/pdf_extension_test.cc (right): https://codereview.chromium.org/840493002/diff/170001/chrome/browser/resources/pdf/pdf_extension_test.cc#newcode44 chrome/browser/resources/pdf/pdf_extension_test.cc:44: std::string pdf_filename) { On 2015/01/23 00:34:51, raymes wrote: > ...
5 years, 11 months ago (2015-01-23 01:46:20 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/840493002/190001
5 years, 11 months ago (2015-01-23 01:53:50 UTC) #32
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
5 years, 11 months ago (2015-01-23 03:55:32 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/840493002/190001
5 years, 11 months ago (2015-01-27 00:59:51 UTC) #36
commit-bot: I haz the power
Committed patchset #11 (id:190001)
5 years, 11 months ago (2015-01-27 01:45:27 UTC) #37
commit-bot: I haz the power
5 years, 11 months ago (2015-01-27 01:47:20 UTC) #38
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/1325b5e80b371e4e559aa745a669c060d08c0ea3
Cr-Commit-Position: refs/heads/master@{#313198}

Powered by Google App Engine
This is Rietveld 408576698