mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
update spec
This commit is contained in:
@@ -114,7 +114,7 @@ class PdfViewerUI::ResourceRequester
|
||||
BrowserThread::DeleteOnIOThread>,
|
||||
public atom::LayeredResourceHandler::Delegate {
|
||||
public:
|
||||
ResourceRequester(StreamResponseCallback cb)
|
||||
explicit ResourceRequester(StreamResponseCallback cb)
|
||||
: stream_response_cb_(std::move(cb)) {}
|
||||
|
||||
void StartRequest(const GURL& url,
|
||||
|
||||
@@ -827,7 +827,6 @@ describe('chromium feature', function () {
|
||||
assert.equal(parsedURL.protocol, 'chrome:')
|
||||
assert.equal(parsedURL.hostname, 'pdf-viewer')
|
||||
assert.equal(parsedURL.query.src, pdfSource)
|
||||
assert(!!parsedURL.query.streamId.length)
|
||||
})
|
||||
w.webContents.on('page-title-updated', function () {
|
||||
assert.equal(w.webContents.getTitle(), 'PDF')
|
||||
|
||||
Reference in New Issue
Block a user