Jim Chen
8739443257
Bug 1186467 - Update generated JNI bindings; r=me
2015-08-04 17:47:28 -04:00
Jim Chen
7706596d62
Bug 1186467 - Make NativeJSContainer and NativeJSObject extend JNIObject; r=snorp
...
JNIObject is the base class for any class that wish to use per-instance
native methods. It encapsulates the long native pointer that used to be
in NativeJSContainer.
2015-08-04 17:47:28 -04:00
Jim Chen
d836e4a08d
Bug 1186467 - Add some JNI utilities for convenience; r=snorp
...
This patch adds:
* Conversion operator from String::Param to String::LocalRef.
* More overloads of the jni::ThrowException function.
* name members to built-in types like jni::Object, jni::String, etc.
This allows using jni::Accessors::EnsureClassRef on built-in types
to get built-in class refs (e.g. jclass for java/lang/String).
* Ability to implicitly convert LocalRef<Cls> to LocalRef<Object>
* Fixes for bugs in LocalRef/GlobalRef where new refs are not created.
* Fixes for inaccurate uses of mozilla::Forward in favor of mozilla::Move
2015-08-04 17:47:28 -04:00
Karl Tomlinson
4876f80e75
bug 1190291 don't process blocks beyond aTicksToProcess in an offline graph r=padenot
...
--HG--
extra : rebase_source : 1f3d734e867f72125af6c3b87ac2217fc4bfee2c
2015-07-31 23:43:55 +12:00
Karl Tomlinson
0f7fc2c09c
bug 1184801 Test output of AnalyserNode with GainNode
...
--HG--
extra : rebase_source : 2158db1151e6b4dd3c862635c1bec4e0498a9135
2015-07-28 11:03:31 +12:00
Karl Tomlinson
8ea6318dc9
bug 1190291 move mNextStateComputedTime to local variable r=padenot
...
--HG--
extra : rebase_source : c273b9fcd0f2e6aacc33f81d85d651d49934c273
2015-07-29 17:13:23 +12:00
Karl Tomlinson
452d683354
bug 1190285 remove unused graph update indices r=roc
...
--HG--
extra : rebase_source : 8699f779b3e2e370815d563c248ac1c2d8bcba09
2015-07-31 21:36:05 +12:00
Karl Tomlinson
ab1d3a75d1
bug 1190285 remove unused MediaStreamGraphImpl::GetAudioPosition() r=roc
...
GetAudioPosition() has been unused since revision 6eb9af883b3b.
--HG--
extra : rebase_source : 870f135c10d26efe6560ba3cf8acb145d4466d7b
2015-07-29 19:29:20 +12:00
Karl Tomlinson
9005394c64
bug 1190285 unvirtualize MediaStream::AdvanceTimeVaryingValuesToCurrentTime() r=roc
...
--HG--
extra : rebase_source : 6a1fad0a4db718ede4256b91689250ebbfa97cfa
2015-08-03 12:28:19 +12:00
L. David Baron
fde56d96de
Bug 1187851 patch 5 - Make dynamic changes to perspective change fixed position containing block for descendants. r=roc
...
--HG--
extra : commitid : C2mD45KoQLU
2015-08-04 14:29:16 -07:00
L. David Baron
081dcc2a67
Bug 1187851 patch 4 - Fix URL in tests to be something that Shepherd recognizes. No review.
...
--HG--
extra : commitid : g9V0KzHbx6
2015-08-04 14:29:16 -07:00
Kit Cambridge
7e438a9230
Bug 1189543 - `pushManager.getSubscription()` should return `null` for nonexistent push subscriptions in workers. r=nsm
...
--HG--
extra : commitid : 1y3hC0xJqr6
extra : rebase_source : 29a7f65263d0d5d84a0940f1b8219b45b783b655
2015-08-04 13:43:23 -07:00
Sean Stangl
6dfab1fc9a
Bug 1188650 - Part 2/2 - Make shared/LOpcodes-shared.h. r=nbp
2015-08-03 15:48:19 -07:00
Sean Stangl
e465ac7a5f
Bug 1188650 - Part 1/2 - Rename LIR-Common.h to shared/LIR-shared.h. r=nbp
2015-07-28 15:25:07 -07:00
Daniel Holbert
a9dc552f7d
Bug 1187110
part 5: re-enable mochitest test_extra_inherit_initial.html on b2g debug. (no review)
2015-07-22 07:59:23 -07:00
Daniel Holbert
cd82fdcfb2
Bug 1187110
part 4: In test_extra_inherit_initial.html, only test every special-keyword with the first few values of each property (and then test one keyword per value). r=heycam
2015-08-04 14:05:22 -07:00
Daniel Holbert
c017fc50e7
Bug 1187110
part 3: Iterate across array of special keyword values, instead of hardcoded function-arguments, in test_extra_inherit_initial.html. r=heycam
2015-08-04 14:05:22 -07:00
Daniel Holbert
542ace2841
Bug 1187110
part 2: Use "let" instead of "var" in test_extra_inherit_initial.html, to make scoping more explicit. r=heycam
2015-08-04 14:05:22 -07:00
Daniel Holbert
a9de7f92ab
Bug 1187110
part 1: Use "for of" instead of "for in" to loop over an array in test_extra_inherit_initial.html. r=heycam
2015-08-04 14:05:12 -07:00
Eugen Sawin
b9e633ac47
Bug 1190558 - Add MP3 track demuxer seek tests. r=kinetik
2015-08-04 23:01:36 +02:00
Eugen Sawin
1c5bef0343
Bug 1190558 - Reset MP3 frame parser on track demuxer reset. r=kinetik
2015-08-04 23:01:36 +02:00
Bobby Holley
b5a26b0b15
Bug 1190496 - Hoist SharedThreadPool into xpcom. r=froydnj
...
--HG--
rename : dom/media/SharedThreadPool.cpp => xpcom/threads/SharedThreadPool.cpp
rename : dom/media/SharedThreadPool.h => xpcom/threads/SharedThreadPool.h
2015-08-04 14:00:58 -07:00
Bobby Holley
e7a16a397c
Bug 1190496 - Init SharedThreadPool from XPCOM rather than MediaDecoder. r=froydnj
2015-08-04 14:00:52 -07:00
Bobby Holley
99f6b1c31c
Bug 1190496 - Do shutdown on xpcom-shutdown-threads. r=cpearce
...
This happens after xpcom-shutdown, and is the notification we're supposed to
listen for to shutdown off-main-thread event queues.
2015-08-04 14:00:45 -07:00
Bobby Holley
ba39c86b4e
Bug 1190496 - Use the normal XPCOM way to dispatch to the main thread. r=cpearce
2015-08-04 14:00:39 -07:00
Bobby Holley
330f2a19c7
Bug 1190496 - Add a comment warning about MSCOM modes. r=cpearce
2015-08-04 14:00:30 -07:00
Bobby Holley
c4645a718b
Bug 1190496 - Namespace the SharedThreadPool.h include. r=cpearce
2015-08-04 14:00:25 -07:00
Bobby Holley
de2bb0bad9
Bug 1190496 - Remove dependency on VideoUtils.h for stack size. r=cpearce
2015-08-04 14:00:19 -07:00
Andrew McCreight
71ab6cac45
Bug 1189369, part 9 - Use early return in nsMaybeWeakPtr<T>::GetValue(). r=mak
2015-08-04 13:55:01 -07:00
Andrew McCreight
cff130b6b9
Bug 1189369, part 8 - Clean up some minor style issues in nsMaybeWeakPtr.h. r=mak
2015-08-04 13:55:01 -07:00
Andrew McCreight
e01c86d0ab
Bug 1189369, part 7 - Use nicer nsTArray functions in nsMaybeWeakPtrArray. r=mak
2015-08-04 13:55:01 -07:00
Andrew McCreight
27043d2398
Bug 1189369, part 6 - Inline AppendWeakElement and RemoveWeakElement. r=mak
...
This class is only instantiated three times, so it doesn't seem worth
the contortions to save a bit of code.
2015-08-04 13:55:01 -07:00
Andrew McCreight
fe85799ea3
Bug 1189369, part 5 - Use the nice cycle collector macro template for nsNavHistoryResult. r=mak
...
Also, fix up the CC template so it works.
2015-08-04 13:55:01 -07:00
Andrew McCreight
cec9b2142a
Bug 1189369, part 4 - Get rid of some old style QIs from nsMaybeWeakPtrArray. r=mak
2015-08-04 13:55:01 -07:00
Andrew McCreight
27edb194c3
Bug 1189369, part 3 - Inline nsMaybeWeakPtr_base. r=mak
...
nsMaybePtr<> is only ever instantiated with 3 different classes, so it
doesn't seem like it worth the contortions to save a little code.
2015-08-04 13:55:01 -07:00
Andrew McCreight
058dc9a336
Bug 1189369, part 2 - Don't implicitly convert nsMaybeWeakPtr to an nsCOMPtr. r=mak
...
This is only used in a few places, and it obscures what is happening.
2015-08-04 13:55:01 -07:00
Andrew McCreight
f197361a7f
Bug 1189369, part 1 - Remove trailing whitespace from some nsNavHistory* files. r=mak
2015-08-04 13:55:01 -07:00
Nikhil Marathe
767490fbd3
Bug 1190672
- Fix use of AutoReleasePromiseWorkerProxy in PushManager. r=catalinb
...
--HG--
extra : commitid : 3bkV8RpOeaU
extra : rebase_source : 3dffb8fc355ad4f5d670376a969a03448011e7ba
2015-08-03 21:47:16 -07:00
Kai Engert
80c4460491
Bug 1190794, Update to NSS 3.19.3 to pick up ca-certificates v 2.5, landing NSS_3_19_3_RC0, r=kwilson
2015-08-04 22:37:05 +02:00
Andrew McCreight
070bac14d5
Bug 1190608, part 5 - Sink the declaration of i in nsXULElement.cpp. r=poiru
2015-08-04 13:06:15 -07:00
Andrew McCreight
0da5862c52
Bug 1190608, part 4 - Brace a few ifs in nsXULElement.cpp. r=poiru
2015-08-04 13:06:14 -07:00
Andrew McCreight
c9f23a2889
Bug 1190608, part 3 - Remove some infallible new checks in nsXULElement.cpp. r=poiru
2015-08-04 13:06:14 -07:00
Andrew McCreight
b33b88ac2a
Bug 1190608, part 2 - Tuck elses in nsXULElement.cpp. r=poiru
2015-08-04 13:06:14 -07:00
Andrew McCreight
e7300e3a7f
Bug 1190608, part 1 - Delete trailing whitespace in nsXULElement.cpp and nsXULPrototypeCache.cpp. r=poiru
...
Also, change the mode line for nsXULElement.cpp to match reality, which is 4 space indentation.
2015-08-04 13:06:14 -07:00
Andrew McCreight
4d7a6fb042
Bug 1188234, part 4 - Don't append null to mChildren. r=smaug
...
Other code does not expect random nulls in this array, so avoid adding
them, just in case we somehow end up looking at it. This code returns
right after the append so it should be okay.
2015-08-04 13:06:14 -07:00
Andrew McCreight
d2b89d08f4
Bug 1188234, part 3 - Make allocation of nsXULPrototypeAttribute fallible in nsXULPrototypeElement::Deserialize(). r=smaug
...
If we read out a bogus value of |mNumAttributes|, it could be
extremely large, causing the allocation of |mAttributes| to fail.
2015-08-04 13:06:14 -07:00
Andrew McCreight
1403dc04f6
Bug 1188234, part 2 - Add bounds checking in nsXULPrototypeElement::Deserialize(). r=smaug
...
Make sure we don't do an out-of-bounds read if we read out a bogus value.
2015-08-04 13:06:14 -07:00
Andrew McCreight
b47cfa38e0
Bug 1188234, part 1 - Initialize |number|. r=smaug
...
If the first Read32() fails, |number| will be garbage.
2015-08-04 13:06:14 -07:00
Mike Conley
d9bdc6c0c8
Bug 1190344 - Add outerWindowID read-only property to editor binding. r=ehsan
...
--HG--
extra : rebase_source : 075dcc430a215cdeecb9c2695abd03a02950778e
2015-08-04 13:04:31 -04:00
Mike Conley
45df99ecea
Bug 1181475 - Refactor duplicateTabIn to avoid a race between swapping frameloaders and SessionStore. r=Mossop
...
A race between SessionStore tab duplication and swapBrowsersAndCloseOther was
causing us to usually display a duplicated tab before it was actually ready
to be shown. We were also being pretty inefficient, since SessionStore supports
being able to duplicate a tab into a new window.
--HG--
extra : rebase_source : eba9df742ad49a6ea8c8cc2d519fd6d95d77d1d1
2015-07-30 15:06:13 -04:00