Skip to content

Enable plznavigate aka browser side navigation - #12535

Merged
zcbenz merged 8 commits into
masterfrom
enable_plznavigate
Apr 6, 2018
Merged

zcbenz merged 8 commits into
masterfrom
enable_plznavigate

Conversation

@deepak1556

@deepak1556 deepak1556 commented Apr 4, 2018 •

Copy link
Copy Markdown
Member

@deepak1556
deepak1556 requested review from a team April 4, 2018 22:45
@deepak1556
deepak1556 force-pushed the enable_plznavigate branch from ec506bc to a5e37ae Compare April 5, 2018 06:34
@deepak1556
deepak1556 force-pushed the enable_plznavigate branch 3 times, most recently from e0e1c94 to 1e95840 Compare April 5, 2018 17:17
Comment thread docs/api/webview-tag.md

Corresponds to the points in time when the spinner of the tab stops spinning.

### Event: 'did-get-response-details'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This event should be deprecated before it can be removed.
@codebytere Is there a document for upcoming deprecations? Or what is the exact process?

@deepak1556 deepak1556 changed the title [WIP]: Enable plznavigate browser: Enable plznavigate aka browser side navigation Apr 5, 2018
@deepak1556 deepak1556 changed the title browser: Enable plznavigate aka browser side navigation Enable plznavigate aka browser side navigation Apr 5, 2018
Comment thread spec/webview-spec.js Outdated
assert.equal(e.message, referrer)
webview.removeEventListener('console-message', listener)
const server = http.createServer((req, res) => {
assert.equal(req.headers.referer, referrer)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this fails the assert.equal will throw and the server won't be stopped.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would using a try { } finally { } be preferred here ?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you stop the server before calling assert.equals? )

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup can do that, its better solution here.

@deepak1556
deepak1556 requested a review from zcbenz April 5, 2018 18:16
@deepak1556
deepak1556 force-pushed the enable_plznavigate branch from 1c501e8 to 754c3d4 Compare April 6, 2018 05:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants