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

Side by Side Diff: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.h

Issue 2730943002: XMLHttpRequest: return null upon failing responseArrayBuffer allocation. (Closed)
Patch Set: mirror updated spec, and return |null| for failed allocs Created 3 years, 9 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) 2003, 2006, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2006, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2005, 2006 Alexey Proskuryakov <ap@nypop.com> 3 * Copyright (C) 2005, 2006 Alexey Proskuryakov <ap@nypop.com>
4 * Copyright (C) 2011 Google Inc. All rights reserved. 4 * Copyright (C) 2011 Google Inc. All rights reserved.
5 * Copyright (C) 2012 Intel Corporation 5 * Copyright (C) 2012 Intel Corporation
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public 8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 bool m_parsedResponse; 348 bool m_parsedResponse;
349 bool m_error; 349 bool m_error;
350 bool m_uploadEventsAllowed; 350 bool m_uploadEventsAllowed;
351 bool m_uploadComplete; 351 bool m_uploadComplete;
352 bool m_sameOriginRequest; 352 bool m_sameOriginRequest;
353 // True iff the ongoing resource loading is using the downloadToFile 353 // True iff the ongoing resource loading is using the downloadToFile
354 // option. 354 // option.
355 bool m_downloadingToFile; 355 bool m_downloadingToFile;
356 bool m_responseTextOverflow; 356 bool m_responseTextOverflow;
357 bool m_sendFlag; 357 bool m_sendFlag;
358 bool m_responseArrayBufferFailure;
358 }; 359 };
359 360
360 std::ostream& operator<<(std::ostream&, const XMLHttpRequest*); 361 std::ostream& operator<<(std::ostream&, const XMLHttpRequest*);
361 362
362 } // namespace blink 363 } // namespace blink
363 364
364 #endif // XMLHttpRequest_h 365 #endif // XMLHttpRequest_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.cpp ('k') | third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698