Граф коммитов

431 Коммитов

Автор SHA1 Сообщение Дата
Andrew McCreight 9e8f4b219e Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
ziyunfei e1db0f779e Bug 1102219 - Part 4: Replace `String.prototype.contains` with `String.prototype.includes` in chrome code. r=till 2015-04-30 00:32:05 +09:00
Andrea Marchesini 789ad8312d Bug 1156632 - Remove unused forward class declarations - patch 3 - dom/{events,xbl,xslt,xul} and others, r=ehsan 2015-04-22 08:29:18 +02:00
Boris Zbarsky 806a236c64 Bug 1129239. Don't require 'optional' keyword on trailing dictionary arguments if the dictionary has a required member. r=smaug 2015-04-17 12:13:25 -04:00
Paul Adenot a1ddbe8bcb Bug 1148496 - Allow to set an interface member as [Deprecated] in WebIDL. r=bz,smaug 2015-04-14 17:03:49 +02:00
Boris Zbarsky 9aaa3c401c Bug 1153516. Stop using loose is() comparisons in test_dom_xrays.html. r=bholley 2015-04-13 19:36:44 -04:00
Jason Orendorff e55a1c46a2 Bug 1123875 - Add a test for strict assignment to a readonly WebIDL attribute. r=peterv.
--HG--
extra : rebase_source : 6ed902dfed6a7678f813fc21a4affef798484f1a
extra : source : 06dbe25231c283191c1cc4fea66c1c76add2c91c
2015-03-26 06:13:18 -05:00
Wes Kocher 2f6554bf7c Backed out 20 changesets (bug 1138499, bug 1148750, bug 1149563, bug 1148652, bug 1123875, bug 1145636, bug 1147660, bug 1148568, bug 1142828) for talos other timeouts CLOSED TREE
Backed out changeset 3fc49391f7fe (bug 1148750)
Backed out changeset 75e867c1c39e (bug 1148750)
Backed out changeset 7f6a4e3976f0 (bug 1148750)
Backed out changeset 91d726011835 (bug 1149563)
Backed out changeset fc7c3cf0e526 (bug 1148652)
Backed out changeset 35a01c7e0f8d (bug 1148652)
Backed out changeset 3125cc5a7a65 (bug 1148652)
Backed out changeset a9f10724b83b (bug 1148568)
Backed out changeset 87132a806ab0 (bug 1147660)
Backed out changeset e6b410c7b847 (bug 1147660)
Backed out changeset c350fe54d9c0 (bug 1147660)
Backed out changeset e4b971996b94 (bug 1147660)
Backed out changeset f221db19fb75 (bug 1147660)
Backed out changeset c4599f0cff00 (bug 1142828)
Backed out changeset c7388a9c3935 (bug 1138499)
Backed out changeset 9b51b38317d6 (bug 1138499)
Backed out changeset ad243a3cd06f (bug 1138499)
Backed out changeset fafda276abd9 (bug 1138499)
Backed out changeset 0a00470fdc2a (bug 1145636)
Backed out changeset 06dbe25231c2 (bug 1123875)

--HG--
extra : amend_source : be3290b09642feacd7f517f1e354126b2e905998
2015-04-01 19:17:45 -07:00
Jason Orendorff 68464c731e Bug 1123875 - Add a test for strict assignment to a readonly WebIDL attribute. r=peterv.
--HG--
extra : rebase_source : 3da66c3cd20099f907f58cdc0de2ce31e3bf95a8
2015-03-26 06:13:18 -05:00
Nick Fitzgerald 2edf06beb3 Bug 1038238 - Part 0: Make js/src/vm/SavedStacks.h use 1-based column numbers,
like js::ComputeStackString and other browsers do; r=jorendorff

