Wednesday, February 18, 2015

Safari (web browser)

Safari (web browser)

From Wikipedia, the free encyclopedia
Safari
Apple Safari 8.0 Icon
Safari in Yosemite.png
Safari 8 running on OS X Yosemite
Developer(s)Apple Inc.
Initial releaseJanuary 7, 2003; 12 years ago
Stable release
for OS X Yosemite
8.0.3 (January 27, 2015; 21 days ago[1]) [±]
for OS X Mavericks
7.1.3 (January 27, 2015; 21 days ago[1]) [±]
for OS X Mountain Lion
6.2.3 (January 27, 2015; 21 days ago[1]) [±]
Development statusActive
Written inC++,[2] Objective-C
Operating systemOS XiOS
EnginesWebKitNitro
TypeWeb browser
LicenseFreeware; some componentsGNU LGPL
Websitewww.apple.com/safari
Safari is a web browser developed by Apple Inc. included with the OS X and iOS operating systems. First released as a public beta on January 7, 2003,[3] on the company's OS X operating system, it became Apple's default browser beginning with Mac OS X v10.3 "Panther". The native browser of iOS is also called Safari, but has a different graphical user interface (GUI) and uses a different WebKit version and application programming interface (API).
A version of Safari for the Microsoft Windows operating system was first released on June 11, 2007,[4] and supportedWindows XP Service Pack 2, or later,[5] but it has been discontinued.[6] Safari 5.1.7, released on May 9, 2012, is the last version available for Windows.[7][8]

History and development[edit]

Until 1997, Apple Macintosh computers were shipped with the Netscape Navigator and Cyberdog web browsers only. Internet Explorer for Mac was later included as the default web browser for Mac OS 8.1 and onwards,[9] as part of a five year agreement between Apple and Microsoft. During that time, Microsoft released three major versions of Internet Explorer for Mac that were bundled with Mac OS 8 and Mac OS 9, though Apple continued to include Netscape Navigator as an alternative. Microsoft ultimately released a Mac OS X edition of Internet Explorer for Mac, which was included as the default browser in all Mac OS X releases from Mac OS X DP4[10] up to and including Mac OS X v10.2.[11]

Safari 1[edit]

On January 7, 2003, at Macworld San Francisco, Steve Jobs announced that Apple had developed their own web browser, called Safari. It was based on Apple's internal fork of the KHTML rendering engine, called WebKit.[12] Apple released the first beta version for OS X that day. A number of official and unofficial beta versions followed, until version 1.0 was released on June 23, 2003. Initially only available as a separate download for Mac OS X v10.2, it was included with the Mac OS X v10.3 release on October 24, 2003 as the default browser, with Internet Explorer for Mac included only as an alternative browser. 1.0.3, released on August 13, 2004 was the last version to support Mac OS X v10.2, while 1.3.2, released on January 12, 2006 was the last version to support Mac OS X v10.3. However, 10.3 received security updates through 2007.

Safari 2[edit]

In April 2005, Dave Hyatt, one of the Safari developers at Apple, documented his study by fixing specific bugs in Safari, thereby enabling it to pass the Acid2 test developed by theWeb Standards Project. On April 27, 2005, he announced that his development version of Safari now passed the test, making it the first web browser to do so.[13]
Safari 2.0 was released on April 29, 2005, as the only web browser included with Mac OS X v10.4. This version was touted by Apple as possessing a 1.8x speed boost over version 1.2.4, but did not yet include the Acid2 bug fixes. The necessary changes were not initially available to end-users unless they downloaded and compiled the WebKitsource code themselves or ran one of the nightly automated builds available at OpenDarwin.org.[14] Apple eventually released version 2.0.2 of Safari, which included the modifications required to pass Acid2, on October 31, 2005.
In June 2005, after some criticism from KHTML developers over lack of access to change logs, Apple moved the development source code and bug tracking of WebCore andJavaScriptCore to OpenDarwin.org. WebKit itself was also released as open source. The source code for non-renderer aspects of the browser, such as its GUI elements, remains proprietary.
The final stable version of Safari 2, Safari 2.0.4, was released on January 10, 2006 for Mac OS X. It was only available as part of Mac OS X Update 10.4.4. This version addresses layout and CPU usage issues, among others.[15] Safari 2.0.4 was the last version to be released exclusively on Mac OS X until version 6 in 2012.

Safari 3[edit]

