Blog

How do we test a Web browser?

September 24th, 2009 | Posted in Blog | No Comments

The idea started with the fact that we have a number of Working Groups who are trying to review the way they do testing, but also increase the number of tests they are doing as well.

The CSS Working Group was foremost in mind when it comes to testing. The Group has several documents in Candidate Recommendation stage that are waiting tests and testing. The HTML Working Group is starting to look into testing as well and a key component of ensure the proper success of HTML 5 is through testing. The specification is quite big to say the least and, when it comes to testing, it’s going to require a lot of work. We also have more and more APIs within the Web Apps group, Device API, Geolocation, etc. The SVG Working Group has a test suite for 1.2, but they’re looking at different ways of testing as well. The framework produced by the MWI Test Suites framework allow two methods. One requires a human to look at it and select pass/fail. The other one is more suitable for script tests, ie APIs testing.

A bunch of us, namely Mike Smith, Fantasai, Jonathan Watt, Doug Schepers, and myself, decided to get together to discuss this and figure out how to improve the situation. We focused on three axes: test submissions, test reviews and how to run a test.

First, we’d like ideally every single Web author to be able to submit tests, so when they run into a browser bug based on a specification, it should be easy for them to submit a test to W3C. It should also allow browser vendors to submit thousands of tests at once. There is the question of how much metadata do you require when submitting a test. For example, we do need to know at some point which feature/part of a spec is being tested. We should also as many format as possible for tests. Reftests, mochitests, DOM-only tests, human tests, etc. The importance aspect here is to be able to run those tests on many platforms/browsers as possible. A test format that can only be ran on one browser is of no use for us.

Once a test has been submitted, it needs to be reviewed. The basic idea behind improving test reviews is to allow more individuals to contribute. The resources inside W3C aren’t enough to review ten of thousands of tests. We need to involve the community at large by doing crowd reviews. It will allow the working groups to only focus on the controversial tests.

Once the test got reviewed, we need to run them on the browsers, as many as possible. Human tests for example are easy to run on all of them, but it does require a lot of humans. Automatic layout tests are a lot trickier, especially on mobiles. We focused on one method during our gathering: screenshot based approach. The basic idea here is that a screenshot of the page is compared to a reference. Mozilla developed a technology called ref-tests that compares Web pages themselves. You write two pages differently that are supposed the exact same rendering and compare their screenshots. It avoids a lot of cross-platforms issues one can. The way Mozilla is doing that is via the mozPaint API in debug mode. That works well, but only works in Mozilla. You can guess that other browser vendors have a similar to automatically take screenshots as well. We wanted to find a way to do this with all browsers without forcing them or us to write significant amounts of code. We found a Web site called browsertests.org and we got in touch with that Sylvain Pasche and, with his help, we started to make some improvements on his application. It works well on desktops at least. Once again, we don’t think W3C is big enough to replicate all types of browser environments, so we should make it easy for people to run the tests in their browser and report the results back to us. Plenty of testing frameworks have been done already and we should try to leverage them as much as possible.

We started to set up a database for receiving the tests and their results. We’d like to continue the efforts on the server/database side, as well as continuing to improve Sylvain’s application, allowing more tests methods and formats. Testing the CSS or HTML5 parser should be allowed for example.

You’ll find more information at our unstable server but keep in mind that:

1. we’re in the very early stages
2. this server is a temporary one that I managed to steal for a few days from our system folks. They’ll want it back one of those days and I need to find a more stable home prior to that event. I’ll update the link once this happens but expect it to break if you bookmark it.
3. Unless I can secure more resources for the project, we won’t go far by ourselves.

The server also contains links to more resources on the Web related to various testing efforts, as well as a more complete of what we wish the testing framework to accomplish.

For the conclusion, I’d like to thank Mike Smith and Doug Schepers, and especially Jonathan Watt and Fantasai from the Mozilla Foundation. They all accepted to argue and code for 8 days around the simple idea of improving the state of testing at W3C. I hope we’re going to be able to take this project off the ground in the near future. If you’re interested in contributing, got ideas and time, don’t hesitate to contact me.

HTML5 isn’t a standard yet

September 24th, 2009 | Posted in Blog | No Comments
Tags:

