Commit Graph

16175 Commits

Author SHA1 Message Date
Ryan VanderMeulen
42e1e42d76 Merge m-c to inbound. 2013-07-31 16:33:59 -04:00
Martijn Wargers
7f63b0ec1a Bug 898696 - Fix some content/media test files by adding preload=metadata to media element. r=cpearce 2013-07-31 09:35:44 +02:00
Shelly Lin
f9bc5baa95 Bug 895730 - AudioTrackEncoder should handle the case where audio chunk is null. r=roc 2013-07-31 12:21:29 +08:00
Shelly Lin
2e2b0af1b7 Bug 894341 - Stop encoding data when the eos flag has written to ContainerWriter. r=roc 2013-07-29 14:29:08 +08:00
Ed Morley
044db07f93 Backed out changeset 5a8a8ee17ab5 (bug 883364) for Android 2.2 armv6 reftest failures 2013-07-31 08:59:33 +01:00
Ed Morley
e425b0df95 Backed out changeset 85109095dd71 (bug 883364) 2013-07-31 08:58:40 +01:00
Ed Morley
73b237d7f9 Backed out changeset f10f7c79846c (bug 883364) 2013-07-31 08:58:32 +01:00
Ed Morley
7ad8ac55f6 Backed out changeset 3b1c068244a2 (bug 881681) 2013-07-31 08:58:23 +01:00
Nicholas Cameron
a2cdf1ab09 Bug 895873 - backout bug 893117 for Win8 mc bustage 2013-07-30 23:32:35 -04:00
Jeff Gilbert
d1c3e57be2 Bug 881681 - Add reftest to assure that resize is successful. r=dzbarsky 2013-07-30 20:52:20 -07:00
Jeff Gilbert
7ddeee4a15 Bug 883364 - Mark tests as failing on ARMv6. r=bjacob 2013-07-30 20:48:00 -07:00
Jeff Gilbert
bf071cb392 Bug 883364 - Allow tests to fail gracefully. r=dzbarsky 2013-07-30 20:47:26 -07:00
Jeff Gilbert
387764aac0 Bug 883364 - Remove fallbacks to canvas. r=dzbarsky 2013-07-30 20:46:42 -07:00
Bobby Holley
92b0bb5f15 Bug 898811 - Use the system error reporter for XBL compilation. r=mrbkap
The current XBL error reporter logs things to the console service, but not to
stderr. And in certain situations (especially if there's a parse error in
frontend XBL that leaves the browser in a half-baked state), it can be very
difficult to get to the error console.

So we should log to stderr too, which is exactly what the system error reporter
does.
2013-07-30 17:58:46 -07:00
Olli Pettay
fb405f012c Bug 899089 - Improve event listener reporting in CC graphs, r=khuey 2013-07-31 01:04:38 +03:00
David Zbarsky
09b669e023 Bug 893117: Remove nsIDOMHTMLDListElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky
0d3882f4c1 Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky
cc5cdadf7d Bug 893117: Remove nsIDOMHTMLParamElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky
aa7c54d744 Bug 893117: Remove nsIDOMHTMLLabelElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky
5058a43793 Bug 893117: Remove nsIDOMHTMLFontElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky
0ee6634734 Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-07-30 14:55:12 -07:00
David Zbarsky
5be64ca260 Bug 893117: Remove nsIDOMHTMLHeadingElement r=bz 2013-07-30 14:55:12 -07:00
David Zbarsky
287910005d Bug 893117: Remove nsIDOMHTMLModElement r=bz 2013-07-30 14:55:12 -07:00
David Zbarsky
9066c58bfc Bug 893117: Remove xpidl for nsIDOMHTMLDirectoryElement r=bz 2013-07-30 14:55:12 -07:00
David Zbarsky
51c60afc61 Bug 893117: Remove nsIDOMHTMLOutputElement r=bz 2013-07-30 14:55:11 -07:00
David Zbarsky
6310037dcf Bug 893117: Remove nsIDOMHTMLDataListElement r=bz 2013-07-30 14:55:11 -07:00
David Zbarsky
0a8ff9d696 Bug 893117: Remove nsIDOMHTMLUnknownElement r=peterv 2013-07-30 14:55:11 -07:00
David Zbarsky
46494d4c25 Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-07-30 14:55:11 -07:00
David Zbarsky
24178c0c21 Bug 893117: Remove nsIDOMHTMLTableColElement r=peterv 2013-07-30 14:55:11 -07:00
David Zbarsky
693663f6f5 Bug 893117: Remove nsIDOMHTMLTableRowElement r=peterv 2013-07-30 14:55:10 -07:00
David Zbarsky
6791e960b1 Bug 893117: Remove nsIDOMHTMLTableSectionElement r=peterv 2013-07-30 14:55:10 -07:00
David Zbarsky
d86b43aa04 Bug 893117: Remove xpidl for nsIDOMHTMLTableElement r=peterv 2013-07-30 14:55:10 -07:00
David Zbarsky
db8538deb2 Bug 893117: Remove nsIDOMHTMLTableCellElement r=peterv 2013-07-30 14:55:10 -07: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
Martijn Wargers
644fe8405f Bug 899939 - Fix some tests that still use prefBranch instead of SpecialPowers.pushPrefEnv. r=jmaher 2013-07-31 11:30:54 +02:00
Tom Schuster
8ac55e5939 Bug 884410 - Handlify JS_GetPrototype. r=terrence 2013-07-31 12:20:33 -04:00
Guillaume Abadie
17868b9869 bug 896254 - disable WebGL 2 interfaces - r=jilbert,ehsan 2013-07-30 15:58:17 -04: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
Masatoshi Kimura
bf30ca0532 Bug 898817 - Stop exposing nsIDOM* interfaces on the global automatically. r=bz 2013-07-30 22:26:27 +09:00
Guillaume Abadie
76f5daf76f bug 894007 - WebGLContext::getParameter(GL_MAX_TEXTURE_SIZE) should be a power of two - r=jgilbert 2013-07-30 11:07:04 -04: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
Paul Adenot
2c94d0b2f4 Bug 895720 - Actually use the fuzz value. 2013-07-30 11:10:33 +01:00
Paul Adenot
a33021b0b3 Bug 895720 - On MacOS, increase the fuzz factor for test_audioBufferSourceNodeOffset.html. 2013-07-30 11:06:33 +01:00
Nicolas Silva
2b6a0c31a2 Bug 858914 - New texture classes + OGL backend (preffed off). r=bas, nrc 2013-07-30 11:59:51 +02:00
David Zbarsky
f0098e9a95 Bug 898947 - Remove nsIInlineEventHandlers from nodes r=bz 2013-07-30 01:47:28 -07:00
David Zbarsky
fdbb43c394 Backout b43b3d14ea16 for mochitest failures on CLOSED TREE 2013-07-29 22:46:45 -07:00