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

490649 Коммитов

Автор SHA1 Сообщение Дата
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
Wei-Cheng Pan 1cba294b85 Bug 1298775 - Fix nullptr dereferencing. r=tbsaunde
This is a follow up to fix nullptr printing.

MozReview-Commit-ID: KDjBsHHiDxv

--HG--
extra : rebase_source : f10f35ad753aa3c1e93c1ab5e5d957af80c5db2f
2016-08-31 18:35:01 +08:00
Jonathan Hao eb2ea553d6 Bug 1264573 - Share tabs in isolation tests. r=baku, r=arthuredelstein
--HG--
extra : rebase_source : 5f51c24993639f8571450871b5b868b712a66aa5
2016-09-07 11:38:37 +08:00
Jonathan Hao e125aeb6c8 Bug 1264573 - Add blob url isolation tests, adapted from Tor Browser patch 15502. r=baku, r=arthuredelstein
--HG--
extra : rebase_source : 374b5c871fed7cf1470c0a5694f7bb5aa1f33b91
2016-09-07 11:36:07 +08:00
Zero One 4473369471 Bug 1292191 - Remove unneccesary check for mShouldRestore. r=mkaply
MozReview-Commit-ID: 3amKuifhpfu

--HG--
extra : rebase_source : a4b31adc09f9f685dccdbebe63ba8a9ae30acd8c
2016-09-07 16:35:26 -05:00
Aaron Klotz f2f2b539f2 Bug 1301167: Add a GeckoProfilerWakeRAII interface to the profiler; r=BenWa
MozReview-Commit-ID: KGn9qF7fZAs
2016-09-07 14:28:50 -06:00
Benoit Girard 54e8df5f17 Bug 1251615 - Disallow Copy/Assignment to LayerProperties. r=mstange
MozReview-Commit-ID: KsT3FVXHwQK

--HG--
extra : rebase_source : 76c029baf5045d24f333853079e9af56bc7d8cf8
2016-09-07 15:21:20 -04: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
Alexandre Poirot cc52abf45f Bug 1298082 - Replace toolbox.frame usages with equivalents around toolbox.win. r=jryans
MozReview-Commit-ID: ClpBWEZbKq1

--HG--
extra : rebase_source : 98070c3c15de9e17ac9f05cc301734a28dcbc43f
2016-08-30 06:42:25 -07:00
Benjamin Bouvier 4b5c43f388 Bug 1301029: Remove the basic- prefix from wasm test cases; r=luke
MozReview-Commit-ID: AwF3KR7FDdp