Watching the Google I/O first day keynote, I’m pleased to see the level of support and interest from Google about HTML5. Sure enough, I wished SVG would have been mentioned there, as they did for the Canvas API, since I believe both technologies have relevant use cases. As an example, I made a demo of the HTML5 video element using SVG for the player interface. But overall, we do indeed need to tell the world that HTML is evolving to become the platform for a rich array of Web applications. New Web browser features aren’t just limited to new user chrome or extensions.

I did notice however several mentions of the “HTML5 standard” that led me to write this post to remind the community of the current status of the specification, both in practice and on the standards track.. HTML5 isn’t a W3C standard. We certainly look forward to the day when it is, but it isn’t yet. In fact, the specification, co-authored by Ian Hickson from Google, is still very much a work in progress. We still don’t have a required video codec to be supported by all browsers. Lively discussion is still happening in the HTML Working Group about the level of consensus around the spec. Sam Ruby of IBM and Chris Wilson of Microsoft are trying to move the Group forward. At the moment, HTML5 is only a working draft and Ian hopes to get it ready for Last Call review in October/November 2009 timeframe. Some of the work is also happening in the Geolocation, CSS and Web Applications Working Groups, so not all of it is under “HTML5″.

So, while it is great to see support for and implementation of HTML 5, the community has not yet reached agreement enough to call it a standard, and it has not been implemented consistently across multiple browsers. Building a test suite will help a lot and we don’t have one yet. This is an area that we intend to explore and to seek community support.

What’s Next for The Pirate Bay?

September 23rd, 2009 | Posted in Blog | No Comments
Tags:

Thursday’s de-listing from a Swedish stock exchange of The Pirate Bay’s corporate suitor is likely to scuttle the planned $8.5 million purchase of the world’s most notorious BitTorrent site.

The removal of GGF from the AktieTorget exchange was based, in large part, on the exchange’s findings that the Swedish company’s CEO, Hans Pandeya, never had the financing to go through with the deal, and was just trying to manipulate the company’s penny stock prices.

That leaves the proprietors of the 5-year-old Pirate Bay without an obvious exit strategy at a time of unrelenting legal pressure. The four co-founders were convicted last April on charges of facilitating copyright infringement. Their year-long prison sentences have been stayed pending appeal, but a Swedish judge has already issued an order aimed at closing the site. For now that order has been frustrated by Pirate Bay’s technical countermeasures, but can the cat-and-mouse game really last forever?

The Pirate Bay crew’s previously stated commitment to operate forever as an outlet for free content was exposed as an illusion when they made the GGF deal. So what happens now? Your guess is as good as ours. We’ve come up with some predictions below. Vote on what you think the site’s future holds, or submit your own predictions if you have a better idea for the future of Sweden’s file sharing supersite.

Latest News Around the Web

June 27th, 2009 | Posted in Blog | No Comments

W3C Opens New India Office

September, 07 2009

Today the W3C India Office opened at a new Host: the Department of Information Technology in the Ministry of Communications & Information Technology. Swaran Lata, who is Director of the Human Centered Computing division (TDIL), will run the new Office with the support of deputy manager Somnath Chandra. W3C Offices act as local points of contact for W3C work and help ensure that W3C and its specifications reach an international audience. W3C would like to thank the India Ministry of Communications and Information Technology for their support in ensuring that W3C has a strong presence in India. The previous Office in India, hosted by C-DAC, has already closed. Learn more about the W3C Offices program.

• • •

Google’s second open source operating system announced

8 July 2009, 08:27

Google plans operating system just for Chrome

Google plans operating system just for Chrome

Google has announced that it is working on an operating system built to run the Google Chrome web browser. Google Chrome OS will be aimed at x86 and ARM based netbooks initially and built with a simple, lightweight architecture based around a Linux kernel running a “new windowing system” which in turn runs a version of Google Chrome. Dubbing it “our attempt to re-think what operating systems should be”, the company said that the new operating system should be shipped to consumers in the second half of 2010, but will be available as open source later this year.

