607112 Commits

Author SHA1 Message Date
Belén Albeza
a923c3ade5 Bug 1478686 - Fix cycling focus with keyboard on slotted nodes. r=jdescottes
r=jdescottes

Differential Revision: https://phabricator.services.mozilla.com/D2605

--HG--
extra : moz-landing-system : lando
2018-08-01 15:11:26 +00:00
Imanol Fernandez
25d362ba4f Bug 1479424 - Fix VRManager NotifyVSync not called when compositor is paused on Android; r=kip,rbarker
MozReview-Commit-ID: JY8xyCSKIgv

--HG--
extra : rebase_source : 8ae0ba070bba5cc03137c4053a7730ad89090e96
2018-07-30 18:14:05 +02:00
Thomas Wisniewski
0471de08a0 Bug 1456421 - Align XHR username/password precedence rules with current spec. r=baku
MozReview-Commit-ID: FXCFoNhCVJz

--HG--
extra : rebase_source : fa9ecd5b6f04c1102fb9326291e5760c8285841d
2018-07-31 09:49:00 -04:00
Nazım Can Altınova
3b4a18e3b8 Bug 1478393 - Add AutoGeckoProfilerEntry to emitting of script in BytecodeCompiler::compileScript r=sfink
MozReview-Commit-ID: DAdx54RGQPH

--HG--
extra : rebase_source : 6aa3d2bec09a83ca70be6feed90dca93858dda5f
2018-08-01 11:53:26 +02:00
Nazım Can Altınova
f1e3e2a900 Bug 1478393 - Add AutoGeckoProfilerEntry to parsing of script in BytecodeCompiler::compileScript r=sfink
MozReview-Commit-ID: 6voFaKmvZ39

--HG--
extra : rebase_source : 57c6d31337ae91d46866bd075fb914beee68862f
2018-07-25 17:19:00 +02:00
Venkatesh Pitta
f7b3601012 Bug 1451725 - Remove deprecated WebDriver Commands r=whimboo
MozReview-Commit-ID: 7PXrlwyiFvN

--HG--
extra : rebase_source : cfcc1d235ea3325bd7d15242c24c8cf8362d2647
2018-07-27 11:27:22 +10:00
Alexandre Poirot
d53d22346c Bug 1478237 - Enable client/debugger/test/mochitest/browser_dbg_listtabs-01.js in e10s. r=jdescottes
MozReview-Commit-ID: AuosU1veXvX

--HG--
extra : rebase_source : e53776ff4f6d67b539446539e7aac6930c932154
2018-08-01 00:13:17 -07:00
Alexandre Poirot
42f700d5c7 Bug 1478240 - Enable client/debugger/test/mochitest/browser_dbg_multiple-windows.js in e10s. r=jdescottes
MozReview-Commit-ID: F9Yt9Gjmwrj

--HG--
extra : rebase_source : 1e4f97668849f2a615df6bb43becb3326d3b592c
2018-08-01 01:38:09 -07:00
Alexandre Poirot
084e71fb75 Bug 1478240 - Convert browser_dbg_multiple-windows.js to use async/await instead of callbacks. r=jdescottes
MozReview-Commit-ID: Cfp8ZM59IXi

--HG--
extra : rebase_source : 9407b11319555103ac9bcaca1dcfeccb656408fa
2018-08-01 00:56:51 -07:00
Henrik Skupin
f5c8aa9956 Bug 1478799 - [wdspec] Add tests for no browsing context. r=ato
MozReview-Commit-ID: FE6HE3d7kb2

--HG--
extra : rebase_source : a72c7e09123c325bdef8867763e2bf8a059c05fb
2018-07-30 21:46:04 +02:00
Masayuki Nakano
2651346286 Bug 1479972 - nsRange should ignore mutations of the DOM tree while it's cached by Selection r=smaug
Selection caches an nsRange instance for saving re-allocation cost and AddMutationObserver() and RemoveMutationObserver()'s cost when its RemoveAllRangesTemporarily() is called.

Then, the instance is detached from the Selection but still referring editing point. E.g., the only text node in TextEditor when its value is set. Therefore, it'll receive character data change notification and need to check whether the point is still valid with new text.  However, the range will be always set new position later, i.e., immediately before going back to a part of Selection. Therefore, even if the point becomes invalid, nobody must not have any problems.

This patch makes Selection make the cached range not positioned, and makes nsRange ignore any mutations when it's not positioned.

