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

493 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari 38d1ffea4e Bug 1043562 - Hide the Contacts API from the contexts that lack sufficient privileges, such as Firefox desktop and Android; r=smaug 2016-03-13 15:17:54 -04:00
Kyle Huey 9eea75a6f5 Bug 1252268: If the slow script dialog aborts an interval timer callback, don't schedule it again. r=bz 2016-03-10 01:50:56 -08:00
Jan de Mooij 7692130d1e Bug 1221421 part 2 - Add test. r=bz 2016-02-27 17:32:42 +01:00
Gregory Szorc 503851935a Bug 1249858 - Stop processing IPDL and WebIDL files during artifact builds; r=glandium
We don't process IPDL and WebIDL files during artifact builds. The
backend shouldn't need to care about them.

Before: 2001 total backend files; 2001 created; 0 updated; 0 unchanged; 0 deleted
After:  1945 total backend files; 1945 created; 0 updated; 0 unchanged; 0 deleted

After this change, we no longer write any .cpp files to the objdir
during config.status for artifact builds.

As part of this, we stopped generated webidlsrcs.mk and the build broke
because of an unguarded use in a Makefile.

After this change, only 102/3366 files in the objdir after
`mach configure` are not a) in _virtualenv b) named backend.mk
c) named Makefile (~950 each of backend.mk and Makefile).

MozReview-Commit-ID: 11AIn1i4x4f

--HG--
extra : rebase_source : ac90bb9f6be8b7b986aa0a61b3ccc203a18346a6
2016-02-19 21:46:29 -08:00
Boris Zbarsky 6f8f413e72 Bug 1216751 part 5. Remove the now-unnecessary value iterator infrastructure, since it's entirely handled via the %ArrayPrototype% methods now. r=qdot 2016-02-17 22:58:07 -05:00
Boris Zbarsky 6f458fb1f3 Bug 1216751 part 4. Implement forEach for iterable interfaces. r=qdot 2016-02-17 22:58:04 -05:00
Boris Zbarsky ac58157b15 Bug 1216751 part 3. For pair iterators, @@iterator should be an alias for "entries". Similarly for maplikes and "entries" and setlikes and "values". r=qdot 2016-02-17 22:58:02 -05:00
Boris Zbarsky dcb6669fbd Bug 1216751 part 2. For value iterators, "entries", "keys", and "values" must just come from Array.prototype. r=qdot 2016-02-17 22:58:00 -05:00
Boris Zbarsky a7cbbd23ab Bug 1216751 part 1. Restrict value iterators to interfaces that have indexed properties and pair iterators to interfaces that do not have indexed properties. r=qdot 2016-02-17 22:57:57 -05:00
Boris Zbarsky 8c34247af6 Bug 1248233. Make js::ReportOutOfMemory respect the autoJSAPIOwnsErrorReporting() flag on the context options. r=luke 2016-02-17 22:56:42 -05:00
Myk Melez a6aff185d2 Bug 1238576 - disable mozApps API on desktop/Android; r=ehsan,ochameau,bz,mcmanus,jmaher,marco 2016-02-08 11:24:22 -08:00
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Chris Peterson b4090821b2 Bug 1240592 - Remove unnecessary -Wno-uninitialized from dom/bindings. r=khuey 2016-01-15 23:40:24 -08:00
Tooru Fujisawa 88d3b3ecc6 Bug 1180290 - Part 5: Remove getter/setter variant for ThrowInvalidThis message. r=bz 2016-01-06 17:54:00 +09:00
Tooru Fujisawa 0063cbce8a Bug 1180290 - Part 2: Handle prefix in DefinePropertyById. r=till,smaug 2016-01-05 03:21:24 +09:00
Tom Tromey e385bd20d9 Bug 1235636 - rewrite PCToLineNumber; r=fitzgen 2016-01-04 09:18:56 -07:00
Tom Schuster 0adeb23681 Bug 603201 - Tests: Enable primitive receivers in [[Get]]. r=jorendorff 2015-12-21 23:43:06 +01:00
Catalin Badea 6e247e4c81 Bug 1221992 - Fix test using GetMostRecentWindow from the child process. r=smaug 2015-12-11 13:32:15 -05:00
Sebastian Hengst 114ca318d6 Backed out 2 changesets (bug 1221992) for almost permafailing M-e10s(2) on Linux debug. r=backout
Backed out changeset ad20808dd3c4 (bug 1221992)
Backed out changeset 7cdcda3e65fb (bug 1221992)
2015-12-05 21:13:41 +01:00
Catalin Badea 78b73592a0 Bug 1221992 - Fix test using GetMostRecentWindow from the child process. r=smaug 2015-12-04 19:14:44 +02:00
Wes Kocher bfbadfd96d Backed out 2 changesets (bug 1221992) for windows debug assertions in browser_perf-categories-js-calltree.js
Backed out changeset bcd90e591038 (bug 1221992)
Backed out changeset 6affaa386b9b (bug 1221992)

