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

Side by Side Diff: Source/core/xml/XMLHttpRequest.idl

Issue 108573002: [XHR] remove now-unnecessary RaisesException attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years 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
« no previous file with comments | « Source/core/xml/XMLHttpRequest.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2011 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 [ActivityLogging=ForAllWorlds, RaisesException] void setRequestHeader(DOMStr ing header, DOMString value); 63 [ActivityLogging=ForAllWorlds, RaisesException] void setRequestHeader(DOMStr ing header, DOMString value);
64 64
65 [Custom, RaisesException] void send(); 65 [Custom, RaisesException] void send();
66 66
67 void abort(); 67 void abort();
68 68
69 readonly attribute XMLHttpRequestUpload upload; 69 readonly attribute XMLHttpRequestUpload upload;
70 70
71 // response 71 // response
72 [TreatReturnedNullStringAs=Undefined, RaisesException] DOMString getAllRespo nseHeaders(); 72 [TreatReturnedNullStringAs=Undefined] DOMString getAllResponseHeaders();
73 [TreatReturnedNullStringAs=Null, RaisesException] DOMString getResponseHeade r(DOMString header); 73 [TreatReturnedNullStringAs=Null] DOMString getResponseHeader(DOMString heade r);
74 [Custom=Getter, RaisesException=Getter] readonly attribute DOMString respons eText; // The custom getter implements TreatReturnedNullStringAs=Null 74 [Custom=Getter, RaisesException=Getter] readonly attribute DOMString respons eText; // The custom getter implements TreatReturnedNullStringAs=Null
75 [RaisesException=Getter] readonly attribute Document responseXML; 75 [RaisesException=Getter] readonly attribute Document responseXML;
76 76
77 [RaisesException=Setter] attribute XMLHttpRequestResponseType responseType; 77 [RaisesException=Setter] attribute XMLHttpRequestResponseType responseType;
78 [Custom=Getter, RaisesException=Getter] readonly attribute object response; 78 [Custom=Getter, RaisesException=Getter] readonly attribute object response;
79 79
80 [RaisesException=Getter] readonly attribute unsigned short status; 80 readonly attribute unsigned short status;
81 [RaisesException=Getter] readonly attribute DOMString statusText; 81 readonly attribute DOMString statusText;
82 82
83 // Extension 83 // Extension
84 void overrideMimeType(DOMString override); 84 void overrideMimeType(DOMString override);
85 }; 85 };
OLDNEW
« no previous file with comments | « Source/core/xml/XMLHttpRequest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698