Commit Graph

4326 Commits

Author SHA1 Message Date
Masatoshi Kimura
ed028c054e Backed out changeset 9c6dc3897c17 (bug 898136) for breaking SeaMonkey 2013-08-01 07:30:06 +09:00
Andrea Marchesini
4cf68c1978 Bug 887524 - Move IDBRequest to WebIDL, r=janv 2013-08-01 00:28:15 +02:00
Andrea Marchesini
ebeb72d6f9 Bug 891944 - Move IDBCursor to WebIDL, r=janv 2013-08-01 00:28:13 +02:00
Masatoshi Kimura
a7c7daa22e Backed out changeset 2aa62db58f24 (bug 673919) due to Web compat 2013-08-01 06:44:51 +09:00
Tom Schuster
8ac55e5939 Bug 884410 - Handlify JS_GetPrototype. r=terrence 2013-07-31 12:20:33 -04:00
Andrea Marchesini
20617169ee Bug 888596 - Move IDBDatabase to WebIDL, r=janv 2013-07-31 17:48:46 +02:00
Andrea Marchesini
9dbd04ea78 Bug 892065 - Move IDBIndex to WebIDL, r=janv 2013-07-31 17:48:40 +02:00
Andrea Marchesini
ef616d1baf Bug 888597 - Move IDBObjectStore to WebIDL, r=janv 2013-07-31 17:48:36 +02:00
Masatoshi Kimura
a3d3dbb05f Bug 898136 - Remove nsIDOMGlobalObjectConstructor. r=mrbkap 2013-07-31 09:25:31 -04:00
Nicholas Cameron
a2cdf1ab09 Bug 895873 - backout bug 893117 for Win8 mc bustage 2013-07-30 23:32:35 -04:00
Boris Zbarsky
aae3cb0194 Bug 892929 - hide window.CSSFontFeatureValueRule when font features disabled. r=smaug 2013-07-31 14:17:48 +09:00
Johnny Stenback
dbb32c1f2e 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
0ee6634734 Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-07-30 14:55:12 -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
Masatoshi Kimura
bf30ca0532 Bug 898817 - Stop exposing nsIDOM* interfaces on the global automatically. r=bz 2013-07-30 22:26:27 +09: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
fdbb43c394 Backout b43b3d14ea16 for mochitest failures on CLOSED TREE 2013-07-29 22:46:45 -07:00
David Zbarsky
10f3eae40e Backout 40683014a638 for causing mochitest orange 2013-07-29 21:11:01 -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
08f9b6fd28 Bug 899245 - Rename JS_SetGlobalObject and move it into jsfriendapi. r=luke 2013-07-29 16:45:26 -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
d3fdca2e8d Bug 898105 - Remove nsIDOMTouch r=reuben 2013-07-29 16:04:09 -07:00
David Zbarsky
0240aeb948 Bug 898930 - Remove nsIDOMTouchEvent r=smaug 2013-07-29 16:04:08 -07:00
Andrea Marchesini
a1a1e17579 Bug 888598 - Move IDBTransaction to WebIDL, r=janv 2013-07-29 19:12:21 +02:00
Masatoshi Kimura
3fde1bcef1 Bug 898687 - Hide XUL related classes from content. r=Jan.Varga 2013-07-29 23:45:58 +09: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
Ryan VanderMeulen
ae20d0e59b Merge m-c to inbound. 2013-07-27 13:31:57 -04:00
Olli Pettay
26e794eac5 Bug 897433 - Telemetry for SnowWhite and more async SnowWhite freeing (patch v4), r=mccr8 2013-07-27 13:48:45 +03:00
Bobby Holley
bdfd3b10bb 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
b26fc4a7ca Bug 884921 - navigator.geolocation should never be null. r=dougt 2013-07-26 16:12:12 -04:00
Vicamo Yang
40d98c0265 Bug 891235: remove mozSms. rs=mounir 2013-07-26 18:40:27 +08:00
Johnny Stenback
a84c568ed5 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
a127409cdd Backout 4ededc9b11f (bug 897433) for intermittent dromeao crashes 2013-07-24 19:45:31 -07:00
Olli Pettay
a99a898ade 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
8ab83f380e Merge m-c to inbound. 2013-07-24 11:53:22 +02:00
Ms2ger
5e49ccb267 Bug 892493 - Remove nsNamedArraySH; r=peterv 2013-07-24 09:27:42 +02:00
Ms2ger
41b81693ad Bug 892489 - Implement the WebIDL API for CSSRuleList; r=bz 2013-07-24 09:27:17 +02:00
David Zbarsky
b9c20a7821 Bug 894646 - Various dom deCOM cleanups r=Ms2ger 2013-07-23 16:39:17 -07:00
Bill McCloskey
c1cd226370 Bug 895340 - Fix error reporting of JS exceptions from C++ (r=bholley) 2013-07-23 08:32:36 -07:00
Milan Sreckovic
700cdb0c5b 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
f44c71b4ef 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
6c0077c7f6 Bug 888338 - 1 - Add TenuredHeap<T> class r=terrence r=bz 2013-07-23 10:58:26 +01:00
Masatoshi Kimura
f851214c0b 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
7376acc709 Bug 895578 - Make SnowWhiteKiller to use fallible TArray, r=mccr8 2013-07-19 15:53:16 +03:00
Andrew McCreight
bfc689d2ac Bug 888389 - Cycle collect PowerManager. r=smaug 2013-07-18 09:07:28 -07:00
Tom Schuster
c3a3b8fa79 Bug 868859 - Make chromeWindow.content work in e10s. r=bz 2013-05-08 23:16:46 +02:00
Boris Zbarsky
89d42e2daa 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
6be6fb3ca2 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
7510a7cbee Bug 893004 part 1. Remove Navigator classinfo. r=smaug 2013-07-17 23:23:51 -04:00
Bobby Holley
8e0afa92a2 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
152a99c222 Bug 887334 - Push a JSContext in nsGlobalWindow::SecurityCheckURL. r=gabor 2013-07-17 11:53:54 -07:00
Bobby Holley
5420505253 Bug 887334 - Miscellaneous JSAutoCompartments. r=luke 2013-07-17 11:53:53 -07:00
Bobby Holley
1dceda6384 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
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
Drew Willcoxon
47be8d8d34 Bug 894234 - Guard against audioContext->IsOffline(). r=ehsan 2013-07-17 09:59:08 -04:00
Tom Schuster
46fe724e6d Bug 868859 - Make chromeWindow.content work in e10s. r=bz 2013-05-08 23:16:46 +02:00
Masatoshi Kimura
9df2e5de6d Bug 899388 - Part 3: Remove XUL-related interfaces and ChromeWindow from content. r=bz 2013-08-09 23:35:54 +09:00
Masatoshi Kimura
3f765f0afe Bug 899388 - Part 2: Implement allowXBL option for xpc bindings. r=bz 2013-08-09 23:35:53 +09:00
Nathan Froyd
afb389d9e6 Bug 901612 - delete unused headers from DOMError.h; r=bz 2013-08-05 13:51:49 -04:00
Terrence Cole
a08ea9c568 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
f42ad67212 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
ce71a42cc1 Bug 901362 - Refactor nsJSUtils::EvaluateString to take an EvaluateOptions structure. r=gabor 2013-08-08 16:51:35 -07:00
Bobby Holley
2ae8838b69 Bug 901162 - Inline ExecuteScript in the one caller. r=bz 2013-08-08 16:51:34 -07:00
Bobby Holley
aa5f109ad7 Bug 901162 - Inline CompileScript into the one caller. r=bz 2013-08-08 16:51:34 -07:00
Bobby Holley
e976c1230d Bug 901162 - Hoist EvaluateString into nsJSUtils. r=bz 2013-08-08 16:51:34 -07:00
Bobby Holley
fbc3e9c77e Bug 901162 - Remove unused mExecuteDepth machinery. r=bz 2013-08-08 16:51:34 -07:00
Nicholas Nethercote
849635b8f1 Bug 898914 (part 1) - Remove JSBool.
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Olli Pettay
ba6904ab0e Bug 899022, cycle collect WindowRoot's window, r=mccr8
--HG--
extra : rebase_source : d223a51a2f928694dc6c3c79bd73b971329004db
2013-08-08 21:23:55 +03:00
Trevor Saunders
a8a12176ad bug 659722 - remove _IMPL_NS_LAYOUT r=bz 2013-03-16 00:31:38 -04:00
Nicholas Nethercote
c31cde29ea 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
f98dd45a72 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Boris Zbarsky
3e989e6f40 Bug 838146 followup: address missed review comments. r=bholley 2013-07-16 01:39:49 -04:00
Boris Zbarsky
4e13ee3c6a Bug 838146 part 10. Turn on WebIDL bindings for Navigator. r=smaug 2013-07-12 10:37:23 -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
Boris Zbarsky
7dccf5992d 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
05c6fea280 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
735f5c683b 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
0c35f645a5 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
12ddb245e1 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
0563b53628 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
94ca92ae92 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
bb425fd69b 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
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
Nikhil Marathe
86e4abb48f 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
f7c97fd706 Bug 888592 - move Telephony and TelephonyCall to webidl. sr=sicking, r=bent 2013-07-15 16:27:19 +08:00
J. Ryan Stinnett
d8ea814470 Bug 282097 - Part 7: Simulate native events for testing. r=masayuki 2013-07-10 09:12:40 -05:00
Ryan VanderMeulen
ec6b3d53b5 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
Ms2ger
fae15265a4 Bug 890821 - Make nsIScrollableFrame::GetScrollPositionCSSPixels return CSSIntPoint; r=roc 2013-07-10 11:58:13 +02: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
Ms2ger
453c09f83e Bug 888366 - Part c: Remove unused jsids from classinfo; r=peterv 2013-07-10 11:55:24 +02:00
Ms2ger
157ce8f9f0 Bug 888366 - Part b: Remove unused JSPropertyOps from classinfo; r=peterv 2013-07-10 11:55:21 +02:00
Ms2ger
8706c8cbac 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
9cbb0938bb Bug 734503 - Add new DOM binding for TouchList; r=jst. 2013-07-10 11:53:53 +02:00
Justin Lebar
60dc213200 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
6a7df7aaf3 Bug 890636 - Remove JSOPTION_PCCOUNT, r=jandem. 2013-07-08 09:17:35 -06:00
Neil Deakin
c7b77cbe6d Bug 887718, don't call SetVisibility when focus test mode is enabled, r=smaug 2013-07-05 12:05:26 -04:00
Phil Ringnalda
7de5d10ee7 Merge m-c to m-i 2013-07-05 07:41:30 -07:00
Tim Taubert
d803f8e745 merge m-c to fx-team 2013-07-05 08:56:02 +02:00
Masatoshi Kimura
c4547c9358 Bug 889148 - Remove legacy QS/classinfo bits from events even more. r=smaug, peterv 2013-07-05 07:53:59 +09:00
Tim Taubert
e0fbf1d239 Bug 886057 - Make sure frame tree is up-to-date before nsIDOMWindowUtils dispatches events via PresShell; r=smaug 2013-07-04 12:56:22 +02:00
Drew Willcoxon
086255d6ab Bug 879111 - Mute Web Audio when allowMedia is false on the docshell. r=ehsan 2013-07-03 17:44:32 -07:00
Bobby Holley
e742285dcd Bug 860085 - Stop using XPConnect::ReleaseJSContext in nsJSEnvironment::DestroyJSContext. r=gabor,mccr8
We now have the invariant that any in-use cx must be pushed onto the JSContext
stack with one of our stack-scoped automatic nsCxPusher classes. These classes
hold a strong ref to the nsIScriptContext associated with the JSContext they
push (if any). This means that, if this cx is in use, we will always have at
least one strong reference to the nsJSContext coming from the stack, meaning
that neither the destructor nor the Unlink() implementation will be called.
So we don't need to do any deferred destruction of the cx anymore.
2013-07-03 11:05:19 -06:00
Joey Armstrong
44ade60e99 bug 870370: EXTRA_COMPONENTS cleanup for conversion patches #1 & #2. 2013-07-03 12:01:06 -04:00
Masatoshi Kimura
16ea5c4d5c Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan 2013-07-04 00:56:26 +09: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
Johnny Stenback
7faf821ddb Fixing bug 855611. Convert navigator.plugins and navigator.mimeTypes to use new DOM bindings. r=peterv@propagandism.org. 2013-07-09 06:58:21 -07: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
Matthew Gregan
deb8ac1d03 Bug 855130 - Implement HTMLVideoElement's VideoPlaybackQuality (from
Media Source Extensions specification).  r=roc
2013-06-21 15:14:18 +12:00
Bobby Holley
cd8e803e5b Bug 888225 - Check for child window naming collisions before defining global properties in GlobalResolve. r=bz 2013-07-02 18:35:36 -06:00
Ryan VanderMeulen
6c23f16416 Backed out changeset d155557b651c (bug 888323) for bustage.
CLOSED TREE
2013-07-02 14:15:39 -04:00
Masatoshi Kimura
01a103a919 Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan 2013-07-03 02:08:01 +09:00
Jeff Walden
63dbd9617f Bug 888106 - Add too-much-recursion detection to isExtensible tests, and make the isExtensible hook capable of failing. r=bholley, r=ejpbruel
--HG--
extra : rebase_source : fe7345322f87dd214aa5122ea8704750e8b2375a
2013-06-28 14:01:09 -07: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
Matthew Gregan
dd3855fa0e Bug 855130 - Implement HTMLVideoElement's VideoPlaybackQuality (from Media Source Extensions spec). r=roc
---
 content/html/content/public/HTMLVideoElement.h |  4 ++
 content/html/content/src/HTMLVideoElement.cpp  | 27 ++++++++++
 content/media/MediaDecoder.h                   | 17 +++++++
 content/media/MediaDecoderStateMachine.cpp     |  6 ++-
 content/media/VideoPlaybackQuality.cpp         | 53 ++++++++++++++++++++
 content/media/VideoPlaybackQuality.h           | 68 ++++++++++++++++++++++++++
 content/media/moz.build                        |  2 +
 dom/base/moz.build                             |  2 +
 dom/bindings/Bindings.conf                     |  4 ++
 dom/webidl/HTMLVideoElement.webidl             |  6 +++
 dom/webidl/VideoPlaybackQuality.webidl         | 20 ++++++++
 dom/webidl/WebIDL.mk                           |  1 +
 12 files changed, 209 insertions(+), 1 deletion(-)
 create mode 100644 content/media/VideoPlaybackQuality.cpp
 create mode 100644 content/media/VideoPlaybackQuality.h
 create mode 100644 dom/webidl/VideoPlaybackQuality.webidl
