Closed
Bug 188712
Opened 23 years ago
Closed 23 years ago
Apple's Browser Safari does not support server-push
Categories
(Bugzilla :: Query/Bug List, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.16
People
(Reporter: melo, Assigned: melo)
References
Details
(Whiteboard: [fixed in 2.16.5] [fixed in 2.17.3])
Attachments
(1 file, 1 obsolete file)
885 bytes,
patch
|
timeless
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/4.5 (compatible; OmniWeb/4.1.1-v424.6; Mac_PowerPC)
Build Identifier:
The new browser from Apple, Safari, does not support server-push.
Editing the buglist.cgi, searching for multipart-mixed, and adding to the IF statement something like
&& $ENV{HTTP_USER_AGENT} !~ /Safari/
solves the problem.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1•23 years ago
|
||
Ah, nifty.
my $serverpush =
exists $ENV{'HTTP_USER_AGENT'}
&& $ENV{'HTTP_USER_AGENT'} =~ /Mozilla.[3-9]/
&& $ENV{'HTTP_USER_AGENT'} !~ /[Cc]ompatible/
&& $format->{'extension'} eq "html"
&& !defined($::FORM{'serverpush'})
|| $::FORM{'serverpush'};
so Safari doesn't say "compatible" I take it...
Comment 2•23 years ago
|
||
Confirming.... buglist.cgi is definitely broken in Safari.
When I click the Search button, I get a file download of "buglist.cgi".
Examining the contents of said file shows it contains the entirety of the server
transmission, including the part headers.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 3•23 years ago
|
||
grr.
I'd suggest checking in the accept headers, but we don't list multipart push
there...
Comment 4•23 years ago
|
||
No, and we shouldn't - it's far too much of a niche feature.
Dave: any plans to support server push, or do we need to fix Bugzilla?
Gerv
Assignee | ||
Comment 5•23 years ago
|
||
FYI,The user agent safari is using rigth now (latest beta) is:Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/51 (like Gecko) Safari/51No compatible here...
Assignee | ||
Comment 6•23 years ago
|
||
Add's a check for Safari's user-agent to prevent server-push.
Assignee | ||
Comment 7•23 years ago
|
||
I provided the patch in case you want to fix this in bugzilla. I would prefer, of
course, that Apple fixes this in Safari.
Comment 8•23 years ago
|
||
Comment on attachment 111940 [details] [diff] [review]
Do not use server-push with Apple Safari
per Dave Hyatt in IRC, this probably will be fixed in Safari, but probably not
by 1.0. He also says we should sniff for "WebKit" and not for "Safari" since
that way we'll catch anything else using Safari's libraries as well.
Attachment #111940 -
Flags: review-
Assignee | ||
Comment 9•23 years ago
|
||
As suggested by David Hyatt, this patch sniff's for WebKit, instead of Safari.
Attachment #111940 -
Attachment is obsolete: true
Updated•23 years ago
|
Attachment #112192 -
Flags: review?(timeless)
Comment 10•23 years ago
|
||
Comment on attachment 112192 [details] [diff] [review]
new patch to sniff for WebKit
personally i think i'd check
$format->{'extension'} eq "html"
earlier (first?).
Attachment #112192 -
Flags: review?(timeless) → review+
Comment 12•23 years ago
|
||
checked in
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Target Milestone: --- → Bugzilla 2.18
Comment 13•23 years ago
|
||
*** Bug 191022 has been marked as a duplicate of this bug. ***
Comment 14•23 years ago
|
||
*** Bug 192326 has been marked as a duplicate of this bug. ***
Updated•22 years ago
|
Whiteboard: [applied to b.m.o]
Comment 15•22 years ago
|
||
*** Bug 226807 has been marked as a duplicate of this bug. ***
Comment 16•22 years ago
|
||
nominating for 2.16.5, as this is a usability issue and low-risk.
Whiteboard: [applied to b.m.o] → [wanted for 2.16.5] [fixed in 2.17.3] [applied to b.m.o]
Target Milestone: Bugzilla 2.18 → Bugzilla 2.16
Comment 17•22 years ago
|
||
checked in on 2.16 branch (applies without errors, and seems to work on landfill).
Checking in buglist.cgi;
/cvsroot/mozilla/webtools/bugzilla/buglist.cgi,v <-- buglist.cgi
new revision: 1.169.2.11; previous revision: 1.169.2.10
done
Whiteboard: [wanted for 2.16.5] [fixed in 2.17.3] [applied to b.m.o] → [fixed in 2.16.5] [fixed in 2.17.3] [applied to b.m.o]
Updated•22 years ago
|
Whiteboard: [fixed in 2.16.5] [fixed in 2.17.3] [applied to b.m.o] → [fixed in 2.16.5] [fixed in 2.17.3]
Comment 18•17 years ago
|
||
I noticed the code for this in buglist.cgi in 3.1.4. Does this bug still apply to modern versions of Safari? We're going on version 4 now, and this bug dates to 1.0 from five years ago....
I set $serverpush to true then tried to load a bug list in Safari 3.1.1, and it came up just fine. However, I have few enough bugs in my install that every search is virtually instant, so I don't know if this bug would even be triggered.
Comment 19•17 years ago
|
||
It seems Safari has supported multipart/x-mixed-replace since 2.0.2 in 2005:
http://webkit.org/blog/32/webkit-fixes-in-safari-202-mac-os-x-1043/
Bug 441496 filed.
Gerv
Updated•13 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•