Differential Revision: https://phabricator.services.mozilla.com/D2587

--HG--
extra : moz-landing-system : lando
2018-08-01 12:25:25 +00:00
Nicolas Chevobbe
d15761273f Bug 1463104 - Instrument inspection of object expansion in the Web Console with event telemetry; r=miker.
This only adds the event in Events.yaml,
the actual work will happen in Github.

MozReview-Commit-ID: 4GDMiGxyp4U

--HG--
extra : rebase_source : 7470f07be10882e731c8a7e95c2d6d28210aeba9
2018-07-30 09:15:24 +02:00
Alexandre Poirot
e2f52bc542 Bug 1478945 - Test global actors against xpcshell debugger server. r=jdescottes
MozReview-Commit-ID: DqCkWqZJErQ

--HG--
extra : rebase_source : 535f138d2faf4cee76e44f5617d6459d9d8f0705
2018-07-31 10:08:51 -07:00
Alexandre Poirot
3a7f519e53 Bug 1478945 - Refactor test_xpcshell_debugging.js to use async/await instead of callbacks. r=jdescottes
MozReview-Commit-ID: 3QmGlX70BVz

--HG--
extra : rebase_source : bd1fd6ab4455707aadd51738d8e7bb43ff8d7b47
2018-07-31 08:46:07 -07:00
Mark Banner
e72c3371d9 Bug 1479722 - Remove nsIAnnotationService::setPageAnnotation and removePageAnnotation. r=mak
Depends on D2582

Differential Revision: https://phabricator.services.mozilla.com/D2583

--HG--
extra : moz-landing-system : lando
2018-08-01 09:47:24 +00:00
Mark Banner
f1731211b5 Bug 1479722 - Rework PlacesUtils.setCharsetForURI to PlacesUIUtils.setCharsetForPage and avoid main thread sync io. r=mak
MozReview-Commit-ID: HeO3Mm5Dibo

Differential Revision: https://phabricator.services.mozilla.com/D2582

--HG--
extra : moz-landing-system : lando
2018-08-01 10:13:59 +00:00
Luca Greco
f55e636331 Bug 1477015 - Select storage.local backend on startup when the extension is not migrating its data. r=aswan,mixedpuppy
MozReview-Commit-ID: WzW2bFlYNg

--HG--
extra : rebase_source : 048dbd36e6bf1bfc64d02e11bf26af1392071139
2018-07-26 13:53:22 +02:00
Dorel Luca
51abd4dba1 Merge mozilla-central to autoland 2018-08-01 12:53:54 +03:00
Dorel Luca
d0a0ae30d5 Merge mozilla-inbound to mozilla-central. a=merge 2018-08-01 12:51:56 +03:00
Franziskus Kiefer
e6061725f9 Bug 1478668 - windows key store adapter, r=keeler
OS key-store adapter for Windows Credential Manager.
It looks like Windows doesn't allow locking the credential manager without locking the desktop. So `lock` and `unlock` are no-ops here.

Depends on D2487.

Differential Revision: https://phabricator.services.mozilla.com/D2550

--HG--
extra : moz-landing-system : lando
2018-08-01 09:34:59 +00:00
Andrea Marchesini
6c0e1e4469 Bug 1479519 - WPT for Clear-Site-Data executionContexts, r=smaug 2018-08-01 09:01:40 +02:00
Paul Bone
7e1a1e1400 Bug 1479360 - Share and optimize bump-pointer allocation code r=sfink
--HG--
extra : rebase_source : d1fed866371f8ff6698e2d8dbf103199778fe1d4
extra : histedit_source : aa09c06e71b94e0f59b787795d2b760f81830d42%2C76fa097963924f79e13187c2dfa9dcf6a46f491d
2018-08-01 14:51:40 +10:00
Andrea Marchesini
44ce53c72e Bug 1476592 - Remove the cache from nsCSPContext - part 2 - sendViolationReports parameter, r=ckerschb, r=aosmond 2018-08-01 06:35:24 +02:00
Andrea Marchesini
277949ed10 Bug 1476592 - Remove the cache from nsCSPContext - part 1, r=ckerschb 2018-08-01 06:35:21 +02:00
Tooru Fujisawa
1208955167 Bug 1478854 - Disable tests for uncomplete JSScript and inner LazyScript in ccov. r=nbp 2018-08-01 11:20:02 +09:00
George Echim
b293b4d31b Bug 1439832 - Add a test for checking that bookmarks can be opened from Bookmarks in the Library Menu. r=standard8
MozReview-Commit-ID: 69rAIfo2w06

