Mainly make the relevant API's use objects (aka Dictionaries) instead of the temporary strings, but also making a few API's exception aware and changing the name of a flag.
Created attachment 140000 [details] Patch
Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.
Comment on attachment 140000 [details] Patch Attachment 140000 [details] did not pass gtk-ews (gtk): Output: http://queues.webkit.org/results/12610242
Created attachment 140010 [details] Patch
Comment on attachment 140010 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=140010&action=review > Source/WebCore/Modules/mediastream/PeerConnection00.cpp:260 > + if (!ec) > + return; Is this backwards? I thought ec == 0 is success. > LayoutTests/ChangeLog:1 > +2012-05-03 Tommy Widenflycht <tommyw@google.com> Looks like this ChangeLog got corrupted a bit.
Comment on attachment 140010 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=140010&action=review >> Source/WebCore/Modules/mediastream/PeerConnection00.cpp:260 >> + return; > > Is this backwards? I thought ec == 0 is success. More importantly, if this is backwards, why didn’t a test catch that fact?
Created attachment 140188 [details] Patch
Comment on attachment 140010 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=140010&action=review >>> Source/WebCore/Modules/mediastream/PeerConnection00.cpp:260 >>> + return; >> >> Is this backwards? I thought ec == 0 is success. > > More importantly, if this is backwards, why didn’t a test catch that fact? Yes, it was backward. And I am ashamed. Test now added. It's so cold in Sweden that my brain froze. >> LayoutTests/ChangeLog:1 >> +2012-05-03 Tommy Widenflycht <tommyw@google.com> > > Looks like this ChangeLog got corrupted a bit. Fixed.
Comment on attachment 140188 [details] Patch Thanks.
Comment on attachment 140188 [details] Patch Clearing flags on attachment: 140188 Committed r116127: <http://trac.webkit.org/changeset/116127>
All reviewed patches have been landed. Closing bug.