Files
roytam1 e23b186b0f import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1109751 - Request and Response constructors should set mime type. r=baku (e7ac413dc)
- Bug 1150023 - Intermittent browser_940107_home_button_in_bookmarks_toolbar.js | application crashed [@ mozilla::dom::quota::QuotaManager::AbortCloseStoragesForProcess(mozilla::dom::ContentParent *)][@ mozilla::ipc::MessageChannel::NotifyChannelClosed()]; r=bent (511258277)
- Bug 1125102 - Make QuotaManager and FileService to be independent of each other; r=bent (400a5b6de)
- Bug 1151242 - Abort version change transactions more eagerly in the event of a crash, r=khuey. (06ce6c7aa)
- Bug 1157573 - Fix transaction rollback assertions for when a transaction was never started, r=janv. (748ad3efc)
- Bug 1141555 - HTTP cache v2 generates corrupted entries, r=jduell (154e25786)
- Bug 997325 - Implement main process scriptable only flag in XPIDL (r=mrbkap) (7cb00da48)
- Bug 1149980 - Fix Telemetry crashing on shutdown for invalid timestamps during tests. r=vladan (1de0ea820)
- Bug 1157282 - Record telemetry histograms for base set when Telemetry.canRecordExtended is false. r=gfritzsche (661696b6e)
- Bug 1158251 - Fix sub-session histograms double-counting measurements the first time. r=gfritzsche (7ea56aadb)
- Bug 1164292 - Twiddle format of GetScriptLocation to match what we use for GetOrigin. r=gabor (73ef73a92)
- Bug 1164292 - Properly implement nsExpandedPrincipal::GetOrigin. r=gabor (e108cc4f4)
- Bug 1155963 Only allow NS_LITERAL_CSTRING to be used on compile-time literals r=froydnj,ehsan (d6e2f6259)
2021-02-10 10:35:57 +08:00

38 lines
1.5 KiB
C

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef nsLiteralString_h___
#define nsLiteralString_h___
#include "nscore.h"
#include "nsString.h"
// declare nsLiteralString
#include "string-template-def-unichar.h"
#include "nsTLiteralString.h"
#include "string-template-undef.h"
// declare nsLiteralCString
#include "string-template-def-char.h"
#include "nsTLiteralString.h"
#include "string-template-undef.h"
#include "mozilla/Char16.h"
#define NS_MULTILINE_LITERAL_STRING(s) static_cast<const nsLiteralString&>(nsLiteralString(s))
#define NS_MULTILINE_LITERAL_STRING_INIT(n,s) n(s)
#define NS_NAMED_MULTILINE_LITERAL_STRING(n,s) const nsLiteralString n(s)
#define NS_LITERAL_STRING(s) static_cast<const nsLiteralString&>(nsLiteralString(MOZ_UTF16(s)))
#define NS_LITERAL_STRING_INIT(n,s) n(MOZ_UTF16(s))
#define NS_NAMED_LITERAL_STRING(n,s) const nsLiteralString n(MOZ_UTF16(s))
#define NS_LITERAL_CSTRING(s) static_cast<const nsLiteralCString&>(nsLiteralCString("" s))
#define NS_LITERAL_CSTRING_INIT(n,s) n("" s)
#define NS_NAMED_LITERAL_CSTRING(n,s) const nsLiteralCString n("" s)
#endif /* !defined(nsLiteralString_h___) */