Commit Graph

608527 Commits

Author SHA1 Message Date
Yura Zenevich
2b1f8c8ae8 Bug 1481922 - add support for select action and view selected event. r=eeejay, jchen
MozReview-Commit-ID: FaLz7majPhz
2018-08-10 13:13:27 -04:00
Jean-Yves Avenard
26bb934fc5 Bug 1480190 - Enable media-capablities extension by default. r=drno
Differential Revision: https://phabricator.services.mozilla.com/D3061
2018-08-10 19:02:03 +02:00
Jean-Yves Avenard
d3cba9aab4 Bug 1482197 - P3. Update wpt expected values. r=bryce
Depends on D3055

Differential Revision: https://phabricator.services.mozilla.com/D3057
2018-08-10 19:02:03 +02:00
Jean-Yves Avenard
f0a2a7c616 Bug 1482197 - P2. Make IsWebMEncoderEnabled usable off the main thread. r=bryce
It can be called on a worker.

Depends on D3054

Differential Revision: https://phabricator.services.mozilla.com/D3055
2018-08-10 19:02:03 +02:00
Jean-Yves Avenard
c8fdce3c1e Bug 1482197 - P1. Fix variable name in MediaCapabilities. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D3054
2018-08-10 19:02:03 +02:00
Aaron Klotz
40f3a9e2e4 Bug 1481958: Add binary version check to TestNativeNt; r=mhowell 2018-08-08 16:20:49 -06:00
Aaron Klotz
128e90868f Bug 1482219: Fix NativeNt clang-cl warnings; r=mhowell 2018-08-08 14:47:29 -06:00
Johann Hofmann
b72851d67d Bug 1476224 - Update the Tracking Protection section in the main menu for Content Blocking. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D2978

--HG--
extra : rebase_source : 0d37900b25bf2e7164ed13e3d6e88bd1bec4e87b
2018-08-09 01:33:38 +02:00
Johann Hofmann
5584301845 Bug 1476218 - Part 3 - Update Tracking Protection tests to reflect Content Blocking changes. r=nhnt11
This commit also moves the remaining trackingUI_* tests out of b/b/c/test/general,
since I needed to touch them anyway

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

--HG--
rename : browser/base/content/test/general/benignPage.html => browser/base/content/test/trackingUI/benignPage.html
rename : browser/base/content/test/general/browser_trackingUI_3.js => browser/base/content/test/trackingUI/browser_trackingUI_3.js
rename : browser/base/content/test/general/browser_trackingUI_4.js => browser/base/content/test/trackingUI/browser_trackingUI_animation_2.js
rename : browser/base/content/test/general/browser_trackingUI_6.js => browser/base/content/test/trackingUI/browser_trackingUI_fetch.js
rename : browser/base/content/test/general/browser_trackingUI_5.js => browser/base/content/test/trackingUI/browser_trackingUI_pbmode_exceptions.js
rename : browser/base/content/test/general/browser_trackingUI_telemetry.js => browser/base/content/test/trackingUI/browser_trackingUI_telemetry.js
rename : browser/base/content/test/general/file_trackingUI_6.html => browser/base/content/test/trackingUI/file_trackingUI_fetch.html
rename : browser/base/content/test/general/file_trackingUI_6.js => browser/base/content/test/trackingUI/file_trackingUI_fetch.js
rename : browser/base/content/test/general/file_trackingUI_6.js^headers^ => browser/base/content/test/trackingUI/file_trackingUI_fetch.js^headers^
rename : browser/base/content/test/general/trackingPage.html => browser/base/content/test/trackingUI/trackingPage.html
extra : rebase_source : 2a12463ab2ba39bdcf077580a2d6e565f80c879c
2018-08-08 14:31:34 +02:00
Johann Hofmann
dabab2f05c Bug 1476218 - Part 2 - Add a "Disabled" label to the content blocking section in the identity popup. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D2776

