mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 00:35:44 +00:00
Bug 1626555 - Add dom/xhr
to the list of non-unified-build-compatible directories. r=sg
Differential Revision: https://phabricator.services.mozilla.com/D97187
This commit is contained in:
parent
0c905d6304
commit
25816ebd9a
@ -69,4 +69,5 @@ dom/webidl/
|
||||
dom/webshare/
|
||||
dom/websocket/
|
||||
dom/workers/
|
||||
dom/worklet/
|
||||
dom/worklet/
|
||||
dom/xhr/
|
@ -64,6 +64,7 @@
|
||||
#include "nsVariant.h"
|
||||
#include "nsIScriptError.h"
|
||||
#include "nsICachingChannel.h"
|
||||
#include "nsICookieJarSettings.h"
|
||||
#include "nsContentUtils.h"
|
||||
#include "nsCycleCollectionParticipant.h"
|
||||
#include "nsError.h"
|
||||
|
@ -164,6 +164,8 @@ XMLHttpRequestStringWriterHelper::XMLHttpRequestStringWriterHelper(
|
||||
XMLHttpRequestString& aString)
|
||||
: mBuffer(aString.mBuffer), mLock(aString.mBuffer->mMutex) {}
|
||||
|
||||
XMLHttpRequestStringWriterHelper::~XMLHttpRequestStringWriterHelper() = default;
|
||||
|
||||
uint32_t XMLHttpRequestStringWriterHelper::Length() const {
|
||||
return mBuffer->UnsafeLength();
|
||||
}
|
||||
@ -181,6 +183,8 @@ XMLHttpRequestStringSnapshotReaderHelper::
|
||||
XMLHttpRequestStringSnapshot& aSnapshot)
|
||||
: mBuffer(aSnapshot.mBuffer), mLock(aSnapshot.mBuffer->mMutex) {}
|
||||
|
||||
XMLHttpRequestStringSnapshotReaderHelper::~XMLHttpRequestStringSnapshotReaderHelper() = default;
|
||||
|
||||
const char16_t* XMLHttpRequestStringSnapshotReaderHelper::Buffer() const {
|
||||
return mBuffer->UnsafeData().BeginReading();
|
||||
}
|
||||
|
@ -13,6 +13,8 @@
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
class ArrayBufferBuilder;
|
||||
class BlobImpl;
|
||||
class DOMString;
|
||||
class XMLHttpRequestStringBuffer;
|
||||
class XMLHttpRequestStringSnapshot;
|
||||
@ -61,6 +63,7 @@ class XMLHttpRequestString final {
|
||||
class MOZ_STACK_CLASS XMLHttpRequestStringWriterHelper final {
|
||||
public:
|
||||
explicit XMLHttpRequestStringWriterHelper(XMLHttpRequestString& aString);
|
||||
~XMLHttpRequestStringWriterHelper();
|
||||
|
||||
/**
|
||||
* The existing length of the string. Do not call during BulkWrite().
|
||||
@ -126,6 +129,7 @@ class MOZ_STACK_CLASS XMLHttpRequestStringSnapshotReaderHelper final {
|
||||
public:
|
||||
explicit XMLHttpRequestStringSnapshotReaderHelper(
|
||||
XMLHttpRequestStringSnapshot& aSnapshot);
|
||||
~XMLHttpRequestStringSnapshotReaderHelper();
|
||||
|
||||
const char16_t* Buffer() const;
|
||||
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include "jsfriendapi.h"
|
||||
#include "js/ArrayBuffer.h" // JS::Is{,Detached}ArrayBufferObject
|
||||
#include "js/GCPolicyAPI.h"
|
||||
#include "js/JSON.h"
|
||||
#include "js/RootingAPI.h" // JS::{Handle,Heap},PersistentRooted
|
||||
#include "js/TracingAPI.h"
|
||||
#include "js/Value.h" // JS::{Undefined,}Value
|
||||
@ -21,6 +22,7 @@
|
||||
#include "mozilla/dom/File.h"
|
||||
#include "mozilla/dom/FormData.h"
|
||||
#include "mozilla/dom/ProgressEvent.h"
|
||||
#include "mozilla/dom/SerializedStackHolder.h"
|
||||
#include "mozilla/dom/StreamBlobImpl.h"
|
||||
#include "mozilla/dom/StructuredCloneHolder.h"
|
||||
#include "mozilla/dom/UnionConversions.h"
|
||||
@ -36,6 +38,7 @@
|
||||
#include "nsJSUtils.h"
|
||||
#include "nsThreadUtils.h"
|
||||
|
||||
#include "XMLHttpRequestMainThread.h"
|
||||
#include "XMLHttpRequestUpload.h"
|
||||
|
||||
#include "mozilla/UniquePtr.h"
|
||||
|
Loading…
Reference in New Issue
Block a user