Bobby Holley
fd6d48b51f
Bug 901106 - Eliminate the nsJSRuntime namespace. r=mrbkap
2013-08-19 16:24:29 -07:00
Bobby Holley
7c26851804
Bug 901106 - Make nsJSRuntime initialization infallible and do it implicitly in the nsJSContext constructor. r=mrbkap
...
We also move the runtime out of the namespace, which requires some updates.
2013-08-19 16:24:29 -07:00
Bobby Holley
d192e30f6e
Bug 901106 - Get rid of vestigial nsJSRuntime instance and make it a namespace. r=mrbkap
...
We'll rename the namespace shortly.
2013-08-19 16:24:29 -07:00
Bobby Holley
2eb3fdaa86
Bug 901106 - Make sure sure the nsDOMScriptObjectFactory gets instantiated.
...
This used to happen implicitly when we created the first nsJSContext, but that
goes away in the next patch. Without this, we get a couple of odd exception-
related failures in the IPC indexedDB tests.
2013-08-19 16:24:28 -07:00
Bobby Holley
684f16b450
Bug 901106 - Remove nsIScriptRuntime. r=mrbkap
...
All this stuff is now for nsGlobalWindow's use only.
2013-08-19 16:24:28 -07:00
Bobby Holley
ce13d4df7a
Bug 901106 - Inline and remove nsIScriptContext::{Serialize,Deserialize}. r=smaug
2013-08-19 16:24:27 -07:00
Masatoshi Kimura
431087ee79
Bug 856424 - Unpref Components for content. r=bholley
2013-08-20 02:44:31 +09:00
Andrea Marchesini
0509df02de
Bug 896535 - Promise: then(console.log)
is not working as expected. r=msucan
2013-08-19 09:13:47 -04:00
Gabor Krizsanits
a96850e4d4
Bug 877673 - Part 1: AutoDontReportUncaught. r=bholley
2013-08-19 11:46:24 +02:00
Tom Schuster
991ead8d61
Bug 884410 - Remove JS_ValueToECMAInt32 and replace it with JS::ToInt32. r=terrence
2013-08-15 17:41:51 -04:00
Andrew McCreight
34c3ccc79b
Bug 889193 - Remove DOMRequest::mRooted. r=smaug
2013-08-14 11:29:20 -07:00
Olli Pettay
ff4865eaff
Bug 887241, Use strings, not atoms, for worker events, r=khuey
...
--HG--
extra : rebase_source : 3e294b1bde05a127db0a9fa1c31c48e9a514e11d
2013-08-16 13:06:24 +03:00
Ehsan Akhgari
fcb950e309
Backed out changeset 3d9664b78ca7 (bug 884410) because of build bustage on a CLOSED TREE
2013-08-15 18:20:00 -04:00
Tom Schuster
0cd7a5fca0
Bug 884410 - Remove JS_ValueToECMAInt32 and replace it with JS::ToInt32. r=terrence
2013-08-15 17:41:51 -04:00
Brian Hackett
b7e615b76f
Bug 897655 - Use off thread parsing when loading scripts from XUL documents, r=billm,bz,luke.
2013-08-15 14:14:43 -07:00
Ehsan Akhgari
3ec2c9b451
Bug 905353 - Minimize the #includes in dom/base; r=jst
...
--HG--
extra : rebase_source : e7a1d2262bf6d8c9b78057b8eb6cdbfd98262f68
2013-08-15 14:17:48 -04:00
Jan de Mooij
efb33b1fb3
Bug 905300 - Remove dead code in SpiderMonkey. r=bhackett
2013-08-15 13:45:30 +02:00
Gregory Szorc
c089ae373d
Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium
2013-08-14 08:40:25 -07:00
Bobby Holley
c695bf8a82
Bug 903212 - Remove explicit compartment GC machinery. r=smaug
2013-08-14 14:00:03 -07:00
Bobby Holley
2ce8f2d13b
Bug 903212 - Remove nsIXPCScriptNotify machinery. r=mrbkap
2013-08-14 14:00:03 -07:00
Bobby Holley
ecce09df53
Bug 903212 - Remove ScriptEvaluated, and simplify callers. r=mrbkap
2013-08-14 14:00:03 -07:00
Bobby Holley
7f8ef2275d
Bug 903212 - Remove activity tracking from nsJSContext. r=smaug
...
This only has an impact when we enable explict compartmental GCs, which have
been preffed off for a while.
2013-08-14 14:00:02 -07:00
Ryan VanderMeulen
64b2bc7dd9
Backed out changesets 1fa1f28c6edf and e74f694f31c4 (bug 850380) for PGO bustage on a CLOSED TREE.
2013-08-14 15:12:20 -04:00
Brian O'Keefe
3a92f0ae7c
Bug 896177 - Remove useless config.mk includes; r=gps
2013-07-17 16:06:53 -04:00
Gregory Szorc
9f99cee9a1
Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium
2013-08-14 08:40:25 -07:00
Ms2ger
a04009b5b7
Merge latest PGO-green inbounc changeset to m-c.
2013-08-14 14:45:47 +02:00
Carsten "Tomcat" Book
b753353c47
merge b2g-inbound to mozilla-central
2013-08-14 14:11:03 +02:00
Ms2ger
df8525f77d
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Ms2ger
2121d19b30
Bug 900677 - Remove IDBEventTargetSH; r=bz
2013-08-14 08:53:46 +02:00
Johnny Stenback
070b819370
Bug 903311. Remove all ChromeOnly methods on window.history. r=bzbarsky
2013-08-13 21:02:01 -07:00
Kyle Huey
5905c6e3c8
Bug 890304 - Remove the indexeddb.feature.enabled pref. r=sicking
2013-08-13 08:49:11 -04:00
Reuben Morais
33406abb0b
Bug 889239 - Add a fast upgrade path for the Contacts DB. r=gwagner
2013-08-12 21:58:38 -03:00
Ryan VanderMeulen
a12a9ef1b6
Merge m-c to b2g-inbound.
2013-08-12 17:44:21 -04:00
Bobby Holley
81026a6fdf
Bug 901364 - Remove a bunch of now-unused modal state tracking machinery. r=mrbkap
2013-08-12 12:54:51 -07:00
Bobby Holley
e923703302
Bug 901364 - Make operation callbacks runtime-wide. r=mrbkap
2013-08-12 12:54:50 -07:00
Bobby Holley
3e44192004
Bug 901364 - Switch to the XPConnect operation callback for DOM windows. r=mrbkap
2013-08-12 12:54:49 -07:00
Bobby Holley
962b3d3ad7
Bug 901364 - Hoist slow script prompt machinery into nsGlobalWindow. r=mrbkap
2013-08-12 12:54:49 -07:00
Phil Ringnalda
be5f1b23e0
Back out d393cfeb5dbf:9f82224bb8a3 (bug 903816) for Android reftest failures
...
CLOSED TREE
2013-08-11 19:21:17 -07:00
Nicholas Cameron
a23e8df091
Bug 903816. Fixups in non-layers files. r=roc
2013-08-12 11:15:10 +12:00
Kan-Ru Chen (陳侃如)
1615c1d142
Bug 904333 - Add forEach{Request,PromiseResolver} method to DOMRequestIpcHelper r=fabrice
...
--HG--
extra : rebase_source : 181aead1356a73a5a8a85c98000f3375c751ee33
2013-08-13 13:07:03 +08:00
Ehsan Akhgari
bbbc0d8b5c
Bug 904264 - Don't #include js/MemoryMetrics.h in xpcpublic.h; r=bholley
2013-08-13 13:51:50 -04:00
Johnny Stenback
4c163e91d9
Bug 859707. Convert History to WebIDL bindings. r=bz
2013-08-09 23:47:59 -07:00
Boris Zbarsky
f0d4325021
Bug 895758 followup. Fix the include guard and some spacing issues.
2013-08-10 01:10:18 -04:00
Michael Henretty
a2dfdcc830
Bug 883923 - Provide a Fuzzy Matcher API for phone numbers. r=fabrice
2013-07-31 21:04:59 -07:00
Thomas Zimmermann
7ce145382c
Bug 888595 - Convert BluetoothAdapter to WebIDL. r=bz, r=echou
...
In addition to converting BluetoothAdapter, this patch also converts
MediaMetaData and MediaPlayStatus to WebIDL. The old XPIDL-based
bindings have been removed.
2013-08-12 10:32:53 +02:00
Thomas Zimmermann
0e8e275f74
Bug 888595 - Convert BluetoothManager bindings to WebIDL. r=bz, r=echou
...
This patch converts the BluetoothManager to WebIDL and removes the
old XPIDL bindings. The only user of BluetoothManager is the class
Navigator, which has been adapted to the change.
2013-08-12 10:31:58 +02:00
Carsten "Tomcat" Book
86e4b6244c
Backed out changeset 3e6be7551207 (bug 888595) for mochitest failure
2013-08-12 18:08:19 +02:00
Carsten "Tomcat" Book
b3c6e7d673
Backed out changeset 4ce3e048289c (bug 888595) for mochitest failure
2013-08-12 18:08:03 +02:00
Carsten "Tomcat" Book
e64b974993
merge mozilla-central to b2g-inbound
2013-08-12 11:52:02 +02:00
Thomas Zimmermann
9e114a19a6
Bug 888595: Converted BluetoothAdapter to WebIDL, r=bzbarsky,echou
...
In addition to converting BluetoothAdapter, this patch also converts
MediaMetaData and MediaPlayStatus to WebIDL. The old XPIDL-based
bindings have been removed.
--HG--
extra : rebase_source : 8a3e25ff89877148d0765b371ebdf77ad33aad75
2013-08-12 10:32:53 +02:00
Thomas Zimmermann
711aa75692
Bug 888595: Convert BluetoothManager bindings to WebIDL, r=bzbarsky,echou
...
This patch converts the BluetoothManager to WebIDL and removes the
old XPIDL bindings. The only user of BluetoothManager is the class
Navigator, which has been adapted to the change.
--HG--
extra : rebase_source : 4bdc77b3923d4ca6ec820c12454a295010382839
2013-08-12 10:31:58 +02:00
Ryan VanderMeulen
8afe7e8fed
Merge inbound to m-c.
2013-08-09 19:08:45 -04:00
Fabrice Desré
e0ee8135f5
Bug 902362 - DOMRequestHelper specifies _requests as array, but should be object. r=fabrice
2013-08-09 09:32:02 -07:00
Ryan VanderMeulen
4bdd6d2653
Merge m-c to b2g-inbound.
2013-08-08 16:24:53 -04:00
Justin Lebar
3ba0ec76a0
Bug 900221 - Switch DOMRequestHelper over to using weak message listeners. rs=fabrice
...
--HG--
extra : rebase_source : d83eb49444d8fb598e9d7ed1a879a6cbc8f3baaf
2013-08-08 11:36:56 -07:00
Peter Van der Beken
3256529063
Bug 895758. Make the global scope polluter a proxy. r=bzbarsky
2013-07-09 10:45:13 -04:00
David Zbarsky
68527f0cce
[Bug 901289] Remove nsIDOMLinkStyle r=Ms2ger
2013-08-09 21:17:52 -04:00
Nikhil Marathe
b1c04087a0
Bug 902030 - DOMRequestIpcHelper stores/retrieves Promises too. r=fabrice
...
--HG--
extra : rebase_source : 4610af506cc1e15f8f2efdc682e3d7989626cebf
2013-08-09 18:11:11 -07:00
Ryan VanderMeulen
2cb6b07d20
Merge m-c to inbound.
2013-08-09 19:29:45 -04:00
Nicholas Nethercote
12393b203a
Bug 898263 (part 4) - Move |JSTrapStatus| and related function typedefs out of jsprvtd.h. r=jorendorff.
...
--HG--
extra : rebase_source : 68c1d3aaaa40763e073ee791c1d0078c5d5cf87e
2013-08-08 21:30:15 -07:00
Nicholas Nethercote
066d47a07a
Bug 898263 (part 1) - Slim down jsprvtd.h. r=jorendorff.
...
--HG--
extra : rebase_source : 7a926428c59e388fc08148bf60f6dbc7bfe71271
2013-07-25 21:23:14 -07:00
Carsten "Tomcat" Book
840821bdce
merge mozilla-central to mozilla-inbound
2013-08-08 14:01:54 +02:00
Carsten "Tomcat" Book
2e9c4e6c35
merge b2g-inbound to mozilla-central
2013-08-08 13:33:12 +02:00
Carsten "Tomcat" Book
637a43421b
merge mozilla-inbound to mozilla-central
2013-08-08 13:13:05 +02:00
Boris Zbarsky
3c09e9975f
Bug 897913 part 2. Allow touching interface objects via an Xray even if the page they're in can't touch them. r=bholley,smaug
2013-08-07 17:40:00 -04:00
Marco Castelluccio
502d6e1f10
Bug 769848 - window.resizeTo fails is blocked in apps. r=jst
2013-08-07 20:17:34 -04:00
Ryan VanderMeulen
3975a5e805
Bug 901416 - Follow-up fix for Werror bustage.
2013-08-07 20:45:54 -04:00
Jeremy Kim
25f99068c5
Bug 901416 - Don't add multiple instances of the network-blip observer to nsGlobalWindow. r=jlebar
2013-08-07 20:07:41 -04:00
Nicholas Nethercote
25d70fdd97
Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz.
...
--HG--
extra : rebase_source : 25f4de1bfae830b0af6407d260a70b787ab1dc9b
2013-08-06 23:59:54 -07:00
Ed Morley
c5c86fed1d
Backed out changeset 95cefee173eb (bug 897913)
2013-08-07 15:50:13 -07:00
Boris Zbarsky
31d74062e9
Bug 897913 part 2. Allow touching interface objects via an Xray even if the page they're in can't touch them. r=bholley,smaug
2013-08-07 17:40:00 -04:00
Ryan VanderMeulen
f2638ccd28
Merge m-c to inbound.
2013-08-06 14:24:39 -04:00
Nicholas Nethercote
ba723f1034
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
Boris Zbarsky
cad540afeb
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
Jon Coppeard
71a6b47923
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
Carsten "Tomcat" Book
f6ddd08c1c
Merge mozilla-central to mozilla-inbound
2013-08-05 11:59:14 +02:00
Carsten "Tomcat" Book
cda28b85ed
Merge b2g-inbound to m-c
2013-08-05 11:22:48 +02:00
David Zbarsky
cdc9360b32
Bug 898105 - Remove nsIDOMTouch r=reuben
2013-08-05 00:51:22 -04:00
David Zbarsky
1c3d0b79ca
Bug 898930 - Remove nsIDOMTouchEvent r=smaug
2013-08-05 00:51:21 -04:00
Yoshi Huang
3a8a76e455
Bug 883741 - Part 1: WebCrypto: Move Crypto to WebIDL. r=bz
2013-08-01 14:57:25 +08:00
Dave Hylands
45a6408d8a
Bug 885753 - Change getDeviceStorage to return the default storage area. r=jvarga
...
This removes the entire concept of composite storage.
2013-08-02 16:34:59 -07:00
Justin Lebar
a04662fd5d
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
Neil Deakin
9a82a91cb0
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
Boris Zbarsky
acdf381c53
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
Boris Zbarsky
256deaadad
Bug 707564 part 2. Add a way to enumerate navigator names on the script namespace manager. r=smaug
2013-08-03 23:38:54 -04:00
David Zbarsky
d0e051e4b7
Bug 901060 - Make nsGenericHTMLElement implement nsIDOMHTMLElement r=bz
2013-08-07 16:23:08 -04:00
Neil Deakin
2a4b390410
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
Nikhil Marathe
a2801fa8d1
Bug 884897 - Add permission check to navigator.push load. r=bz
2013-08-07 08:04:10 -07:00
Jon Coppeard
93c50cb189
Bug 899973 - GC: Convert the rest of the JS property API to use MutableHandleValue for out params - browser changes r=bz
2013-08-02 13:15:39 +01:00
Ms2ger
95c8398829
Merge m-c to inbound.
2013-08-02 11:40:30 +02:00
Ms2ger
e032489251
Backout changeset 531f544bc9ce for breaking B2G tests.
2013-08-02 11:38:49 +02:00
Ms2ger
5c2b63d2c7
Merge m-c to inbound.
2013-08-02 11:07:57 +02:00
Ms2ger
699b39966c
Bug 832883 - Move IDBKeyRange to WebIDL; r=khuey
2013-08-02 09:09:15 +02:00
Ms2ger
023dc49091
Bug 897945 - Use an XPCOM string for nsContentUtils::ReportToConsole's category argument; r=bholley
2013-08-02 09:09:11 +02:00
Ms2ger
78f9e66db8
Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats
2013-08-02 09:05:16 +02:00
Ms2ger
62183dfe63
Bug 886408 - Move nsContentUtils::ReleaseWrapper into nsWrapperCache; r=mccr8
2013-08-02 09:04:01 +02:00
Mike Hommey
d01b5df996
Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8
2013-08-02 10:29:05 +09:00
David Zbarsky
c799af0ead
Bug 893117: Remove nsIDOMHTMLLegendElement r=bz
2013-08-01 15:24:24 -07:00
Masatoshi Kimura
93b88d2366
Bug 673919 - Remove routeEvent, enableExternalCapture and disableExternalCapture. r=smaug
2013-08-01 23:48:18 +09:00
David Zbarsky
59d52bfb66
backout Bug 893117 for mochitest failure
2013-08-01 01:54:09 -07:00
David Zbarsky
be987cad58
Bug 893117: Remove nsIDOMHTMLLegendElement r=bz
2013-07-31 23:12:40 -07:00
Bill McCloskey
ca26060518
Bug 899812 - Error reporters should consistently report errors to stderr (r=bholley)
2013-07-31 17:04:49 -07:00
Masatoshi Kimura
e6ca64420a
Backed out changeset 9c6dc3897c17 (bug 898136) for breaking SeaMonkey
2013-08-01 07:30:06 +09:00
Andrea Marchesini
413ce8df28
Bug 887524 - Move IDBRequest to WebIDL, r=janv
2013-08-01 00:28:15 +02:00
Andrea Marchesini
affecad19a
Bug 891944 - Move IDBCursor to WebIDL, r=janv
2013-08-01 00:28:13 +02:00
Masatoshi Kimura
b85aa29a35
Backed out changeset 2aa62db58f24 (bug 673919) due to Web compat
2013-08-01 06:44:51 +09:00
Tom Schuster
0b021a6fa2
Bug 884410 - Handlify JS_GetPrototype. r=terrence
2013-07-31 12:20:33 -04:00
Andrea Marchesini
507b5977c9
Bug 888596 - Move IDBDatabase to WebIDL, r=janv
2013-07-31 17:48:46 +02:00
Andrea Marchesini
a55b90d029
Bug 892065 - Move IDBIndex to WebIDL, r=janv
2013-07-31 17:48:40 +02:00
Andrea Marchesini
f88a92b855
Bug 888597 - Move IDBObjectStore to WebIDL, r=janv
2013-07-31 17:48:36 +02:00
Masatoshi Kimura
06f3651b9c
Bug 898136 - Remove nsIDOMGlobalObjectConstructor. r=mrbkap
2013-07-31 09:25:31 -04:00
Nicholas Cameron
e91b1d6d0d
Bug 895873 - backout bug 893117 for Win8 mc bustage
2013-07-30 23:32:35 -04:00
Boris Zbarsky
4479841d29
Bug 892929 - hide window.CSSFontFeatureValueRule when font features disabled. r=smaug
2013-07-31 14:17:48 +09:00
Johnny Stenback
e8b8439a32
Bug 898906. Fix this bug by making nsMimeType objects hold their active plugin alive, and rely on the cycle collector to break the explicit reference cycle. r=mccr8
...
---
dom/base/crashtests/898906.html | 14 ++++++++++++++
dom/base/crashtests/crashtests.list | 3 ++-
dom/base/nsMimeTypeArray.cpp | 2 +-
dom/base/nsMimeTypeArray.h | 14 ++++++--------
dom/base/nsPluginArray.cpp | 24 +-----------------------
dom/base/nsPluginArray.h | 2 --
6 files changed, 24 insertions(+), 35 deletions(-)
create mode 100644 dom/base/crashtests/898906.html
2013-07-30 17:46:46 -07:00
David Zbarsky
0246c16dd7
Bug 893117: Remove nsIDOMHTMLLegendElement r=bz
2013-07-30 14:55:12 -07:00
Ehsan Akhgari
5ee21d6d3f
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
Masatoshi Kimura
ab73027c06
Bug 898817 - Stop exposing nsIDOM* interfaces on the global automatically. r=bz
2013-07-30 22:26:27 +09:00
Ehsan Akhgari
9854ac6166
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
David Zbarsky
70990dd2d4
Backout b43b3d14ea16 for mochitest failures on CLOSED TREE
2013-07-29 22:46:45 -07:00
David Zbarsky
82250218e6
Backout 40683014a638 for causing mochitest orange
2013-07-29 21:11:01 -07:00
Bobby Holley
c00f6379ec
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
9dbd7cffb9
Bug 899245 - Rename JS_SetGlobalObject and move it into jsfriendapi. r=luke
2013-07-29 16:45:26 -07:00
Bobby Holley
488031ac4d
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
3b2bbf2c84
Bug 898105 - Remove nsIDOMTouch r=reuben
2013-07-29 16:04:09 -07:00
David Zbarsky
bd41b3d233
Bug 898930 - Remove nsIDOMTouchEvent r=smaug
2013-07-29 16:04:08 -07:00
Andrea Marchesini
59c5192f42
Bug 888598 - Move IDBTransaction to WebIDL, r=janv
2013-07-29 19:12:21 +02:00
Masatoshi Kimura
58a30af01e
Bug 898687 - Hide XUL related classes from content. r=Jan.Varga
2013-07-29 23:45:58 +09:00
Jon Coppeard
8278efd42a
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01:00
Ryan VanderMeulen
7d033099d0
Merge m-c to inbound.
2013-07-27 13:31:57 -04:00
Olli Pettay
676d2b13e5
Bug 897433 - Telemetry for SnowWhite and more async SnowWhite freeing (patch v4), r=mccr8
2013-07-27 13:48:45 +03:00
Bobby Holley
38ba111543
Bug 893324 - Invoke CleanUp synchronously and unconditionally for modal dialog windows. r=jst
...
Historically, we've had a bunch of complicated machinery to delay the call to
CleanUp() for modal dialogs, since we needed to harvest the return value after
the window closed. But in the current world we don't actually null out
mReturnValue in CleanUp() at all, which presumably happened sometime around the
time mReturnValue became cycle-collected. So this stuff can just go away. \o/
That simplification is righteous in itself. But it also fixes the bug here as-
filed. When the user quits while a modal dialog is currently being displayed,
a failure code ends up bubbling up through windowWatcher to the OpenInternal call
in nsGlobalWindow::ShowModalDialog, which means that we're unable to do our
delayed CleanUp() call for the outer modal window. At first it seemed like a hard
problem to solve, but with the above it becomes trivial.
2013-07-26 15:46:13 -07:00
Guilherme Gonçalves
1920e4e4f3
Bug 884921 - navigator.geolocation should never be null. r=dougt
2013-07-26 16:12:12 -04:00
Vicamo Yang
4770f15294
Bug 891235: remove mozSms. rs=mounir
2013-07-26 18:40:27 +08:00
Johnny Stenback
f36bc35965
Bug 896242. Fix possible crash due to dangling pointer to nsPluginElement. r=mccr8
...
---
dom/base/nsPluginArray.cpp | 24 +++++++++++++++++++-----
dom/base/nsPluginArray.h | 1 +
2 files changed, 20 insertions(+), 5 deletions(-)
2013-07-24 23:33:21 -07:00
Wes Kocher
8973fa932b
Backout 4ededc9b11f (bug 897433) for intermittent dromeao crashes
2013-07-24 19:45:31 -07:00
Olli Pettay
7b5e7439fb
Bug 897433, Telemetry for SnowWhite and more async SnowWhite freeing, r=mccr8
...
--HG--
extra : rebase_source : 8dc76b113da44372fe3e558a588a8fc70d2cfaab
2013-07-24 22:34:51 +03:00
Ms2ger
834f814430
Merge m-c to inbound.
2013-07-24 11:53:22 +02:00
Ms2ger
847ef029b9
Bug 892493 - Remove nsNamedArraySH; r=peterv
2013-07-24 09:27:42 +02:00
Ms2ger
38c131d4be
Bug 892489 - Implement the WebIDL API for CSSRuleList; r=bz
2013-07-24 09:27:17 +02:00
David Zbarsky
040dbd4c2b
Bug 894646 - Various dom deCOM cleanups r=Ms2ger
2013-07-23 16:39:17 -07:00
Bill McCloskey
daca74ad0a
Bug 895340 - Fix error reporting of JS exceptions from C++ (r=bholley)
2013-07-23 08:32:36 -07:00
Milan Sreckovic
7482429c48
Bug 895003 - Introduce a second preference to control the chrome paint flashing - nglayout.debug.paint_flashing_chrome. r=roc
...
The original pref still controls content and chrome when set. The preference is now live, for content and chrome, the change will be seen on the next refresh. The cached value is now in nsPresContext, rather than nsRefreshDriver.
2013-07-22 11:51:38 -04:00
Joshua Cranmer
fb0ab49c35
Bug 884061 - Part 3f: Use NS_DECL_THREADSAFE_ISUPPORTS in dom/, r=smaug,dhylands.
...
--HG--
extra : rebase_source : b8eaae07c54c94c8c46c7ed4c0e226eb74584652
2013-07-18 21:21:20 -05:00
Jon Coppeard
1bb7f2a908
Bug 888338 - 1 - Add TenuredHeap<T> class r=terrence r=bz
2013-07-23 10:58:26 +01:00
Masatoshi Kimura
1ef12167fc
Bug 895231 - Make sure the Components shim is consistent with the real Components. r=bholley
2013-07-20 07:53:51 +09:00
Olli Pettay
5f6b1e810b
Bug 895578 - Make SnowWhiteKiller to use fallible TArray, r=mccr8
2013-07-19 15:53:16 +03:00
Andrew McCreight
812337fd99
Bug 888389 - Cycle collect PowerManager. r=smaug
2013-07-18 09:07:28 -07:00
Tom Schuster
8e3e74bfea
Bug 868859 - Make chromeWindow.content work in e10s. r=bz
2013-05-08 23:16:46 +02:00
Boris Zbarsky
0e992ed848
Bug 893004 part 3. Remove the unused-from-C++ bits of nsIDOMNavigator, except the ones that share implementation with WebIDL anyway. r=smaug
...
Note that I believe we could remove all these remaining attributes too; it's just some tedious work.
2013-07-17 23:23:52 -04:00
Boris Zbarsky
9af6d565fa
Bug 893004 part 2. Remove various no-longer-used XPCOM bits from Navigator, except the ones from nsIDOMNavigator. r=smaug
...
--HG--
rename : dom/network/interfaces/nsIDOMNavigatorNetwork.idl => dom/network/interfaces/nsIMozNavigatorNetwork.idl
2013-07-17 23:23:52 -04:00
Boris Zbarsky
68e656a94d
Bug 893004 part 1. Remove Navigator classinfo. r=smaug
2013-07-17 23:23:51 -04:00
Bobby Holley
9c6a589771
Bug 887334 - Stop setting the compartment to defaultCompartmentObject_->compartment(). r=luke
...
With this change, defaultCompartmentObject_ is just an opaque (though traced)
piece of embedder state on the cx.
2013-07-17 11:53:54 -07:00
Bobby Holley
e90ffdfc21
Bug 887334 - Push a JSContext in nsGlobalWindow::SecurityCheckURL. r=gabor
2013-07-17 11:53:54 -07:00
Bobby Holley
b6dac750a0
Bug 887334 - Miscellaneous JSAutoCompartments. r=luke
2013-07-17 11:53:53 -07:00
Bobby Holley
c045da868b
Bug 887334 - Enter a compartment between manual calls to JS_{Save,Restore}FrameChain. r=luke
...
The stuff in nsXBLProtoImplMethod is doing the same thing, so let's just have
it call into nsJSUtils.
2013-07-17 11:53:52 -07:00
Ryan VanderMeulen
5131a6768c
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
Drew Willcoxon
2107f8a4cc
Bug 894234 - Guard against audioContext->IsOffline(). r=ehsan
2013-07-17 09:59:08 -04:00
Tom Schuster
cb80974d17
Bug 868859 - Make chromeWindow.content work in e10s. r=bz
2013-05-08 23:16:46 +02:00
Masatoshi Kimura
2712c73776
Bug 899388 - Part 3: Remove XUL-related interfaces and ChromeWindow from content. r=bz
2013-08-09 23:35:54 +09:00
Masatoshi Kimura
310a4fed63
Bug 899388 - Part 2: Implement allowXBL option for xpc bindings. r=bz
2013-08-09 23:35:53 +09:00
Nathan Froyd
0008c1a52b
Bug 901612 - delete unused headers from DOMError.h; r=bz
2013-08-05 13:51:49 -04:00
Terrence Cole
61b15c2fbb
Bug 862115 - Use Rooted<JSPropertyDescriptor> in favor of JSPropertyDescriptor::AutoRooter r=terrence r=smaug r=bholley
2013-04-30 10:29:40 -07:00
Bobby Holley
6abcc0d08c
Bug 901362 - Give EvaluateString consumers the option to propagate exceptions instead of reporting. r=gabor
2013-08-08 16:51:35 -07:00
Bobby Holley
819d50ab77
Bug 901362 - Refactor nsJSUtils::EvaluateString to take an EvaluateOptions structure. r=gabor
2013-08-08 16:51:35 -07:00
Bobby Holley
b5464322cb
Bug 901162 - Inline ExecuteScript in the one caller. r=bz
2013-08-08 16:51:34 -07:00
Bobby Holley
4e21a1faaf
Bug 901162 - Inline CompileScript into the one caller. r=bz
2013-08-08 16:51:34 -07:00
Bobby Holley
8fbaba72bb
Bug 901162 - Hoist EvaluateString into nsJSUtils. r=bz
2013-08-08 16:51:34 -07:00
Bobby Holley
252d99069f
Bug 901162 - Remove unused mExecuteDepth machinery. r=bz
2013-08-08 16:51:34 -07:00
Nicholas Nethercote
b756f6b258
Bug 898914 (part 1) - Remove JSBool.
...
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Olli Pettay
94e6470c84
Bug 899022, cycle collect WindowRoot's window, r=mccr8
...
--HG--
extra : rebase_source : d223a51a2f928694dc6c3c79bd73b971329004db
2013-08-08 21:23:55 +03:00
Trevor Saunders
e59057dee7
bug 659722 - remove _IMPL_NS_LAYOUT r=bz
2013-03-16 00:31:38 -04:00
Nicholas Nethercote
3ea67ab547
Bug 909178 (part 1) - Move |jsid| from jsapi.h into js/Id.h. r=luke.
...
--HG--
extra : rebase_source : b0d38093a9f40a532e73c2c30ae86b8970b814ac
2013-08-21 22:26:56 -07:00
Brian O'Keefe
a2b1403eb0
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Boris Zbarsky
402fb273cc
Bug 838146 followup: address missed review comments. r=bholley
2013-07-16 01:39:49 -04:00
Boris Zbarsky
7631a999ff
Bug 838146 part 10. Turn on WebIDL bindings for Navigator. r=smaug
2013-07-12 10:37:23 -04:00
Boris Zbarsky
145e2ef11a
Bug 838146 part 9. Make Xrays play nice with WebIDL resolve hooks. r=bholley
2013-07-16 01:31:03 -04:00
Boris Zbarsky
4137a245dd
Bug 838146 part 8. Switch the Navigator resolve hook over to a more WebIDL-like API. r=smaug
2013-07-12 10:37:23 -04:00
Boris Zbarsky
91a8bc6360
Bug 838146 part 7. Implement the MOZ_MEDIA_NAVIGATOR WebIDL APIs on Navigator. r=smaug, sr=sicking
2013-07-12 10:37:21 -04:00
Boris Zbarsky
684d4a0f3a
Bug 838146 part 6. Implement gamepad, bluetooth, time, audiochannel WebIDL APIs on Navigator. r=smaug, sr=sicking
2013-07-12 10:36:32 -04:00
Boris Zbarsky
5651b8d226
Bug 838146 part 5. Implement remaining MOZ_B2G_RIL-conditional WebIDL APIs on Navigator. r=smaug, sr=sicking
2013-07-12 10:36:22 -04:00
Boris Zbarsky
8e232248bc
Bug 838146 part 4. Implement WebIDL API on Navigator for WebTelephony. r=bent, sr=sicking
2013-07-12 10:36:13 -04:00
Boris Zbarsky
1d61759816
Bug 838146 part 2. Implement WebIDL API on Navigator for all our nonstandard extensions that are not behind build-time flags. r=smaug, sr=peterv
2013-07-12 10:35:44 -04:00
Boris Zbarsky
8ecfecabac
Bug 838146 part 1. Implement WebIDL API on Navigator for the parts that are specified or are in nsIDOMNavigator. r=smaug, sr=sicking
2013-07-12 10:35:35 -04:00
Reuben Morais
9efd2c3cb7
Bug 889503 - Move Settings API to WebIDL. r=gwagner r=bz
...
--HG--
extra : rebase_source : 9f858f389b71344353658d4ed49996e0d90b8b99
2013-07-15 18:17:46 -07:00
Trevor Saunders
82e5558b37
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
Nikhil Marathe
16c6a86086
Bug 892647 - Add check to DOMRequestIpcHelperMessageListener.destroy() to take actions only once. r=jlebar
...
--HG--
extra : rebase_source : 08b9f74879863ecfb0f5847b3854d28b67ec1f85
2013-07-11 17:13:42 -04:00
Hsin-Yi Tsai
ff4cff7935
Bug 888592 - move Telephony and TelephonyCall to webidl. sr=sicking, r=bent
2013-07-15 16:27:19 +08:00
J. Ryan Stinnett
e68ccaf3d5
Bug 282097 - Part 7: Simulate native events for testing. r=masayuki
2013-07-10 09:12:40 -05:00
Ryan VanderMeulen
aaee3cf638
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Ms2ger
5db9476062
Bug 890821 - Make nsIScrollableFrame::GetScrollPositionCSSPixels return CSSIntPoint; r=roc
2013-07-10 11:58:13 +02:00
Olli Pettay
2bf2214fbe
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
Ms2ger
5dd77c507e
Bug 888366 - Part c: Remove unused jsids from classinfo; r=peterv
2013-07-10 11:55:24 +02:00
Ms2ger
c1621e1c17
Bug 888366 - Part b: Remove unused JSPropertyOps from classinfo; r=peterv
2013-07-10 11:55:21 +02:00
Ms2ger
4148536df2
Bug 888366 - Part a: Remove dead DOMCI_DATA uses and SVGRect classinfo; r=peterv
2013-07-10 11:55:16 +02:00
Peter Van der Beken
9c3bffc341
Bug 734503 - Add new DOM binding for TouchList; r=jst.
2013-07-10 11:53:53 +02:00
Justin Lebar
5b159515e1
Bug 889984 - Don't leak objects which "inherit" from DOMRequestIpcHelper the associated window is closed. r=fabrice
2013-07-08 17:55:42 -04:00
Brian Hackett
0db06b2f79
Bug 890636 - Remove JSOPTION_PCCOUNT, r=jandem.
2013-07-08 09:17:35 -06:00
Neil Deakin
847cda8ee1
Bug 887718, don't call SetVisibility when focus test mode is enabled, r=smaug
2013-07-05 12:05:26 -04:00
Phil Ringnalda
db8bdb016a
Merge m-c to m-i
2013-07-05 07:41:30 -07:00
Tim Taubert
695e6702b9
merge m-c to fx-team
2013-07-05 08:56:02 +02:00