--HG--
rename : browser/themes/shared/controlcenter/warning-gray.svg => browser/themes/shared/controlcenter/warning.svg
extra : rebase_source : 546942d6632ba8139b00b4742d92129d49fbadde
2018-08-06 12:45:22 +02:00
Johann Hofmann
29edd41fd0 Bug 1476218 - Part 1 - Update Tracking Protection section in the identity popup for Content Blocking. r=nhnt11
This commit switches the identity popup to use "Content Blocking" as a top-level section
instead of Tracking Protection, which is now demoted to a category of Content Blocking.

To keep this change halfway reviewable, I avoided renaming variables, classNames, ids, etc.
that use the term trackingProtection if they were otherwise unaffected by this patch. There
will be other patches that can do this in the future

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

--HG--
rename : browser/base/content/browser-trackingprotection.js => browser/base/content/browser-contentblocking.js
extra : rebase_source : 0dd57d6142c971617e9f47d32ce76a4a028d98eb
2018-08-06 12:43:59 +02:00
Geoff Brown
3ee60bd876 Bug 1482413 - Improve mozharness diagnostics in per-test runs, especially for TV-bf; r=jmaher 2018-08-10 10:22:04 -06:00
Narcis Beleuzu
1065df65a3 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-10 19:07:27 +03:00
Narcis Beleuzu
088938b149 Merge inbound to mozilla-central. a=merge 2018-08-10 19:00:28 +03:00
Anny Gakhokidze
be49493caf Bug 1453153 - Initial removal of moz* APIs in DataTransfer, r=enndeakin,nika
In DataTransfer, change mozItemCount, mozTypesAt, mozClearDataAt, mozSetDataAt,
mozGetDataAt APIs to be ChromeOnly.

MozReview-Commit-ID: 9uJ9ncrcBL2
2018-08-10 11:57:06 -04:00
Jonathan Kingston
b6a3ba71f1 Bug 1466801 - Fixup slow running video wpt test on 32bit debug build. 2018-08-10 16:40:51 +01:00
Nicolas Silva
0dbafc5576 Bug 1482109 - Fix unified build related issues. r=rhunt 2018-08-10 17:15:23 +02:00
Nicolas Silva
03b39c61f2 Bug 1482109 - Use the generic memory pressure observer in PuppetWidget. r=sotaro 2018-08-10 17:15:18 +02:00
Nicolas Silva
33f0e6077e Bug 1482109 - Use the generic memory pressure observer in gfxPlatfrom. r=sotaro 2018-08-10 17:15:12 +02:00
Nicolas Silva
448ed62883 Bug 1482109 - Use the generic memory pressure observer in ClientLayerManager. r=sotaro 2018-08-10 17:15:08 +02:00
Nicolas Silva
1d263cc139 Bug 1482109 - Add a generic MemoryPressureObserver. r=sotaro 2018-08-10 17:15:02 +02:00
Nicolas Silva
3cea37c9c2 Bug 1469496 - Handle video memory purge with WebRender. r=sotaro 2018-08-10 17:14:57 +02:00
Andrew Osmond
085c930700 Bug 1481933 - Store a shared surface's dirty rect update if we cannot process it immediately. r=nical
Multiple tabs in the same process could be viewing the same image. If it
is an image we are taking some time to download from the network, it may
not be displayed all at once. As a result, it could generate several
dirty rects for the newly decoded lines each time we paint. Since we
only apply the dirty rect to the active tab, and forget it afterwards,
then when one returns to the other tab(s), it may not reupload all of
the modified image data. Now we save the dirty rect and accumulate it
for the handles which weren't able to be updated immediately.
2018-08-10 10:48:23 -04:00
Masatoshi Kimura
5386e9c84f Bug 1472254 - Backed out changeset 69259eedc1e6 as the final fix has landed. r=dmajor
--HG--
extra : rebase_source : f77217d0946d4c99c421f1cd4611044935131024
2018-08-10 18:42:10 +09:00
Sebastian Hengst
d0a9f29b25 Bug 1482123 - set dom.animations-api.getAnimations.enabled to true for CSSPseudoElement tests. r=emilio
Summary: MozReview-Commit-ID: 8eOaJucqovu

Reviewers: emilio

Reviewed By: emilio

Subscribers: emilio

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