On January 9, 2007, at Macworld SF, Jobs announced Apple's iPhone, which would use a mobile version of the Safari browser.[16]
On June 11, 2007, at the Apple Worldwide Developers Conference, Jobs announced Safari 3 for Mac OS X v10.5, Windows XP, and Windows Vista. During the announcement, he ran a benchmark based on the iBench browser test suite comparing the most popular Windows browsers,[17] hence claiming that Safari was the fastest browser. Later third-party tests of HTTP load times would support Apple's claim that Safari 3 was indeed the fastest browser on the Windows platform in terms of initial data loading over the Internet, though it was found to be only negligibly faster than Internet Explorer 7 and Mozilla Firefox when loading static content from local cache.[18]
The initial Safari 3 beta version for Windows, released on the same day as its announcement at WWDC 2007, had several known bugs[19] and a zero day exploit that allowed remote execution.[20] The addressed bugs were then corrected by Apple three days later on June 14, 2007, in version 3.0.1 for Windows. On June 22, 2007, Apple released Safari 3.0.2 to address some bugs, performance issues and other security issues. Safari 3.0.2 for Windows handles some fonts that are missing in the browser but already installed on Windows computers, such as Tahoma, Trebuchet MS, and others.
The iPhone was formally released on June 29, 2007. It includes a version of Safari based on the same WebKit rendering engine as the desktop version, but with a modified feature set better suited for a mobile device. The version number of Safari as reported in its user agent string is 3.0,[21] in line with the contemporary desktop versions of Safari.
The first stable, non-beta release of Safari for Windows, Safari 3.1, was offered as a free download on March 18, 2008. In June 2008, Apple released version 3.1.2,[22][23]addressing a security vulnerability in the Windows version where visiting a malicious web site could force a download of executable files and execute them on the user's desktop.[24]
Safari 3.2, released on November 13, 2008, introduced anti-phishing features and Extended Validation Certificate support. The final version of Safari 3 is 3.2.3, released on May 12, 2009.

Safari 4[edit]

On June 2, 2008, the WebKit development team announced SquirrelFish,[25] a new JavaScript engine that vastly improves Safari's speed at interpreting scripts.[26] The engine is one of the new features in Safari 4, released to developers on June 11, 2008. The new JavaScript engine quickly evolved into SquirrelFish Extreme, featuring even further improved performance over SquirrelFish,[27] and was eventually marketed as Nitro. A public beta of Safari 4 was released on February 24, 2009, with new features such as the Top Sites tool (similar to Opera's Speed Dial feature), which displays the user's most visited sites on a 3D wall.[28] Cover Flow, a feature of Mac OS X and iTunes, was also implemented in Safari. In the public beta versions, tabs were placed in the title bar of the window, similar to Google Chrome. The tab bar was moved back to its original location, below the URL bar, in the final release.[29] The Windows version adopted a native Windows theme, rather than the previously employed Mac OS X-style interface. Also Apple removed the blue progress bar located in the address bar (later reinstated in Safari 5). Safari 4.0.1 was released for Mac on June 17 and fixed problems with Faces in iPhoto '09. Safari 4 in Mac OS X v10.6 "Snow Leopard" has 64-bit support, which can make JavaScript loading up to 50% faster. It also has built-in crash resistance unique to Snow Leopard; crash resistance will keep the browser intact if a plug-in like Flash player crashes, such that the other tabs or windows will be unaffected.[30] Safari 4.0.4, released on November 11, 2009 for both OS X and Windows, further improves JavaScript performance.[31]
Safari was one of the twelve browsers offered to EU users of Microsoft Windows in 2010. It was one of the five browsers displayed on the first page of browser choices along with Chrome, Firefox, Internet Explorer and Opera.[32][33]

Safari 4 features[edit]


Safari 4 on Windows XP
Beginning with Safari 4, the address bar has been completely revamped:
  • The blue inline progress bar is replaced with a spinning bezel and a loading indicator attached to it.
  • The button to add a bookmark is now attached to the address bar by default.
  • The reload/stop button is now superimposed on the right end of the address bar.
Safari on Mac OS X and Windows was made to look more similar to Safari on iPhone than previous versions.
Safari 4 also includes the following new features:
  • Completely passes the Acid3 standards test
  • Cover Flow browsing for History and Bookmarks
  • Improved developer tools, including Web Inspector, CSS element viewing, JavaScript debugger and profiler, offline table and database management with SQL support, and resource graphs
  • Nitro JavaScript engine that executes JavaScript up to eight times faster than Internet Explorer 8 and more than four times faster than Firefox 3[34]
  • Native Windows look on Windows (AeroLuna, Classic, etc., depending on OS and settings) with standard Windows font rendering and optional Apple font rendering
  • Support for CSS image retouching effects
  • Support for CSS Canvas
  • Speculative loading, where Safari loads the documents, scripts, and style information that are required to view a web page ahead of time
  • Support for HTML5
  • Top Sites, which displays up to 24 thumbnails of a user's most frequently visited pages on startup

