Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1034)

Side by Side Diff: Source/core/dom/URL.idl

Issue 361883004: Replace many [TreatReturnedNullStringAs=Null] with nullable DOMString (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * Copyright (C) 2012 Motorola Mobility Inc. 3 * Copyright (C) 2012 Motorola Mobility Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 20 matching lines...) Expand all
31 Constructor(ScalarValueString url, ScalarValueString base), 31 Constructor(ScalarValueString url, ScalarValueString base),
32 Constructor(ScalarValueString url, URL base), 32 Constructor(ScalarValueString url, URL base),
33 Exposed=Window&Worker, 33 Exposed=Window&Worker,
34 ImplementedAs=DOMURL, 34 ImplementedAs=DOMURL,
35 RaisesException=Constructor, 35 RaisesException=Constructor,
36 WillBeGarbageCollected, 36 WillBeGarbageCollected,
37 ] interface URL { 37 ] interface URL {
38 // FIXME: should be in separate URLBlob.idl partial interface definition 38 // FIXME: should be in separate URLBlob.idl partial interface definition
39 // http://dev.w3.org/2006/webapi/FileAPI/#URL-object 39 // http://dev.w3.org/2006/webapi/FileAPI/#URL-object
40 // FIXME: should not be nullable 40 // FIXME: should not be nullable
41 [RaisesException, CallWith=ExecutionContext, TreatReturnedNullStringAs=Null] static DOMString createObjectURL(Blob? blob); 41 [RaisesException, CallWith=ExecutionContext] static DOMString? createObjectU RL(Blob? blob);
42 [CallWith=ExecutionContext] static void revokeObjectURL(DOMString url); 42 [CallWith=ExecutionContext] static void revokeObjectURL(DOMString url);
43 }; 43 };
44 44
45 URL implements URLUtils; 45 URL implements URLUtils;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698