[widgets] BUG ALERT for P+C spec: Try to fallback to default start files when src path is invalid or not existing

Opera QA has found the following bug in the Widgets 1.0: Packaging and
Configuration W3C Candidate Recommendation 23 July 2009 [1].

Description of bug:
In Step 7, when a content element's src attribute's values is not a
valid path, the UA treats the widget as an invalid widget. It should,
instead, skip the offending content element and try to recover by
using a default start file.

Proposed solution:
In Step 7, when a content element's src attribute's values is not a
valid path, the UA should try to fallback to default start files. This
would be achieved by changing the following text from:

[[
If path is a valid path, let file be the result of applying the rule
for finding a file within a widget package to path. If path is not a
valid path, then a user agent must treat the widget package as an
invalid Zip archive.
]]

To:
[[
If path is not a valid path, then the user agent must skip this element.
If path is a valid path, let file be the result of applying the rule
for finding a file within a widget package to path. If file is null or
in error, then the user agent must skip this element.
]]

[1] http://www.w3.org/TR/2009/CR-widgets-20090723/
-- 
Marcos Caceres
http://datadriven.com.au

Received on Friday, 31 July 2009 15:51:20 UTC