Commit Graph

490528 Commits

Author SHA1 Message Date
enrico
bf88866633 Bug 1299497 - Build fails with "unsupported reloc 43" errors. r=gerard-majax
MozReview-Commit-ID: 5pnYVpR8qNJ

--HG--
extra : rebase_source : ce3e6ea0494960983e403ddbdeaacca275d1e815
2016-09-01 23:36:44 +02:00
cku
0f349efc03 Bug 1289011 - Part 5. refetst for reference box. r=heycam
MozReview-Commit-ID: GnDA3cqO3QL

--HG--
extra : rebase_source : cd441586186adce38d8be26db30bc8f13370f0e6
2016-09-02 01:20:22 +08:00
Mike Conley
780ae6542a Bug 1298219 - Regression test. r=billm
MozReview-Commit-ID: 5sDWL9NuTso

--HG--
extra : rebase_source : 0079e1da20110db9fcbe38ccb673017d7dbc3a04
2016-09-01 13:10:37 -04:00
JW Wang
acc161f5fd Bug 1297590. Part 10 - remove some mSentFirstFrameLoadedEvent checks for it is surely true when mState is DECODING. r=kaku
MozReview-Commit-ID: 5wwCc33KTHF

--HG--
extra : rebase_source : 0263c6a732729a4c0ae952f51ee3c5d0a1aa616b
2016-09-01 16:34:24 +08:00
JW Wang
cd7ea5d9ef Bug 1297590. Part 9 - fix MaybeFinishDecodeFirstFrame(). r=kaku
1. The return value is not used.
2. It should be called only when mSentFirstFrameLoadedEvent is false.
3. Transition to SEEK if there is any pending seek or DECODER_STATE_DECODING otherwise.

MozReview-Commit-ID: LIO0MPGzhsX

--HG--
extra : rebase_source : 591339cf0c239be618ecf25e384baab9c0bb35be
2016-09-01 13:01:48 +08:00
JW Wang
a4f936a75c Bug 1297590. Part 8 - add an entry action for DECODER_STATE_DECODING_FIRSTFRAME. r=kaku
We move the handling of pending seek from the entry action of DECODING to that of DECODING_FIRSTFRAME.

MozReview-Commit-ID: qMnJ0ON2cK

--HG--
extra : rebase_source : d35985d8d66b201a842aea0eeb0650e8ade5cc5b
2016-09-01 12:54:43 +08:00
JW Wang
beee28368c Bug 1297590. Part 7 - remove the call to MaybeFinishDecodeFirstFrame() from OnNotDecoded(). r=kaku
It is impossible to finish decoding first frames while waiting for data.

MozReview-Commit-ID: 8eR8Rf9TuD8

--HG--
extra : rebase_source : f8d14b294f0518f48f72828b3e9ed5f2b18a3479
2016-09-01 12:02:49 +08:00
JW Wang
fd788dec0e Bug 1297590. Part 6 - Move MaybeFinishDecodeFirstFrame() from case DECODER_STATE_DECODING to case DECODER_STATE_DECODING_FIRSTFRAME. r=kaku
MozReview-Commit-ID: aylNzLhwaT

--HG--
extra : rebase_source : f820000efedd53f13222e1b43073b9aa2d4fec2a
2016-09-01 12:00:44 +08:00
JW Wang
f1e5f07d49 Bug 1297590. Part 5 - change some SetState(DECODER_STATE_DECODING) to SetState(DECODER_STATE_DECODING_FIRSTFRAME). r=kaku
MDSM used to transition to DECODING in the following places:
1. BUFFERING
2. OnMetadataRead()
3. WAIT_FOR_CDM
4. SeekCompleted()

We will transition to DECODING_FIRSTFRAME in case 2 and 3.

For case 1, BUFFERING makes sense only after decoding first frames. So BUFFERING
should never transition to DECODING_FIRSTFRAME.