https://bugzilla.mozilla.org/show_bug.cgi?id=1038238
2015-03-27 13:08:46 -07:00
Tom Schuster 2de182147c Bug 837630 - Stop hiding __proto__ from O.getOwnPropertyNames. r=Waldo,peterv,past 2015-03-19 17:42:15 +01:00
Boris Zbarsky d0ebde3bb7 Bug 1117172 part 2. Change the non-wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, Codegen.py, and
StructuredClone.cpp.  The rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/WrapObject\((JSContext *\* *(?:aCx|cx)),(\s*)(JS::MutableHandle<JSObject\*> aReflector)/WrapObject(\1,\2JS::Handle<JSObject*> aGivenProto,\2\3/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx)), this, aReflector/\1, this, aGivenProto, aReflector/'
2015-03-19 10:13:32 -04:00
Jonathan Griffin d1c61bc9b6 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Paolo Amadini e5306bdeb5 Bug 1140472 - Set an async stack when invoking promise handlers. r=bz 2015-03-09 12:36:29 +00:00
Ehsan Akhgari 0857b0109c Bug 1050456 - Part 1: Prevent prerendered pages from showing the slow script dialog; r=bzbarsky 2015-03-04 01:30:47 -05:00
Boris Zbarsky 746d0e6061 Bug 1133760 part 2. Get rid of unforgeable holders; just store unforgeable properties for DOM proxies directly on the expando object. r=peterv 2015-02-26 09:40:07 -05:00
Boris Zbarsky 5c011f5e57 Bug 1134955. Be more careful with how we stringify property ids for error message reporting. r=jorendorff 2015-02-20 14:16:26 -05:00
Boris Zbarsky b864faa155 Bug 1134112 part 2. When doing dictionary init, if we have a non-optional union member just go ahead and uninit it before we try initing it. That way even if it's already been initialized (e.g. because we default-initialized at some point) things will still work correctly. r=peterv 2015-02-19 14:36:35 -05:00
Boris Zbarsky fc8317f7a4 Bug 1134112 part 1. When doing fast-init of a Web IDL dictionary, do fast-init of its dictionary members and its ancestors too. r=peterv 2015-02-19 14:36:26 -05:00
Boris Zbarsky ff62f8c4c5 Bug 1130364. Fix the handling of nestingLevel to actuall increment it more than once. r=peterv 2015-02-09 11:42:27 -05:00
Boris Zbarsky 3d347c5027 Bug 1127206. Don't try to do binding UnwrapArgImpl on worker threads. It can't do anything useful there. r=peterv 2015-01-30 13:54:43 -05:00
Tooru Fujisawa 22c2568415 Bug 1069416 - Part 7: Remove JS_HAS_SYMBOLS from dom. r=smaug 2015-01-28 13:06:38 +09:00
Ehsan Akhgari 3ccf064efa Bug 1069719 follow-up: Fix indentation
DONTBUILD
2015-01-26 11:23:49 -05:00
Ehsan Akhgari 866d758e54 Bug 1069719 - Abort the execution of scripts when a prerendered page calls an IDL blacklisted function; r=bzbarsky 2015-01-26 11:02:56 -05:00
Boris Zbarsky cbb271e250 Bug 1107443 part 2. Stop defining non-configurable properties on the window in dom and xpconnect JS files. r=peterv 2015-01-23 09:54:14 -05:00
Boris Zbarsky 0221e36996 Bug 1118978 part 3. Add support for DependsOn=DeviceState. r=peterv 2015-01-15 17:39:01 -05:00
Boris Zbarsky 01f8cea46f Bug 1118978 part 2. Introduce [Affects] and [DependsOn] extended attributes in Web IDL. r=peterv 2015-01-15 17:39:01 -05:00
Wes Kocher 7777c308be Backed out 4 changesets (bug 1118978) for b2g build bustage on a CLOSED TREE
Backed out changeset e0ecb643aa2b (bug 1118978)
Backed out changeset bf31c6661b2c (bug 1118978)
Backed out changeset 5a4839c2fd53 (bug 1118978)
Backed out changeset 40b84c88ed16 (bug 1118978)
2015-01-15 15:52:41 -08:00
Boris Zbarsky 6a93d5c443 Bug 1107953 part 5. Add tests for promise rejections with content-side DOMExceptions, and fix the promise code so those tests actually pass. r=bholley 2015-01-15 17:39:02 -05:00
Boris Zbarsky 24431c3a52 Bug 1107953 part 3. Make Promise pass in their object compartment when calling their various callbacks. r=bholley
--HG--
rename : dom/bindings/test/test_exception_options_from_jsimplemented.html => dom/bindings/test/test_promise_rejections_from_jsimplemented.html
2015-01-15 17:39:02 -05:00
Boris Zbarsky 7d49fcea6d Bug 1118978 part 3. Add support for DependsOn=DeviceState. r=peterv 2015-01-15 17:39:01 -05:00
Boris Zbarsky b2b9e0773f Bug 1118978 part 2. Introduce [Affects] and [DependsOn] extended attributes in Web IDL. r=peterv 2015-01-15 17:39:01 -05:00
Peter Van der Beken dc3a33aa88 Bug 1096328 - Remove nativeOwnership from Bindings.conf, make rooting analysis happy. r=bz.
--HG--
extra : rebase_source : 54a1e408aec6c7485152f18693047b2992251aff
2015-01-08 22:56:42 +01:00
Ehsan Akhgari 4354953b4f Bug 1118486 - Part 1: Use `= delete` instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Boris Zbarsky bad2ee9b82 Bug 1117167. Make the generated implementation classes for JS-implemented bindings store an nsIGlobalObject, not an nsPIDOMWindow, so we can use them in sandboxes. r=peterv 2015-01-08 11:57:19 -05:00
Boris Zbarsky 8fd98d4057 Bug 1107592 part 2. Allow chrome JS to directly throw content DOMExceptions that will propagate out to the web script. r=peterv 2015-01-02 17:08:33 -05:00
Boris Zbarsky 58dedbbec6 Bug 1117131. Output the JS hooks for our cache-clearing stuff for [Pure] properties on JS-implemented objects even if we have no interface object, since these live on instances. r=mccr8 2015-01-02 17:08:33 -05:00
Jan-Ivar Bruaroey f75be80939 Bug 1091898 - update test of exceptions from jsimplemented. r=jesup 2014-12-08 10:18:38 -06:00
Boris Zbarsky 76e076eb08 Bug 1092737 part 1. Update TextEncoder to various spec changes. r=emk 2014-11-21 14:58:45 -05:00
Andrea Marchesini 9d30f59efd Bug 1077393 - Rename ScalarValueString to USVString. r=smaug
--HG--
rename : dom/bindings/parser/tests/test_scalarvaluestring.py => dom/bindings/parser/tests/test_usvstring.py
rename : dom/bindings/test/test_scalarvaluestring.html => dom/bindings/test/test_usvstring.html
2014-11-20 12:58:00 +01:00
Jason Orendorff 2cacf236ed Bug 918828, part 1 - Change iteration code to call iterable[Symbol.iterator]() rather than iterable["@@iterator"](). r=Waldo with earlier review work by nbp.
--HG--
extra : rebase_source : 5780eed342b1780570650d140c7f14f966b7f1e1
2014-07-01 21:01:21 -05:00
Boris Zbarsky 96fe2231a2 Bug 1084001. Set the .name of DOM interface objects to the name of the interface. r=peterv 2014-10-25 00:50:28 -04:00
Peter Van der Beken d76c717d3c Bug 1068740 - Consider putting union types in the binding files where they're used. r=bz.
--HG--
extra : rebase_source : 7e0b1e2f60757b7758704dab3672ee829f3e4085
2014-10-01 20:43:26 +02:00
Jason Orendorff 3b9169d831 Bug 1079640 - Fix some tests that fail when ES6 symbols are disabled. r=bz. DONTBUILD.
--HG--
extra : rebase_source : 7544ce2f0b8e2e59050ed87d7aea757e4702c834
extra : amend_source : 00f15dbe7b3f700fe3f6debede75c3b9a272e504
2014-10-08 11:12:11 -05:00
Boris Zbarsky 2396718a16 Bug 1066432 followup. Remove bogus alerts from the test. 2014-09-30 22:14:27 -04:00
Boris Zbarsky 9804f71306 Bug 1066432. Update ForOfIterator to the changes in Web IDL's handling of sequences as iterables. We now commit to an iterable if we get a non-undefined value for the Symbol.iterator property, not just if we get a callable value. r=jorendorff 2014-09-30 21:26:28 -04:00
Peter Van der Beken 3d173cc6d6 Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, add tests. r=bholley.
--HG--
extra : rebase_source : cab515c373bd87a0cfbf05041be246c112c224e2
2014-09-26 16:29:31 +02:00
Boris Zbarsky cc0da71edc Bug 1030192 part 2. Codegen changes to handle cases when a sequence is actually overloaded with a dictionary. r=khuey 2014-09-24 09:11:30 -04:00
Boris Zbarsky 6c258577ab Bug 1071615. Make codegen fail when "A implements B" appears on a Web IDL file different from the file A is defined in. r=khuey 2014-09-24 09:11:29 -04:00
Boris Zbarsky 9b823d6509 Bug 958887 part 3. Fix codegen support for IDL attribute names and methods with dashes in them. r=peterv 2014-09-19 22:58:27 -04:00