Nicholas Nethercote
b89a8ac1c0
Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
...
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Hsin-Yi Tsai
2ea077b16b
Bug 772765 - part2 - Telephony DOM. r=bent
2013-07-06 18:24:55 +08:00
Bobby Holley
4e0f1d69d4
Bug 901106 - Remove nsIScriptRuntime. r=mrbkap
...
All this stuff is now for nsGlobalWindow's use only.
2013-08-19 16:24:28 -07:00
Cervantes Yu
06fc4f787a
Bug 897741 - Limit the CSP cache key size to reduce memory usage. r=fabrice
2013-08-19 09:43:44 -04:00
Phil Ringnalda
78bbb02c92
Merge m-c to m-i
2013-08-18 17:51:12 -07:00
Tanvi Vyas
3bf47f8be6
Bug 902350 - Mochitest. r=smaug
2013-08-18 12:32:09 -07:00
Phil Ringnalda
dca3d35d2b
Merge m-c to fx-team
2013-08-17 08:42:11 -07:00
Mark Capella
d531c0d7aa
Bug 864589 - Show/hide text selection handles if a selection is programatically added/removed, r=margaret, ehsan
2013-08-16 21:51:41 -04:00
Wes Kocher
26a0024de1
Backed out changeset 2404f5888de3 (bug 864589)
2013-08-16 16:09:46 -07:00
Mark Capella
0bd933ae38
Bug 864589 - Show/hide text selection handles if a selection is programatically added/removed, r=margaret, ehsan
2013-08-16 16:45:42 -04:00
Olli Pettay
b74af2cf58
Bug 887241, Use strings, not atoms, for worker events, r=khuey
...
--HG--
extra : rebase_source : 3e294b1bde05a127db0a9fa1c31c48e9a514e11d
2013-08-16 13:06:24 +03:00
Honza Bambas
5c7819fda9
Bug 892488 - Get rid of the offline application cache prompt, r=ehsan+jonas
2013-08-16 11:34:21 +02:00
Carsten "Tomcat" Book
59ec523b5e
merge fx-team to mozilla-central
2013-08-16 10:29:59 +02:00
Blake Kaplan
ca211ecbfc
Bug 851353 - Make sure the incoming node's JSObject is up to date. r=bzbarsky
2013-08-15 14:39:28 -07:00
Ehsan Akhgari
c0a07f27fe
Bug 905353 - Minimize the #includes in dom/base; r=jst
...
--HG--
extra : rebase_source : e7a1d2262bf6d8c9b78057b8eb6cdbfd98262f68
2013-08-15 14:17:48 -04:00
Christoph Kerschbaumer
6c9aabf033
Bug 802872 - Mochitest verifying that CSP restricts EventSource using the connect-src directive. r=grobinson
2013-08-12 17:22:44 -07:00
Christoph Kerschbaumer
211fabf11b
Bug 663567 - Mochitest verifying that content added by XSLT stylesheet is subject to document's CSP. r=grobinson, r=sstamm
2013-08-12 14:54:12 -07:00
Ryan VanderMeulen
c292f445e7
Merge m-c to inbound.
2013-08-14 17:11:30 -04:00
Carsten "Tomcat" Book
4a10a49030
merge mozilla-central to b2g-inbound
2013-08-14 15:02:24 +02:00
Ms2ger
3d504dcb66
Merge latest PGO-green inbounc changeset to m-c.
2013-08-14 14:45:47 +02:00
Ms2ger
bbe4225d9d
Bug 902901 - Give nsScriptElement.h an include guard; r=hsivonen
2013-08-14 08:57:41 +02:00
Ms2ger
0c3b97da57
Bug 901063 - Remove HB_DONT_DEFINE_STDINT defines; r=gps
...
These defines have been unnecessary since we removed mozilla/StandardInteger.h.
The upstream code will default to stdint.h typedefs without them.
2013-08-14 08:57:22 +02:00
Ms2ger
9da2f1b3f4
Bug 901320 - Stop including AutoRestore.h in nsContentUtils.h; r=jlebar
2013-08-14 08:56:25 +02:00
Ms2ger
6ec28362b3
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Ms2ger
772a9d87b7
Bug 901269 - Part b: Stop including nsContentUtils.h in Element.h; r=jlebar
2013-08-14 08:55:46 +02:00
Szu-Yu Chen [:aknow]
5819219f33
Bug 887690 - Part 2: Add emergency callback mode support (dom). r=bent
2013-08-14 08:50:22 -04:00
Ryan VanderMeulen
a9619b4c64
Merge m-c to b2g-inbound.
2013-08-13 15:38:58 -04:00
Ryan VanderMeulen
2147aecd7d
Backed out changeset 850ef8175560 (bug 663567) for B2G mochitest-1 failures.
2013-08-13 12:35:58 -04:00
Ryan VanderMeulen
9fae8ce672
Merge m-c to inbound.
2013-08-13 16:56:11 -04:00
Christoph Kerschbaumer
82c1ef44f0
Bug 663567 - Mochitest verifying that content added by XSLT stylesheet is subject to document's CSP. r=grobinson, r=sstamm
2013-08-12 14:54:12 -07:00
Mounir Lamouri
1644a00ceb
Bug 846688 - Move IsLTR() from nsHTMLInputElement.cpp to dom::Element. r=bz
2013-08-13 12:21:05 +01:00
Carsten "Tomcat" Book
4c7eb2b6bd
merge mozilla-central to b2g-inbound
2013-08-13 13:57:37 +02:00
Kyle Huey
8ef412bec4
Bug 901630: Remove support for the cc thread. r=mccr8
2013-08-13 10:45:32 -07:00
Olli Pettay
8c73469b01
Bug 904602 - Optimize tree traversing in Range, r=mats
...
--HG--
extra : rebase_source : b223d822792e95c0b5bbd40046c32f1049b068d8
2013-08-13 18:40:42 +03:00
Ryan VanderMeulen
75b9bb6d8f
Merge m-c to inbound.
2013-08-12 21:59:20 -04:00
Ryan VanderMeulen
a0d9f811c2
Backed out 4 changesets (bug 887690) for suspicion of causing frequent mochitest-2 failures.
...
Backed out changeset 106ae6eee902 (bug 887690)
Backed out changeset e2c72cb029f4 (bug 887690)
Backed out changeset 9eea090ed6f7 (bug 887690)
Backed out changeset 1defeb691f5c (bug 887690)
2013-08-12 19:13:38 -04:00
Kan-Ru Chen (陳侃如)
f186023681
Bug 845169 - Update touch region from remote frame. r=roc
2013-08-13 15:56:57 +08:00
Kyle Huey
6b38960fd8
Bug 803612 - Add deprecation warnings for mozGetAsFile. r=sicking
2013-08-12 13:26:31 -04:00
Jon Coppeard
8d0a37229f
Bug 903352 - Handlify remaining PropertyDescriptor APIs r=terrence r=bholley r=smaug
2013-08-12 12:09:14 +01:00
Gavin Sharp
befff981ed
Bug 897399: handle the inner window disappearing after beforescriptexecute without crashing, r=sicking
...
--HG--
extra : transplant_source : %90GW%01%C7%BA%FB%3E%FF%8A%F2%EFf%E7%81%C6s%F6%E9%2B
2013-08-02 10:55:50 -07:00
Ryan VanderMeulen
f7b0f7438b
Merge m-c to b2g-inbound.
2013-08-12 15:36:24 -04:00
Martijn Wargers
d82f6896da
Bug 902611 - test_bug475156.html failing on b2g mochitest with (NS_NOINTERFACE) [nsISupports.QueryInterface]. r=jduell
2013-08-12 01:48:10 +02:00
Szu-Yu Chen [:aknow]
4d6be48921
Bug 887690 - Part 2: Add emergency callback mode support (dom). r=bent
2013-08-12 08:25:09 -04:00
Ryan VanderMeulen
03b55bc71f
Backed out changeset e91392042137 (bug 892488) for mochitest-3 failures.
...
CLOSED TREE
2013-08-14 13:29:10 -04:00
Brian O'Keefe
3dadb0e396
Bug 896177 - Remove useless config.mk includes; r=gps
2013-07-17 16:06:53 -04:00
Honza Bambas
06d7ec69db
Bug 892488 - Get rid of the offline application cache prompt, r=ehsan+jonas
2013-08-14 17:17:00 +02:00
David Zbarsky
34dcd56bd5
[Bug 901289] Remove nsIDOMLinkStyle r=Ms2ger
2013-08-09 21:17:52 -04:00
David Zbarsky
0e2f11839b
[Bug 901656] nsIRadioGroupContainer can use HTMLInputElement r=Ms2ger
2013-08-09 21:17:51 -04:00
Ryan VanderMeulen
a199b3df6e
Merge m-c to inbound.
2013-08-09 19:29:45 -04:00
Ryan VanderMeulen
13be9bc4d0
Merge inbound to m-c.
2013-08-09 19:08:45 -04:00
Ryan VanderMeulen
c56b4e5a84
Merge b2g-inbound to m-c.
2013-08-09 17:26:14 -04:00
Ryan VanderMeulen
877a258694
Merge m-c to b2g-inbound.
2013-08-08 16:24:53 -04:00
Justin Lebar
a132de4354
Bug 902714 - Test for nsIMessageManager.addWeakMessageListener. r=smaug
...
--HG--
extra : rebase_source : 75a15479fd45f9e6a6092356ff96fb26d5f27338
2013-08-08 11:36:56 -07:00
Justin Lebar
103fd764af
Bug 902714 - Add {add,remove}WeakMessageListener to nsIMessageManager. r=smaug
...
--HG--
extra : rebase_source : 3fa06e18fce1c1338924ec940a6833f87c450106
2013-08-08 11:36:56 -07:00
Tim Taubert
e85b9095d9
Bug 888972 - part 1 - add nsIFrameScriptLoader.getDelayedFrameScripts(); r=smaug
2013-08-09 04:36:37 +02:00
Mark Hammond
f9c8c5e605
Bug 897811 - fix uses of browser.pagethumbnails.capturing_disabled to reflect the pref controls if it is *disabled* rather than enabled. r=gavin
2013-08-08 09:52:01 +10:00
Ehsan Akhgari
ddf1e43fca
Bug 901773 - Remove the duplicate _moz-type atom from nsGkAtomList; r=khuey
2013-08-09 18:08:56 -04:00
Gabor Krizsanits
89302bbfc9
Bug 877164 - nsDocument should call GetJunkScope later. r=smaug
2013-08-08 14:23:33 +02:00
Boris Zbarsky
c846cbddd8
Bug 897913 part 1. Don't assert that app id exists when asked for app status; just claim not installed if there is no app id. r=sicking
2013-08-07 17:40:00 -04:00
Simon Montagu
955967b5ff
Add a routine to clear the direction set by a textnode without resetting it. Bug 894137, r=ehsan
2013-08-08 09:54:18 +03:00
David Zbarsky
9dd8b1ad80
Bug 902732: Merge nsILink and dom::Link r=bz
2013-08-08 01:26:32 -04:00
Boris Zbarsky
adc8e860c3
Back out revision ab9642207875 (bug 897811) for browser-chrome test failures.
2013-08-08 01:13:45 -04:00
Mark Hammond
71bca9e80b
Bug 897811 - fix uses of browser.pagethumbnails.capturing_disabled to reflect the pref controls if it is *disabled* rather than enabled. r=gavin
2013-08-08 09:52:01 +10:00
Ed Morley
4d9df5ebf6
Backed out changeset 9e8edeb0539e (bug 897913)
2013-08-07 15:50:16 -07:00
Boris Zbarsky
844828826e
Bug 897913 part 1. Don't assert that app id exists when asked for app status; just claim not installed if there is no app id. r=sicking
2013-08-07 17:40:00 -04:00
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
David Zbarsky
53f3f3f4df
Backout a0868fe02c2a because I suspect it caused the debug mochitest failures resulting in the CLOSED TREE
2013-07-29 19:51:39 -07:00
Bobby Holley
99246966e4
Bug 899245 - Rename JS_GetGlobalForScopeChain to JS::CurrentGlobalOrNull. r=luke
...
This was done with perl/grep.
2013-07-29 16:45:27 -07:00
Bobby Holley
9f3d1e24f0
Bug 899245 - Rename js::GetDefaultGlobalForContext to js::DefaultObjectForContextOrNull. r=luke
...
This is more correct, since the object very often is not a global.
2013-07-29 16:45:25 -07:00
David Zbarsky
1a7436ff31
Bug 898947 - Remove nsIInlineEventHandlers from nodes r=bz
2013-07-29 16:04:09 -07:00
John Schoenick
4f47c01ab7
Bug 889614 - Followup, don't erroneously cancel other events. r=josh
2013-07-29 13:50:55 -07:00
Jon Coppeard
fd4d274d46
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01:00
Robert O'Callahan
343eac0301
Bug 837242. Part 1: Convert bool parameters to flags. r=mats
2013-07-26 14:31:41 +12:00
Ryan VanderMeulen
d07905c6bc
Backed out changeset f570fc641c5f (bug 894586) for xpcshell failures on a CLOSED TREE.
2013-07-26 22:49:13 -04:00
Mook
9a443aeeaf
content: sync load service: don't die when channels have unknown size (b=894586 r=jst r=jduell)
2013-07-26 15:25:27 -07:00
Ivan Alagenchev
2f05ea5a46
Bug 846918: adds hsts reporting from nsDocument. r=smaug.
2013-07-26 08:37:03 -07:00
Carsten "Tomcat" Book
ac22f0d0ad
Backed out changeset ae8d72538dee (bug 897484) for b2g bustage
2013-07-26 12:34:25 +02:00
Jon Coppeard
fed22eac4c
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01:00
Carsten "Tomcat" Book
f9fb745d15
Backed out changeset 44c751cee3b1 (bug 837242) for suspicion of causing OSX Bustage CLOSED TREE
2013-07-26 09:25:03 +02:00
Robert O'Callahan
aa23ef7e8f
Bug 837242. Part 1: Convert bool parameters to flags. r=mats
...
--HG--
extra : rebase_source : e59fe41c41f2be6b4f0c78528cf954093f3011bd
2013-07-26 14:31:41 +12:00
Boris Zbarsky
a0857fe689
Bug 894448 part 1. Move IsChromeOrXBL to xpcpublic.h. r=bholley
2013-07-25 19:41:46 -07:00
Ryan VanderMeulen
20fabd9691
Merge m-c to inbound.
2013-07-25 21:59:02 -04:00
Sid Stamm
ec103f9648
bug 898190 - fix test for bug 888172 to use a valid CSP policy for testing. r=grobinson
2013-07-25 17:11:12 -07:00
Garrett Robinson
2d5640ffce
Bug 888172 - CSP 1.0 does not process 'unsafe-inline' or 'unsafe-eval' for default-src. r=imelven
2013-07-24 17:48:30 -04:00
John Schoenick
3da5e26ba8
Bug 889614 - Fix test_object display:none checking issues found while testing. r=josh
2013-07-25 14:02:34 -07:00
John Schoenick
c97b82a961
Bug 889614 - Fix regression in plugin reparenting. r=josh
2013-07-25 14:02:33 -07:00
James Kitchener
5b157af303
Bug 885289 - Improve context menu behaviour for srcdoc iframes. r=mconley, r=bz
2013-07-25 09:32:50 -04:00
Joey Armstrong
4246f49c03
Bug 870370 - Move EXTRA_COMPONENTS to mozbuild (file batch #3 ); r=mshal
2013-06-11 16:38:22 -04:00
Andrew McCreight
dbe5cdd3b0
Backed out changeset 365053e73efa for build bustage on this CLOSED TREE.
2013-08-27 09:54:01 -07:00
Andrew McCreight
a93fe393a9
Bug 904826 - Remove some unneeded nsLayoutStatics calls. r=smaug
2013-08-20 14:19:33 -07:00
Olli Pettay
0c5e1a74e7
Bug 900738 - Remove HasSameOwnerDoc, r=bz
...
--HG--
extra : rebase_source : c4456690ffbd53fb98ad08436da2c5d884b25faf
2013-08-02 13:24:41 +03:00
Ms2ger
8ab83f380e
Merge m-c to inbound.
2013-07-24 11:53:22 +02:00
Ms2ger
3c5e135131
Bug 896280 - Pass MutableHandleValue to JS::Call(); r=terrence
2013-07-24 09:40:01 +02:00
Ms2ger
d34efeaec4
Bug 776517 - Move GetExistingAttrNameFromQName from nsIContent to dom::Element; r=smaug
2013-07-24 09:39:46 +02:00
Ms2ger
5ae654e2b6
Bug 885170 - Remove nsINode::GetClassInfo(); r=peterv
2013-07-24 09:31:06 +02:00
Ms2ger
7d7359c752
Bug 888643 - Part b: Move CPP_UNIT_TESTS definitions into moz.build files; r=gps
2013-07-24 09:23:06 +02:00
Olli Pettay
4399ddbfe6
Bug 895222, improve skippability optimization for nodes, r=mccr8
...
--HG--
extra : rebase_source : ce3ebc2020a26d22f7cf2636d63657a8fe6ebb2d
2013-07-22 20:47:20 +03:00
David Zbarsky
287181f0bc
Bug 897211: Remove nsITouchEventReceiver from nodes r=bz
2013-07-23 23:20:16 -07:00
David Zbarsky
404ebd49a1
Bug 897211: Remove nsIDOMDocumentTouch r=bz
2013-07-23 23:20:16 -07:00
David Zbarsky
b9c20a7821
Bug 894646 - Various dom deCOM cleanups r=Ms2ger
2013-07-23 16:39:17 -07:00
Boris Zbarsky
6fe1316182
Bug 895974. Implement ParentNode on document fragments and documents and move previousElementSibling and nextElementSibling to ChildNode. r=smaug
2013-07-22 08:15:43 -04:00
Joshua Cranmer
46c5cc932a
Bug 884061 - Part 3d: Use NS_DECL_THREADSAFE_ISUPPORTS in content/, r=smaug
...
--HG--
extra : rebase_source : ee869e0ec710259b1f3d1a328bff27c5d2960ea1
2013-07-18 21:21:19 -05:00
Jon Coppeard
6c0077c7f6
Bug 888338 - 1 - Add TenuredHeap<T> class r=terrence r=bz
2013-07-23 10:58:26 +01:00
Ryan VanderMeulen
4033000ea2
Backed out changesets 0a196c0e9f96 (bug 895974) and 0d8aa14f5ed3 (bug 895009) for causing intermittent Linux32 mochitest-1 asserts on a CLOSED TREE.
2013-07-22 18:18:17 -04:00
Boris Zbarsky
e0a481867c
Bug 895974. Implement ParentNode on document fragments and documents and move previousElementSibling and nextElementSibling to ChildNode. r=smaug
2013-07-22 08:15:43 -04:00
Ed Morley
1becf19348
Backed out changeset 9e7d1f4496ff (bug 888839) for B2G failures in test_copypaste.xhtml
2013-07-22 08:55:34 +01:00
Drew Willcoxon
8a46894e04
Bug 888839 - Don't pretty print text/plain when copying and pasting non-(X)HTML documents. r=smaug
2013-07-19 19:56:18 -07:00
Benjamin Smedberg
dd57b47a65
Bug 889788 - Plugin doorhanger breaks when plugins are dynamically removed from a page. This implements the short-term solution of hiding the plugin doorhanger when no more plugins are on the page (the better long-term solution will keep showing the UI and track all the plugins a page ever uses). This also implements a short-term solution when a user enables a plugin. Also bug 887088 - Short-term UI solution: when a user loads multiple tabs from a site and enables a plugin on one of them, the plugins are not enabled on other tabs but the "continue allowing" button does nothing. This patch makes the "Continue Allowing" button enable existing plugins of that type. r=jaws r=jschoenick
...
--HG--
extra : rebase_source : a60ae3259579ea63d51921dc3c70836da2d7ab3a
2013-07-19 10:02:48 -04:00
Ehsan Akhgari
5b25678716
Bug 895168 - Part 1: Stop using LL_I2L in the tree; r=jcranmer
...
--HG--
extra : rebase_source : b66b363de4c4e132ef94181d2b7d8f008caa643a
2013-07-18 16:47:55 -04:00
Ryan VanderMeulen
ba97a4cddb
Merge m-c to inbound on a CLOSED TREE.
2013-07-18 14:53:05 -04:00
Justin Lebar
705f1ae9f1
Bug 895123 - Change nsFrameLoader::mChildHost from nsCOMPtr<nsIObserver> to nsRefPtr<ContentParent>, and rename it to mContentParent.
...
This doesn't change any behavior; the only effect of this change is to make it easier to figure out, from GDB, which ContentParent a nsFrameLoader points to.
2013-07-17 16:34:57 -07:00
Ryan VanderMeulen
eec7a0e659
Backed out changeset 8421bc750585 (bug 888864) for Werror bustage.
2013-07-16 12:03:59 -04:00
Tom Schuster
7f21dbc657
Bug 893858 - More testing for CPOWs and fix some small bugs. r=dvander
2013-07-17 09:27:49 -04:00
Andrew McCreight
20aa3460cc
Bug 903524 - Rename TestJSHolder to IsJSHolder. r=smaug
2013-08-15 10:29:02 -07:00
Boris Zbarsky
7bc16a6b9c
Bug 894874. Fix .selectedStyleSheetSet to consider all the sheets even after it finds an enabled sheet. r=smaug
2013-07-17 23:23:52 -04:00
Boris Zbarsky
3978c4cfd1
Bug 892510. Cache whether we're only-whitespace on textnodes so we don't have to keep figuring that out over and over again. r=smaug
2013-07-17 23:23:52 -04:00
Ryan VanderMeulen
97083e557a
Backed out 4 changesets (bug 893858, bug 868859, bug 886903) for Linux debug mochitest-other crashes on a CLOSED TREE.
...
Backed out changeset 0ded4854067b (bug 886903)
Backed out changeset ca8afb897e13 (bug 893858)
Backed out changeset c15f503a96cc (bug 868859)
Backed out changeset 6a788f399a7f (bug 868859)
2013-07-17 12:43:59 -04:00
William Chen
f8b2cdb2c6
Bug 796061 - Part 2: Remove mInsertionParentTable from nsBindingManager. r=mrbkap
2013-07-17 09:05:06 -07:00
William Chen
43142c497a
Bug 796061 - Part 1: Remove mBindingTable from nsBindingManager. r=mrbkap
2013-07-17 09:05:03 -07:00
Ryan VanderMeulen
c11458053c
Backed out 3 changesets (bug 889480, bug 889788, bug 888908) for mochitest-bc orange.
...
Backed out changeset d1c616745325 (bug 889788)
Backed out changeset 6fe281a19554 (bug 888908)
Backed out changeset 9b855bab8073 (bug 889480)
2013-07-17 11:34:25 -04:00
Mina Almasry
eac9bbce9a
Bug 888864 - Changing a stylesheet ProcessingInstruction's data no longer applies immediately. r=bz
2013-07-17 10:09:04 -04:00
Mihnea Dobrescu-Balaur
e56e545704
Bug 887480 - Make the content/base xpcshell tests use dynamic httpd ports so they can be run concurrently. r=bz
2013-07-15 17:13:37 -07:00
Tom Schuster
78d54d5af2
Bug 893858 - More testing for CPOWs and two small bug fixes. r=dvander
2013-07-17 09:27:49 -04:00
Benjamin Smedberg
c5b25497ec
Bug 889788 - Plugin doorhanger breaks when plugins are dynamically removed from a page. This implements the short-term solution of hiding the plugin doorhanger when no more plugins are on the page (the better long-term solution will keep showing the UI and track all the plugins a page ever uses). This also implements a short-term solution when a user enables a plugin. Also bug 887088 - Short-term UI solution: when a user loads multiple tabs from a site and enables a plugin on one of them, the plugins are not enabled on other tabs but the "continue allowing" button does nothing. This patch makes the "Continue Allowing" button enable existing plugins of that type. r=jaws r=jschoenick
...
--HG--
extra : rebase_source : 4b24a6d5bf3b5c33b1e19702eca676b340b5d8b1
2013-07-17 09:21:02 -04:00
Drew Willcoxon
303a2f4a28
Bug 888839 - Don't pretty print text/plain when copying and pasting non-(X)HTML documents. r=smaug
2013-07-19 19:56:18 -07:00
Nicholas Nethercote
849635b8f1
Bug 898914 (part 1) - Remove JSBool.
...
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Trevor Saunders
a8a12176ad
bug 659722 - remove _IMPL_NS_LAYOUT r=bz
2013-03-16 00:31:38 -04:00
Jonathan Kew
ee1900427e
bug 878786 - relax assertion requiring a loadGroup when the loading document is an SVG-glyph document loaded from a font table. r=bz
2013-08-26 22:31:02 -07:00
Edwin Flores
37cb83eb09
Bug 801467 - Give SVG glyph documents a legitimate principal and URI so that references to paint servers are able to be resolved. r=roc,bz
2013-06-10 13:25:12 +01:00
Mina Almasry
dff7def29b
Bug 888864 - Changing a stylesheet ProcessingInstruction's data no longer applies immediately. r=bz
2013-07-16 11:18:33 -04:00
Brian O'Keefe
f98dd45a72
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Gabor Krizsanits
c9c9a69587
Bug 874158 - Crash in GetNativeForGlobal. r=bholley
2013-07-16 15:04:28 +02:00
Boris Zbarsky
c426151250
Bug 881087. Skip unnecessary work resetting visited state on links if the base URI only changes its fragment identifier. r=smaug
2013-07-16 01:31:43 -04:00
Boris Zbarsky
51ed392dde
Bug 838146 part 9. Make Xrays play nice with WebIDL resolve hooks. r=bholley
2013-07-16 01:31:03 -04:00
Mina Almasry
c62067c22c
Bug 713564 - Add an API to declare a stylesheet obsolete. r=bz
2013-07-15 17:28:33 -04:00
David Anderson
0930e61030
Implement CPOW support in MessageManager (bug 870180, r=smaug,billm).
2013-07-10 15:05:39 -07:00
Ryan VanderMeulen
b9a911ec3f
Merge m-c to inbound.
2013-07-12 09:29:59 -04:00
Olli Pettay
4b62be324b
Bug 892582 - crash in nsContentSink::WillParseImpl , r=bz
...
--HG--
extra : rebase_source : 23cba75e0470c0170ea48e7deb44f24f191dee38
2013-07-11 22:39:06 -04:00
Boris Zbarsky
29d983f17d
Bug 883889 followup: nsChildContentList is not an nsINode subclass. r=orange
2013-07-11 12:59:53 -04:00
Boris Zbarsky
05b9585b54
Bug 883889. Call SetIsDOMBinding() in the nsINode constructor, and remove it from all the subclasses. r=peterv
...
This patch leaves the call in the Attr constructor, because we plan to make Attr not inherit from nsINode.
2013-07-11 11:58:29 -04:00
Yuan Xulei
94bdd2756a
Bug 890580 - Add test cases for nsIDocumentEncoder.OutputNonTextContentAsPlaceholder. r=hsivonen
2013-07-11 11:48:59 -04:00
Yuan Xulei
ca1c8f9a71
Bug 890580 - Enable plaintext serializer to output non-text content as placeholder. r=hsivonen
2013-07-11 11:48:43 -04:00
J. Ryan Stinnett
7ae16d70d9
Bug 282097 - Part 2: Rename field from nsNativeKeyEvent. r=masayuki
2013-07-09 22:45:10 -05:00
Ed Morley
bbef1fe93c
Merge latest green fx-team changeset and mozilla-central
2013-07-11 10:12:37 +01:00
Tim Taubert
a887626424
Bug 891806 - part 2 - replace 'yield;' with 'yield undefined;' in content/; r=smaug
2013-07-10 23:52:14 +02:00
Ryan VanderMeulen
ec6b3d53b5
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Wes Kocher
e4601507f5
Backout 129da44ac469 (bug 870180) for breaking message manager
2013-07-10 18:22:34 -07:00
David Anderson
144a6b0e34
Implement CPOW support in MessageManager (bug 870180, r=smaug,billm).
2013-07-10 15:05:39 -07:00
Scott Johnson
186e05af14
Bug 890309: Use GetPrimaryFrame() instead of directly accessing mPrimaryFrame in Element::FontSizeInflation() in order to prevent crashing when an element is not part of a document. [r=tn]
2013-07-10 14:47:50 -05:00
John Schoenick
089322ff35
Bug 889821 - Extend interface shim to allow nsIStreamListener callbacks to object/embed/applet tags to be used from script. r=bz
2013-07-10 15:15:41 -04:00
Ryan VanderMeulen
1d7eff0f7a
Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures.
2013-07-10 13:51:28 -04:00
David Zbarsky
8161e27f6d
Bug 879475 - Make PBrowser manually keep track of its manager r=jlebar
2013-07-10 13:07:51 -04:00
John Schoenick
b1794ac82a
Bug 788031 - For object/embed/applet tags, pass baseURI to shouldProcess if mURI is null. r=josh
2013-07-10 12:55:26 -04:00
Trevor Saunders
d82043f811
bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal
2013-06-25 14:29:26 -04:00
Olli Pettay
6767d0a1a8
bug 789919, (snow-white) make addref/release of CCable objects faster by removing indirect refcnt increase/decrease, r=mccr8, test changes r=ehsan
...
--HG--
extra : rebase_source : 2a3b22425c14d6daedc91d62a652c34431acd2fb
2013-07-09 13:30:58 -04:00
Nicholas Nethercote
bcbe40286a
Bug 887558 (part 3) - Use JSObject::{is,as} for JSObject itself. r=sfink.
...
--HG--
extra : rebase_source : 510677697603e6502c738f5460b7bea4bffd7f27
2013-07-04 00:50:50 -07:00
Trevor Saunders
238525e2d8
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
David Zbarsky
eaf0af48b0
Bug 859193 - Cleanup nsRange r=smaug
2013-07-11 23:29:24 -04:00
Blake Kaplan
eb084c4fdd
Bug 890775 - Not all xbl:children elements should be treated specially. r=peterv
2013-07-11 17:52:49 -04:00
Masatoshi Kimura
fa43b3c4c0
Bug 892460 - Add MOZ_FINAL to a bunch of node classes. r=bz
2013-07-12 06:26:54 +09:00
Nathan Froyd
a5b87f838b
Bug 892511 - rewrite test_{title,window}.xul to not rely on shared setTimeout between windows; r=smaug
2013-01-11 11:28:22 -05:00
Ms2ger
1475a22d49
Bug 213324 - Remove getter_AddRefs(T*); r=ehsan
2013-07-10 11:56:21 +02:00
Peter Van der Beken
9cbb0938bb
Bug 734503 - Add new DOM binding for TouchList; r=jst.
2013-07-10 11:53:53 +02:00
Blake Kaplan
ecf2b59e9a
Bug 891088 - Rename nsXBLChildrenElement -> mozilla::dom::XBLChildrenElement. r=peterv
...
--HG--
rename : content/xbl/src/nsXBLChildrenElement.cpp => content/xbl/src/XBLChildrenElement.cpp
rename : content/xbl/src/nsXBLChildrenElement.h => content/xbl/src/XBLChildrenElement.h
2013-07-01 15:09:37 -07:00
Ryan VanderMeulen
2d21e8fd70
Backed out changeset 4903ca450b3f (bug 890081) for widespread mochitest orange.
...
CLOSED TREE
2013-07-08 15:19:30 -04:00
Bobby Holley
a000e74cd1
Bug 890081 - Make 'document' permanent in nsIDocument::WrapObject. r=bz
2013-07-08 10:31:21 -07:00
Bobby Holley
fb8f42b563
Bug 867486 - Remove |Components| from content sandboxes. r=gabor
2013-07-08 10:05:31 -07:00
Jacek Caban
f4595d63e4
Bug 816343 - Add querySelector* to *Element/DocumentFragment/Document.idl r=bz
2013-07-08 14:09:18 +02:00
Randy Lin
fcd0ce74f3
Bug 803414 - Part 4: Audio Recording - Web API & Implementation. r=roc
2013-07-05 09:50:25 +08:00
Randy Lin
2d6a813044
Bug 803414 - Part 2: Add DOMTemporaryFileBlob and TemporaryFileInputStream. r=roc
2013-07-02 11:00:37 +08:00
Birunthan Mohanathas
5decb7fc60
Bug 571635 - Make nsCSSStyleSheet::GetStyleRuleAt return a css::Rule*. r=dbaron
2013-07-07 16:23:13 -04:00
Cameron McCormack
c0e2bb6765
Bug 569722 - Implement textLength and lengthAdjust on SVG text elements. r=longsonr
2013-07-07 17:27:51 +10:00
Kartikaya Gupta
07cff74d15
Bug 803207 - Kill GetDevicePixelsPerMetaViewportPixel and use widget scaling correctly on Fennec. r=mbrubeck
2013-07-04 09:02:29 -04:00
Cameron McCormack
5558ca00bd
Comment typo fix, no bug (DONTBUILD)
2013-07-04 14:00:06 +10:00
Ben Turner
0b05e4e8fc
Bug 879787 - Fix up old tests to use SpecialPowers. r=smaug, a=abillings.
...
--HG--
rename : content/base/test/test_bug383430.html => content/base/test/chrome/test_bug383430.html
2013-07-03 14:04:43 -07:00
Kyle Huey
afae5b1108
Bug 885866: Separate deferred finalization from XPConnect so we can use it off the main thread. r=mccr8, peterv, bsmedberg, jorendorff
2013-07-09 07:28:15 -07:00
Ehsan Akhgari
99c3fccc47
Bug 910857 - Minimize #includes in content/events; r=smaug
2013-08-29 17:18:25 -04:00
Doug Turner
5dc544505a
Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns
2013-08-25 16:56:53 -07:00
Ivan Alagenchev
3ef3be62a6
Bug 838396 - Don't set hasMixedDisplayContentLoaded and hasMixedDisplayContentBlocked flag in nsMixedContentBlocker.cpp. r=smaug, r=bz
2013-08-29 16:46:25 -04:00
Andrea Marchesini
28ec341630
Bug 885539 - Crash - Heap-use-after-free in nsTArray_base. r=bz
2013-07-03 09:21:30 -04:00
Bobby Holley
ed24e324cd
Bug 888682 - Inline traverse/unlink for mGlobal and simplify CC goop for nsInProcessTabChildGlobal.cpp. r=smaug
2013-07-02 23:30:36 -06:00
Matthew Gregan
16d93ca314
Bug 855130 - Implement URL::createObjectURL overload for
...
MediaSources. Add MediaSources to HostObjectProtocolHandler. Make
MediaSource a real interface. r=khuey
2013-06-21 15:15:15 +12:00
John Schoenick
755429a0ce
Bug 888834 - Java sees no-explicit-codebase as . not baseURI. r=josh
2013-07-02 16:40:40 -07:00
John Schoenick
794ace9208
Bug 406541 - Add check for java file codebase security. r=bsmedberg
2013-07-02 16:40:40 -07:00
Mike Shal
8afd7f737d
Bug 880245 - Move EXTRA_JS_MODULES to moz.build (batch #4 ); r=joey
2013-07-01 11:34:30 -04:00
Scott Johnson
850b8bd74d
Bug 878931: Add a FontSizeInflation() method to Element in order to retrieve font size inflation to use during reflow-on-zoom. [r=kats,mounir]
...
The reflow-on-zoom behavior needs a more robust determination of the font size inflation, so
that it can adjust its behavior depending on whether font size inflation has been
enabled for a given element's text. This patch also modifies the behavior of reflow-
on-zoom such that it will zoom in to piece of text, with reflow, if the minimum
specified font size in the font size inflation preferences is greater than the
current font size, with font size inflation, of the element.
2013-07-02 09:04:27 -05:00
Phil Ringnalda
223d1262f5
Backed out 5fa1f7715c19:7a300d1d1b23 (bug 855130) for Windows build failures
...
CLOSED TREE
2013-07-01 21:23:37 -07:00
Matthew Gregan
4590b89783
Bug 855130 - Implement URL::createObjectURL overload for MediaSources. r=khuey
...
---
content/base/public/nsHostObjectProtocolHandler.h | 26 +++++++++
content/base/src/nsHostObjectProtocolHandler.cpp | 65 +++++++++++++++++------
content/base/src/nsHostObjectURI.h | 5 +-
content/media/mediasource/MediaSource.cpp | 1 +
content/media/mediasource/MediaSource.h | 7 +++
dom/base/URL.cpp | 12 +++++
dom/base/URL.h | 7 +++
dom/webidl/URL.webidl | 6 +++
layout/build/nsLayoutModule.cpp | 4 ++
9 files changed, 116 insertions(+), 17 deletions(-)
2013-07-02 15:46:49 +12:00
Garrett Robinson
f2ddf7c926
Bug 885433 - CSP should not block inline scripts or eval unless script-src or default-src are included (r=imelven)
2013-07-01 17:46:21 -07:00
Jim Mathies
d7fef01251
Bug 810399 - Add new css selectors and media queries for windows os versions. r=bz
2013-07-01 11:02:29 -05:00
David Rajchenbach-Teller
357200ae5b
Bug 887288 - Make nsDOMMemoryFileDataOwnerMemoryReporter thread-safe. r=khuey
2013-07-01 09:55:04 -04:00
Alexandre Poirot
fef5051523
Bug 887781 - Send message-manager-disconnect notification event when any message manager get disconnected. r=smaug
2013-07-01 09:46:53 -04:00
Ryan VanderMeulen
c6e480b87f
Merge inbound and m-c.
2013-07-01 08:12:24 -04:00
Ms2ger
0a7d6a39da
Bug 888321 - Pass CSSIntPoint to ScrollToCSSPixels; f=kats r=roc
2013-07-01 09:14:36 +02:00
Bobby Holley
2cc8f76cf2
Bug 865745 - Remove nsFrameScriptExecutor::DestroyCx. r=smaug
2013-06-30 09:00:20 -06:00
Bobby Holley
297c3002d2
Bug 865745 - Remove mCx from nsFrameScriptExecutor. r=smaug
2013-06-30 09:00:20 -06:00
Bobby Holley
4cd50c50a8
Bug 865745 - Return the safe JSContext for Tab Children in GetJSContextForEventHandlers. r=smaug
2013-06-30 09:00:19 -06:00
Bobby Holley
694b2f0c90
Bug 865745 - Check mGlobal instead of mCx to see if we're in a functional state. r=smaug
...
Their lifetimes should be the same, and the latter is going away.
2013-06-30 09:00:19 -06:00
Bobby Holley
05ff089d53
Bug 865745 - Remove mContext from nsFrameMessageManager. r=smaug
2013-06-30 09:00:19 -06:00
Bobby Holley
799d59a0a4
Bug 865745 - Remove redundant cx push. r=smaug
...
AutoSafeJSContext will always push.
2013-06-30 09:00:18 -06:00
Bobby Holley
d2865be525
Bug 865745 - Use an AutoSafeJSContext in nsFrameMessageManager::ReceiveMessage. r=smaug
...
This function proceeds to push its cx and enters a compartment, so it can't be
depending on any compartment or callstack state of the cx it's using. The only
potential issue would then be reporting the error to the correct DOM window, but
this stuff is used only for chrome, where that doesn't matter. The safe JSContext
uses the same error reporter as JSMs and such, which is probably fine.
2013-06-30 09:00:18 -06:00
Bobby Holley
9b8345e3a5
Bug 865745 - Hold a strong ref to the global for the duration that each nsFrameScriptCx is on the stack. r=smaug
...
These things currently do a complicated refcounting dance to avoid destroying the
cx until all the consumers of it are gone. That stuff can mostly go away now that
we're just using the SafeJSContext, but DestroyCx also nulls out the global, so
we should make sure to keep that alive for anyone that might be using it.
2013-06-30 09:00:18 -06:00
Bobby Holley
c04e34eb37
Bug 865745 - Rename nsFrameScriptExecutor::DidCreateCx. r=smaug
2013-06-30 09:00:18 -06:00
Bobby Holley
0a9087ae0d
Bug 865745 - Stop depending on mCx during frame script execution. r=smaug
2013-06-30 09:00:17 -06:00
Phil Ringnalda
aa7316894b
Back out 9a57cd3e5a93:b62548e26499 (bug 865745) for causing an unexpected exception in a mochiperf test
2013-06-29 20:27:48 -07:00
Bobby Holley
eb3e2db571
Bug 865745 - Remove nsFrameScriptExecutor::DestroyCx. r=smaug
2013-06-29 18:44:06 -06:00
Bobby Holley
f8a389da3d
Bug 865745 - Remove mCx from nsFrameScriptExecutor. r=smaug
2013-06-29 18:44:06 -06:00
Bobby Holley
78a6220dfc
Bug 865745 - Return the safe JSContext for Tab Children in GetJSContextForEventHandlers. r=smaug
2013-06-29 18:44:05 -06:00
Bobby Holley
f33a413188
Bug 865745 - Check mGlobal instead of mCx to see if we're in a functional state. r=smaug
...
Their lifetimes should be the same, and the latter is going away.
2013-06-29 18:44:05 -06:00
Bobby Holley
adb2251a40
Bug 865745 - Remove mContext from nsFrameMessageManager. r=smaug
2013-06-29 18:44:05 -06:00
Bobby Holley
14bdba1b02
Bug 865745 - Remove redundant cx push. r=smaug
...
AutoSafeJSContext will always push.
2013-06-29 18:44:04 -06:00
Bobby Holley
12f373123b
Bug 865745 - Use an AutoSafeJSContext in nsFrameMessageManager::ReceiveMessage. r=smaug
...
This function proceeds to push its cx and enters a compartment, so it can't be
depending on any compartment or callstack state of the cx it's using. The only
potential issue would then be reporting the error to the correct DOM window, but
this stuff is used only for chrome, where that doesn't matter. The safe JSContext
uses the same error reporter as JSMs and such, which is probably fine.
2013-06-29 18:44:04 -06:00
Bobby Holley
30b44b13f5
Bug 865745 - Hold a strong ref to the global for the duration that each nsFrameScriptCx is on the stack. r=smaug
...
These things currently do a complicated refcounting dance to avoid destroying the
cx until all the consumers of it are gone. That stuff can mostly go away now that
we're just using the SafeJSContext, but DestroyCx also nulls out the global, so
we should make sure to keep that alive for anyone that might be using it.
2013-06-29 18:44:04 -06:00
Bobby Holley
39f2a2954f
Bug 865745 - Rename nsFrameScriptExecutor::DidCreateCx. r=smaug
2013-06-29 18:44:04 -06:00
Bobby Holley
b1e77d43cc
Bug 865745 - Stop depending on mCx during frame script execution. r=smaug
2013-06-29 18:44:03 -06:00
Phil Ringnalda
c37d044ace
Merge birch and m-i to m-c
2013-06-29 17:29:09 -07:00
Bobby Holley
c5c7c812ca
Bug 880917 - Convert JS_SetVersion API consumers to per-compartment versions. r=luke
2013-06-29 09:11:18 -06:00
Bobby Holley
49f8ff5f9d
Bug 880917 - Generalize JS_NewGlobalObject API to take CompartmentOptions. r=luke
...
This will be useful for versioning, as well as JIT options and all the other
stuff that eventually needs to move out of the JSContext.
2013-06-29 09:11:17 -06:00
Phil Ringnalda
8a0af35cc5
Merge m-c to birch
2013-06-29 06:55:30 -07:00
Reuben Morais
f4f59f5ad7
Bug 882911 - Add nsIProcessChecker.checkAppHasStatus. r=smaug
2013-06-29 03:52:16 -07:00
Catalin Iacob
088b9fe162
Bug 798914 (part 6) - Followup: move MemoryReporting.h include after the cpp's own header include. r=njn.
2013-06-30 18:26:39 +02:00
James Kitchener
e4c66f3e8a
Bug 802895 - Implement srcdoc attribute for iframe r=bz
2013-06-28 23:13:23 -04:00
James Kitchener
caf9806e1e
Bug 802895 - Docshell related changes for srcdoc iframe r=bz
2013-06-28 23:13:22 -04:00
James Kitchener
eacdd65ec4
Bug 802895 - ns(I)document changes for iframe srcdoc implementation r=bz
2013-06-28 23:13:22 -04:00
Gavin Sharp
1275b7ca8b
Bug 883592: stop trying to evaluate scripts for documents with no inner windows, r=sicking
...
--HG--
extra : transplant_source : %99%1Ap-%EC%80b%2B%DE%A5%05%EE%9C%24Dl%22%E7G%D3
2013-06-15 22:06:27 -04:00
Garrett Robinson
d43ce9ab9d
Bug 887974 - CSP 'unsafe-eval' directive ignored (r=sstamm)
2013-06-27 19:50:03 -07:00
Tanvi Vyas
d6714cbec5
Bug 781018 - Collect telemetry information about the number of websites a user visits with Mixed Active/Passive Content. r=smaug
...
--HG--
extra : rebase_source : d06dd4b07cb68c7dc5b36ab05f6bf8d6bb2a1924
2013-06-27 16:52:20 -07:00
John Schoenick
1e16605fd8
Bug 738396 - Only pass canonicalized codebase to Java. r=bsmedberg sr=jst
2013-06-27 13:59:37 -07:00
John Schoenick
754aabbb9e
Bug 738396 - Construct codebase URI for Java plugins as java would. r=bsmedberg sr=jst
2013-06-27 13:59:36 -07:00
Blake Kaplan
a3a6516091
Bug 653881 - Rework XBL insertion points and clean up related code to more closely follow the Web Components model. Instead of maintaining a hashtable of insertion points in bindings (and removing insertions points from the tree) leave the insertion points in the tree as explicit placeholders and teach all other relevant code how to walk the explicit children of elements via two iterators (ExplicitChildIterator and FlattenedChildIterator). Note that this patch does not maintain 100% compatibility with the previous code: there are bug fixes and behavior changes included. For example, by having explicit insertion points in the bindings, it is now easier to handle dynamic changes to the bound element correctly (as well as, eventually, handling dynamic changes to the binding correctly). Patch originally by sicking. r=bzbarsky
...
--HG--
extra : rebase_source : 6926ae8ea57b20f4067b16bd3d7bd85bda854756
2013-05-01 15:50:08 -07:00
Justin Lebar
09d2312322
Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
cab87a0cce
Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
This is a mechanical change made with sed. Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Andrew McCreight
5810441ee9
Bug 882997 - Don't DROP or clear wrapper cache flag in GetAndClearExpandoObject. r=peterv
2013-06-28 12:32:27 -07:00
Peter Van der Beken
6bdbbf553d
Bug 908997 - Simplify XPathEvaluator - remove aggregation from XPathEvaluator. r=bz.
...
--HG--
rename : content/xslt/src/xpath/nsXPathEvaluator.cpp => content/xslt/src/xpath/XPathEvaluator.cpp
rename : content/xslt/src/xpath/nsXPathEvaluator.h => content/xslt/src/xpath/XPathEvaluator.h
extra : rebase_source : 163d25a36f52f8f8fa8b6952bcf1bc83de14230b
2013-07-04 17:39:24 +02:00
Peter Van der Beken
f2c135d0b4
Bug 908997 - Simplify XPathEvaluator - remove nsIXPathEvaluatorInternal. r=bz.
...
--HG--
rename : content/xslt/src/xpath/nsXPathEvaluator.cpp => content/xslt/src/xpath/XPathEvaluator.cpp
rename : content/xslt/src/xpath/nsXPathEvaluator.h => content/xslt/src/xpath/XPathEvaluator.h
extra : rebase_source : 3aa2f8f50c683b641904a0653a128c06cf1afb30
2013-07-04 17:29:29 +02:00
David Zbarsky
2320f1c278
Remove some null-checks due to infallible new, no bug, r=me
2013-06-26 14:04:13 -07:00
Boris Zbarsky
0091068f88
Bug 816343. Remove nsIDOMNodeSelector. r=smaug
2013-06-26 10:59:46 -04:00
Boris Zbarsky
d53f7897bb
Bug 883892. Remove HTMLFormElement classinfo. r=peterv
2013-06-26 10:59:45 -04:00
Catalin Iacob
83b78343dc
Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
...
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Benjamin Smedberg
9a37aac8c2
Bug 880735 part E - Use the new permissionmanager.updateExpireTime method to make sure that plugin permissions are renewed properly, r=johns
2013-06-24 08:51:07 -04:00
Benjamin Smedberg
04adb5f63c
Bug 880735 part C - Disabled plugins should be always disabled, site-specific permissions do not override them. I'm sorry for the churn from bug 875454. At least the logic is in one place and easy to fix! r=johns
2013-06-24 08:51:07 -04:00
Benjamin Smedberg
d566c8ebaf
Bug 880735 part A - Add a .defaultFallbackType to plugins so that we can avoid re-implementing the ShouldPlay logic in the frontend code. r=johns
2013-06-24 08:51:07 -04:00
Ms2ger
74dbad4fb5
Bug 884268 - Part c: Stop including nsWrapperCache.h in nsContentUtils.h; r=smaug
2013-06-23 09:15:49 +02:00
Ms2ger
67f84492bd
Bug 884268 - Part b: Move nsContentUtils::PreserveWrapper to nsWrapperCache; r=smaug
2013-06-23 09:15:42 +02:00
Ms2ger
cccb9a74ad
Bug 884268 - Part a: Move nsContentUtils::CheckCCWrapperTraversal to nsWrapperCache; r=smaug
2013-06-23 09:15:10 +02:00
Sid Stamm
84c33d2241
Bug 780978 - remove makeExplicit() from CSPUtils.jsm. (r=imelven)
2013-06-21 16:43:13 -07:00
Sid Stamm
889d27ff4e
Bug 764937 - make sure CSP 1.0 compliant parser infers "default-src *" when a default-src isn't specified (r=tanvi)
2013-06-21 16:43:07 -07:00
Jan Varga
24f8419a8f
Bug 884936 - Add Blob/File support to xpcshell. r=bent
2013-06-21 17:15:46 +02:00
Gabor Krizsanits
2efc3017e5
Bug 864335 - Remove GetScriptGlobalObject. r=mrbkap
2013-06-21 16:25:20 +02:00
Jon Coppeard
19b426b223
Bug 885310 - 1 Rename JSHandleFoo in the browser r=bz
2013-06-21 14:12:46 +01:00
Joey Armstrong
1156439ca4
bug 880246: move EXTRA_PP_COMPONENTS to mozbuild (cleanup). r=mshal
2013-06-20 15:59:59 -04:00