--HG--
extra : rebase_source : baf194bb08abcae140c616bceb7987f249ae06a7
2018-07-31 20:29:12 +01:00
Lina Cambridge
58d1b3ee4a Bug 1478265 - Add a Places maintenance task to clean up duplicate URLs. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D2351

--HG--
extra : moz-landing-system : lando
2018-08-01 06:53:13 +00:00
Brian Birtles
506e320e78 Bug 1478819 - Make Meatball Menu items use title case; r=flod
As per: https://design.firefox.com/photon/copy/capitalization.html#platform-styles

Differential Revision: https://phabricator.services.mozilla.com/D2591

--HG--
extra : moz-landing-system : lando
2018-08-01 06:34:31 +00:00
Cameron McCormack
1f640400bb Bug 1475197 - Part 2: Revendor Rust dependencies. r=emilio
MozReview-Commit-ID: HRMXpPx8Lls

--HG--
extra : rebase_source : 5a1092d388f1da1e9945e26785f0e727a6dd0ce5
2018-08-01 10:29:48 +10:00
Rob Wu
6fd8625b04 Bug 1454627 - Fix timing issue in browser_ext_user_events.js r=mixedpuppy
The hard-coded wait exists to avoid a test failure caused by a
non-functional click event in an options browser. However, that
still does not get rid of the intermittent failure.

To really avoid the timing issue, check whether onclick was fired
after supposedly triggering a click, and if not, wait and retry.

MozReview-Commit-ID: 9eg6sz1s1e3

--HG--
extra : rebase_source : 8945f2597beb99e9c5d03c08bc054692960e6281
2018-07-31 16:58:41 +02:00
Paul Bone
bd066354c6 Bug 1478902 Part 3 - Add assertions to JIT nursery strings allocation r=nbp,sfink
--HG--
extra : rebase_source : 102914ae75616d8989b91dfdb3bacee14356033a
2018-07-31 15:37:26 +10:00
Paul Bone
9133f15f25 Bug 1478902 Part 2 - Nursery strings allocation code uses the wrong pointer r=sfink
Some of the allocation code here uses the wrong pointer for the strings
nursery position.  The bug is benign because the nursery is shared.

--HG--
extra : rebase_source : 27a14aa077d8de6e616d26759aa4e8e0a6bb5bb9
2018-07-30 14:35:11 +10:00
Paul Bone
bf12405840 Bug 1478902 Part 1 - Improve types in nursery allocation r=nbp
--HG--
extra : rebase_source : 9d50285d4f28483a2089f7b2e760faceb37aa33c
extra : source : 2278d3706d90e92511c4bd6942afa8987e9ad54f
2018-07-30 14:35:51 +10:00
Nicholas Nethercote
e0dbe1b052 Bug 1478896 - Fix HashTable.h style. r=froydnj
This patch converts HashTable.h from SpiderMonkey style to Gecko style.

It was created by first running `./mach clang-format -p mfbt/HashTable.h` to
fix the whitespace, and then doing manual patch-ups, the most significant of
which were:

- Adding braces around single-statement if/else/for/while blocks.

- Renaming class members to `mFoo` form and arguments to `aFoo` form.

- Converting `typedef Old New` to `using New = Old` throughout.

MozReview-Commit-ID: LJ1emPyuAjK
2018-07-31 13:39:31 +10:00
sotaro
60415ddc5b Bug 1479680 - Change clear_color to (0.0, 0.0, 0.0, 0.0) in webrender r=nical 2018-08-01 08:50:48 +09:00
Boris Zbarsky
ee565cfd06 Bug 1479486. Remove some unused chromeonly history APIs on Window. r=mccr8
Well, back() is used, but only in tests, and those can use history.back().
2018-07-31 17:27:03 -04:00
Boris Zbarsky
c15a7558ea Bug 1479475 part 2. Remove dead code in nsGlobalWindowOuter that is inner-window-only. r=nika 2018-07-31 17:27:02 -04:00
Boris Zbarsky
c70cb82b91 Bug 1479475 part 1. Remove dead code in nsGlobalWindowInner that is outer-window-only. r=nika 2018-07-31 17:27:02 -04:00
Boris Zbarsky
e847da3a28 Bug 1479497. Use the API for getting the canvas frame instead of groveling around for it in nsGlobalWindowInner::UpdateCanvasFocus. r=heycam 2018-07-31 17:27:02 -04:00
Rob Wu
c7c432f91a Bug 1454627 - Run "onclick" event of menu with user input r=mixedpuppy
MozReview-Commit-ID: r1URJfOKUB

