Commit Graph

1543 Commits

Author SHA1 Message Date
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
Jon Coppeard
0f31f8c399 Bug 900979 - Change JS_DeleteProperty APIs to use a boolean out param rather than a value r=waldo r=bz 2013-08-05 14:01:53 +01:00
Carsten "Tomcat" Book
ce9fe7db3d Merge b2g-inbound to m-c 2013-08-05 11:22:48 +02:00
Yoshi Huang
dfc815e181 Bug 883741 - Part 1: WebCrypto: Move Crypto to WebIDL. r=bz 2013-08-01 14:57:25 +08:00
Boris Zbarsky
aa85ee0639 Bug 707564 followup. Update to new saner JSAPI, fixing merge bustage and ridding us of this pestilential CLOSED TREE. r=bustage 2013-08-04 00:11:30 -04:00
Boris Zbarsky
9abf2f3dd0 Bug 900994. Add support for Func annotations on interface objects. r=smaug 2013-08-03 23:38:55 -04:00
Boris Zbarsky
ba0d3d3f9a Bug 707564 part 4. Teach WebIDL Xrays about the GetOwnProperties methods on WebIDL objects that have NewResolve. r=smaug 2013-08-03 23:38:55 -04: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
Kyle Huey
929d625b61 Bug 845545: Part 7 - Only set up XRay jsids on the main thread. r=bz 2013-08-03 16:55:41 -07:00
Kyle Huey
f01bea5183 Bug 845545: Part 6 - Add a switch to force no QueryInterface function and use it for ImageData. r=bz 2013-08-03 16:55:40 -07:00
Kyle Huey
6a4d059236 Bug 845545: Part 5 - Port ImageData to workers. r=mccr8,peterv,bent 2013-08-03 16:55:40 -07:00
Bill McCloskey
a23e81d1e0 Bug 899804 - Make CPOWs handle instanceof with WebIDL interfaces (r=bz,dvander) 2013-08-01 16:45:17 -07:00
Jon Coppeard
ef396b7874 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
aaa8d8915a Merge m-c to inbound. 2013-08-02 11:40:30 +02:00
Ms2ger
ed2a9cfb16 Backout changeset 531f544bc9ce for breaking B2G tests. 2013-08-02 11:38:49 +02:00
Ms2ger
21409e5d2c Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Ms2ger
468d7dab87 Bug 832883 - Move IDBKeyRange to WebIDL; r=khuey 2013-08-02 09:09:15 +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
Bill McCloskey
82484eab12 Backout bug 899804 for build errors. 2013-08-01 17:44:03 -07:00
Bill McCloskey
2a631212f2 Bug 899804 - Make CPOWs handle instanceof with WebIDL interfaces (r=bz,dvander) 2013-08-01 16:45:17 -07:00
Nikhil Marathe
26b6d43660 Bug 899904 - Include header for [NoInterfaceObject]s exposed on Navigator. r=khuey
--HG--
extra : rebase_source : 825404f9466f6fe582650e2397734822e9cfa9c1
2013-08-01 10:28:47 -07:00
Gregory Szorc
e24712af1c Bug 899792 - Establish precompile tier and move IPDL and WebIDL build rules; r=glandium
A new build tier is introduced: precompile. The intention is to replace
the export subtier with something better and nonrecursive. IPDL and
WebIDL code generation have been moved into this new tier and are
performed concurrently. This appears to reduce build times due to fewer
"single threaded" build actions.

The subtier tracking UI has been updated to reflect operations that can
occur in parallel. As subtiers are started, they turn yellow. They can
then complete in any order.

Nonrecursive targets have been added to preserve the IPDL and WebIDL
build targets such that developers can type |make| from leaf directories
like they have always done.
2013-07-30 17:00:24 -07: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
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
Andrea Marchesini
7ee2ac4c30 Bug 899546 - ENSURE_SUCCESS macro for ErrorResult, r=bz 2013-07-31 10:12:46 +02:00
Boris Zbarsky
75bbe6d667 Bug 892609. Implement support for [ArrayClass]. r=khuey 2013-07-30 22:28:30 -07:00
Ryan VanderMeulen
dcd7a90f78 Backed out changesets 77fcbb01366c (bug 899792) and e7d81c2597f2 (bug 899241) for OSX bustage.
CLOSED TREE
2013-07-30 21:46:07 -04:00
Gregory Szorc
5fd8b7d40f Bug 899792 - Establish precompile tier and move IPDL and WebIDL build rules; r=glandium
A new build tier is introduced: precompile. The intention is to replace
the export subtier with something better and nonrecursive. IPDL and
WebIDL code generation have been moved into this new tier and are
performed concurrently. This appears to reduce build times due to fewer
"single threaded" build actions.

