mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 1417365 - Unified build issues in dom/bindings. r=baku
This commit is contained in:
parent
62787012f8
commit
b26557dd95
@ -319,7 +319,7 @@ ToStringHelper(const char* aSeverity, const nsString& aMessage,
|
||||
static const char format2[] =
|
||||
"[%s: \"%s\"]";
|
||||
|
||||
UniqueChars temp;
|
||||
JS::UniqueChars temp;
|
||||
char* tempMessage = nullptr;
|
||||
char* tempSourceName = nullptr;
|
||||
char* tempSourceLine = nullptr;
|
||||
|
@ -22,7 +22,7 @@ using namespace mozilla::dom;
|
||||
namespace {
|
||||
|
||||
static nsCString
|
||||
FormatStackString(JSContext* cx, HandleObject aStack) {
|
||||
FormatStackString(JSContext* cx, JS::HandleObject aStack) {
|
||||
JS::RootedString formattedStack(cx);
|
||||
|
||||
if (!JS::BuildStackString(cx, aStack, &formattedStack)) {
|
||||
@ -111,7 +111,7 @@ nsScriptErrorWithStack::ToString(nsACString& /*UTF8*/ aResult)
|
||||
}
|
||||
|
||||
JSContext* cx = jsapi.cx();
|
||||
RootedObject stack(cx, mStack);
|
||||
JS::RootedObject stack(cx, mStack);
|
||||
nsCString stackString = FormatStackString(cx, stack);
|
||||
nsCString combined = message + NS_LITERAL_CSTRING("\n") + stackString;
|
||||
aResult.Assign(combined);
|
||||
|
@ -7,8 +7,9 @@
|
||||
#ifndef mozilla_dom_TestInterfaceIterableDouble_h
|
||||
#define mozilla_dom_TestInterfaceIterableDouble_h
|
||||
|
||||
#include "nsWrapperCache.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsTArray.h"
|
||||
#include "nsWrapperCache.h"
|
||||
|
||||
class nsPIDOMWindowInner;
|
||||
|
||||
|
@ -7,8 +7,9 @@
|
||||
#ifndef mozilla_dom_TestInterfaceIterableDoubleUnion_h
|
||||
#define mozilla_dom_TestInterfaceIterableDoubleUnion_h
|
||||
|
||||
#include "nsWrapperCache.h"
|
||||
#include "mozilla/dom/TestInterfaceJSMaplikeSetlikeIterableBinding.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsWrapperCache.h"
|
||||
|
||||
class nsPIDOMWindowInner;
|
||||
|
||||
|
@ -7,8 +7,9 @@
|
||||
#ifndef mozilla_dom_TestInterfaceIterableSingle_h
|
||||
#define mozilla_dom_TestInterfaceIterableSingle_h
|
||||
|
||||
#include "nsWrapperCache.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsWrapperCache.h"
|
||||
#include "nsTArray.h"
|
||||
|
||||
class nsPIDOMWindowInner;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user