--HG--
extra : rebase_source : 1f5c5bb7b6dbd9709a26bf10abddcda919eff70f
2018-07-27 19:06:00 +02:00
Rob Wu
0fb02494af Bug 1454627 - Re-enable browser_ext_user_events.js (bug 1381305) r=mixedpuppy
Re-enable the test that was disabled in bug 1381305 and fix the
underlying issue that caused th intermittent failure in the first place.

MozReview-Commit-ID: BL9wS2fogaf

--HG--
extra : rebase_source : 685f43b2e47d80f71814385a5c8b94fd3000eac9
2018-07-27 18:52:21 +02:00
Dorel Luca
fa7b36bf43 Backed out changeset e80000bf992c (bug 1478668) for build bustage 2018-08-01 12:26:14 +03:00
Dão Gottwald
26aea6f1ff Bug 1479874 - On Windows 10, let active menu bar items inherit their color from the title bar. r=Felipe
MozReview-Commit-ID: 1FxqSz2U6Lo

--HG--
extra : rebase_source : 287de9e88d4240f5088d9b239a1d1ef220d738c8
2018-07-31 21:20:07 +02:00
Nicholas Nethercote
997e790c3f Bug 1477626 - Use mozilla::HashTable instead of js::HashTable in Bench.cpp. r=froydnj
MozReview-Commit-ID: 4P5L9Kdkiuu

--HG--
extra : rebase_source : 3311757797cbc7c699c39b5ee583910c1924cfb1
2018-07-26 20:16:00 +10:00
Nicholas Nethercote
6998f465ed Bug 1477626 - Use mozilla::HashTable instead of JS::HashTable in DMD. r=erahm
Also use mozilla::HashNumber where appropriate.

MozReview-Commit-ID: BTq0XDS5UfQ

--HG--
extra : rebase_source : 28f45a9b27e831e99620a2b575f373003f1301f2
2018-07-26 20:15:58 +10:00
Nicholas Nethercote
234016c13e Bug 1477626 - Document some differences between mozilla::HashTable and PLDHashTable. r=Waldo
MozReview-Commit-ID: DB0KUy99DDM

--HG--
extra : rebase_source : 4d14c47c48cb821f6c69654c1c5d90c48f217e48
2018-07-26 20:15:55 +10:00
Panos Astithas
3536af633e Bug 1472921 - Fix sampling interval persistence for values <1ms. r=julienw
MozReview-Commit-ID: TxKzT8MCZY

--HG--
extra : rebase_source : 534e6a93928428cd24c306a0f78737d7d6a1d36f
2018-07-26 12:47:30 +03:00
Petru Gurita
5341019c70 Bug 1319793 - [marionette harness tests] Default to not swallow stdout from pytest. r=whimboo
Added the flag 'capture --no' to the harness_unit tests. Stdout is now displayed by default.

MozReview-Commit-ID: HZj3vntLcKI

--HG--
extra : rebase_source : 4de9697cf8cae7ed1707049609812de6f6e22387
2018-07-25 09:00:42 +03:00
Franziskus Kiefer
2b958d46de Bug 1478668 - windows key store adapter, r=keeler
OS key-store adapter for Windows Credential Manager.
It looks like Windows doesn't allow locking the credential manager without locking the desktop. So `lock` and `unlock` are no-ops here.

Depends on D2487.

Differential Revision: https://phabricator.services.mozilla.com/D2550

--HG--
extra : moz-landing-system : lando
2018-08-01 07:52:13 +00:00
Petru Lingurar
bdca79e5ac Bug 1478970 - Can't update Nightly from about:firefox or notification bar - Android O+; r=jchen
As per
https://android-developers.googleblog.com/2017/08/making-it-safer-to-get-apps-on-android-o.html
and
https://developer.android.com/reference/android/Manifest.permission.html#REQUEST_INSTALL_PACKAGES
after targeting API 26 we need a new permission to be able to install Apks.

MozReview-Commit-ID: BF28HTkwYTN

--HG--
extra : rebase_source : cbbbbfb8578d1430810c773d2da99ecd99e69615
2018-08-01 09:09:11 +03:00