For case 4, we always finish decoding first frames before completing seek. So
It should not transition to DECODING_FIRSTFRAME either.

MozReview-Commit-ID: 7VnK82wjgZv

--HG--
extra : rebase_source : c92150a2cd989286d680760c6b7dc615fe58b65e
2016-09-01 11:55:43 +08:00
JW Wang
c4a99cb033 Bug 1297590. Part 4 - change test mState >= DECODER_STATE_DECODING to mState >= DECODER_STATE_DECODING_FIRSTFRAME. r=kaku
MozReview-Commit-ID: ImqqLCyp2Yc

--HG--
extra : rebase_source : 6f203cced5bfdd5a768d4326713157de7b0c74f1
2016-09-01 11:48:16 +08:00
JW Wang
99b108b143 Bug 1297590. Part 3 - change test mState >= DECODER_STATE_DECODING && mSentFirstFrameLoadedEvent to mState >= DECODER_STATE_DECODING. r=kaku
MozReview-Commit-ID: ASWBi7D7DOK

--HG--
extra : rebase_source : ee4078efc4a765a1d92fa6cbd810cd8aa6d270b5
2016-09-01 11:47:17 +08:00
JW Wang
2cd25680b0 Bug 1297590. Part 2 - change test mState != DECODER_STATE_DECODING to mState != DECODER_STATE_DECODING && mState != DECODER_STATE_DECODING_FIRSTFRAME. r=kaku
MozReview-Commit-ID: F62HdoctGpD

--HG--
extra : rebase_source : 82a1d056650727094d850a928f69025754dc36ec
2016-09-01 11:45:56 +08:00
JW Wang
aa7b6844dd Bug 1297590. Part 1 - add DECODER_STATE_DECODING_FIRSTFRAME to MDSM. r=kaku
When separating decoding frist frames from the DECODING state, we need
to change the test `mState == DECODER_STATE_DECODING` to
`mState == DECODER_STATE_DECODING || mState == DECODER_STATE_DECODING_FIRSTFRAME`.
However, we don't make changes for those where mSentFirstFrameLoadedEvent is
proven to be true. Because there is no way for mState to be DECODING_FIRSTFRAME
when mSentFirstFrameLoadedEvent is true.

MozReview-Commit-ID: 7jv3SDlmBBG

--HG--
extra : rebase_source : d7212fa84d81cb1874e6a76fb92627255039e859
2016-09-01 14:28:45 +08:00
Andi-Bogdan Postelnicu
1533bc3c1f Bug 1300504 - prevent null pointer dereference in MWasmCall::NewBuiltinInstanceMethodCall. r=jandem
MozReview-Commit-ID: 1oQVjnyJAMm

--HG--
extra : rebase_source : f9a0de5d4a9aaafb7f9f9e7eca9935bce82be43a
2016-09-05 13:04:28 +03:00
Hiroyuki Ikezoe
b9c00b50bf Bug 1254881 - Part 3: Use a longer duration to avoid animation's end time gets too short. r=birtles
MozReview-Commit-ID: w212DglqK9

--HG--
extra : rebase_source : 8c1aaa57223d749a87043f98a671c3e52557d745
2016-09-05 18:50:30 +09:00
Hiroyuki Ikezoe
649709818f Bug 1254881 - Part 2: Introduce a new assertion to check a given animation is not running on the compositor. r=birtles
MozReview-Commit-ID: INmj4eEorIa

