David Zbarsky
eb7e83b422
Bug 901060 - Make nsGenericHTMLElement implement nsIDOMHTMLElement r=bz
2013-08-07 16:23:08 -04:00
Neil Deakin
0f0430de5b
Bug 894736, pass clipboard type to data transfer so that the correct clipboard is used when pasting, r=ehsan
2013-08-07 14:52:38 -04:00
David Dahl
98f42a7f2a
Bug 824652 - crypto.generateCRMFRequest bypasses CSP (allows script execution from a string, without unsafe-eval) r=bsmith r=khuey r=keeler
2013-08-06 21:46:05 -05:00
Mark Hammond
f45a45d737
Bug 897811 - remove browser.pageThumbs.enabled preference. r=gavin
2013-08-07 11:10:58 +10:00
Ehsan Akhgari
b9560fc7d9
Bug 902111 - Forward-declare nsIFrame in nsISelectionPrivate.h; r=bzbarsky
2013-08-06 16:19:11 -04:00
Arnaud Sourioux
07117795ca
Bug 900274: Mark content/base/src as FAIL_ON_WARNINGS in Makefile.in r=smaug
2013-08-06 09:51:40 -07:00
Bob Owen
7fa45b3be7
Bug 886262 - Ensure sandbox flags and, where necessary, null principal are set for child objects. r=bz
2013-08-06 11:01:23 +01:00
Yuan Xulei
a1e4446ad8
Bug 895239 - Serialize non-textual container element as placeholder if OutputNonTextContentAsPlaceholder is set. r=smaug
2013-08-06 10:40:38 -04:00
Daniel Holbert
a6d8bf4063
Bug 900260: Explicitly cast 64-bit value to size_t, to fix build warning on 32-bit platforms (which won't run this code anyway). r=froydnj
2013-08-06 07:13:59 -07:00
Nicholas Nethercote
c1d8302699
Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz.
...
--HG--
extra : rebase_source : 5b3d7cc339af6d93bde078322e25c6e740d1b617
2013-08-02 00:41:57 -07:00
Daniel Holbert
879d9d11a9
Bug 901645: Mark some variables in content/base/src as DebugOnly. r=smaug
2013-08-05 21:35:08 -04:00
Boris Zbarsky
cb5a1d24f1
Bug 901682. Rev the IID for nsXMLHttpRequest. r=gavin
2013-08-05 21:28:51 -04:00
Ryan VanderMeulen
03f1e9ee4f
Merge m-c to inbound.
2013-08-05 20:00:43 -04:00
Ryan VanderMeulen
6e225374e2
Backed out changeset a4dd0dc4e354 (bug 824652) for Android M1 orange.
2013-08-05 19:21:17 -04:00
David Keeler
f6f47c149c
bug 887052 - refactor nsISiteSecurityService for multiple headers r=cviecco r=mcmanus r=jst sr=jst
2013-08-02 16:23:18 -07:00
David Keeler
e02475356e
bug 887052 - rename nsIStrictTransportSecurityService to nsISiteSecurityService for refactoring r=cviecco r=mcmanus r=jst sr=jst
...
--HG--
rename : netwerk/base/public/nsIStrictTransportSecurityService.idl => netwerk/base/public/nsISiteSecurityService.idl
rename : security/manager/boot/src/nsStrictTransportSecurityService.cpp => security/manager/boot/src/nsSiteSecurityService.cpp
rename : security/manager/boot/src/nsStrictTransportSecurityService.h => security/manager/boot/src/nsSiteSecurityService.h
2013-08-02 15:48:37 -07:00
David Dahl
99b75a0ff8
Bug 824652 - crypto.generateCRMFRequest bypasses CSP (allows script execution from a string, without unsafe-eval) r=bsmith r=khuey r=keeler
2013-08-05 16:15:22 -05:00
Ryan VanderMeulen
e91e143e66
Backed out changesets 5f8a88c6d0c8 and 97fcb5a154d8 (bug 887052) for OSX mochitest-other orange.
...
--HG--
rename : netwerk/base/public/nsISiteSecurityService.idl => netwerk/base/public/nsIStrictTransportSecurityService.idl
rename : security/manager/boot/src/nsSiteSecurityService.cpp => security/manager/boot/src/nsStrictTransportSecurityService.cpp
rename : security/manager/boot/src/nsSiteSecurityService.h => security/manager/boot/src/nsStrictTransportSecurityService.h
2013-08-05 16:18:06 -04:00
Szu-Yu Chen [:aknow]
7c0dd8c2fa
Bug 743150 - Part 2: Add remoteheld/remoteresumed event (dom). r=bent, r=gyeh
2013-08-05 16:28:14 -04:00
Martijn Wargers
82728757f4
Bug 901385 - test_mutationobservers.html failing on b2g and Android mochitest because of the use of showModalDialog. r=smaug
2013-08-05 13:02:57 +02:00
David Keeler
a746ca39ba
bug 887052 - refactor nsISiteSecurityService for multiple headers r=cviecco r=mcmanus r=jst sr=jst
2013-07-01 10:49:40 -07:00
David Keeler
503e645f01
bug 887052 - rename nsIStrictTransportSecurityService to nsISiteSecurityService for refactoring r=cviecco r=mcmanus r=jst sr=jst
...
--HG--
rename : netwerk/base/public/nsIStrictTransportSecurityService.idl => netwerk/base/public/nsISiteSecurityService.idl
rename : security/manager/boot/src/nsStrictTransportSecurityService.cpp => security/manager/boot/src/nsSiteSecurityService.cpp
rename : security/manager/boot/src/nsStrictTransportSecurityService.h => security/manager/boot/src/nsSiteSecurityService.h
2013-07-01 09:30:11 -07:00
Boris Zbarsky
82ba945cef
Bug 900898 part 2. Move to using Nullable<TypedArray> to represent possibly-null TypedArray structs. r=smaug
2013-08-05 13:40:01 -04:00
Daniel Holbert
7fab5e3863
Bug 901529: Declare bitmask as uint16_t, rather than implicitly as a signed short function-arg, to fix "truncation of constant value" build warning. r=jlebar
2013-08-05 12:45:50 -04:00
Jon Coppeard
da8c061053
Bug 900986 - Convert JS_*Element API to use MutableHandleValue for out params r=terrence r=bholley r=smaug
2013-08-05 14:02:47 +01:00
Boris Zbarsky
22412e781e
Bug 707564 part 3. Give WebIDL bindings with NewResolve hooks Enumerate hooks as well, so enumerating them correctly resolves all the properties. r=smaug
2013-08-03 23:38:54 -04:00
Blake Kaplan
8c4b371602
Bug 897386 - Hack to allow adopted browsers to still have XBL bindings. r=sicking
2013-08-02 14:05:02 -07:00
Ryan VanderMeulen
3a385f459a
Merge inbound to m-c.
2013-08-02 16:36:40 -04:00
Justin Lebar
3024bbcc2d
Back out 4ff7455f6720, "Bug 894736, pass clipboard type to data transfer so that the correct clipboard is used when pasting, r=ehsan" on a CLOSED TREE.
2013-08-02 10:53:34 -07:00
Ed Morley
05a37c3a43
Merge mozilla-central and b2g-inbound
2013-08-02 13:51:22 +01:00
Ms2ger
21409e5d2c
Merge m-c to inbound.
2013-08-02 11:07:57 +02:00
Ms2ger
f8a25b94f5
Bug 897945 - Use an XPCOM string for nsContentUtils::ReportToConsole's category argument; r=bholley
2013-08-02 09:09:11 +02:00
Ms2ger
d5d5885d4c
Bug 886408 - Move nsContentUtils::ReleaseWrapper into nsWrapperCache; r=mccr8
2013-08-02 09:04:01 +02:00
Mike Hommey
ca80cd82ad
Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8
2013-08-02 10:29:05 +09:00
Gina Yeh
93e89304fd
Bug 853221 - Patch 2: Distribute events from BluetoothAdapter, r=smaug, sr=mrbkap
2013-08-02 18:33:15 +08:00
Ryan VanderMeulen
501ddf3329
Merge m-c to fx-team.
2013-08-01 16:35:13 -04:00
Daniel Holbert
bb59ff0d44
Bug 900277 - Use ALLOW_THIS_IN_INITIALIZER_LIST macro to suppress windows warning in Element.cpp's StringBuilder constructor. r=smaug
2013-08-01 13:00:56 -04:00
Daniel Holbert
43ee09681b
Bug 900246: Mark variable as DebugOnly in DirectionalityUtils.cpp, to fix opt "unused variable" build warning. r=smontagu
2013-07-31 18:59:27 -07:00
Daniel Holbert
6c8c5a68b8
Bug 900209 - static_cast uint64_t value to "unsigned long long" when printing it with %llx, to silence Wformat build warning on 64-bit platforms. r=smaug
2013-07-31 21:15:26 -04:00
Bill McCloskey
f2eacd8ccc
Bug 899812 - Error reporters should consistently report errors to stderr (r=bholley)
2013-07-31 17:04:49 -07:00
Neil Deakin
243c5a081d
Bug 894736, pass clipboard type to data transfer so that the correct clipboard is used when pasting, r=ehsan
2013-08-02 11:37:05 -04:00
Tom Schuster
8ac55e5939
Bug 884410 - Handlify JS_GetPrototype. r=terrence
2013-07-31 12:20:33 -04:00
Justin Lebar
9befee6c8d
Bug 896890 - TabContent::HasOwnApp() should be true iff TabContext::GetOwnApp() is non-null.
...
This change reworks how TabContext stores its data. Before, it stored
an app-id and translated that into an app; now we do the reverse. This
lets us guarantee that HasOwnApp() is true iff GetOwnApp() is non-null.
We added a new class, MaybeInvalidTabContext to assist with converting
from an IPCTabContext to a TabContext. This allows us to ensure that a
TabContext object is never invalid.
2013-07-30 14:42:34 -07:00
Mook
0ce5f94aa5
content: sync load service: don't die when channels have unknown size (b=894586 r=ehsan r=jduell)
2013-07-30 14:38:26 -07:00
Ryan VanderMeulen
77cb688076
Backed out changeset 4aeb00521c9d (bug 896890) for build bustage.
...
CLOSED TREE
2013-07-30 15:50:46 -04:00
Justin Lebar
c092dd4810
Bug 896890 - TabContent::HasOwnApp() should be true iff TabContext::GetOwnApp() is non-null. r=khuey
...
This change reworks how TabContext stores its data. Before, it stored
an app-id and translated that into an app; now we do the reverse. This
lets us guarantee that HasOwnApp() is true iff GetOwnApp() is non-null.
We added a new class, MaybeInvalidTabContext to assist with converting
from an IPCTabContext to a TabContext. This allows us to ensure that a
TabContext object is never invalid.
--HG--
extra : rebase_source : d43e858739a342ab420122a90336bfd585be268a
2013-07-30 11:51:44 -07:00
Ehsan Akhgari
085494b95d
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Ed Morley
4b841ae8c6
Bug 893714 - Disable test_cpows.xul on OS X for too many intermittent assertions, whilst the fix is finished
...
--HG--
extra : rebase_source : d3ad44b025610f5b1ec91f662eb9cbf5ba613a7d
2013-07-30 17:28:59 +01:00
Ehsan Akhgari
3717325909
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
David Zbarsky
f0098e9a95
Bug 898947 - Remove nsIInlineEventHandlers from nodes r=bz
2013-07-30 01:47:28 -07:00