Bug 197719 - Saleforce Lightning drop downs don't work
Summary: Saleforce Lightning drop downs don't work
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: Safari 12
Hardware: Mac macOS 10.12.4
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-05-08 15:27 PDT by Erin Dalzell
Modified: 2019-05-09 00:41 PDT (History)
6 users (show)

See Also:


Attachments
save as web archive (12.66 MB, application/x-webarchive)
2019-05-08 16:22 PDT, Erin Dalzell
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erin Dalzell 2019-05-08 15:27:43 PDT
The new Salesforce Lightning's drop downs don't work in Safari.

For example, the All Opportunities here: https://cl.ly/746ac3a713d6 doesn't work. It seems to be a simple link: https://keboola.lightning.force.com/lightning/o/Opportunity/list?filterName=00B1t000006m6CZEAY

What other information can I provide that would help you debug this?

Here's the DOM around it: https://cl.ly/729cb9b3175f
Comment 1 Erin Dalzell 2019-05-08 16:22:44 PDT
Created attachment 369443 [details]
save as web archive
Comment 2 Chris Dumez 2019-05-08 16:33:04 PDT
Yes, it looks like I can reproduce by loading the Web Archive. Clicking on drop down menus does not seem to do anything and no JS error is logged in the console.

Thanks for the bug report and the reproduction case.
Comment 3 Chris Dumez 2019-05-08 16:48:39 PDT
None of the buttons are working for me on this page (e.g. edit buttons, the X button in the assistant on the right). Is it only in the web archive or also in the live version? Just want to make sure the web archive is actually sane.

For what it's worth, I tried an older version of WebKit and the drop down menus did not work either so it does not appear to be a recent regression on our side.
Comment 4 Chris Dumez 2019-05-08 16:52:28 PDT
I would expect to see some mouseover / click event listeners on those menus but there are none.
Comment 5 Erin Dalzell 2019-05-08 17:07:47 PDT
All of those work on this page, and clicking the Opportunities down arrow thingy pops up a menu, just the items in the menus don't work when clicked.

So I guess the web archive is borked?

