Andrew McCreight
1bf6681a43
Bug 1256061 - Hold a strong reference to a request when we call a method on it. r=jdm
...
I think it is possible for the TimerCallbackHolder to fire off a
Notify() while the geolocation object and the nsGeolocationRequest are
only holding each other alive, so they would be freed by the cycle
collector the next time it runs, but we haven't run the cycle
collector yet. If that happens, then Geolocation::RemoveRequest()
would break the cycle, causing stuff to unravel and bad things to
happen. To fix this, we just hold the request alive in
TimerCallbackHolder::Notify(), which will also ensure that the
geolocation object is alive, hopefully preventing crashes.
This will make the Notify() behavior similar to what it was before bug
1238427, when the nsITimer object would hold a strong reference to the
request when the Notify() was being run.
2016-03-23 12:59:14 -07:00
Andrew McCreight
4e6a34a3d5
Bug 1256061 - Revert patch that didn't do anything.
2016-03-23 12:59:14 -07:00
Wes Kocher
34bdd69103
Backed out changeset af93bc155267 (bug 1257929) for failing the newly added assertions
...
MozReview-Commit-ID: AtMlqXDQaAA
2016-03-23 12:26:40 -07:00
Benjamin Bouvier
1d15c0b202
Bug 1253344: Defer br/br_if/br_table then-block definition to avoid indirections; r=sunfish
...
MozReview-Commit-ID: FeXMs4M7jHJ
--HG--
extra : rebase_source : c3f10f3dfca091733bb1edefd27e107d52108632
2016-03-23 19:57:58 +01:00
Benjamin Bouvier
2aa9a296cc
Bug 1253344: Remove unused pushPhi/popPhi in WasmIonCompile; r=luke
...
MozReview-Commit-ID: 4Il1Xisw0Ns
--HG--
extra : rebase_source : a91aad87c321b46df8934ffe79e1ea1772e30188
2016-03-17 16:29:59 +01:00
Nicolas B. Pierron
28a96e4120
Bug 1258748 - adjustPhiInputs: Add MBox in the predecessor block instead of the definition block. r=jolesen
2016-03-23 19:03:40 +00:00
Nicolas B. Pierron
8064d05be4
Bug 1247915 - IonMonkey adjustPhiInputs: Handle Phi operands artifact left by removing branches early. r=h4writer
2016-03-23 19:03:39 +00:00
Jim Chen
bcb596d239
Bug 1257319 - Remove BROADCAST GeckoEvent; r=me
...
Remove the now-obsolete BROADCAST GeckoEvent.
2016-03-23 14:42:38 -04:00
Jim Chen
d6e1f310e4
Bug 1257319 - Don't use broadcast event in AndroidContentController; r=rbarker
...
We should use observer service directly instead of broadcast event.
2016-03-23 14:42:38 -04:00
Jim Chen
78ae8cd6ef
Bug 1257319 - Convert broadcast event usage in HomeConfig.java; r=margaret
...
HomeConfig.java saved a list of events to be sent later in a batch. This
patch makes it save a pair of strings instead, and the strings are later
used to make calls to GeckoAppShell.
The patch also makes two small optimizations. It makes the queue an
ArrayList instead of a LinkedList to save memory. It also makes copying
the queue a swap instead of a true copy.
2016-03-23 14:42:38 -04:00
Jim Chen
156ff3db3b
Bug 1257319 - Convert existing broadcast events to calls; r=margaret
...
Convert existing places where we use broadcast events to use
new GeckoAppShell calls.
2016-03-23 14:42:38 -04:00
Jim Chen
be66658bcc
Bug 1257319 - Update auto-generated bindings; r=me
...
Update auto-generated bindings. The jni-stubs.inc change is due to the
fact that we still have old-style native methods in GeckoAppShell.
2016-03-23 14:42:38 -04:00
Jim Chen
84972cba31
Bug 1257319 - Add notifyObservers methods to GeckoAppShell; r=snorp
...
Add notifyObservers and the synchronous syncNotifyObservers methods to
GeckoAppShell to replace the BROADCAST event.
2016-03-23 14:42:38 -04:00
Ehsan Akhgari
f2023a11c0
Bug 1257208 - Use the nsTextNode concrete type in several places in DirectionalityUtils.cpp instead of nsINode and nsIContent; r=peterv
2016-03-23 14:24:56 -04:00
Lee Salzman
8ef69bea3e
Bug 1244754 - part 2 - enable Skia canvas on Linux and fix web-platform-tests/reftests. r=jrmuizel
2016-03-23 14:21:04 -04:00
Lee Salzman
32d3d0666e
Bug 1244754 - part 1 - backport zero-length gradient interval fix from Skia upstream. r=jrmuizel
2016-03-23 14:21:01 -04:00
Mason Chang
077e669bae
Bug 1258778
- Purge the skia glyph cache when receiving a low memory notice. r=erahm
2016-03-23 11:17:02 -07:00
Benoit Girard
511cfd0fbb
Bug 1258481 - Use RegionBuilder for nsRegion IPC. r=jrmuizel
...
MozReview-Commit-ID: 6K0aPjhyD1A
--HG--
extra : rebase_source : fbca985c5551842fbfd7dd3357ef3ee9144a7430
2016-03-23 13:46:20 -04:00
Benoit Girard
fa154c75a0
Bug 1258481 - Add a RegionBuilder for accumulating rects. r=jrmuizel
...
MozReview-Commit-ID: 6tI81iqj44V
--HG--
extra : rebase_source : 01e51566b9177e186cad41f0b369b57d35a0637e
2016-03-23 11:54:39 -04:00
Nicolas B. Pierron
bd7eb8e93a
Bug 1257929 - Instruction Reordering: Do not move instructions above the safeInsertTop location. r=bhackett
2016-03-23 18:03:11 +00:00
Nicolas B. Pierron
98bf3f26e5
Bug 1257929 - Add assertions to ensure the safety of entry resume point encoding. r=h4writer
2016-03-23 18:03:11 +00:00
Nicolas B. Pierron
5d2910130b
Bug 1247909 - Move MFunctionEnvironment after the entry resume points operands. r=h4writer
2016-03-23 18:03:10 +00:00
Sebastian Hengst
ce91a84beb
Backed out changeset 46866237f27b (bug 1256517) for bustage. r=bustage on a CLOSED TREE
2016-03-23 18:57:48 +01:00
Sebastian Hengst
da9ecd031f
Backed out changeset 8e5cb6d1d1a0 (bug 1256517)
2016-03-23 18:57:40 +01:00
Sebastian Hengst
fa9288dc66
Backed out changeset 9d33171eb4e9 (bug 1256517)
2016-03-23 18:57:31 +01:00
Sebastian Hengst
cb73369e3b
Backed out changeset 27a8a01abf66 (bug 1256517)
2016-03-23 18:57:22 +01:00
Sebastian Hengst
24a1f2b868
Backed out changeset 01eff93538c8 (bug 1257208) for failing Reftest dir_auto-set-contained-dir-L.html and others. r=backout
2016-03-23 18:35:20 +01:00
David Anderson
db2e8ee11d
Block compositable updates from stale layers. (bug 1256517 part 4, r=mattwoodrow,nical)
2016-03-23 10:32:34 -07:00
David Anderson
08db4be559
Disable device access on textures created against stale layers. (bug 1256517 part 3, r=nical)
2016-03-23 10:32:21 -07:00
David Anderson
84a4a6737d
Move compositable field out of individual compositable ops. (bug 1256517 part 2, r=mattwoodrow)
2016-03-23 10:30:47 -07:00
David Anderson
bbce7ea366
Track whether or not remote layers have acknowledged compositor changes. (bug 1256517 part 1, r=mattwoodrow)
2016-03-23 10:30:36 -07:00
Jared Wein
7bbd695af2
Bug 1259108
- Increase timeout of notifications from 12s to 20s to match parity with Chromium. r=MattN
...
MozReview-Commit-ID: 31RjSWuszuC
--HG--
extra : rebase_source : ecfb892c705b64c4be575b31d88782bd6787bade
2016-03-23 12:54:57 -04:00
Patrick McManus
0e38e0d4ae
Bug 1256022 - backout f57f85dc94e4 r=backout
2016-03-23 13:06:05 -04:00
Patrick McManus
78cb6a4c07
Bug 698882 - backout 34046c232ee1 r=backout
2016-03-23 13:06:02 -04:00
Benjamin Bouvier
f1ca01f79f
Bug 1258999: Check for OOM after flushing pools when merging MacroAssemblers; r=efaust
...
MozReview-Commit-ID: 19IdBYtzqHZ
--HG--
extra : rebase_source : 8f6f7c36cfbb9f2ea687f537b846ec83a3bd2c19
2016-03-23 17:49:24 +01:00
Dustin J. Mitchell
76962bbcc4
Bug 1258887: create build stats for Fennec jobs, too; r=gbrown
...
MozReview-Commit-ID: EJAvKrgc7hN
--HG--
extra : rebase_source : 3128846af783b92848e69c6c840f652513cdf6ea
2016-03-23 14:47:10 +00:00
Nicolas B. Pierron
33e5f1d53c
Bug 1254203 - SnapshotIterator::maybeRead use AutoEnterOOMUnsafeRegion instead of MOZ_CRASH. r=jandem
2016-03-23 16:34:34 +00:00
Jonathan Kew
50c7a4cfac
Bug 1248675 - Update the cached mBounds in nsChildView when its backing scale factor (display DPI) changes. r=mstange
2016-03-23 16:30:07 +00:00
Maja Frydrychowicz
4e86317cea
Bug 1238733 - Bump version for firefox-puppeteer and update dependencies; r=sydpolk,whimboo
...
firefox-puppeteer = 4.0.0
firefox-ui-harness = 1.3.0
external-media-tests = 2.0
MozReview-Commit-ID: BfiL39umlrA
--HG--
extra : rebase_source : 9950079b855fa2dd3b7e0434e2bd7564eac643cd
2016-03-22 14:47:23 -04:00
Maja Frydrychowicz
b985b77b7b
Bug 1238733 - Remove dependency on Marionette harness in firefox-puppeteer; r=whimboo
...
BaseFirefoxTestCase inherits from unittest.TestCase and takes
advantage of super() to serve as a cooperative base class
for children of MarionetteTestCase.
This includes moving UpdateTestCase back into firefox-ui-harness
Also update external-media-tests and Firefox UI and Update tests to
use BaseFirefoxTestCase
MozReview-Commit-ID: 4gsKztEOFrt
--HG--
rename : testing/puppeteer/firefox/firefox_puppeteer/testcases/update.py => testing/firefox-ui/harness/firefox_ui_harness/testcases.py
extra : rebase_source : e3383f9633f26061af9521a719cae57db87ccf10
2016-03-22 12:21:30 -04:00
Ehsan Akhgari
0e87b6fb88
Bug 1258872 - Port test_mutationobserver_anonymous.html to mochitest-plain so that it can be turned on in e10s mode; r=mrbkap
2016-03-23 11:54:08 -04:00
Carsten "Tomcat" Book
3b9ddbf3a9
Backed out changeset 5e60a574fcec (bug 1258481) for bustage on a CLOSED TREE
2016-03-23 16:53:24 +01:00
Carsten "Tomcat" Book
67557a3f7f
Backed out changeset 8e7a8791854f (bug 1258481)
2016-03-23 16:52:02 +01:00
Ehsan Akhgari
938b1ad7c4
Bug 1257208 - Use the nsTextNode concrete type in several places in DirectionalityUtils.cpp instead of nsINode and nsIContent; r=peterv
2016-03-23 11:48:23 -04:00
Boris Zbarsky
8b4ef1c72e
Bug 1255817 part 6. Fix up some comments in CallbackObject that refer to things that no longer exist. r=bholley
2016-03-23 11:44:55 -04:00
Boris Zbarsky
9d00c4004b
Bug 1255817 part 5. Remove the now-unused xpc::SystemErrorReporter. r=bholley
2016-03-23 11:44:54 -04:00
Boris Zbarsky
fb54936d49
Bug 1255817 part 4. Make XPCJSRuntime use MozCrashErrorReporter by default, now that there should be no stray JS_ReportPendingException calls. r=bholley
2016-03-23 11:44:54 -04:00
Boris Zbarsky
c4652e0bab
Bug 1255817 part 3. Remove the now-unreachable JS_ReportPendingException call in nsXPCWrappedJSClass::CallQueryInterfaceOnJSObject. r=bholley
2016-03-23 11:44:54 -04:00
Boris Zbarsky
e3b2de6aa9
Bug 1255817 part 2. Get rid of AutoJSAPI::OwnsErrorReporting and AutoJSAPI::TakeOwnershipOfErrorReporting. r=bholley
2016-03-23 11:44:54 -04:00
Boris Zbarsky
865750a216
Bug 1255817 part 1. Make AutoJSAPI always take ownership of error reporting. r=bholley
2016-03-23 11:44:54 -04:00