--HG--
extra : commitid : 4w08gUrbqQr
2015-12-03 15:56:59 -08:00
Catalin Badea 6c1a994648 Bug 1221992 - Fix test using GetMostRecentWindow from the child process. r=smaug 2015-12-03 23:19:29 +02:00
Boris Zbarsky 89a6485e7f Bug 1172246. Make sure CallSetup's handling of exceptions it wants to deal with itself works even when the callable is a JSNative that uses the JS_Report*Error APIs instead of throwing exceptions in the usual way. r=bholley 2015-06-08 16:16:27 -04:00
Boris Zbarsky 0baeed7ed3 Bug 1170760 part 10. Add subclassing support to Promise::Resolve. r=baku,efaust 2015-11-25 15:48:09 -05:00
Boris Zbarsky c9985b9298 Bug 1170760 part 4. Change Promise::Constructor to run in the Xray compartment when new Promise happens over Xrays. r=peterv 2015-11-25 15:48:08 -05:00
Phil Ringnalda 53745073f0 Back out 13 changesets (bug 1170760) for Gu bustage in homescreen/test/unit/apps_test.js
CLOSED TREE

Backed out changeset 5d84599a8846 (bug 1170760)
Backed out changeset 6104fe33d5f5 (bug 1170760)
Backed out changeset 1dfb229da01d (bug 1170760)
Backed out changeset f380faddfdd8 (bug 1170760)
Backed out changeset 541831dc6b57 (bug 1170760)
Backed out changeset 6a5b7dfab882 (bug 1170760)
Backed out changeset ee514a256922 (bug 1170760)
Backed out changeset 3c2c1acc34ee (bug 1170760)
Backed out changeset dc2a7f5dc5d6 (bug 1170760)
Backed out changeset b312a08fbab5 (bug 1170760)
Backed out changeset cb6aba9b8497 (bug 1170760)
Backed out changeset 39e4f5b1ba40 (bug 1170760)
Backed out changeset 7d79cce3630a (bug 1170760)
2015-11-25 21:02:55 -08:00
Boris Zbarsky 93faa5b1b0 Bug 1170760 part 10. Add subclassing support to Promise::Resolve. r=baku,efaust 2015-11-25 15:48:09 -05:00
Boris Zbarsky 56a0511eb4 Bug 1170760 part 4. Change Promise::Constructor to run in the Xray compartment when new Promise happens over Xrays. r=peterv 2015-11-25 15:48:08 -05:00
Mike Hommey ca5e376580 Bug 1227380 - Move LOCAL_INCLUDES and CXXFLAGS to moz.build in dom/bindings/. r=mshal 2015-11-25 08:23:17 +09:00
Boris Zbarsky 888bc2d651 Back out bug 1172246 because of mochitest-JP bustage. Who needs tests that we care about running on try anyway? 2015-11-20 18:00:27 -05:00
Boris Zbarsky bc25c907d6 Bug 1172246. Make sure CallSetup's handling of exceptions it wants to deal with itself works even when the callable is a JSNative that uses the JS_Report*Error APIs instead of throwing exceptions in the usual way. r=bholley 2015-06-08 16:16:27 -04:00
Boris Zbarsky 7c672a451f Bug 1225392 part 2. WebIDL autogenerated iterators should chain up to %IteratorPrototype%. r=qdot 2015-11-18 18:26:07 -05:00
Mike Hommey 762aba02cd Bug 1221453 - Use ObjDirPaths for GENERATED_INCLUDES and merge with LOCAL_INCLUDES. r=gps 2015-11-06 09:59:21 +09:00
Boris Zbarsky 7ae3b58eb6 Bug 1039986. Make Function.prototype.toString work on Web IDL interface objects. r=jorendorff,peterv 2015-10-27 16:25:14 -04:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Boris Zbarsky a9549930a2 Bug 1215559. Create separate iterator native types for one-type and two-type iterators, so we don't force the one-type case to implement GetKeyAtIndex. r=qdot 2015-10-16 15:54:51 -04:00
Boris Zbarsky b9fcc36e5e Back out revision 5985a4717758 (bug 1215559) because the Linux compiler is not happy with the template using bits 2015-10-16 16:16:36 -04:00
Boris Zbarsky ab96208de8 Bug 1215559. Create separate iterator native types for one-type and two-type iterators, so we don't force the one-type case to implement GetKeyAtIndex. r=qdot 2015-10-16 15:54:51 -04:00
Kyle Machulis 09d9074cb2 Bug 1085293 - WebIDL Iterable Implementation and Tests; r=bz 2015-10-15 12:06:13 -07:00
Kyle Machulis 95180ed852 Backout of 91e9d59af87e, 96acfd0d21cf (Bug 1085293) due to build bustage 2015-10-14 12:00:41 -07:00
Kyle Machulis d51149c624 Bug 1085293 - WebIDL Iterable Implementation and Tests; r=bz 2015-10-14 11:33:46 -07:00
Martin Thomson 8ba5de483c Bug 1209744 - Switch to setIdentityProvider for js-implemented bindings test, r=jib
--HG--
extra : transplant_source : %05%2C%E2%F4%89O%18%22r%29Q%22%3E%171%A6%FCMy%C9
2015-10-05 13:07:33 -07:00
Martin Thomson 4574e04530 Bug 1155923 - Add Deprecated attribute to interfaces, r=peterv
--HG--
extra : transplant_source : q%B6%21%A22%A6%8Ftg%C8%1D%02%91/%C7%8A%AA%E2%C6g
2015-09-28 11:25:04 -07:00
Martin Thomson afdaddf1d7 Bug 1155923 - Removing moz prefix from RTC interfaces, r=jesup,smaug
--HG--
extra : transplant_source : %0Adu%1E%A6j%9E%C2B%25%ECruo%F7%7Fc%EA%99%18
2015-09-28 11:25:04 -07:00
Carsten "Tomcat" Book 4952084732 Backed out 3 changesets (bug 1155923) for causing test failures in promises-call.html
Backed out changeset 321a932e01a7 (bug 1155923)
Backed out changeset 6ac38acd6ab2 (bug 1155923)
Backed out changeset 2981db92416a (bug 1155923)
2015-09-28 14:02:41 +02:00
Martin Thomson d4f1b7fa44 Bug 1155923 - Add Deprecated attribute to interfaces. r=peterv
--HG--
extra : transplant_source : %E7_%24v%EA%08%AB1%A2%2BPl%AE%85%B9-%A6%D9%FEG
2015-09-24 16:31:47 -07:00
Martin Thomson 9c3bef623e Bug 1155923 - Removing moz prefix from RTC interfaces. r=jesup r=smaug
--HG--
extra : transplant_source : 1%F0%A8%03%D3%B9OAJW%06v%21%F1WX%03im%22
2015-09-24 16:31:47 -07:00
Boris Zbarsky 78b27415bc Bug 983301 part 1. Handle JS-to-native conversion for Promise values via calling Promise::Resolve on whatever value was passed in (except if the type is nullable and the passed-in value is null or undefined). r=peterv 2015-07-31 13:30:55 -04:00
Boris Zbarsky 89016f2d0c Bug 1186696. Event handlers on JS-implemented webidl interfaces should have the same behavior as other event handlers: accept all values, convert non-objects to null. r=smaug 2015-07-28 12:35:39 -04:00
Tom Tromey 9f3b16bf4c Bug 1148593 - Create async stack in callback objects. r=bz, r=fitzgen
--HG--
extra : rebase_source : f9b507d8f005dbca6f40f510ca41a0cbb03aebf9
2015-07-24 07:01:00 -04:00