The new operating system will “get you into the web in a few seconds” and have a minimal user interface, with most of the “user experience taking place on the web”. Google Chrome OS will also have a “completely redesigned security architecture” which the company compared with the security work it did developing the Chrome browser itself; Chrome introduced a number of innovations in isolating web content into separate processes. It aspires to make the OS such that “users don’t have to deal with viruses, malware and security updates”.

The company said the Google Chrome OS is a new project and not related to Android, Google’s mobile phone operating system. According to the announcement, it envisages Android as addressing the needs of smaller devices such as phones and set top boxes and some netbooks, while Google Chrome OS aims to run on anything from netbooks to fully fledged desktop PCs.

Google sees the overlap between Android and Chrome OS as an opportunity to cross pollinate developments between both projects, though some observers suggest that planned Android based netbooks may take a back seat. The “new windowing system” will mean that there is yet another player in the complex Linux UI future, though Google’s announcement suggests that they do not envisage the development of any native applications for the Chrome OS platform.

• • •

$18M Being Spent to Redesign Recovery.gov Web Site

July 08, 2009 9:50 PM

ABC News’ Rick Klein reports: For those concerned about stimulus spending, the General Services Administration sends word tonight that $18 million in additional funds are being spent to redesign the Recovery.gov Web site.

The new Web site promises to give taxpayers more information about where their money is going than the current version of the site.

“Recovery.gov 2.0 will use innovative and interactive technologies to help taxpayers see where their dollars are being spent,” James A. Williams, commissioner of GSA’s Federal Acquisition Service, says in a press release announcing the contract awarded to Maryland-based Smartronix Inc. “Armed with easy access to this information, taxpayers can make government more accountable for its decisions.”

The contract calls for spending $9.5 million through January, and as much as $18 million through 2014, according to the GSA press release.

“We are pleased that another major milestone has been achieved,” Earl E. Devaney, chairman of the Recovery Accountability and Transparency Board, says in the press release. “We thank the GSA for its assistance and look forward to working with Smartronix.”

UPDATE:  The RNC has released a new web ad mocking the Obama administration’s decision to allocate additional funds to the redesign of the Recovery.gov Web site.

• • •

Google thought Michael Jackson traffic was attack

by Tom Krazit
Michael Jackson Google Attack

Searches for Michael Jackson surged a little before 3 p.m. PDT Thursday.
(Credit: Google)

Google has confirmed that the surge of Michael Jackson-related searches on Google News Thursday was first interpreted as an attack on its service.

Google News was inaccessible for some people Thursday afternoon right as rumors of Jackson’s death began to circulate, replaced by an error message reading “We’re sorry, but your query looks similar to automated requests from a computer virus or spyware application. To protect our users, we can’t process your request right now.”

Of course, those queries were quite legitimate, as millions around the world searched for accurate information regarding Jackson following reports that he had suffered cardiac arrest. The spike in queries began at about 2:45 p.m. PDT Thursday, and Google thought the traffic was an attack for about 25 minutes before realizing what was going on.

Google also noted that it saw a huge spike in mobile searches. Yahoo’s data backed up Google’s; it set a record for unique visitors in a single day with 16.4 million visitors, and its lead story on Jackson’s death was the most highly-visited story in its history.

Contrive Media in the News

June 26th, 2009 | Posted in Blog | No Comments

A website developed by Contrive Media was recently featured on CBS News.
EatAtHomeAlabama.com launch on CBS News – Birmingham, AL

EatAtHomeAlabama.com was created by Contrive Media for the Alabama Grocers Association as a tool for consumers to learn how to save money, eat a little healthier, safely prepare and store your foods, enrich your life and promote the grocery industry in the state of Alabama.

contrive media video    Launch Video >>

Contrive Media projects in the works

June 22nd, 2009 | Posted in Blog | No Comments

We are constantly working at Contrive Media HQ. Here are some projects currently in the works…