--HG--
extra : rebase_source : 9c395d6b7ed8c3da0b118fa3226f1b411c50efc8
2016-09-05 10:34:08 +09:00
Hiroyuki Ikezoe
607cd13827 Bug 1254881 - Part 1: Introdue a new assertion to check a given animation is running on the compositor and output animation current time to log when it's failed. r=birtles
%s/assert_equals(\(.*\).isRunningOnCompositor, omtaEnabled,/assert_animation_is_running_on_compositor(\1,/g

MozReview-Commit-ID: 8gAiTyRTAw2

--HG--
extra : rebase_source : b5c6d4b73c8655c5110a707932a51d5e8e80c0a3
2016-09-05 10:32:33 +09:00
Mike Conley
b56cf3f8af Bug 1298219 - Don't fire oop-browser-crashed event if the browser has already flipped remoteness and moved on. r=billm
We currently make the initial browser in a window remote by default. If early
on in the session, that one remote browser goes away (and the content process
was still booting), there's about 5 seconds before the shutdown kill timer
will take that content process out for not quitting fast enough.

There are some cases during startup where the content process is waiting
on information from the parent, so it cannot respond to the request to
quit in time. The parents shutdown kill timer goes off, and the shutdown
kill occurs.

In this bug, what's happening is that the initial browser flips remoteness
from remote to non-remote when it goes to about:sessionrestore. This starts
the shutdown kill timer. The content process runs out of time, and the
shutdown kill timer fires, killing the content process. The TabParent::ActorDestroy
method (which still exists, even though the browser is no longer remote),
interprets this as an abnormal shutdown, and bubbles the oop-browser-crashed
event to the associated <xul:browser>, which causes the page to browser to
about:tabcrashed, when it had already loaded about:sessionrestore.

This patch makes it so that the TabParent::ActorDestroy method first checks
to ensure that the associated remote frameloader is still the one that the
frameloader owner cares about. If not (because, say, the remoteness has
flipped and a new non-remote frameloader has been created), then the
event is not fired, since the user has moved on.

MozReview-Commit-ID: G4jmR6lMMFl

--HG--
extra : rebase_source : 7e752d9854d6c17b2b346cc986c0fbad00292848
2016-08-31 18:23:40 -04:00
Matthew Noorenberghe
0c24d6390a Bug 1299984 - Enable eslint no-unused-vars for shipping pwmgr code. r=johannh
I also fixed two test cases while I was looking at the results.

MozReview-Commit-ID: LpUj56UNV3r

--HG--
extra : rebase_source : 7ca9986b96b43f9ec20571dd24d9f8bc8d691288
2016-09-02 14:07:13 -07:00
Brian Grinstead
c3f57014b3 Bug 1300820 - Always use the current debugger frontend in Browser Toolbox;r=jlongster
MozReview-Commit-ID: DJ7L2VSOe2q

--HG--
extra : rebase_source : 78634f90e09695bcf64148858be91ab89d639085
2016-09-06 11:20:38 -07:00
Bryce Van Dyk
9340a1c2d5 Bug 1300442 - Housekeeping and QoL changes: code style, extra logging on VP. r=maja_zf
- Use format() instead of old style formatting (%s, etc).
- Remove unneeded positional args on format strings.
- Break some long lines for pep8 conformance.
- Use brackets instead of \ to continue long lines.
- Log interval on video puppeteer.
- Remove an unneeded media source check. We have explicit media source checks
in tests, and the media source prefix has changed, rendering the check broken.

MozReview-Commit-ID: 4FPVoOD0P5B

--HG--
extra : rebase_source : 3bfdc4a5aee5c419e4ccacc923ec539cbaa1d14f
2016-09-05 11:02:07 +12:00
kearwood
627c745c53 Bug 1288193 - Ensure that the content process receives the presentation status of a VRDisplay immediately after adding or removing layers r=gw280
- Corrects issues with the onvrdisplaypresentationchange events being delayed by up to 5 seconds.
- Caused a delay to enter or exit WebVR presentation on many sites.

MozReview-Commit-ID: 2LACZNwKIxW

--HG--
extra : rebase_source : ec689cd68422a8487a85e70d9e2dbb13b3a1c36c
2016-09-02 14:45:54 -07:00
Ralph Giles
186cacb131 Bug 1296403 - Update tooltool rustc to 1.11.0. r=mshal
Repacks of upstream builds of rust 1.11.0 stable with std libraries
for the appropriate targets. Remove the separate rust-std package
references since the new repacks include the necessary targets.

Also update clang and hazard builds to the latest toolchain.

MozReview-Commit-ID: K7oBxQZnLPu

--HG--
extra : rebase_source : 9f339ff52e9e2f6c28d4bb7a734b9f0eae43a47a
2016-09-06 13:09:56 -07:00
Wes Kocher
371d1cf853 Backed out 2 changesets (bug 1298219) for asan bc5 crashes a=backout
Backed out changeset 98b0e9b88212 (bug 1298219)
Backed out changeset 5948ae1f4218 (bug 1298219)
2016-09-06 14:40:32 -07:00
Kit Cambridge
dbdecec537 Bug 1294291 - Remove missing GUID handling code from Sync and Places. r=markh
MozReview-Commit-ID: CbhF4s0nNr0

--HG--
extra : rebase_source : ab07f772354ff613a3e768db119e9b60dc49daa0
2016-09-06 11:29:32 -07:00
Kartikaya Gupta
f2a9facccf Bug 1297419 - Ensure that APZ smooth scrolls don't get clobbered by the main thread as a side-effect of reflow. r=tnikkel
MozReview-Commit-ID: 9124WMy8SmD

--HG--
extra : rebase_source : 848664a73b2357bbbc49604df03288fe5986053b
2016-09-06 14:43:41 -04:00
Nathan Froyd
bfce0c9a55 Bug 1300124 - make MurmurHash3.cpp compile with clang-cl; r=bkelly
Including headers inside anonymous namespaces, especially standard headers,
is super-unusual; let's just move the header to the toplevel instead.

MozReview-Commit-ID: CNykWQA5ndY

--HG--
extra : rebase_source : e5011cd18c1a0d31d4ae15ae3f3697eafac5f575
2016-09-06 15:46:01 -04:00
Eitan Isaacson
563b161046 Bug 1299653 - Don't have the page scrolling when the tab is closed. r=jaws
MozReview-Commit-ID: DlmXfQQttRr

--HG--
extra : rebase_source : df48eb6e3293a14e9c75f7aebefcdb67549b5ade
2016-09-03 14:14:29 -07:00
Mike Conley
88aed2cbaa Bug 1298219 - Regression test. r=billm
MozReview-Commit-ID: 5sDWL9NuTso

--HG--
extra : rebase_source : c6dc20d94f7649a4916760f00d4f39d75d59bdd8
2016-09-01 13:10:37 -04:00
Mike Conley
b43b848475 Bug 1298219 - Don't fire oop-browser-crashed event if the browser has already flipped remoteness and moved on. r=billm
We currently make the initial browser in a window remote by default. If early
on in the session, that one remote browser goes away (and the content process
was still booting), there's about 5 seconds before the shutdown kill timer
will take that content process out for not quitting fast enough.

There are some cases during startup where the content process is waiting
on information from the parent, so it cannot respond to the request to
quit in time. The parents shutdown kill timer goes off, and the shutdown
kill occurs.

In this bug, what's happening is that the initial browser flips remoteness
from remote to non-remote when it goes to about:sessionrestore. This starts
the shutdown kill timer. The content process runs out of time, and the
shutdown kill timer fires, killing the content process. The TabParent::ActorDestroy
method (which still exists, even though the browser is no longer remote),
interprets this as an abnormal shutdown, and bubbles the oop-browser-crashed
event to the associated <xul:browser>, which causes the page to browser to
about:tabcrashed, when it had already loaded about:sessionrestore.

This patch makes it so that the TabParent::ActorDestroy method first checks
to ensure that the associated remote frameloader is still the one that the
frameloader owner cares about. If not (because, say, the remoteness has
flipped and a new non-remote frameloader has been created), then the
event is not fired, since the user has moved on.

MozReview-Commit-ID: G4jmR6lMMFl

--HG--
extra : rebase_source : 7e752d9854d6c17b2b346cc986c0fbad00292848
2016-08-31 18:23:40 -04:00
Henrik Skupin
a5a7c13571 Bug 1300776 - Add testing/marionette/harness to flake8 linter (except mixins, tests) . r=ahal
MozReview-Commit-ID: F9Hfze9zvzE

--HG--
extra : rebase_source : ddd2e63bf13967da1d66d49cbdd189b68e0e7402
2016-09-06 15:46:08 +02:00
Andrzej Hunt
ceca466475 Bug 1299524 - Disable FaviconView corner rounding in Activity Stream topsites r=sebastian
We use the FaviconView to fill the majority of the card (i.e. full width, and approx 75% of the height)
- in that scenario rounding the corners looks odd.

MozReview-Commit-ID: 1e5HAwfcV5

--HG--
extra : rebase_source : e6c5168025e1ac3ad941e8fd6207960b37442373
2016-09-06 10:48:26 -07:00
Andrzej Hunt
0bee5d51ae Bug 1299524 - Allow disabling FaviconView corner rounding via enableRoundCorners attribute r=sebastian
MozReview-Commit-ID: 1qtt7xlTsHP

--HG--
extra : rebase_source : e24982d035fb3357eb1efd4a5952b968eb7af3dd
2016-09-06 10:46:47 -07:00
Sebastian Kaspari
a5a657d556 Bug 1300543 - IconDownloader: Use final keyword where appropriate. r=ahunt
MozReview-Commit-ID: DhWIRPZf7rg

--HG--
extra : rebase_source : 797987c944e445a4ea7e00a2373c83c2003c0c1a
2016-09-06 13:58:35 +02:00
Sebastian Kaspari
58d250abaa Bug 1300543 - IconDownloader.downloadAndDecodeImage(): Correctly assign and close stream. r=ahunt
MozReview-Commit-ID: CYEOCCpraOr

--HG--
extra : rebase_source : f0e05c79c531857d73ca5aea3f1dbabedeed6e23
2016-09-06 13:53:02 +02:00
Sebastian Kaspari
10fdd6498e Bug 1300543 - Use palette library instead of BitmapUtils.getDominantColor(). r=ahunt
MozReview-Commit-ID: LTwarAG5NNm

--HG--
extra : rebase_source : 44165c8f04cc5888147c7b6e0f0996f64f99f810
2016-09-06 10:05:32 +02:00
Sebastian Kaspari
e730285a31 Bug 1300543 - FilterMimeTypes: Continue to filter mime types if one of them is empty. r=ahunt
MozReview-Commit-ID: GRFANWF1L2m

--HG--
extra : rebase_source : b4993fdfc01f04397de6c5a2d2729b4de023ce5f
2016-09-05 17:37:13 +02:00
Sebastian Kaspari
f0847016ce Bug 1300543 - LegacyLoader: Only load if there's one icon URL left. r=ahunt
Let's try to load from the legacy loader only if there's one icon left and
the other loads have failed. We will ignore the icon URL anyways and try to
receive the legacy icon URL from the database.

MozReview-Commit-ID: Kr7gHXBuAs7

--HG--
extra : rebase_source : 7fbdd507fa2c0a9aa4223db1da6aa5fbc1aa4907
2016-09-05 16:44:33 +02:00
Sebastian Kaspari
80177742b4 Bug 1300543 - LegacyLoader: Skip loading from legacy storage if network download is permitted. r=ahunt
If we are allowed to load the icon from the network then skip loading from the legacy storage and just
load a fresh icon. This will avoid touching the legacy storage (disk) every time before downloading an
icon.

MozReview-Commit-ID: C9hYqISno6U

--HG--
extra : rebase_source : 6f19839c38d37916deb351b3e080e023e532a83f
2016-09-05 15:38:27 +02:00
Sebastian Kaspari
87a7500078 Bug 1300543 - IconRequestExecutor: Resize image before extracting color. r=ahunt
Running the color extraction algorithm on a smaller image will be much faster.

MozReview-Commit-ID: A42rzuQ3FDQ

--HG--
extra : rebase_source : 560e5e1a6711d8f34f12803e5aabf4f09e769706
2016-09-05 15:25:25 +02:00
Sebastian Kaspari
2df61cba23 Bug 1300543 - IconRequestExecutor: Add custom thread pool executor and thread factory. r=ahunt
The custom executor behaves like the one returned by Executors.newSingleThreadExecutor().
However the created thread will have a unique name ("GeckoIconTask") and this will make
tracing the thread much easier.

MozReview-Commit-ID: 7y0EMGmNLkG

--HG--
extra : rebase_source : 517d329df12ff101816c3a3f8e27f28aeffb6821
2016-09-05 15:24:07 +02:00
Andrzej Hunt
b79a5e8eec Bug 1298968 - Add comment explaining why TOPSITES is handled outside of switch r=sebastian
MozReview-Commit-ID: BFvz2qTm4vL

--HG--
extra : rebase_source : 8d4e77baf5c629c0d16f97c7135fd4c85bf5a5b5
2016-09-06 10:06:58 -07:00
Julian Descottes
a99bbfecb7 Bug 1299580 - Remove unused localized strings from debugger;r=jlongster
MozReview-Commit-ID: HaBSZLXaaYJ

--HG--
extra : rebase_source : 8225311fda9c2e70eef18be7f7a61c95f25a4c81
2016-08-31 20:22:40 +02:00
Chun-Min Chang
50ceb41bab Bug 1299061 - Expose the browser that the request was originated in; r=smaug
MozReview-Commit-ID: 2iFQiYeoxBh

--HG--
extra : rebase_source : c516a7d8cc70c85c0303e27d07854808fe9192aa
2016-08-31 20:56:17 +08:00
Thomas Nguyen
73a98d5b79 Bug 999484 - Test FindInReadable calls in safebrowsing code. r=gcp
MozReview-Commit-ID: C27J4dh9s6T

--HG--
extra : rebase_source : d9a8ae7ea7073227b30ea2d74ea69a988b46b18e
2016-09-01 10:48:17 +08:00
Kan-Ru Chen
78c48f9b6d Bug 1300512 - Remove OptionalContentId and replace it with Maybe<ContentParentId> in IndexedDB. r=janv
MozReview-Commit-ID: 6Cjlej1TwCY

--HG--
extra : rebase_source : 2a9990e842a05a2e75b473f6d038b946bf59fc5e
2016-09-05 18:31:21 +08:00
Henry Chang
87034ada9c Bug 1254763 - Part 2: Test cases. r=gcp
MozReview-Commit-ID: JDjV3WUfgWW

--HG--
extra : rebase_source : 4719febe565636462d72f8837069992abaf0d454
2016-09-02 12:02:40 +08:00
Henry Chang
6e64c9ee89 Bug 1254763 - Part 1: Use per-provider directory for V4 databases. r=dimi,gcp
MozReview-Commit-ID: KZGWIcKAQyW

--HG--
extra : rebase_source : f153e87ce132f0066d6c8e21398e7abaaaff6375
2016-09-02 12:00:00 +08:00
KuoE0
f426111737 Bug 1300492 - Fix typo in PresentationDeviceManager::GetAvailableDevices, r=smaug
MozReview-Commit-ID: DVs5uJUA6H5

--HG--
extra : rebase_source : ce54fd38d8c5781e9103b45d1fd0848b2c59255c
2016-09-05 16:52:59 +08:00
Alexandre Poirot
88eb12ffca Bug 1298082 - Cleanup toolbox on its document unload. r=jryans
MozReview-Commit-ID: 6tghrnYJiOy

--HG--
extra : rebase_source : 1e8e326ef293d59dd47b734bd93baaf2794c495c
2016-08-30 06:32:00 -07:00