The subtier tracking UI has been updated to reflect operations that can
occur in parallel. As subtiers are started, they turn yellow. They can
then complete in any order.

Nonrecursive targets have been added to preserve the IPDL and WebIDL
build targets such that developers can type |make| from leaf directories
like they have always done.
2013-07-30 17:00:24 -07:00
Ryan VanderMeulen
2a93f2cff1 Merge m-c to inbound. 2013-07-30 15:41:57 -04:00
Ryan VanderMeulen
6054b3a67b Merge m-c to fx-team. 2013-07-30 13:12:26 -04:00
Mina Almasry
cb2423ca33 Bug 897185 - toJSON only deals with attributes whose types are serializable. r=bz
Now jsonifiers only include serializable attributes in their returned object, as
per spec.
2013-07-30 10:04:04 -04:00
Trevor Saunders
662c0464d0 Bug 899368 - remove static constructors added in bug 894448 with some constexpr pixi dust. r=bz 2013-07-30 08:57:28 +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
Ehsan Akhgari
8fb98bed10 Bug 895322 - Part 3: Stop generating MOZ_STATIC_ASSERT in Web IDL bindings; r=Waldo
--HG--
extra : rebase_source : 5f48f54084623486fd3da0356711526597b90f5f
2013-07-19 14:39:20 -04: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
Boris Zbarsky
93e6a9f666 Bug 895728 part 4. Fix unions to work with the new boolean/numeric/string setup. r=khuey 2013-07-30 10:39:35 -07:00
Boris Zbarsky
d05c7d0e2f Bug 895728 part 3. Fix overload resolution to work with the new boolean/numeric/string setup. r=khuey 2013-07-30 10:39:34 -07:00
Boris Zbarsky
960d1ceb95 Bug 895728 part 2. Make booleans, numerics, and strings/enums all be distinguishable from each other. r=khuey 2013-07-30 10:39:34 -07:00
Boris Zbarsky
9a78937419 Bug 895728 part 1. Introduce "boolean" and "numeric" types, since those will be treated differently for purposes of distinguishability and overload resolution. r=khuey 2013-07-30 10:39:34 -07:00
Robert O'Callahan
55f5153795 Backing out 6ba07a3e0c80 (bug 892978) to fix test failures 2013-07-29 11:51:37 +12:00
Boris Zbarsky
238b6bebd6 Bug 895495 followup. Pass the needed second string to the exception message if the first argument of _create is not a Window. r=ms2ger 2013-07-28 10:50:35 -07:00
Guillaume Abadie
9948cf0afc bug 892978 - [WebGL 2.0] Query objects (GL_ARB_occlusion_query) - r=jgilbert 2013-07-28 11:59:03 -04:00
David Zbarsky
0f65482b40 Remove unneeded 'nativeOwnership': 'refcounted' annotations, no bug 2013-07-26 13:20:22 -07:00
David Zbarsky
6753f28dcc Bug 856472: CanvasPattern and CanvasGradient don't need to inherit nsISupports r=bz 2013-07-26 11:25:56 -07:00
David Zbarsky
a4a3a95214 Bug 865998: Implement WebIDL union return values r=bz 2013-07-26 11:25:54 -07:00
Ryan VanderMeulen
ba5199d8de Merge m-c to inbound. 2013-07-26 14:20:01 -04:00
Ryan VanderMeulen
bd7aefa3d9 Merge m-c to birch. 2013-07-26 10:48:24 -04:00
Vicamo Yang
40d98c0265 Bug 891235: remove mozSms. rs=mounir 2013-07-26 18:40:27 +08:00
Ms2ger
9d125e581b Bug 878600 - Move WorkerLocation to WebIDL; r=khuey 2013-07-24 09:41:55 +02:00
Ms2ger
2aa5daadda Bug 878401 - Move WorkerNavigator to WebIDL; r=khuey 2013-07-24 09:38:23 +02:00
Ms2ger
5ae654e2b6 Bug 885170 - Remove nsINode::GetClassInfo(); r=peterv 2013-07-24 09:31:06 +02:00
Peter Van der Beken
52d88da1d5 Bug 894448 part 2 - Remove nativeOwnership = 'nsisupports'. r=bzbarsky 2013-07-04 17:24:59 +02:00
Boris Zbarsky
a0857fe689 Bug 894448 part 1. Move IsChromeOrXBL to xpcpublic.h. r=bholley 2013-07-25 19:41:46 -07:00
Andrea Marchesini
a1a1e17579 Bug 888598 - Move IDBTransaction to WebIDL, r=janv 2013-07-29 19:12:21 +02:00
Mina Almasry
a63f698217 Bug 872377 - Restore "toJSON" to list of reserved webidl keywords. r=bz
This patch makes toJSON a reserved webidl keyword, and changes the implementation of mozRTCSessionDescription to use a jsonifier.
2013-07-29 12:39:18 -04:00
Terrence Cole
562f743f71 Bug 887563 - Convert CallArgs::operator[] to return a Handle; r=Waldo,bz
--HG--
extra : rebase_source : a06130820b34f6e1f5bc317e89c087cf0db9eeb8
2013-06-26 16:26:45 -07:00
Jon Coppeard
bd28d643f7 Bug 896540 - GC: Convert JS_SetProperty* to take MutableHandleValue - browser changes r=bz 2013-07-25 13:57:00 +01:00
Mina Almasry
d88dc366d5 Bug 760851 - Add jsonifier WebIDL declaration and add toJSON to performance.timing. r=bz
This patch adds a jsonifier declaration to WebIDL's. The declaration adds an autogenerated method toJSON() on the given webidl. This patch also adds jsonifier and toJSON() to PerformanceTiming.webidl, and performance.timing, respectively.
2013-07-26 12:00:49 -04: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
Boris Zbarsky
2f9e6439b5 Bug 895495. Add a faster way to create JS-implemented WebIDL objects from chrome. r=mccr8
This adds a Interface._create(targetWindow, chromeObj) static method
that lets a JS-implemented WebIDL object implementing Interface be
created in the window targetWindow using chromeObj as its JS
implementation.
2013-07-23 10:09:19 -04:00
Boris Zbarsky
76a7d33bf7 Bug 895009. Don't pass in NonNull/OwningNonNull arguments to WebIDL binding consumers. r=peterv 2013-07-22 08:15:43 -04:00
Jon Coppeard
7345e3e7f2 Bug 891966 - 2 - Comment calls to Handle::fromMarkedLocation r=bz 2013-07-23 10:58:28 +01:00
Jon Coppeard
b216cf9603 Bug 891966 - 1 - Don't allow construction of Handle<T> from Heap<T> r=bz 2013-07-23 10:58:27 +01:00
Jon Coppeard
da545dc61a Bug 888338 - 6 - more browser post barriers r=mccr8 2013-07-23 10:58:27 +01:00
David Zbarsky
2f0e22e174 Bug 888685: SVGAnimatedLengthList shouldn't inherit nsISupports r=Ms2ger 2013-07-23 01:34:18 -07:00
David Zbarsky
e6053c5ab9 Bug 888685: SVGAnimatedRect shouldn't inherit nsISupports r=Ms2ger 2013-07-23 01:34:17 -07:00
Masatoshi Kimura
a99030e14f Bug 885107 - Fix testharness tests outside dom/imptests. r=dbaron 2013-07-17 20:26:23 +09: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
a0654061a1 Bug 895009. Don't pass in NonNull/OwningNonNull arguments to WebIDL binding consumers. r=peterv 2013-07-22 08:15:43 -04:00
Ed Morley
2baf010d88 Backed out changeset e12c6f7d6676 (bug 885107) on suspicion of causing bug 894952 2013-07-18 14:43:52 +01:00
Guillaume Abadie
16e0f88f06 Bug 890311 - [WebGL 2.0] Add WebGL2Context C++ class inheriting WebGLContext. r=jgilbert 2013-07-17 09:58:09 -04:00
Masatoshi Kimura
616a6b3538 Bug 885107 - Fix testharness tests outside dom/imptests. r=dbaron 2013-07-17 20:26:23 +09: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
Nicholas Nethercote
849635b8f1 Bug 898914 (part 1) - Remove JSBool.
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -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
Guillaume Abadie
79fae3c7f5 Bug 890049 - WebGL2 Replace WebGLContext by WebGLContext with one subclass WebGL1Context. r=jgilbert 2013-07-16 10:32:24 -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
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
adcfc869b5 Bug 838146 part 3. Set up preprocessing of Navigator.webidl, since we want to make some stuff on Navigator build-time-conditional. r=khuey 2013-07-12 10:35:53 -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
Justin Wood
ae451a8cdb Bug 893798 - Remove superfluous comment spew in build logs. r=bz 2013-07-15 13:49:42 -04:00
Ryan VanderMeulen
627b09c4b2 Backed out 9 changesets (bug 838146) for suspected B2G Mn orange on a CLOSED TREE.
Backed out changeset 955a14e3c181 (bug 838146)
Backed out changeset fddccc5fce6e (bug 838146)
Backed out changeset 7cddfebc261c (bug 838146)
Backed out changeset fd3a62dd3910 (bug 838146)
Backed out changeset f06b420e0dfa (bug 838146)
Backed out changeset e0c3d84965cf (bug 838146)
Backed out changeset d3b135e58350 (bug 838146)
Backed out changeset 1bc7f2167503 (bug 838146)
Backed out changeset 483fbc6878a8 (bug 838146)
2013-07-12 18:15:10 -04:00
Boris Zbarsky
fafd4e4a0b Bug 892559. Don't use #pragma once in example codegen. r=smaug 2013-07-12 10:37:23 -04:00
Boris Zbarsky
25bd1a6122 Bug 838146 part 9. Turn on WebIDL bindings for Navigator. r=smaug 2013-07-12 10:37:23 -04:00
Boris Zbarsky
791913e1d3 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
83f2124baf 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
8145ea330b 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
7ae7e2a79c 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
2d360310fc Bug 838146 part 3. Set up preprocessing of Navigator.webidl, since we want to make some stuff on Navigator build-time-conditional. r=khuey 2013-07-12 10:35:53 -04:00
Boris Zbarsky
1eb23601d7 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
802393c5ce 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
Jonathan Watt
ee77b8b230 Bug 880544 - Fix leak in DOMSVGPointList. r=dzbarksy 2013-07-12 11:25:27 +01:00
Jonathan Watt
bd9e887f5c Bug 880544 - Fix leak in DOMSVGPathSegList. r=dzbarksy 2013-07-12 11:25:26 +01:00
Jonathan Watt
8296bfb916 Bug 880544 - Fix leak in DOMSVGNumberList. r=dzbarksy 2013-07-12 11:25:26 +01:00
Jonathan Watt
91b1c7a866 Bug 880544 - Fix leak in DOMSVGLengthList. r=dzbarksy 2013-07-12 11:25:26 +01:00
Jonathan Watt
1f95d7d9a7 Bug 880544 - Fix leak in DOMSVGTransformList. r=dzbarksy 2013-07-12 11:25:25 +01:00
Nicholas Nethercote
5fc822fbee Bug 887558 (part 2) - Move various functions into ProxyObject and FunctionProxyObject. r=jorendorff.
--HG--
extra : rebase_source : 14402b9ab7eda3389eb1b812ee961e46067b5b1d
2013-06-20 22:39:22 -07:00
Nicholas Nethercote
1d402ae3bc Bug 887558 (part 1) - Introduce ProxyObject and some sub-classes. r=jorendorff.
--HG--
extra : rebase_source : 33ed2aff35acbe4de8891a9fb34c60e7a314d9c8
2013-06-20 21:27:28 -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
Andrea Marchesini
0090dbd0ea Bug 884279 - Rename Future to Promise. r=mounir
--HG--
rename : dom/future/Makefile.in => dom/promise/Makefile.in
rename : dom/future/Future.cpp => dom/promise/Promise.cpp
rename : dom/future/Future.h => dom/promise/Promise.h
rename : dom/future/FutureCallback.cpp => dom/promise/PromiseCallback.cpp
rename : dom/future/FutureCallback.h => dom/promise/PromiseCallback.h
rename : dom/future/FutureResolver.cpp => dom/promise/PromiseResolver.cpp
rename : dom/future/FutureResolver.h => dom/promise/PromiseResolver.h
rename : dom/future/moz.build => dom/promise/moz.build
rename : dom/future/tests/Makefile.in => dom/promise/tests/Makefile.in
rename : dom/future/tests/moz.build => dom/promise/tests/moz.build
rename : dom/future/tests/test_bug883683.html => dom/promise/tests/test_bug883683.html
rename : dom/future/tests/test_future.html => dom/promise/tests/test_promise.html
rename : dom/future/tests/test_resolve.html => dom/promise/tests/test_resolve.html
rename : dom/webidl/Future.webidl => dom/webidl/Promise.webidl
2013-07-11 16:40:36 -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
Boris Zbarsky
81e217e046 Bug 891585. Don't JS_WrapValue same-compartment typed array return values in bindings code (e.g. ImageData.data). r=peterv 2013-07-11 11:58:29 -04:00
Masatoshi Kimura
de33fb2a28 Bug 885177 - Make window.ImageDocument ChromeOnly. r=bz 2013-07-11 08:15:30 +09: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
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
Ryan VanderMeulen
ec6b3d53b5 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
Peter Van der Beken
9cbb0938bb Bug 734503 - Add new DOM binding for TouchList; r=jst. 2013-07-10 11:53:53 +02:00
Randy Lin
fcd0ce74f3 Bug 803414 - Part 4: Audio Recording - Web API & Implementation. r=roc 2013-07-05 09:50:25 +08:00
Ehsan Akhgari
81c77fdc86 Bug 890543 - Make AudioBuffer not inherit from nsISupports; r=mccr8 2013-07-05 16:21:52 -04:00
David Zbarsky
fa439e686b Bug 888685: SVGAnimatedLength shouldn't inherit nsISupports r=Ms2ger 2013-07-05 11:57:35 -07:00
David Zbarsky
cca410aaf8 Bug 888685: SVGAnimatedAngle shouldn't inherit nsISupports r=Ms2ger 2013-07-05 11:57:35 -07:00
David Zbarsky
48d0fb8919 Bug 888685: SVGAngle shouldn't inherit nsISupports r=Ms2ger 2013-07-05 11:57:35 -07:00
David Zbarsky
c9b05748a2 Bug 888685: SVGAnimatedBoolean shouldn't inherit nsISupports r=Ms2ger 2013-07-05 11:57:35 -07:00
Ehsan Akhgari
aaa34e9bd3 Bug 889016 - Part 1: Add an API to report a not-enough-arguments error in Web IDL bindings; r=bzbarsky 2013-07-04 09:24:49 -04:00
Ehsan Akhgari
43122d5613 Fix sorting on variables in WebIDL.mk, and also fix the wrong sorting order in Bindings.conf added in bug 855611
--HG--
extra : rebase_source : 87aa51d944193f73ea0a4e04c660785e6f5ddb4b
2013-07-09 10:54:05 -04: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
Jan Varga
359b282ba6 Bug 886755 - Include the correct binding header if a binding uses a WebIDL enumeration that's defined in a different .webidl file. r=bz 2013-07-09 15:54:47 +02:00
Matthew Gregan
13e5c08e6c Bug 855130 - Implement a minimal working subset of the Media Source
Extensions specification.  r=roc
2013-06-21 15:14:42 +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
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
e960f249c0 Bug 855130 - Implement a minimal working subset of the Media Source Extensions API. r=roc
---
 content/media/mediasource/AsyncEventRunner.h       |  35 ++
 content/media/mediasource/Makefile.in              |  18 +
 content/media/mediasource/MediaSource.cpp          | 395 +++++++++++++++++++++
 content/media/mediasource/MediaSource.h            | 127 +++++++
 .../media/mediasource/MediaSourceInputAdapter.cpp  | 176 +++++++++
 .../media/mediasource/MediaSourceInputAdapter.h    |  43 +++
 content/media/mediasource/SourceBuffer.cpp         | 249 +++++++++++++
 content/media/mediasource/SourceBuffer.h           | 115 ++++++
 content/media/mediasource/SourceBufferList.cpp     | 143 ++++++++
 content/media/mediasource/SourceBufferList.h       |  79 +++++
 content/media/mediasource/moz.build                |  24 ++
 content/media/moz.build                            |   2 +
 dom/bindings/Bindings.conf                         |  13 +
 dom/dom-config.mk                                  |   1 +
 dom/webidl/MediaSource.webidl                      |  38 ++
 dom/webidl/SourceBuffer.webidl                     |  44 +++
 dom/webidl/SourceBufferList.webidl                 |  17 +
 dom/webidl/WebIDL.mk                               |   3 +
 layout/build/Makefile.in                           |   4 +
 modules/libpref/src/init/all.js                    |   3 +
 20 files changed, 1529 insertions(+)
 create mode 100644 content/media/mediasource/AsyncEventRunner.h
 create mode 100644 content/media/mediasource/Makefile.in
 create mode 100644 content/media/mediasource/MediaSource.cpp
 create mode 100644 content/media/mediasource/MediaSource.h
 create mode 100644 content/media/mediasource/MediaSourceInputAdapter.cpp
 create mode 100644 content/media/mediasource/MediaSourceInputAdapter.h
 create mode 100644 content/media/mediasource/SourceBuffer.cpp
 create mode 100644 content/media/mediasource/SourceBuffer.h
 create mode 100644 content/media/mediasource/SourceBufferList.cpp
 create mode 100644 content/media/mediasource/SourceBufferList.h
 create mode 100644 content/media/mediasource/moz.build
 create mode 100644 dom/webidl/MediaSource.webidl
 create mode 100644 dom/webidl/SourceBuffer.webidl
 create mode 100644 dom/webidl/SourceBufferList.webidl