Alabama Grocers Association (URL: http://www.alabamagrocers.org) Contrive Media was asked to redesign the Alabama Grocers Association website.
Expected launch date: July 25, 2009

Lou’s Pub and Package (URL: http://www.louspub.com/ ) Contrive Media was asked to develop a website for this award winning pub and package store located in Birmingham, AL.
Expected launch date: Late Summer 2009

Buy Alabama’s Best (URL: http://www.buyalabamasbest.com/ )
Expected launch date: Late Summer 2009

Florida Site Preperation (URL: http://www.flsiteprep.com/ )
Expected launch date: Late Fall 2009

McWarren LLC (URL: http://www.mcwarrenllc.com/ )
Expected launch date: Late Summer 2009

Debate You (URL: http://www.debateyou.com/ )
Expected launch date: N/A

47 Guys (URL: http://www.47guys.com/ )
Expected launch date: N/A

Any Major Dude Recording Studio (URL: http://www.anymajordudestudio.com/ )
Expected launch date: Early Fall 2009

Search Smackdown: Bing Vs. Google

June 16th, 2009 | Posted in Blog | No Comments

That was fast. Irish programmer and SEO specialist Paul Savage has made this very basic web service, which lists all results for search queries on Google and Bing side by side so you can compare which one produces the best results for the keywords you enter on one single page. We’ve played around with it a bit and found that the tool proves that the user experience for both search engines really is very different:

Searching for ‘Google’

Google will show news results about themselves first, and a link to their homepage later, which makes sense since people are probably already on there. The rest of the results consists of Google products and local versions of the search service. Noteworthy difference is the presence of a button that lets you drop down a widget displaying information about Google’s stock without the need to leave the page.

Bing, on the other hand, provides a list of possible extended search queries on the left sidebar, and a list of useful direct links to Google services below the first result. It also lists ’similar’ searches on the right sidebar (not visible in this screenshot) with alternative services – Bing being the first one they recommend. It also displays a box that you can use to jump to Google search, and it keeps track of your search history right on the page, unless you turn that feature off.

Searching for ‘TechCrunch’

Google only shows internal network links on the first SERP with the exception of our Twitter account, Netvibes profile and Wikipedia entry, while Bing mostly shows links to third-party services (Wikipedia, OnSugar, Flux, Blip.tv, AboutUs.org, Facebook, GitHub, Mahalo, etc.). From the viewpoint of TC the company, the latter situation is not ideal, and to top it off running the query on Bing apparently means potential visitors will see the names of competing blogs in the left sidebar. On the upside, you can open the Wikipedia article on TechCrunch on the same page, which makes for a seamless user experience if information about us was what you were looking for.

Searching for ‘Linux’

Using Google, you get much better results for this query, period. Google lists at least five very relevant links (Kernel.org, Debian.org, RedHat.com, LinuxJournal.com and LI.org) that you will not find in the first 15 search results on Bing. No nifty sidebars, nor any amount of spot-on similar results will help Microsoft here.

Searching for ‘Office Space quotes’

Here, Bing takes the top prize, although with this particular query the results are much more similar, which can be attributed to the fact that it is more detailed (three words instead of one like the other examples). Why do I say that? Because Bing is the only one of both that correctly lists the movie Office Space’s Wikipedia entry in the first few results, while Google doesn’t even list until the fifth page of results (both rank Wikiquote quite high). Also, this is where the extended search options in the left sidebar at Bing really shine: ‘Office Space sound clips’, ‘Office Space WAV files’, ‘Office Space Clips’, etc. – that’s the stuff you’d likely be looking for.

It is far too early and this is far too unscientific a research method to jump to any conclusions – we’d need a Jump to Conclusions mat for that – but using Savage’s tool gives you a nice clean overview of what most people who’ve tried both engines today: Google and Bing at the very least feel very different, and while you can argue about the quality of one engine versus the other back and forth as much as you want, it’s painfully clear both need improvement. Of course, if there continues to be no clear winner on the quality front, then Google has already won the battle before it starts, expensive ad campaigns be damned.

That said, please allow me to reiterate a point Michael made yesterday as well as in the past, that I most definitely agree with: Microsoft is damn right not to give up the search game yet like some are suggesting they should. Please stop calling for a monopoly in search, let these companies compete and fight hard for every user, and I’m sure we’ll see more innovation in this space soon enough.

   

Home | About | Services | Porfolio | Blog | Links | Marketing | Industry Terms | Sitemap | Contact

Contrive Media on LinkedInContrive Media on FacebookContrive Media on Twitter
   
We're listed in Birmingham web design services section of Alabama web design services directory at Finders - US web design directory