Nick Fitzgerald
43962cb694
Bug 1038238 - Part 1: Make Error instances use SavedFrame objects for their
...
stacks; r=jorendorff
2015-03-27 13:08:46 -07:00
Kyle Huey
04d1520cc7
No bug: fix typo. DONTBUILD
2015-03-21 10:43:15 -07:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-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_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Boris Zbarsky
dc24477d79
Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.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/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Daniel Holbert
082fd9cd7f
Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
...
This patch was generated by a script. Here's the source of the script for
future reference:
find . \( -iname "*.cpp" -o -iname "*.h" \) | \
xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
Ben Kelly
92143814c0
Bug 1110487 P1 Fix some non-unified bustage before adding new code. r=ehsan
2015-03-16 07:10:36 -07:00
Jonathan Griffin
d1c61bc9b6
Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown
2015-02-06 16:30:37 -08:00
Wes Kocher
8e389f1730
Merge inbound to m-c a=merge CLOSED TREE
2015-03-09 18:27:28 -07:00
Boris Zbarsky
cc3b42e52a
Bug 1140573 part 3. Drop the parent argument from js::NewFunctionWithReserved. r=waldo
2015-03-09 12:50:07 -04:00
Paolo Amadini
e5306bdeb5
Bug 1140472 - Set an async stack when invoking promise handlers. r=bz
2015-03-09 12:36:29 +00:00
Boris Zbarsky
e0532c037e
Bug 1122238 part 3. Drop all the DOMException-cloning and sanitization gunk we added in bug 1107592 and bug 1107953 and bug 1117242 . r=bholley
2015-03-06 01:08:06 -05:00
Olli Pettay
ed036ca142
Bug 1136357 - Make Promise skippable, r=mccr8
...
--HG--
extra : rebase_source : e9679e163117aeabb69e3d919a1eaaba5b02b28c
2015-02-25 00:24:45 +02: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
Ms2ger
b83d21c58c
Bug 914067 - Remove JSVAL_VOID from dom/; r=jst
2015-01-14 08:59:06 +01:00
Boris Zbarsky
9e129add69
Bug 1120235. Various promise resolve/reject functions should actually return undefined instead of ending up accidentally returning their callee. r=nsm
2015-01-12 22:35:33 -05:00
Edgar Chen
10ca187446
Bug 1112471 - Part 2: DOM Changes for getting icc service state API. r=smaug
2014-12-26 10:11:20 +08:00
Ehsan Akhgari
3ca715b071
Bug 1118612
- Mark virtual overridden functions as MOZ_OVERRIDE in dom/promise; r=baku
2015-01-07 11:51:28 -05:00
Andrea Marchesini
8e36934a09
Bug 1057994 - DataStore should not dispatch runnables in a worker when it is shutting down, r=bent
...
--HG--
rename : dom/datastore/tests/file_basic_worker.html => dom/datastore/tests/file_worker_close.html
rename : dom/datastore/tests/test_basic_worker.html => dom/datastore/tests/test_worker_close.html
2014-12-17 14:49:36 +00:00
Dan Gohman
8bacfeb968
Bug 1054671 - Constify static callback arrays r=ehsan
2014-12-16 16:30:39 -08:00
Nigel Babu
b91168c141
Backed out changeset 6a3a0e3bfaf6 (bug 1054671) for B2G emulator build bustage on CLOSED TREE
2014-12-16 11:24:15 +05:30
Dan Gohman
d791adb2b0
Bug 1054671 - Constify static callback arrays r=ehsan
2014-12-15 20:53:58 -08:00
Ehsan Akhgari
09a262787c
Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
...
We are white-listing the existing set of tests that use setTimeout
like this. Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.
This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
Boris Zbarsky
8ec9d58716
Bug 1087851 part 1. Rename WrapNewBindingObject to GetOrCreateDOMReflector to make it clearer what it does. r=peterv for the idea; patch itself is just search-and-replace
2014-11-26 14:25:20 -05:00
Carsten "Tomcat" Book
b742ef4f34
Backed out changeset 73c4111cab17 (bug 1083361) for bustage
2014-11-20 09:51:03 +01:00
David Rajchenbach-Teller
b71d04be6e
Bug 1083361 - Exposing a PromiseDebugging API to monitor uncaught DOM Promise. r=bz
2014-11-19 14:31:06 +01:00
Nick Fitzgerald
cde18cdd55
Bug 1084065 - Part 2: Make DOM Promise call the JS::dbg::onPromiseSettled hook; r=bz
2014-11-17 10:44:00 +01:00
Nick Fitzgerald
8100009108
Bug 1083210 - Part 2: Make DOM Promise call the JS::dbg::onNewPromise hook. r=bz
2014-11-17 10:42:00 +01:00
Paolo Amadini
6ff08403e2
Bug 1095443 - Ensure processNextEvent never blocks after processing a Promise microtask. r=bz
2014-11-11 13:47:28 +00:00
Ben Kelly
600ab9bfb9
Bug 1091091: Support ErrorResult in Promise::MaybeReject(). r=bz
2014-10-30 11:12:09 -04:00
Jan-Ivar Bruaroey
9a214e3d2f
Bug 1033885 - add mediaDevices.getUserMedia with promises. r=bz, r=jesup
2014-09-20 02:20:41 -04:00
Paolo Amadini
e1e4b620e8
Bug 1013625 - Process Promise resolution runnables outside of main event queue. r=bz,khuey
2014-10-28 12:08:19 +00:00
Paolo Amadini
63d57bf61d
Bug 1083783 - Move Promise.cpp to a model where settlement immediately queues the invocation of "then" callbacks. r=bz
2014-10-28 12:08:19 +00:00
Nikhil Marathe
36db9eff13
Bug 1039846 - Patch 4: FetchDriver with about:, blob: and data: fetching. r=baku
...
--HG--
extra : transplant_source : o%29%0E%5D%90%11%FA%1ExO%26%7E%9D_%F2%E7%0B%FE%21%B2
2014-10-06 11:01:20 -07:00
Boris Zbarsky
ec85f9090b
Bug 1084030. Store the promise creation and settlement timestamps and expose that information via PromiseDebugging. r=nsm
2014-10-20 13:02:21 -04:00
Boris Zbarsky
fdaecfb699
Bug 1083950. Add a way to get the promises that depend on a given promise via PromiseDebugging. r=nsm
2014-10-19 22:27:36 -04:00
Boris Zbarsky
ea1a6ff5e4
Bug 1083851 part 4. Expose promise stacks on PromiseDebugging.
2014-10-19 22:27:12 -04:00
Boris Zbarsky
37b389182b
Bug 1083851 part 3. Capture stacks at promise fulfillment time. r=nsm
2014-10-19 22:27:12 -04:00
Boris Zbarsky
3f89b93b91
Bug 1083851 part 2. Capture stacks at promise rejection time. r=nsm
2014-10-19 22:27:12 -04:00
Boris Zbarsky
f7f99c8c9b
Bug 1083851 part 1. Capture allocation stacks at promise creation time. r=nsm
2014-10-19 22:27:12 -04:00
Tom Schuster
bf9324688d
Bug 1069694 - Remove OldDebugAPI from the browser. r=shu
2014-10-12 19:37:41 +02:00
Peter Van der Beken
dcda2ba9bb
Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
...
--HG--
extra : rebase_source : 89c476cd9436530b2df5acc903909e34188417a0
2014-10-07 11:44:49 +02:00
Bobby Holley
94bd419133
Bug 1070842 - Remove ambiguous globals from xpc::ErrorReporter and make meanings explicit. r=bz
2014-09-29 15:34:20 +02:00
Nikhil Marathe
8864b64406
Bug 1062323 - Chained promises should resolve asynchronously. r=bz
...
--HG--
extra : transplant_source : %0C%E0%D2%0FEI/%D8s%E2%D07%8B%DE%25g%96%85%22r
2014-09-23 22:00:58 -07:00
Bobby Holley
db168e5cde
Bug 1065811 - Expose isCallable()/isConstructor() in JS_PUBLIC_API. r=billm
2014-09-25 13:13:28 +02:00
Ryan VanderMeulen
16e1505ea9
Backed out changeset ebd8df8e8631 (bug 1062323) for Gaia unit test failures.
2014-09-24 17:08:28 -04:00
Nikhil Marathe
95c8c96ad5
Bug 1062323 - Chained promises should resolve asynchronously. r=bz
2014-09-22 16:37:40 -07:00
Bobby Holley
e3eca2660e
Bug 1070696 - Rename xpc::GetNativeForGlobal to xpc::NativeGlobal and make it accept non-global JSObjects. r=smaug
...
The method is infallible, and making the callers invoke
js::GetGlobalForObjectCrossCompartment manually is dumb.
2014-09-21 21:31:53 +02:00
Ehsan Akhgari
8908aea348
Bug 1068020 - Fix more bad implicit constructors in DOM; r=baku
2014-09-17 17:53:42 -04:00
Yuan Xulei
fcfee0071f
Bug 1035060 - Implement AbortablePromise. r=bz
2014-09-12 10:18:49 +08:00