-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bail out of event blocking for Adobe CEP bug (fix #10366) #10459
base: dev
Are you sure you want to change the base?
Conversation
One note: |
Some Adobe CEP environments have a broken Event.timeStamp implementation that breaks event blocking logic. The issue specifically affects host applications running on macOS with CEP version 9.3 and below. This workaround is OS-agnostic so as to maintain identical behavior across platforms. More details can be found in issue vuejs#10366. fix vuejs#10366
58eb122
to
1911503
Compare
@derrickb Fixed! Thanks for catching that!! 😅 |
Improve type checking of the `__adobe_cep__` object. It shouldn't just be `undefined` but explicitly an object.
It is possible that extremely early versions of Adobe CEP did not have the `getCurrentApiVersion` function defined. In such cases, assume "CEP 9.3 or earlier".
@posva Fixes applied. Please let me know if there is anything further! |
For the record, the decision to assume that:
was correct. I just ran across this statement in the official CEP Cookbook:
Awesome. 💪 |
fix #10366
What kind of change does this PR introduce? (check at least one)
Does this PR introduce a breaking change? (check one)
If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:
dev
branch for v2.x (or to a previous version branch), not themaster
branchfix #xxx[,#xxx]
, where "xxx" is the issue number)If adding a new feature, the PR's description includes:
Other information:
Some Adobe CEP environments have a broken
Event.timeStamp
implementation that breaks event blocking logic. The issue specifically affects host applications running on macOS with CEP version 9.3 and below. This workaround is OS-agnostic so as to maintain identical behavior across platforms. More details can be found in issue #10366.