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
Bug 1401783 - Use simple matching for extensions. #3203
Conversation
<string>SUBQUERY ( extensionItems, $extensionItem, SUBQUERY ( $extensionItem.attachments, $attachment, ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.url").@count > 0 ).@count == 1</string> | ||
<dict> | ||
<key>NSExtensionActivationDictionaryVersion</key> | ||
<integer>2</integer> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This basically means "match this against any attachment". The v1 behavior was "pass if this matches every attachment".
It would be really nice if this worked well. Before we land this we just need to make sure our extensions work correctly from Firefox, Safari, Chrome, Twitter & a few other that share URL data. Specially make sure the behaviour is the same - that we get both title and url. |
FYI, the 'compiled' query in the failing case looks like this:
Those empty parameters look like the problem. I found an older Client.app in the build folder, and it looks like this is what a working compiled
The former instance is Xcode 9 release, the latter I believe was compiled on Xcode 9 GM, which leads me to believe there was a change between GM and release. |
@st3fan can we land on master and ask QA to run through this extensively? edit: just now saw your comment to land and then QA it, sgtm. |
… settings menu
… settings menu
No description provided.