can I help debug in any other way?
Comment 6 Chris Dumez 2019-05-08 19:17:21 PDT
(In reply to Erin Dalzell from comment #5)
> All of those work on this page, and clicking the Opportunities down arrow
> thingy pops up a menu, just the items in the menus don't work when clicked.
> 
> So I guess the web archive is borked?
> 
> can I help debug in any other way?

Yes, the web archive is clearly broken :/ I fear this is not going to be super actionable given this is behind a log in. 

Do you see any errors in the Javascript console in Web inspector when you load the page and / or when you click the menu items?
Comment 7 Chris Dumez 2019-05-08 19:20:11 PDT
Looking at your snapshot, it does seem to be a simple link but my bet is that there is a click event listener on this link which intercepts the click.
Comment 8 Erin Dalzell 2019-05-08 20:03:34 PDT
Lots of errors when I load, none when I click:

[Error] Viewport argument key "minimal-ui" not recognized and ignored. (home, line 2)
[Error] Viewport argument key "minimal-ui" not recognized and ignored. (home, line 3)
[Error] Refused to load data:text/css;base64,LyoKICogc2h1dHVwLmNzcwogKiB3ZWIgLSBwZWFudXQgZ2FsbGVyeSA9IGJsaXNzCiAqCiAqIGJ5IFN0ZXZlbiBGcmFuayA8c3RldmVuZkBwYW5pYy5jb20+IGFuZCBjb250cmlidXRvcnMKICogPGh0dHBzOi8vc3RldmVuZi5jb20vc2h1dHVwY3NzLz4KICoKICogUGxlYXNlIGRvIG5vdCB1c2Ugc2h1dHVwLmNzcyBpbiBkZXJpdmF0aXZlIHdvcmtzIChzdWNoIGFzIGlPUwogKiBDb250ZW50IEJsb2NrZXJzIG9yIGJyb3dzZXIgZXh0ZW5zaW9ucykgd2l0aG91dCBwZXJtaXNzaW9uLgogKgogKiBOb3RlczoKICoKICogMS4gSWYgeW91IHdhbnQgdG8gUkUtRU5BQkxFIGNvbW1lbnRzIGZvciBhIHNwZWNpZmljIHNpdGUsIGFkZCBhbgogKiBvdmVycm...oqKiAqLwoKLyoKICogU29tZSBwYWdlcyB1c2UgYSBjb21tZW50cyBjbGFzcyBvbiB0aGUgdG9wIGxldmVsIGVsZW1lbnQsCiAqIGJsb2NraW5nIHRoZSB3aG9sZSBwYWdlLiBXZWlyZC4KICovCmh0bWwuY29tbWVudHMsIGJvZHkuY29tbWVudHMsCmh0bWwuQ29tbWVudHMsIGJvZHkuQ29tbWVudHMsCmh0bWwjY29tbWVudHMsIGJvZHkjY29tbWVudHMsCmh0bWwjQ29tbWVudHMsIGJvZHkjQ29tbWVudHMsCgovKiBoaWdobGlnaHQuanMgKi8KY29kZSBzcGFuLmNvbW1lbnQsCgovKiBXaWtpcGVkaWEgcmV2aXNpb24gaGlzdG9yeSAqLwojcGFnZWhpc3RvcnkgLmNvbW1lbnQsCnRhYmxlLmRpZmYgLmNvbW1lbnQKCnsKCWRpc3BsYXk6IGluaXRpYWwgIWltcG9ydGFudDsKfQo= because it does not appear in the style-src directive of the Content Security Policy.
[Error] Refused to execute a script because its hash, its nonce, or 'unsafe-inline' does not appear in the script-src directive of the Content Security Policy. (home, line 0)
[Error] Failed to load resource: the server responded with a status of 503 () (aura_prod.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (none, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (keboola600x120, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (kbcoctopus, line 0)
Comment 9 Chris Dumez 2019-05-08 21:18:05 PDT
(In reply to Erin Dalzell from comment #8)
> Lots of errors when I load, none when I click:
> 
> [Error] Viewport argument key "minimal-ui" not recognized and ignored.
> (home, line 2)
> [Error] Viewport argument key "minimal-ui" not recognized and ignored.
> (home, line 3)
> [Error] Refused to load
> data:text/css;base64,
> LyoKICogc2h1dHVwLmNzcwogKiB3ZWIgLSBwZWFudXQgZ2FsbGVyeSA9IGJsaXNzCiAqCiAqIGJ5I
> FN0ZXZlbiBGcmFuayA8c3RldmVuZkBwYW5pYy5jb20+IGFuZCBjb250cmlidXRvcnMKICogPGh0dH
> BzOi8vc3RldmVuZi5jb20vc2h1dHVwY3NzLz4KICoKICogUGxlYXNlIGRvIG5vdCB1c2Ugc2h1dHV
> wLmNzcyBpbiBkZXJpdmF0aXZlIHdvcmtzIChzdWNoIGFzIGlPUwogKiBDb250ZW50IEJsb2NrZXJz
> IG9yIGJyb3dzZXIgZXh0ZW5zaW9ucykgd2l0aG91dCBwZXJtaXNzaW9uLgogKgogKiBOb3RlczoKI
> CoKICogMS4gSWYgeW91IHdhbnQgdG8gUkUtRU5BQkxFIGNvbW1lbnRzIGZvciBhIHNwZWNpZmljIH
> NpdGUsIGFkZCBhbgogKiBvdmVycm...
> oqKiAqLwoKLyoKICogU29tZSBwYWdlcyB1c2UgYSBjb21tZW50cyBjbGFzcyBvbiB0aGUgdG9wIGx
> ldmVsIGVsZW1lbnQsCiAqIGJsb2NraW5nIHRoZSB3aG9sZSBwYWdlLiBXZWlyZC4KICovCmh0bWwu
> Y29tbWVudHMsIGJvZHkuY29tbWVudHMsCmh0bWwuQ29tbWVudHMsIGJvZHkuQ29tbWVudHMsCmh0b
> WwjY29tbWVudHMsIGJvZHkjY29tbWVudHMsCmh0bWwjQ29tbWVudHMsIGJvZHkjQ29tbWVudHMsCg
> ovKiBoaWdobGlnaHQuanMgKi8KY29kZSBzcGFuLmNvbW1lbnQsCgovKiBXaWtpcGVkaWEgcmV2aXN
> pb24gaGlzdG9yeSAqLwojcGFnZWhpc3RvcnkgLmNvbW1lbnQsCnRhYmxlLmRpZmYgLmNvbW1lbnQK
> CnsKCWRpc3BsYXk6IGluaXRpYWwgIWltcG9ydGFudDsKfQo= because it does not appear
> in the style-src directive of the Content Security Policy.
> [Error] Refused to execute a script because its hash, its nonce, or
> 'unsafe-inline' does not appear in the script-src directive of the Content
> Security Policy. (home, line 0)
> [Error] Failed to load resource: the server responded with a status of 503
> () (aura_prod.js.map, line 0)
> [Error] Failed to load resource: the server responded with a status of 404
> (Not Found) (none, line 0)
> [Error] Failed to load resource: the server responded with a status of 404
> (Not Found) (keboola600x120, line 0)
> [Error] Failed to load resource: the server responded with a status of 404
> (Not Found) (kbcoctopus, line 0)

Unfortunately it seems unlikely that those errors would be related.
Comment 10 Maciej Stachowiak 2019-05-09 00:41:06 PDT
It sounds like we're going to get a test account to test this. If anyone is able to provide a test account we can reach out confidentially for login info. Alternately, if this can be reproduced from any Salesforce account, we can try to get a test account from Salesforce.
Comment 11 Radar WebKit Bug Importer 2019-05-09 00:41:28 PDT
<rdar://problem/50613508>