2013-07-02 15:46:48 +12:00
Guilherme Gonçalves
78eecf9eb3 Bug 865482 - Remove classinfo for nsGeoPositionCoords. r=jst 2013-07-01 09:26:33 -04:00
Ms2ger
0a7d6a39da Bug 888321 - Pass CSSIntPoint to ScrollToCSSPixels; f=kats r=roc 2013-07-01 09:14:36 +02:00
Ms2ger
98f1aa4ba9 Bug 888318 - Use CSSIntPoint for nsGlobalWindow::ScrollTo; f=kats r=mrbkap 2013-07-01 09:14:34 +02:00
Ms2ger
d031b8f2f5 Bug 888235 - Use CSSIntSize for nsGlobalWindow::GetInnerWidth/Height; f=kats r=mrbkap 2013-07-01 09:14:24 +02:00
Ms2ger
b9fab2b760 Bug 886289 - Move SVGAnimatedNumber to WebIDL; r=dzbarsky 2013-07-01 09:03:04 +02:00
Ms2ger
8adaa5a198 Bug 886270 - Move SVGAnimatedInteger to WebIDL; r=dzbarsky 2013-07-01 09:02:56 +02:00
Ms2ger
e2bde8750f Bug 886247 - Move SVGAnimatedEnumeration to WebIDL; r=dzbarsky 2013-07-01 09:02:46 +02:00
Ms2ger
5ee433e133 Bug 887909 - Convert IDBFileHandle to WebIDL; r=janv 2013-07-01 09:02:37 +02:00
Ms2ger
3d886ff600 Bug 883892 - Followup: remove comment that refers to removed code. 2013-07-01 09:00:54 +02:00
Justin Lebar
6e1f60a4f4 Bug 888693 - Add a null-check to nsWindowMemoryReporter.cpp so taking a memory report doesn't crash B2G. r=nmaier 2013-06-30 09:39:10 -07:00
Phil Ringnalda
18c2ed0e65 Merge m-c to m-i 2013-06-30 08:40:17 -07:00
Bobby Holley
05ff089d53 Bug 865745 - Remove mContext from nsFrameMessageManager. r=smaug 2013-06-30 09:00:19 -06:00
Fernando Jiménez
0c00b7b5ed Bug 883178 - [MMI] Implement DOMMMIResult and DOMMMIError. Part 1: DOMError. r=sicking, sr=peterv 2013-06-30 20:21:31 +08: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
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
adb2251a40 Bug 865745 - Remove mContext from nsFrameMessageManager. r=smaug 2013-06-29 18:44:05 -06: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
317ce7416a Bug 886213 - Cycle collect Navigator more better. r=smaug 2013-06-28 11:06:39 -07:00
Fernando Jiménez
998c3ee2e7 Bug 885701 - [DOMRequest] Implement DOMRequestService.fireDetailedError. r,sr=sicking 2013-06-28 10:53:44 +08:00
Gregor Wagner
1b044740dc Bug 887125 - Allow 0 for Memory GC Preferences. r=bent 2013-06-27 14:40:17 +08: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
Mook
63992ad747 dom: navigator: include nsGlobalWindow.h for gamepad support (r=smaug b=885819) 2013-06-24 13:07:03 -07:00
Nicolas B. Pierron
15fd41c68c Bug 829841 - Add an option to enable eager compilation in the browser. r=dvander 2013-06-24 05:13:05 -07:00
Ehsan Akhgari
15c2073a3a Bug 579517 follow-up: Remove NSPR types that crept in 2013-06-23 20:58:53 -04: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
Bobby Holley
ff4e12d638 Bug 875790 - Add cx push back into nsJSContext::CompileScript. r=me 2013-06-21 09:10:27 -07: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
Bill McCloskey
92baec2902 Bug 871005 - Add a pref for GC decommit threshold (r=gregor) 2013-06-20 18:06:53 -07:00
Boris Zbarsky
6a7a1954ff Bug 885171. Make Navigator wrappercached and cycle-collected, and have it hold a strong reference to its window always. r=smaug 2013-06-20 14:34:38 -04:00
Bobby Holley
7a9309f7be Bug 883450 - Miscellaneous requests. r=gabor 2013-06-20 11:05:34 -07:00
Olli Pettay
75377b423a Bug 884296 - Remove the rest of the classinfos for DOM events, r=peterv
--HG--
extra : rebase_source : 9b397e2e19e8e15d2753dc5bf7c18e2b3147f92b
2013-06-20 17:13:52 +03:00
Terrence Cole
075d331390 Bug 884410 - Handlify the JS_TransplantObject interfaces; r=jonco
--HG--
extra : rebase_source : f1c2adc7380e5806ce6b4fce5bb41f9400b9e1b1
2013-06-13 17:09:55 -07:00
Reuben Morais
962b35dcaa Bug 898512 - navigator.mozSettings should be null if the page doesn't have permissions. r=bz 2013-08-06 10:59:13 -03:00
Ted Mielczarek
eeafcabde2 bug 690935 - implement navigator.getGamepads(). r=smaug
--HG--
rename : content/events/src/nsDOMGamepad.cpp => dom/gamepad/Gamepad.cpp
rename : content/events/src/nsDOMGamepad.h => dom/gamepad/Gamepad.h
rename : dom/system/GamepadService.cpp => dom/gamepad/GamepadService.cpp
rename : dom/system/GamepadService.h => dom/gamepad/GamepadService.h
extra : rebase_source : da536e09d6c09c605db28e4af4ccccf824efc20d
2012-02-15 19:47:13 -05:00
Andrea Marchesini
dc9752fc49 Bug 841442 - Rename nsHTMLFormElement to HTMLFormElement
--HG--
rename : content/html/content/src/nsHTMLFormElement.cpp => content/html/content/src/HTMLFormElement.cpp
rename : content/html/content/src/nsHTMLFormElement.h => content/html/content/src/HTMLFormElement.h
2013-06-19 10:24:37 -04:00
Jon Coppeard
da723794cd Bug 884371 - Remove JSMutableHandleXXX from the browser r=bz 2013-06-19 11:32:27 +01:00
Olli Pettay
ce64a01652 Bug 847611 - Paris bindings for autogenerated events, r=peterv 2013-06-18 21:48:45 +03:00
Jon Coppeard
c43484e0e2 Bug 877762 - GC: Post-barrier cycle collector participants - 7 Convert most JSObect to use Heap<T> (ex. XBL) r=bz 2013-06-18 11:00:38 +01:00
Jon Coppeard
c1b9a0f0bd Bug 877762 - GC: Post-barrier cycle collector participants - 6 Convert jsid and JS::String to use Heap<T> r=smaug 2013-06-18 11:00:38 +01:00
Jon Coppeard
7bcacd601c Bug 877762 - GC: Post-barrier cycle collector participants - 5 Convert JS::Value to use Heap<T> r=smaug 2013-06-18 11:00:37 +01:00
Nils Maier
82984fe6e0 Bug 846019 - Part 2: Prefix memory reports with add-on ids. r=njn 2013-06-14 22:48:28 -04:00
David Zbarsky
97e1b80d17 Bug 882553 - Convert SVGAnimatedString to WebIDL r=Ms2ger 2013-06-14 15:37:27 -07:00
Peter Van der Beken
ef9e24aa33 Bug 851465 - Remove slim wrappers - remove slim wrapper macros and rename WN macros. r=bholley. 2013-04-19 21:58:30 +02:00
Peter Van der Beken
8cd1dfca20 Bug 851465 - Remove slim wrappers - stop constructing slim wrappers. r=bholley. 2013-03-25 11:36:24 +01:00
Mark Hammond
a8001c07d8 Bug 875157 (part 1) - add isParentWindowMainWidgetVisible to nsIDOMWindowUtils. r=bz
--HG--
extra : rebase_source : ba752abd8c16276e438d3af0742a9d74897acad0
2013-05-31 11:12:44 +10:00
Ryan VanderMeulen
917e565db3 Backed out 13 changesets (bug 880917) for Android and B2G test bustage on a CLOSED TREE.
Backed out changeset 71c1ce2cb0a4 (bug 880917)
Backed out changeset cd240e19560f (bug 880917)
Backed out changeset 93509a0001b5 (bug 880917)
Backed out changeset fdbba20e4647 (bug 880917)
Backed out changeset d82060172367 (bug 880917)
Backed out changeset 709f0b699489 (bug 880917)
Backed out changeset 421bdbccfa7c (bug 880917)
Backed out changeset 962c656c7452 (bug 880917)
Backed out changeset 888a5690ccdf (bug 880917)
Backed out changeset 57228f5fcd87 (bug 880917)
Backed out changeset ce8c3e14c234 (bug 880917)
Backed out changeset 08fe7b777450 (bug 880917)
Backed out changeset 5192a9233d83 (bug 880917)
2013-06-13 15:19:50 -04:00
Bobby Holley
670e4b4d9d 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-13 10:09:25 -07:00
Mike Shal
8d6fa4020d Bug 880245 - Move EXTRA_JS_MODULES to moz.build (conversion part 1); r=joey
From 69c3338a3287ff8cc97533e06069fc4d4cb7c5f6 Mon Sep 17 00:00:00 2001
2013-06-10 12:08:47 -04:00
Boris Zbarsky
65c0969f7c Bug 880367 part 1. Change the "enabled" callback for WebIDL constructors to take a JSContext* and the object the constructor will be defined on. r=smaug,bholley 2013-06-13 01:12:26 -04:00
Timothy Nikkel
f9582bc381 Bug 641188. Ensure that delayed resizes are flushed from the view subsystem to the prescontext's visible area before using the visible area for innerWidth/Height. r=bz 2013-06-12 10:25:32 -05:00
Ed Morley
aa048e78a3 Merge mozilla-central and inbound 2013-06-12 08:41:06 +01:00
Phil Ringnalda
c127faa0f5 Back out 57bb160f49d5:4e6b16f0d753 (bug 875157) for breaking master password tests 2013-06-12 00:00:25 -07:00
Ms2ger
68ea30a57e Bug 875784 - Move MozTimeManager to WebIDL; r=smaug 2013-06-12 09:00:07 +02:00
Ms2ger
43317c5e50 Bug 877277 - Move the document.all getter into WebIDL; r=smaug 2013-06-12 08:55:00 +02:00
Ms2ger
6c047d4967 Bug 718923 - Support document.all in standards mode and remove the pref to turn it off; r=smaug 2013-06-12 08:48:38 +02:00
Ms2ger
15ce633d6a Bug 880317 - Don't use nsIDOMDocument in nsScreen; r=mounir 2013-06-12 08:48:15 +02:00
Mihai Sucan
f8f7fa75e5 Bug 861338 - [browserconsole] Cache Console.jsm API calls with ConsoleAPIStorage.jsm; r=jwalker 2013-06-07 20:13:48 +03:00
Mark Hammond
0656d95214 Bug 875157 (part 1) - add isParentWindowMainWidgetVisible to nsIDOMWindowUtils. r=bz 2013-05-31 11:12:44 +10:00
Joey Armstrong
bfded569cf bug 870370: move EXTRA_COMPONENTS to moz.build (file batch #2). r=mshal 2013-06-10 11:19:28 -04:00
Jon Coppeard
fa77e296a8 Bug 860573 - Part 1 - Store wrapper cache flags separately to the object pointer r=smaug 2013-06-08 09:53:21 +01:00
Trevor Saunders
f6274d24c5 bug 877886 - get rid of a number of static constructors in content/ and dom/ r=smaug 2013-05-30 18:34:53 -04:00
Kyle Huey
8eb6aa2bc8 Bug 854739: Ensure that messages are delivered in order when suspending and resuming workers. r=bent+bholley 2013-06-06 10:28:47 -07:00
Trevor Saunders
97c7a91ef5 bug 870678 - remove nsIDOMCameraManager r=bz 2013-05-14 06:59:11 -04:00
Trevor Saunders
ebc1cdb11d backout bug 877886 for bustage 2013-06-05 17:50:30 -04:00
Trevor Saunders
1ebc6cf845 bug 877886 - get rid of a number of static constructors in content/ and dom/ r=smaug 2013-05-30 18:34:53 -04:00
Arnaud Sourioux
feea85a7f1 Bug 877746 - Annotate ~230 methods with MOZ_OVERRIDE in /dom. r=Ms2ger 2013-06-05 12:15:48 -04:00
Jan Varga
ca076736b5 Bug 878703 - Cleanup usage of IO thread only objects. r=bent 2013-06-05 10:11:23 +02:00
Tim Taubert
9195d2a157 Bug 878801 - part 1 - introduce nsIDOMWindowUtils.getBoundsWithoutFlushing(); r=roc 2013-06-04 08:06:29 +02:00
Andrea Marchesini
c2a5090d51 Bug 858524 - Move BarProp objects to Paris bindings, r=ms2ger, r=smaug 2013-06-01 01:53:00 -07:00
Andrea Marchesini
8e5afa9763 Bug 858524 - Rename nsBarProp to BarProp, r=ms2ger
--HG--
rename : dom/base/nsBarProps.cpp => dom/base/BarProps.cpp
rename : dom/base/nsBarProps.h => dom/base/BarProps.h
2013-05-31 03:30:00 -07:00
Ms2ger
04c8cd41cd Bug 871287 - Part c: Move DeviceStorage to WebIDL; r=smaug 2013-06-01 08:56:00 +02:00
Ms2ger
adad04a973 Bug 876240 - Move OfflineResourceList to WebIDL; r=mounir 2013-06-01 08:53:44 +02:00
Ms2ger
ab3135b802 Bug 874084 - Remove dead code that used to support document.all.tags; r=bz 2013-06-01 08:53:12 +02:00
David Zbarsky
871e0977c2 Bug 788549 Part 8: Only query layers when OMTA is enabled r=roc 2013-05-31 11:06:56 -07:00
Benjamin Peterson
f4dc321a08 Bug 823978 - Rename JSOPTION_STRICT to JSOPTION_EXTRA_WARNINGS. r=Waldo
--HG--
extra : rebase_source : 34f95fc6017d3f3f4f091083debacbd466b51bf6
2013-06-11 12:49:11 -07:00
Ryan VanderMeulen
79cab24538 Backed out changeset 1df122edcf0d (bug 823978) for bustage (again).
CLOSED TREE (again)
2013-06-11 15:27:46 -04:00
Ryan VanderMeulen
079997c1b8 Merge m-c to inbound. 2013-06-11 15:02:04 -04:00
Benjamin Peterson
ad3fb45421 Bug 823978 - Rename JSOPTION_STRICT to JSOPTION_EXTRA_WARNINGS. r=Waldo
--HG--
extra : rebase_source : 1396c8ec5bd99ab35343cfff2b87d22955671243
2013-06-11 11:30:18 -07:00
Ryan VanderMeulen
911f19ec09 Backed out changeset 7e69e102a432 (bug 823978) for bustage.
CLOSED TREE
2013-06-11 14:28:17 -04:00
Benjamin Peterson
bf9614501d Bug 823978 - Rename JSOPTION_STRICT to JSOPTION_EXTRA_WARNINGS. r=Waldo
--HG--
extra : rebase_source : f5c0e9c743dadb0431eacef6b46b6e274264d3aa
2013-06-11 10:55:21 -07:00