-
Notifications
You must be signed in to change notification settings - Fork 0
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
[CLOSED] Workaround for #10124: change the title on close. #8986
Comments
|
I'm still seeing 1 MultiBrowser (experimental) - LiveDevelopment unit test fail: "should push in memory css changes made before the session starts" TypeError: Cannot read property 'getSourceFromBrowser' of undefined
at null.<anonymous> (file://localhost/Users/randyedmunds/github/brackets-shell/xcodebuild/Release/Brackets.app/Contents/dev/test/spec/LiveDevelopmentMultiBrowser-test.js:289:28)
at jasmine.Block.execute (file://localhost/Users/randyedmunds/github/brackets-shell/xcodebuild/Release/Brackets.app/Contents/dev/test/thirdparty/jasmine-core/jasmine.js:1064:17)
at jasmine.Queue.next_ (file://localhost/Users/randyedmunds/github/brackets-shell/xcodebuild/Release/Brackets.app/Contents/dev/test/thirdparty/jasmine-core/jasmine.js:2096:31)
at onComplete (file://localhost/Users/randyedmunds/github/brackets-shell/xcodebuild/Release/Brackets.app/Contents/dev/test/thirdparty/jasmine-core/jasmine.js:2092:18)
at jasmine.WaitsForBlock.execute (file://localhost/Users/randyedmunds/github/brackets-shell/xcodebuild/Release/Brackets.app/Contents/dev/test/thirdparty/jasmine-core/jasmine.js:2576:5)
at file://localhost/Users/randyedmunds/github/brackets-shell/xcodebuild/Release/Brackets.app/Contents/dev/test/thirdparty/jasmine-core/jasmine.js:2590:12
|
|
I have Safari Version 6.2 (8537.85.10.17.1) on Mac OS X 10.8.5 . |
OK. Let me try to find a similar Mac... If I won't be able to resolve it today, we'll have to turn off that test. As for overlay, I am not exactly sure why it was dropped. I can add it back. We never knew, however, how this implementation should indicate it's been closed. Changing title in addition to the overlay might be actually a good idea. |
Got it reproduced on OSX 10.9.4 with Safari 7.0.5. However, I think the issue is not the version, but how fast is the machine itself. The issue is that the css is not yet registered as related document and The overlay in the original extension was not nice, actually, but I've reworked it a little bit and included here. |
FWIW, this is a 2 year old MacBook Pro Retina, so it's fast. I just kept the version at 10.8 for testing coverage. Maybe it's an OS difference. Anyway, looks good. Merging. |
Tuesday Dec 09, 2014 at 15:29 GMT
Originally opened as adobe/brackets#10129
On Mac/OSX alert causes system modal dialog which prevents any interaction with
the browser and navigating away. This was causing unit tests to fail.
So instead of showing alert, change the title of the document to indicate that
the Live Preview session was closed. A more clear UI/UX definition is needed
for definitive solution.
Fixes #10124.
CC
@
redmundsbusykai included the following code: https://github.com/adobe/brackets/pull/10129/commits
The text was updated successfully, but these errors were encountered: