Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Use our own PDFJS fork
Browse files Browse the repository at this point in the history
Auditors: @bridiver' -m Fix
  • Loading branch information
bbondy committed Sep 28, 2016
1 parent d3e4401 commit e611a31
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/constants/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ module.exports = {
replacementUrl: adHost
},
braveExtensionId: 'mnojpmjdmbbfmejpflffifhffcmidifd',
PDFJSExtensionId: 'oemmndcbldboiebfnladdacbdfmadadm',
PDFJSExtensionId: 'jdbefljfgobbmcidnmpjamcbhnbphjnb',
coinbaseOrigin: 'https://buy.coinbase.com'
}
2 changes: 1 addition & 1 deletion test/about/extensionsTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('about:extensions', function () {
})
it('installs by default', function * () {
yield this.app.client
.waitForVisible('[data-extension-id="oemmndcbldboiebfnladdacbdfmadadm"]')
.waitForVisible('[data-extension-id="jdbefljfgobbmcidnmpjamcbhnbphjnb"]')
})
})
describe('1Password', function () {
Expand Down
2 changes: 1 addition & 1 deletion test/unit/lib/urlutilTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ describe('urlutil', function () {

describe('getLocationIfPDF', function () {
it('gets location for PDF JS URL', function () {
assert.equal(UrlUtil.getLocationIfPDF('chrome-extension://oemmndcbldboiebfnladdacbdfmadadm/https://www.blackhat.co…king-Kernel-Address-Space-Layout-Randomization-KASLR-With-Intel-TSX-wp.pdf'),
assert.equal(UrlUtil.getLocationIfPDF('chrome-extension://jdbefljfgobbmcidnmpjamcbhnbphjnb/https://www.blackhat.co…king-Kernel-Address-Space-Layout-Randomization-KASLR-With-Intel-TSX-wp.pdf'),
'https://www.blackhat.co…king-Kernel-Address-Space-Layout-Randomization-KASLR-With-Intel-TSX-wp.pdf')
})
it('does not modify location for non-pdf URL', function () {
Expand Down

0 comments on commit e611a31

Please sign in to comment.