--HG--
extra : rebase_source : 9f26d404a91a76f0b282b6be76577895d25a8003
2018-08-10 14:49:30 +03:00
Emilio Cobos Álvarez
e469d8b05b Bug 1482043 - Avoid starting the benchmark twice with the same client. r=jmaher
benchmar-report.js already has code like:

    window.onload = function () {
        document.body.removeChild(document.querySelector('main'));
        startBenchmark();
    }

So we avoid starting the test on load twice.

The throw when the style element was not there was saving us from reporting
twice, but the message interfered with the output that talos tries to parse.

At first sight, looks like this could also be a problem for speedometer, but
turns out it's not, since speedometer uses `<body onload="">`, and window.onload
overrides it.

That means that
https://hg.mozilla.org/mozilla-central/rev/162593bda5e167bea16b28637e85cc9d23f19c7c
is useless for Talos / Raptor, but it may be needed for PGO stuff, so I've kept
it for now.

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

--HG--
extra : moz-landing-system : lando
2018-08-10 03:26:18 +00:00
Sahil Bhosale
f644c54e3a Bug 1481401 - PanelMultiView.jsm: replace _dwu getter with _getBoundsWithoutFlushing method. r=dao 2018-08-10 02:27:00 +03:00
Benjamin Bouvier
9671d15a89 Bug 1482365: Sync stack before branching in wasm baseline compiler's emitSetGlobal; r=lth
--HG--
extra : rebase_source : 7f879dcbda2f9d290f9767d85a4c331c42f9eb64
2018-08-10 12:00:41 +02:00
Jan de Mooij
17094cb561 Bug 1472976 part 6 - Remove unused xpc::AccessCheck::getPrincipal method. r=mrbkap 2018-08-10 11:57:40 +02:00
Jan de Mooij
0fdef26898 Bug 1472976 part 5 - Use xpc::GetRealmPrincipal instead of xpc::GetCompartmentPrincipal in xpc::GetObjectPrincipal. r=mrbkap 2018-08-10 11:57:40 +02:00
Jan de Mooij
90d9694728 Bug 1472976 part 4 - Use JS::GetRealmPrincipals instead of JS_GetCompartmentPrincipals in XPCWrappedNativeScope::GetPrincipal. r=mrbkap 2018-08-10 11:57:40 +02:00
Jan de Mooij
2b60db1326 Bug 1472976 part 3 - Use JS::GetRealmPrincipals instead of JS_GetCompartmentPrincipals in nsContentUtils::ObjectPrincipal. r=smaug
This also removes an outdated comment, nsScriptSecurityManager::doGetObjectPrincipal was removed in bug 1464374.
2018-08-10 11:57:39 +02:00
Jan de Mooij
dc6c0b33da Bug 1472976 part 2 - Use the callback global instead of the callback in JSEventHandler::HandleEvent. r=smaug
The callback and the global here must be same-compartment, but the callback might be a CCW.
2018-08-10 11:57:39 +02:00
Jan de Mooij
d238731d5e Bug 1472976 part 1 - Unwrap the object before getting its principal in CustomElementRegistry::IsCustomElementEnabled. r=smaug 2018-08-10 11:57:39 +02:00
Margareta Eliza Balazs
2ea9c9c5dc Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-10 12:24:08 +03:00
Margareta Eliza Balazs
f617807241 Merge inbound to mozilla-central. a=merge 2018-08-10 12:17:09 +03:00
Brindusan Cristian
e40aaf2b8f Backed out changeset d103f117bb84 (bug 1480888) for xpcshell failures on /extensions/test/xpcshell/test_ext_topSites.js. 2018-08-10 08:36:36 +03:00
Cosmin Sabou
2000d70040 Backed out changeset b580e5b9f9e4 (bug 1476495) for wpt reftest failures on contain-layout-ink-overflow. CLOSED TREE
--HG--
extra : amend_source : 52811bc4cb88b219adc749a02c8f51c7ddb69bd3
2018-08-10 07:17:58 +03:00
Ursula Sarracini
114388d304 Bug 1480888 - Implement blocking system for special search shortcut top sites r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D3035