Safari 5[edit]

Apple released Safari 5 on June 7, 2010, featuring the new Safari Reader for reading articles on the web without distraction (based on Arc90's Readability tool[35]), and a 30 percent JavaScript performance increase over Safari 4. Safari 5 includes improved developer tools and supports more than a dozen new HTML5 technologies, focused on interoperability. With Safari 5, developers can now create secure Safari Extensions to customize and enhance the browsing experience.[36] Apple also re-added the progress bar behind the address bar in this release. Safari 5.0.1 enabled the Extensions PrefPane by default; previously, users had to enable it via the Debug menu.
Apple also released Safari 4.1 concurrently with Safari 5, exclusively for Mac OS X Tiger. The update included the majority of the features and security enhancements found in Safari 5. It did not, however, include Safari Reader or Safari Extensions. Together with Mac OS X 10.7 Lion, Apple released Safari 5.1 for both Windows and Mac on July 20, 2011, with the new function 'Reading List' and a faster browsing experience. Apple simultaneously released Safari 5.0.6 for Mac OS X 10.5 Leopard, excluding Leopard users from the new functions in Safari 5.1.
Safari 5.1.7 has become the last version of Safari developed for Windows.

Safari 5 features[edit]

Safari 5 includes the following new features:
  • Full-text search through the browser history[37]
  • Safari Reader, which removes formatting and ads from webpages.[38]
  • Smarter address field, where the address bar autocomplete will match against titles of web page in history or bookmarks.
  • Extensions, which are add-ons that customize the web browsing experience.[39]
  • Improved support for HTML5, including full screen video, closed caption, geolocation, EventSource, and a now obsolete early variant of the WebSocket protocol.
  • Improved Web Inspector.
  • Faster Nitro JavaScript Engine.
  • DNS prefetching, where Safari finds links and looks up addresses on the web page ahead of time.
  • Bing search.
  • Improved graphics hardware acceleration on Windows.
Additionally, the blue inline progress bar has returned to the address bar, in addition to the spinning bezel and loading indicator introduced in Safari 4. Top Sites view now has a button to switch to Full History Search. Other features include Extension builder for developers of Safari Extensions, which are built using web standards such as HTML5, CSS3, and JavaScript.

Safari 6[edit]

Safari 6.0 was previously known as Safari 5.2 until Apple announced the change at WWDC 2012. The stable release of Safari 6 coincided with the release of OS X Mountain Lionon July 25, 2012, and is integrated into the OS.[40] As Apple integrated it with Mountain Lion, it is no longer available for download from the Apple website or other sources. Apple released Safari 6 via Software Update for users of OS X Lion. It has not been released for OS X versions prior to Lion or for Windows. Regarding the unavailability of Safari 6 on Windows, Apple has stated "Safari 6 is available for Mountain Lion and Lion. Safari 5 continues to be available for Windows."[41] Microsoft removed Safari from its BrowserChoice page.
On June 11, 2012, Apple released a developer preview of Safari 6.0 with a feature called iCloud Tabs, which allows users to 'sync' their open tabs with any iOS or other OS X device running the latest software. Safari 6 also included new privacy features, including an "Ask websites not to track me" preference, and the ability for websites to send OS X 10.8 Mountain Lion users notifications, although it removed RSS support.[42] Safari 6 has the Share Sheets capability in OS X Mountain Lion. The Share Sheet options are: Add to Reading List, Add Bookmark, Email this Page, Message, Twitter and Facebook. Users can now see tabs with full page previews available.[43]

Safari 6 features[edit]

Safari 6 introduced the following features, many of which are only available on OS X 10.8 Mountain Lion:[44]
  • Unified smart search field, which combines the web address and search fields, similar to Chrome's Omnibox and Firefox's Awesome Bar.
  • Tab view (Mountain Lion only), which enables movement between tabs using multi-touch gestures.
  • iCloud tabs (Mountain Lion only) synchronizes recent websites across OS X and iOS devices.
  • Built-in sharing (Mountain Lion only) to email, Messages, Twitter and Facebook.
  • Improved performance
  • Support for -webkit-calc()
Additionally various features were removed, including, but not limited to, Activity Window, separate Download Window, direct support for RSS feeds in the URL field and bookmarks. The separate search field is also no longer available as a toolbar configuration option.

Safari 7[edit]

Announced at Apple's Worldwide Developer Conference (WWDC) on June 10, 2013, the Safari 7/6.1[45] developer preview brought improvements in JavaScript performance and memory usage, as well as a new look for Top Sites and the Sidebar, and a new Shared Links feature. Additionally, a new Power Saver feature pauses Plugins which are not in use.[46] Safari 7 for OS X Mavericks and Safari 6.1 (for Lion and Mountain Lion) were released along with OS X Mavericks in an Apple special event on October 22, 2013.[47]

Safari 8[edit]

Safari 8 was announced at WWDC 2014 and released with OS X Yosemite. It included WebGL support, stronger privacy features, increased speed and efficiency, enhanced iCloud integration, and updated design.[48][49]

Safari 8 features[edit]

Safari 8 introduced the following features, available on OS X Yosemite:[44]
  • WebGL support, which allows developers to create 3D experiences that work natively in the browser.
  • IndexedDB, which allows web developers to store structured data for web applications that work online or require large amounts of data to be cached client side.
  • JavaScript Promises, which enables JavaScript authors to more naturally work with asynchronous programming patterns.
  • CSS Shapes and Compositing. Using CSS, websites can now easily flow text around images and geometry shapes, and perform image compositing operations on DOM elements.
  • SPDY. Safari supports SPDY, an open networking protocol that websites can adopt to reduce page load latency and improve security.
  • HTML5 Premium Video. Websites that provide video can now take advantage of EME to deliver encrypted, energy-efficient video in the browser

Other features[edit]


Safari's Web Inspector.
On Mac OS X, Safari is a Cocoa application.[50] It uses Apple's WebKit for rendering web pages and running JavaScript. WebKit consists of WebCore (based on Konqueror's KHTML engine) and JavaScriptCore (originally based on KDE's JavaScript engine, named KJS). Like KHTML and KJS, WebCore and JavaScriptCore are free software and are released under the terms of the GNU Lesser General Public License. Some Apple improvements to the KHTML code are merged back into the Konqueror project. Apple also releases additional code under an open source 2-clause BSD-like license.
Until Safari 6.0, it included a built-in web feed aggregator that supported the RSS and Atom standards. Current features include Private Browsing (a mode in which no record of information about the user's web activity is retained by the browser),[51] an "Ask websites not to track me" privacy setting, the ability to archive web content in WebArchive format, the ability to e-mail complete web pages directly from a browser menu, the ability to search bookmarks, and the ability to share tabs between all Macs and iOS devices running appropriate versions of software via an iCloud account.

iOS-specific features[edit]


Safari on the iPhone and iPod Touch running iOS 7 in Landscape view. The icon at the bottom center changed because of AirPrint.

Safari on an iPad running iOS 7 in Landscape view.
iOS-specific features for Safari enable:
  • Bookmarking links to particular pages as "Web Clip" icons on the Home screen.[citation needed]
  • MDI-style browsing (with up to 8 pages open concurrently, limited by cache storage).[citation needed]
  • Opening specially designed pages in full-screen mode.[citation needed]
  • Pressing on an image for 3 seconds to save it to the photo album.[citation needed]
  • Support for HTML5 new input types.[citation needed]

New in iOS 4.2[edit]

  • Find feature built into search box.[52]
  • Ability to print the current webpage using AirPrint.[53]

New in iOS 4.3[edit]

  • Integration of the Nitro JavaScript engine for faster page loads. This feature was expanded to home-screen web applications in iOS 5.0. [1]

New in iOS 5[edit]

  • True tabbed browsing, similar to the desktop experience, only for iPads.[54]
  • Reading List, a bookmarking feature that allows tagging of certain sites for reading later, which syncs across all Safari browsers (mobile and desktop) via Apple's iCloud service.[54]
  • Reader, a reading feature that can format text and images from a web page into a more readable format, similar to a PDF document, while stripping out web advertising and superfluous information.[54]
  • Private browsing, like in most desktop browsers a feature that does not save the user's cookies and history, or allow anything to be written into local storage or webSql databases.

New in iOS 6[edit]

  • iCloud Tabs, linking the desktop and iOS versions of Safari.
  • Offline Reading Lists allow users to read pages stored previously without remaining connected to the internet.
  • Full-screen landscape view for iPhone and iPod Touch users hides most of the Safari controls except back and forward buttons and the status bar when in landscape mode.

New in iOS 7[edit]

  • New icon
  • 64-bit build on supported devices using the A7 processor.
  • iCloud Keychain: iCloud can remember passwords, account names and credit card numbers. Safari can also autofill them as well. Requires devices that run iOS 7.0.3 and later and OS X Mavericks or later.
  • Password Generator: When creating a new account, Safari can suggest the user a long, more secure, hard to guess password and Safari will also automatically remember the password.
  • Shared Links
  • Do Not Track
  • Parental controls
  • Tab limit increased from 9 to 36
  • New Tab view (iPhone and iPod Touch only)
  • Unified smart search field
  • Sync Bookmarks with Google Chrome[55] and Firefox[56] on Windows.

WebKit2[edit]

WebKit2 is a multiprocess API for WebKit, where the web-content is handled by a separate process than the application using WebKit. Apple announced WebKit2 in April 2010.[57]Safari for OS X switched to the new API with version 5.1.[58] Safari for iOS switched to WebKit2 since iOS 8.[59]

Security[edit]

Apple maintains a plugin blacklist that it can remotely update to prevent potentially dangerous or vulnerable plug-ins from running on Safari. So far, Apple has blocked versions of Flash and Java.

Browser exploits[edit]

See also: Browser security
In the PWN2OWN contest at the 2008 CanSecWest security conference in Vancouver, British Columbia, a successful exploit of Safari caused Mac OS X to be the first OS to fall in a hacking competition. Participants competed to find a way to read the contents of a file located on the user's desktop, in one of three operating systems: Mac OS X Leopard, Windows Vista SP1, and Ubuntu 7.10. On the second day of the contest, when users were allowed to physically interact with the computers (the prior day permitted only network attacks), Charlie Miller compromised Mac OS X through an unpatched vulnerability of the PCRE library used by Safari.[60] Miller had been aware of the flaw prior to the beginning of the conference and worked to exploit it unannounced, as is the common approach in these contests.[60] The exploited vulnerability was patched in Safari 3.1.1, among other flaws.[61]
In the 2009 PWN2OWN contest, Charlie Miller performed another successful exploit of Safari to hack into a Mac. Miller again acknowledged that he had advance knowledge of the security flaw prior to the competition, and had done considerable research and preparation work on the exploit.[62][63] Apple released a patch for this exploit and others on May 12, 2009 with Safari 3.2.3.[64][65]

System requirements[edit]

Safari 6.0 requires a Mac running Mac OS X v10.7.4 or later.[66] Safari 5.1.7 requires a Mac running Mac OS X v10.6.8 or any PC running Windows XP Service Pack 2 or later, Windows Vista, or Windows 7.[5][67] Safari 5.0.6 requires a Mac running on Mac OS X 10.5.8.[68]

64-bit builds[edit]

The version of Safari included in Mac OS X v10.6 (and later versions) is now compiled for 64-bit architecture. Apple claims that running Safari in 64-bit mode will increase rendering speeds by up to 50%.
On the 64-bit iPhones, iOS and its stock apps are 64-bit builds including Safari.[69][70]

Criticism[edit]

Distribution through Apple Software Update[edit]

An earlier version of Apple Software Update (bundled with Safari, QuickTime, and iTunes for Microsoft Windows) selected Safari for installation from a list of Apple programs to download by default, even when a pre-existing installation of Safari was not detected on a user's machine. John Lilly, CEO of Mozilla, stated that Apple's use of its updating software to promote its other products was "a bad practice and should stop." He argued that the practice "borders on malware distribution practices" and "undermines the trust that we're all trying to build with users."[71] Apple spokesman Bill Evans sidestepped Lilly's statement, saying that Apple was only "using Software Update to make it easy and convenient for both Mac and Windows users to get the latest Safari update from Apple."[72] Apple also released a new version of Apple Software Update that puts new software in its own section, though still selected for installation by default.[73] By late 2008, Apple Software Update no longer selected new installation items in the new software section by default.[citation needed] Apple stopped releasing Safari for Windows entirely in 2012.

Security updates for Snow Leopard and Windows platforms[edit]

Software security firm Sophos detailed in a post in their security news site how Snow Leopard and Windows users are not supported by the Safari 6 release at this time,[74] while there are over 121 vulnerabilities left unpatched on those platforms.[75] Since then, Snow Leopard has had only three minor version releases (the most recent in September 2013[76]), and Windows has had none.[77] While no official word has been released by Apple, the indication is that these are the final versions available for these operating systems, and both retain significant security issues.[78][79]

Safari Developer Program[edit]

The Safari Developer Program is a free program for writers of extensions and HTML5 websites. It allows members to develop extensions for Apple's Safari web browser.

See also[edit]

References

Please go to Wikipedia to read References, cause of reserved rights. 

No comments:

Post a Comment