2013-07-02 15:46:48 +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
Ms2ger
29f5ad4120 Bug 888579 - Remove some code that handled WN Nodes; r=bholley 2013-07-01 09:14:36 +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
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
Matthew Gregan
09a800bfde Backout 184ef886365d, 4c6a6ac3a9d5, and 59857a435c3b on a CLOSED TREE 2013-06-28 16:55:35 +12:00
Matthew Gregan
b5544d899d Bug 855130 - Implement a minimal working subset of the Media Source Extensions API. r=roc 2013-06-28 16:32:05 +12:00
Matthew Gregan
015e1dc50a Bug 855130 - Implement HTMLVideoElement's VideoPlaybackQuality (from Media Source Extensions spec). r=roc 2013-06-28 16:32:05 +12:00
Guillaume Abadie ext:(%20and%20James%20King%20%3Cjames%40agentultra.com%3E)
310f9b591a bug 738869 - implement OES_vertex_array_object webgl extension - r=bjacob 2013-06-27 17:07:21 -04:00
Peter Van der Beken
c9c36dc488 Bug 908997 - Simplify XPathEvaluator - move files and rename class. 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 : 590597171603854196bd6f6377753dbd34fd0658
2013-08-23 23:11:30 +02:00
Boris Zbarsky
520e6c7b89 Bug 884373. Align WebIDL handling of default parameters with ES6. r=khuey 2013-06-26 10:59:46 -04:00
Ms2ger
2f319776c1 Merge m-c to m-i. 2013-06-23 13:44:01 +02:00
Ms2ger
67f84492bd Bug 884268 - Part b: Move nsContentUtils::PreserveWrapper to nsWrapperCache; r=smaug 2013-06-23 09:15:42 +02:00
Ms2ger
21e2701dae Bug 883615 - Only include nsCxPusher.h in codegen when necessary; r=smaug 2013-06-23 09:14:46 +02:00
Masatoshi Kimura
dae735952b Bug 885611 - Remove the hasXPConnectImpls annotation from Event. r=smaug 2013-06-23 08:47:19 +09:00
Guillaume Abadie
8a763cff74 bug 843667 - implement WEBGL_draw_buffers and add the user preference webgl.enable-draft-extensions - r=bjacob 2013-06-21 19:44:17 -04:00
Jon Coppeard
19b426b223 Bug 885310 - 1 Rename JSHandleFoo in the browser r=bz 2013-06-21 14:12:46 +01:00
Bobby Holley
3b1ff95f0f Bug 883450 - Re-order stuff in CallSetup so that we construct the RootedObject after the Push. r=bz 2013-06-20 11:05:34 -07:00
Bobby Holley
384eda58d7 Bug 884362 - Play Maybe<> games to root |temp| in the right circumstances. r=bz 2013-06-20 11:05:33 -07:00
Bobby Holley
1b51593b1a Bug 884362 - Make IDBRequest::CaptureCaller use the cx stack and decxify a bunch of IDB. r=bent 2013-06-20 11:05:33 -07:00
Ed Morley
3b410f3a76 Backed out changeset 96036434bb78 (bug 875289) for mochitest-chrome failures on a CLOSED TREE
--HG--
rename : dom/promise/Promise.cpp => dom/future/Future.cpp
rename : dom/promise/Promise.h => dom/future/Future.h
rename : dom/promise/PromiseCallback.cpp => dom/future/FutureCallback.cpp
rename : dom/promise/PromiseCallback.h => dom/future/FutureCallback.h
rename : dom/promise/PromiseResolver.cpp => dom/future/FutureResolver.cpp
rename : dom/promise/PromiseResolver.h => dom/future/FutureResolver.h
rename : dom/promise/Makefile.in => dom/future/Makefile.in
rename : dom/promise/moz.build => dom/future/moz.build
rename : dom/promise/tests/Makefile.in => dom/future/tests/Makefile.in
rename : dom/promise/tests/moz.build => dom/future/tests/moz.build
rename : dom/promise/tests/test_promise.html => dom/future/tests/test_future.html
rename : dom/promise/tests/test_resolve.html => dom/future/tests/test_resolve.html
rename : dom/webidl/Promise.webidl => dom/webidl/Future.webidl
2013-06-20 11:20:49 +01:00
Andrea Marchesini
c8f972669f Bug 875289 - Renaming Future to Promise, r=mounir
--HG--
rename : dom/future/Makefile.in => dom/promise/Makefile.in
rename : dom/future/Future.cpp => dom/promise/Promise.cpp
rename : dom/future/Future.h => dom/promise/Promise.h
rename : dom/future/FutureCallback.cpp => dom/promise/PromiseCallback.cpp
rename : dom/future/FutureCallback.h => dom/promise/PromiseCallback.h
rename : dom/future/FutureResolver.cpp => dom/promise/PromiseResolver.cpp
rename : dom/future/FutureResolver.h => dom/promise/PromiseResolver.h
rename : dom/future/moz.build => dom/promise/moz.build
rename : dom/future/tests/Makefile.in => dom/promise/tests/Makefile.in
rename : dom/future/tests/moz.build => dom/promise/tests/moz.build
rename : dom/future/tests/test_future.html => dom/promise/tests/test_promise.html
rename : dom/future/tests/test_resolve.html => dom/promise/tests/test_resolve.html
rename : dom/webidl/Future.webidl => dom/webidl/Promise.webidl
2013-06-20 10:49:40 +02:00
Ehsan Akhgari
9c05ecd9ba Backed out changeset c1596bee956c (bug 884279) because of build bustage
--HG--
rename : dom/promise/Promise.cpp => dom/future/Future.cpp
rename : dom/promise/Promise.h => dom/future/Future.h
rename : dom/promise/PromiseCallback.cpp => dom/future/FutureCallback.cpp
rename : dom/promise/PromiseCallback.h => dom/future/FutureCallback.h
rename : dom/promise/PromiseResolver.cpp => dom/future/FutureResolver.cpp
rename : dom/promise/PromiseResolver.h => dom/future/FutureResolver.h
rename : dom/promise/Makefile.in => dom/future/Makefile.in
rename : dom/promise/moz.build => dom/future/moz.build
rename : dom/promise/tests/Makefile.in => dom/future/tests/Makefile.in
rename : dom/promise/tests/moz.build => dom/future/tests/moz.build
rename : dom/promise/tests/test_promise.html => dom/future/tests/test_future.html
rename : dom/promise/tests/test_resolve.html => dom/future/tests/test_resolve.html
rename : dom/webidl/Promise.webidl => dom/webidl/Future.webidl
2013-06-19 21:57:57 -04:00
Andrea Marchesini
fd2f57afb9 Bug 884279 - Rename Future to Promise. r=mounir
--HG--
rename : dom/future/Makefile.in => dom/promise/Makefile.in
rename : dom/future/Future.cpp => dom/promise/Promise.cpp
rename : dom/future/Future.h => dom/promise/Promise.h
rename : dom/future/FutureCallback.cpp => dom/promise/PromiseCallback.cpp
rename : dom/future/FutureCallback.h => dom/promise/PromiseCallback.h
rename : dom/future/FutureResolver.cpp => dom/promise/PromiseResolver.cpp
rename : dom/future/FutureResolver.h => dom/promise/PromiseResolver.h
rename : dom/future/moz.build => dom/promise/moz.build
rename : dom/future/tests/Makefile.in => dom/promise/tests/Makefile.in
rename : dom/future/tests/moz.build => dom/promise/tests/moz.build
rename : dom/future/tests/test_future.html => dom/promise/tests/test_promise.html
rename : dom/future/tests/test_resolve.html => dom/promise/tests/test_resolve.html
rename : dom/webidl/Future.webidl => dom/webidl/Promise.webidl
2013-06-19 20:57:38 -04:00
Ehsan Akhgari
556060ee93 Bug 865256 - Part 2: Rename WaveTable to PeriodicWave; r=roc
--HG--
rename : content/media/webaudio/WaveTable.cpp => content/media/webaudio/PeriodicWave.cpp
rename : content/media/webaudio/WaveTable.h => content/media/webaudio/PeriodicWave.h
rename : content/media/webaudio/test/test_waveTable.html => content/media/webaudio/test/test_periodicWave.html
rename : dom/webidl/WaveTable.webidl => dom/webidl/PeriodicWave.webidl
2013-06-19 18:24:26 -04: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
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
Boris Zbarsky
919f238e96 Bug 884401. Remove the hasXPConnectImpls annotations for HTMLElement, Element, and Node in WebIDL bindings, since all those are gone. r=peterv 2013-06-19 14:48:43 -04:00
Boris Zbarsky
508d09f9f8 Bug 883827. Make Optional<NonNull<T>> and Optional<OwningNonNull<T>> nicer to use by having their const Value() method return a T&. r=peterv 2013-06-19 14:48:43 -04:00
Andrea Marchesini
cac6aa669b Bug 841442 - Move HTMLFormElement to WebIDL, r=bz 2013-06-19 10:24:37 -04: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
Boris Zbarsky
4cb7712ac9 Bug 883358 part 2. Use the new information in bindings error reporting. r=smaug 2013-06-17 16:31:13 -04:00
Ryan VanderMeulen
c8233b1b9b Backed out 3 changesets (bug 883358) for Android mochitest-3 failures on a CLOSED TREE.
Backed out changeset 84b35dd1879d (bug 883358)
Backed out changeset b5e6522257cb (bug 883358)
Backed out changeset 757a3f2e5de6 (bug 883358)
2013-06-17 19:51:12 -04:00
Boris Zbarsky
6c79df6cef Fix test fallout from bug 883358 so we can stop having a CLOSED TREE. No review. 2013-06-17 18:24:04 -04:00
Boris Zbarsky
f9c3279c5d Bug 883358 part 2. Use the new information in bindings error reporting. r=smaug 2013-06-17 16:31:13 -04:00
Boris Zbarsky
fcce6063dd Bug 882653 part 5. Improve WebIDL binding error reporting for overload resolution failures, unions, non-finite floats. r=smaug 2013-06-17 13:07:04 -04:00
Boris Zbarsky
01843e3dc6 Bug 882653 part 4. Improve the WebIDL binding error reporting for the not-sequence, not-callable, not-dictionary, not-date, and invalid-enum-value cases. r=smaug 2013-06-17 13:07:03 -04:00
Boris Zbarsky
cf49b7e92e Bug 882653 part 3. Make the "does not implement interface" error reporting better in WebIDL bindings. r=smaug 2013-06-17 13:07:03 -04:00
Boris Zbarsky
ce26c7ab39 Bug 882653 part 2. Make the "not an object" error reporting better in WebIDL bindings. r=smaug
This also adds infrastructure to generally indicate to the
js-to-native conversion exactly what is being converted.
2013-06-17 13:07:03 -04:00
Boris Zbarsky
a552fc6664 Bug 882653 part 1. Improve error reporting for bogus this objects in WebIDL bindings. r=smaug 2013-06-17 13:07:03 -04:00
Boris Zbarsky
0ac8350533 Bug 882547. Treat undefined values in WebIDL dictionaries as missing. r=smaug 2013-06-17 13:07:03 -04:00
Josh Matthews
e9baa064b2 Bug 865257 - Implement MediaStreamAudioDestinationNode. r=ehsan,roc 2013-05-21 15:17:47 -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
cffa62184d Bug 851465 - Remove slim wrappers - remove various slim wrapper code and checks. r=bholley. 2013-04-19 21:57:18 +02:00
James Kitchener
aaa284cd89 Bug 796850 - Change XMLHttpRequest interface to support ByteString r=bz 2013-06-13 01:20:10 -04:00
James Kitchener
6d46bd7a62 Bug 796850 - Implement Code Generation for Bytestring in WebIDL bindings r=bz 2013-06-13 01:18:35 -04:00
James Kitchener
8740436c04 Bug 796850 - Implement WebIDL parser support for Bytestring r=bz 2013-06-13 01:15:35 -04:00
Boris Zbarsky
5f569d0d0e Bug 880367 part 3. Add support for [ChromeOnly] on interface objects. r=smaug 2013-06-13 01:12:37 -04:00
Boris Zbarsky
510f0068e6 Bug 880367 part 2. Make ordering of named constructors in codegen deterministic. r=smaug
I ran into this when looking at the diff in codegen from part 1.
2013-06-13 01:12:33 -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
Andrea Marchesini
939f013b5f Bug 856410 - Implement futures - Part 1: Constructor, webidl, Done(). r=mounir, r=bz 2013-06-11 21:41:21 -04:00
Andrea Marchesini
5bd0488290 Bug 856410 - Implement futures - Part 0: ErrorResult::StealJSException. r=bz 2013-06-11 21:41:21 -04:00
Ms2ger
68ea30a57e Bug 875784 - Move MozTimeManager to WebIDL; r=smaug 2013-06-12 09:00:07 +02:00
Ms2ger
36892e3a5f Bug 860731 - Part a: Add 'extern' to the definition of EnumEntry tables; r=bz 2013-06-12 08:55:26 +02:00
Ehsan Akhgari
bcac308338 Bug 815643 - Part 1: Implement the DOM bindings for ConvolverNode; r=roc
--HG--
extra : rebase_source : 9f6853dcaeeac1f36aa8c2ee90991a7f0ea0b145
2013-06-10 16:07:55 -04:00
Guillaume Abadie
73226a51be Bug 879954 - Implement OES_texture_float_linear - r=bjacob 2013-06-10 16:00:52 -04:00
Sankha Narayan Guria
5304247273 Bug 880265 - Remove AudioBufferSourceNode.gain; r=ehsan 2013-06-08 00:55:04 +05:30
Boris Zbarsky
f68f0da53c Bug 872669. Slightly speed up our named proxy gets by making use of the inline chars/length getters we can have when our id is an atom. r=waldo,peterv 2013-06-07 22:45:46 -04:00
Boris Zbarsky
9f09fecc19 Bug 877281 part 6. Replace ${jsvalPtr} with a MutableHandle ${jsvalHandle}. r=peterv
It's a little unfortunate that we need both ${jsvalHandle} and
${jsvalRef}, but the only other option is to consistently have a
MutableHandle in this code.  If the thing we have to work with is a
Rooted, that means doing JS::MutableHandle<JS::Value>(&myRooted) as
the thing to substitute for ${jsvalHandle}.  Just using "&myRooted"
doesn't work, because things like "&myRooted.set()" or
"&myRooted.address()" fail, even if parenthesized as
"(&myRooted).set()", because &myRooted is actually a Rooted*, not a
MutableHandle.

We could go the JS::MutableHandle<JS::Value>(&myRooted) route if
desired; it would primarily uglify dictionary and sequence to-js
conversions.  With the setup in this patch, ideally it looks pretty
idiomatic except for the use of .set() instead of operator= on Rooted.
2013-06-07 22:45:46 -04:00
Boris Zbarsky
19af9fb8fa Bug 877281 part 4. Eliminate uses of ${valHandle} in binding conversions and make ${val} be a handle. r=peterv 2013-06-07 22:45:45 -04:00