RESOLVED FIXED 69693
[File API] URL methods handling null arguments
https://bugs.webkit.org/show_bug.cgi?id=69693
Summary [File API] URL methods handling null arguments
Mark Pilgrim (Google)
Reported 2011-10-07 21:46:44 PDT
According to http://dev.w3.org/2006/webapi/FileAPI/#dfn-createObjectURL , "If this method is called with a Blob argument that is NOT valid, then user agents MUST return null." This test calls createObjectURL with null and logs the results. Expected behavior: returns null Actual behavior: returns undefined
Attachments
Patch (1.90 KB, patch)
2011-10-07 21:47 PDT, Mark Pilgrim (Google)
no flags
Updates test and changes the return value from undefined to null according to the latest spec. (4.61 KB, patch)
2012-02-14 08:34 PST, Lauro Moura Maranhao Neto
no flags
Updated patch (4.80 KB, patch)
2012-05-15 10:48 PDT, Lauro Moura Maranhao Neto
no flags
Mark Pilgrim (Google)
Comment 1 2011-10-07 21:47:22 PDT
Lauro Moura Maranhao Neto
Comment 2 2012-02-14 08:34:15 PST
Created attachment 126983 [details] Updates test and changes the return value from undefined to null according to the latest spec.
WebKit Review Bot
Comment 3 2012-02-14 08:35:57 PST
Attachment 126983 [details] did not pass style-queue: Failed to run "['Tools/Scripts/update-webkit']" exit_code: 9 Updating OpenSource First, rewinding head to replay your work on top of it... Applying: [Mac][Win][WK2] Switch to RFC 6455 protocol for WebSockets Using index info to reconstruct a base tree... <stdin>:1578: trailing whitespace. <stdin>:1647: trailing whitespace. <stdin>:1657: trailing whitespace. <stdin>:1672: trailing whitespace. return 0; <stdin>:1674: trailing whitespace. warning: squelched 7 whitespace errors warning: 12 lines add whitespace errors. Falling back to patching base and 3-way merge... warning: too many files (created: 168776 deleted: 3), skipping inexact rename detection Auto-merging LayoutTests/ChangeLog Auto-merging Source/WebCore/ChangeLog CONFLICT (content): Merge conflict in Source/WebCore/ChangeLog Auto-merging Source/WebKit2/ChangeLog CONFLICT (content): Merge conflict in Source/WebKit2/ChangeLog Auto-merging Tools/ChangeLog CONFLICT (content): Merge conflict in Tools/ChangeLog Failed to merge in the changes. Patch failed at 0001 [Mac][Win][WK2] Switch to RFC 6455 protocol for WebSockets When you have resolved this problem run "git rebase --continue". If you would prefer to skip this patch, instead run "git rebase --skip". To restore the original branch and stop rebasing run "git rebase --abort". rebase refs/remotes/origin/master: command returned error: 1 Died at Tools/Scripts/update-webkit line 164. If any of these errors are false positives, please file a bug against check-webkit-style.
Lauro Moura Maranhao Neto
Comment 4 2012-05-15 10:48:44 PDT
Created attachment 142001 [details] Updated patch
Adam Barth
Comment 5 2012-05-15 11:28:33 PDT
Comment on attachment 142001 [details] Updated patch Thanks.
WebKit Review Bot
Comment 6 2012-05-15 14:26:54 PDT
Comment on attachment 142001 [details] Updated patch Clearing flags on attachment: 142001 Committed r117160: <http://trac.webkit.org/changeset/117160>
WebKit Review Bot
Comment 7 2012-05-15 14:26:59 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.