--HG--
rename : js/src/jit-test/tests/wasm/basic-bce.js => js/src/jit-test/tests/wasm/bce.js
rename : js/src/jit-test/tests/wasm/basic-const.js => js/src/jit-test/tests/wasm/const.js
rename : js/src/jit-test/tests/wasm/basic-control-flow.js => js/src/jit-test/tests/wasm/control-flow.js
rename : js/src/jit-test/tests/wasm/basic-float.js => js/src/jit-test/tests/wasm/float.js
rename : js/src/jit-test/tests/wasm/basic-grow-memory.js => js/src/jit-test/tests/wasm/grow-memory.js
rename : js/src/jit-test/tests/wasm/basic-integer.js => js/src/jit-test/tests/wasm/integer.js
rename : js/src/jit-test/tests/wasm/basic-memory.js => js/src/jit-test/tests/wasm/memory.js
rename : js/src/jit-test/tests/wasm/random-control-flow.js => js/src/jit-test/tests/wasm/regress/misc-control-flow.js
extra : rebase_source : eea81300d30a3386f88eb18c72324e6cc1b87a33
2016-08-30 12:52:27 +02:00
Carsten "Tomcat" Book 656d6db419 Merge mozilla-central to mozilla-inbound 2016-09-07 17:21:27 +02:00
Jan de Mooij ce7c400f58 Bug 1300548 - Fix the iterator cache to not reuse iterators in different compartments. r=jonco 2016-09-07 16:55:06 +02:00
Michael Layzell 9c75f35e6a Bug 1018486 - Part 10: Add an analysis to reject the kungFuDeathGrip pattern on function results and member variables, r=ehsan
MozReview-Commit-ID: K8rehjAxIA6
2016-09-07 10:50:48 -04:00
Michael Layzell e12728495c Bug 1018486 - Part 9: Changes to account for modifications to clang plugin, r=ehsan
MozReview-Commit-ID: EPQMbfHYxUK
2016-09-07 10:50:47 -04:00
Michael Layzell 36e08437d0 Bug 1018486 - Part 8: Various other changes, r=smaug
MozReview-Commit-ID: B0dsomkWgEk
2016-09-07 10:50:45 -04:00
Michael Layzell 0c311dc0f9 Bug 1018486 - Part 7: Changes in widget/gtk/, r=masayuki
MozReview-Commit-ID: 2uJ9flIaCEY
2016-09-07 10:50:44 -04:00
Michael Layzell b2047d9636 Bug 1018486 - Part 6: Changes in parser/, r=peterv, r=hsivonen
MozReview-Commit-ID: EN2yZUn8xj
2016-09-07 10:50:42 -04:00
Michael Layzell e583117bfa Bug 1018486 - Part 5: Changes in docshell/ and uriloader/, r=bz
MozReview-Commit-ID: GiyHWL3aaOv
2016-09-07 10:50:41 -04:00
Michael Layzell 118a8b7507 Bug 1018486 - Part 4: Changes in layout/, r=bz
MozReview-Commit-ID: BsaKGHsoqOq
2016-09-07 10:50:40 -04:00
Michael Layzell e67b01fcd0 Bug 1018486 - Part 3: Changes in widget/cocoa/, r=mstange
MozReview-Commit-ID: DhvanRhe9XE
2016-09-07 10:50:38 -04:00
Michael Layzell 5d1745c161 Bug 1018486 - Part 2: Changes in editor/, r=masayuki
MozReview-Commit-ID: JA7UCVXEd8j
2016-09-07 10:50:37 -04:00
Michael Layzell c47fca1cd7 Bug 1018486 - Part 1: Changes in dom/, r=baku
MozReview-Commit-ID: 4tCUM4KRe81
2016-09-07 10:50:35 -04:00
Luke Wagner 9e75229d27 Bug 1300963 - Baldr: remove dead AsmJSInterrupt Ion nodes (r=bbouvier)
MozReview-Commit-ID: GCafiz10kfv
2016-09-07 09:42:23 -05:00
Luke Wagner b8aae7baaa Bug 1300963 - Baldr: remove default import special case (r=bbouvier)
MozReview-Commit-ID: 70z75lLaHEK
2016-09-07 09:42:20 -05:00
Dão Gottwald 08da547524 Bug 1300876 - Share Ctrl+Tab panel styling across platforms. r=gijs
--HG--
rename : browser/themes/windows/browser.css => browser/themes/shared/ctrlTab.inc.css
2016-09-07 16:25:50 +02:00
Dão Gottwald 9c21c5660a Bug 1022588 - Set a tooltip and use a Unicode arrow as the label for high contrast mode on the about:home and about:newtab search submit buttons. r=mak 2016-09-07 16:22:57 +02:00
Julian_Chu f9a272b954 Bug 1296748 - Do not unregister if target does not exist; r=jchen
in create(), only register listener if anchorHandle exits.
in opposite side, only unregister listener in same condition.

MozReview-Commit-ID: HHN23YcmwS

--HG--
extra : rebase_source : bdaa3e7b2a56e8e8d6a7776ff7caf3581e99ff09
2016-08-29 23:56:41 +09:00
cku 6d9234622e Bug 1289011 - Part 4. Handle stroke-box. r=heycam
MozReview-Commit-ID: BImaXBGds6l

--HG--
extra : rebase_source : 2da56a8d40f2ae3a92d3475c2d20dcd6dabc305e
2016-08-28 02:36:20 +08:00
cku 52058e0fbc Bug 1289011 - Part 3. Handle view-box. r=heycam
MozReview-Commit-ID: 3GsivsTYPYK

--HG--
extra : rebase_source : 814a758605418893de60c2cb677ff4ee06671fe8
2016-08-30 10:27:30 +08:00