Skip to content

Narrow down script matching to avoid incorrect prefix matches#25441

Merged
dvoytenko merged 4 commits intoampproject:masterfrom
dvoytenko:extensions2
Nov 5, 2019
Merged

Narrow down script matching to avoid incorrect prefix matches#25441
dvoytenko merged 4 commits intoampproject:masterfrom
dvoytenko:extensions2

Conversation

@dvoytenko
Copy link
Copy Markdown
Contributor

@dvoytenko dvoytenko commented Nov 5, 2019

Fixes #25436.

Additionally fixes a race condition on the wait->reload sequence. Rare, but manifests itself exactly the same way as described in the #25436.

Copy link
Copy Markdown

@dreamofabear dreamofabear left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this. 👍

@dvoytenko dvoytenko requested a review from jridgewell November 5, 2019 20:20
@dvoytenko dvoytenko requested a review from jridgewell November 5, 2019 20:42
Copy link
Copy Markdown
Contributor

@jridgewell jridgewell left a comment

Choose a reason for hiding this comment

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

Ohh bundlesize bot.

@dvoytenko dvoytenko merged commit ad2ea95 into ampproject:master Nov 5, 2019
@dvoytenko dvoytenko deleted the extensions2 branch November 5, 2019 21:25
erwinmombay pushed a commit that referenced this pull request Nov 5, 2019
* Narrow down script matching to avoid incorrect preffix matches

* minor

* Fix race condition on wait->reload

* update script existence
micajuine-ho pushed a commit to micajuine-ho/amphtml that referenced this pull request Dec 27, 2019
…ject#25441)

* Narrow down script matching to avoid incorrect preffix matches

* minor

* Fix race condition on wait->reload

* update script existence
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extension reload breaks waitForExtension

4 participants