Commit Graph

27833 Commits

Author SHA1 Message Date
Jeff Gilbert
56d1f3ad3b Bug 883364 - Remove fallbacks to canvas. r=dzbarsky 2013-07-30 20:46:42 -07:00
Bobby Holley
86193a45e2 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
ab9f91f38b Bug 899089 - Improve event listener reporting in CC graphs, r=khuey 2013-07-31 01:04:38 +03:00
David Zbarsky
685ad9fca2 Bug 893117: Remove nsIDOMHTMLDListElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky
aeb27e1255 Bug 893117: Remove nsIDOMHTMLMeterElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky
3fc1f45c00 Bug 893117: Remove nsIDOMHTMLParamElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky
019b465894 Bug 893117: Remove nsIDOMHTMLLabelElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky
6f10942061 Bug 893117: Remove nsIDOMHTMLFontElement r=bz 2013-07-30 14:55:13 -07:00
David Zbarsky
faf159a4f8 Bug 893117: Remove nsIDOMHTMLLegendElement r=bz 2013-07-30 14:55:12 -07:00
David Zbarsky
77f5c02605 Bug 893117: Remove nsIDOMHTMLHeadingElement r=bz 2013-07-30 14:55:12 -07:00
David Zbarsky
e806648961 Bug 893117: Remove nsIDOMHTMLModElement r=bz 2013-07-30 14:55:12 -07:00
David Zbarsky
7749682554 Bug 893117: Remove xpidl for nsIDOMHTMLDirectoryElement r=bz 2013-07-30 14:55:12 -07:00
David Zbarsky
4d1aa06dec Bug 893117: Remove nsIDOMHTMLOutputElement r=bz 2013-07-30 14:55:11 -07:00
David Zbarsky
67c8079b37 Bug 893117: Remove nsIDOMHTMLDataListElement r=bz 2013-07-30 14:55:11 -07:00
David Zbarsky
7e66128ffc Bug 893117: Remove nsIDOMHTMLUnknownElement r=peterv 2013-07-30 14:55:11 -07:00
David Zbarsky
9c0441b53f Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv 2013-07-30 14:55:11 -07:00
David Zbarsky
b201163fc0 Bug 893117: Remove nsIDOMHTMLTableColElement r=peterv 2013-07-30 14:55:11 -07:00
David Zbarsky
0f7477cec9 Bug 893117: Remove nsIDOMHTMLTableRowElement r=peterv 2013-07-30 14:55:10 -07:00
David Zbarsky
08732280f1 Bug 893117: Remove nsIDOMHTMLTableSectionElement r=peterv 2013-07-30 14:55:10 -07:00
David Zbarsky
753bdd48e3 Bug 893117: Remove xpidl for nsIDOMHTMLTableElement r=peterv 2013-07-30 14:55:10 -07:00
David Zbarsky
2c4b6577e1 Bug 893117: Remove nsIDOMHTMLTableCellElement r=peterv 2013-07-30 14:55:10 -07:00
Justin Lebar
fb76ae538d 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
5012b74687 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
Guillaume Abadie
d81c581c60 bug 896254 - disable WebGL 2 interfaces - r=jilbert,ehsan 2013-07-30 15:58:17 -04:00
Ryan VanderMeulen
db283de51f Backed out changeset 4aeb00521c9d (bug 896890) for build bustage.
CLOSED TREE
2013-07-30 15:50:46 -04:00
Justin Lebar
7aa4dc5297 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
2824b29025 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
217ecc072d 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
b508c3d4a1 Bug 898817 - Stop exposing nsIDOM* interfaces on the global automatically. r=bz 2013-07-30 22:26:27 +09:00
Guillaume Abadie
22086cb170 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
ef4b479714 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Paul Adenot
f558a92953 Bug 895720 - Actually use the fuzz value. 2013-07-30 11:10:33 +01:00
Paul Adenot
8e849d9058 Bug 895720 - On MacOS, increase the fuzz factor for test_audioBufferSourceNodeOffset.html. 2013-07-30 11:06:33 +01:00
Nicolas Silva
8592c4c12d Bug 858914 - New texture classes + OGL backend (preffed off). r=bas, nrc 2013-07-30 11:59:51 +02:00
David Zbarsky
c72818ae5a Bug 898947 - Remove nsIInlineEventHandlers from nodes r=bz 2013-07-30 01:47:28 -07:00
David Zbarsky
f78d53fa48 Backout b43b3d14ea16 for mochitest failures on CLOSED TREE 2013-07-29 22:46:45 -07:00
David Zbarsky
91444ab12c Backout f10e28d82786 for mochitest orange on a CLOSED TREE 2013-07-29 21:11:38 -07:00
David Zbarsky
67334df0d5 Backout 40683014a638 for causing mochitest orange 2013-07-29 21:11:01 -07:00
David Zbarsky
71f25aac13 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
98a0425f0f 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
43974de990 Bug 899245 - Rename JS_SetGlobalObject and move it into jsfriendapi. r=luke 2013-07-29 16:45:26 -07:00
Bobby Holley
acaaa3b1a2 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
1c42b9acd0 Bug 898947 - Remove nsIInlineEventHandlers from nodes r=bz 2013-07-29 16:04:09 -07:00
David Zbarsky
d057bf162a Bug 898105 - Remove nsIDOMTouch r=reuben 2013-07-29 16:04:09 -07:00
David Zbarsky
7c24ff2bdc Bug 898104 - Remove nsIDOMTouchList r=smaug 2013-07-29 16:04:09 -07:00
David Zbarsky
35194cdbac Bug 898930 - Remove nsIDOMTouchEvent r=smaug 2013-07-29 16:04:08 -07:00
John Schoenick
d2c332f236 Bug 889614 - Followup, don't erroneously cancel other events. r=josh 2013-07-29 13:50:55 -07:00
Tom Schuster
2a7f05152e Bug 691610 - e10s support for useDefaultIcon. r=felipe sr=smaug 2013-07-29 11:03:41 -04:00
Tom Schuster
59393898c7 Bug 893201 - Spot fix cross chrome/content focus handling. r=felipe 2013-07-29 11:03:41 -04:00
Daniel Holbert
28eed8a448 Bug 898489: Mark content/xul/content/src/ and content/xul/document/src/ as FAIL_ON_WARNINGS. r=smaug r=gps 2013-07-29 12:29:42 -07:00