--HG--
extra : moz-landing-system : lando
2018-08-09 19:52:16 +00:00
Daisuke Akatsuka
b845ed9711 Bug 1479773: Change col-resize style on summary graph during dragging the scrubber. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D2916

--HG--
extra : moz-landing-system : lando
2018-08-10 03:34:49 +00:00
Martin Balfanz
6a24a761e3 Bug 1471952 - change default tool to Inspector;r=gl,rcaliman
Change default tool to inspector

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

--HG--
extra : moz-landing-system : lando
2018-08-09 18:05:12 +00:00
Margareta Eliza Balazs
d5a51ec1a6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-10 12:22:04 +03:00
Andrei Lazar
262118affd Bug 1476966 Constant notification ringing when downloading a file r=JanH
Created specific notification channel dedicated to download progress notifications.

MozReview-Commit-ID: 88vsQiI2L2
***

--HG--
extra : rebase_source : 146563fd14a59299bc9bbba79fc9bdfd9e7ed37f
2018-08-09 14:07:02 +03:00
Lars T Hansen
3956b572e1 Bug 1481171 - Remove failure path for lookupTrap(). r=luke
With asm.js atomics gone and wasm atomics opting in to standard
trap-based OOB handling, we should never fail to find a trap site.  So
assert that we always find it, and remove code that is now dead.

--HG--
extra : rebase_source : 5ae030ab9ac92f48d84328c7ed5048ced299eb20
extra : source : 7dc12de9bf40160f8809bbe4fc16f4b54f6e5fa6
extra : histedit_source : 240aef6bd1195f13789d4da8d28a6698bc3dbbff
2018-08-03 12:04:53 +02:00
Lars T Hansen
d62785a24b Bug 1481171 - Wasm-specific atomics operations. r=luke
A large and mostly mechanical change: Prune the non-JS atomic APIs in
MacroAssembler.h and add many wasm-specific APIs instead.

The three non-JS APIs that remain in MacroAssembler.h could also be
removed but are used in multiple places to implement the JS APIs, and
it seemed fine to just leave them in.  They are after all generally
useful.

Note, this patch changes MIPS code so that it compiles, but it does
not insert the necessary emitting of metadata, partly because the
mechanics of that for 64-bit ops on 32-bit systems depends on the
implementation of those 64-bit ops, and partly because I am happy to
let the MIPS maintainers do the work and check it.  I have left behind
FIXME comments where changes are needed.

The one additional test case in jit-test is a result of closely
reading existing code and finding a bug that should have caused a
failure, but didn't, once the wasm/asm.js fallback for signal handling
was removed.

--HG--
extra : rebase_source : 4958997adb6050222bcde609dca6d00108c0a8f9
extra : histedit_source : b7fbcf868c60d7079d7827d98c7e7aad2d7d1f32
2018-08-06 15:55:49 +02:00
Tom Prince
17d157b51e Bug 1477706: Fix typo in test; r=me
--HG--
extra : rebase_source : 3cd8b952feed4f75b56a98dd17182ca239c46465
2018-08-09 23:16:09 -06:00
Daisuke Akatsuka
1b3778a923 Bug 1480027 - Part 2: Add test for overflowed delay and endDelay. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D2915
2018-08-08 13:59:43 +09:00
Daisuke Akatsuka
a30ae3fa82 Bug 1480027 - Part 1: Ignores animations that have overflowed delay or endDelay. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D2913

--HG--
extra : rebase_source : b8f7c1a41d0b8f1c31c2e90cc70a4d3020364f07
2018-08-08 12:46:45 +09:00
Paul Bone
a769b94ed4 Bug 1482002 - add nsCaseInsensitiveStringComparator default constructor r=bz
--HG--
extra : rebase_source : 33354a2466e0695350669d309713694ff5b7b6ca
extra : source : 45c85611bd318a4b788ae9884a78af2ebe99e30e
2018-08-09 14:37:30 +10:00
Eitan Isaacson
704a28b360 Bug 1478727 - Move IDSet out of windows to base for Android use. r=jteh
--HG--
rename : accessible/windows/msaa/IDSet.h => accessible/base/IDSet.h
2018-08-09 14:56:00 +03:00