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

83344 Коммитов

Автор SHA1 Сообщение Дата
Andrea Marchesini fad9354e10 Bug 1320404 - Remove appId from origin attributes - part 2 - NO_APP_ID UNKNOWN_APP_ID, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29354

--HG--
extra : moz-landing-system : lando
2019-05-02 17:24:53 +00:00
Andrea Marchesini 138cee6dea Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod
Differential Revision: https://phabricator.services.mozilla.com/D29353

--HG--
extra : moz-landing-system : lando
2019-05-02 17:24:51 +00:00
Bogdan Tara a3eab309d8 Backed out 2 changesets (bug 1510569) for crashtests/1419902.html crashes CLOSED TREE
Backed out changeset fc0ae629221a (bug 1510569)
Backed out changeset 97f6ac273b5d (bug 1510569)
2019-05-03 03:48:15 +03:00
Barret Rennie 93a50953e0 Bug 1510569 - Port onStateChange notifications inside WebProgressChild.jsm to C++ r=baku,kmag
We now also only access the document when the state is
nsIWebProgress::STATE_STOP. The comments in the previous code indicated that
touching the document inside the event handler when the state is not STATE_STOP
would result in the content creating a new about:blank document to retrieve the
values from. However, it then went on to do this in another location, causing a
document to be created whenever we received an onStateChange event. This should
no longer occur.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 23:36:24 +00:00
alwu 6e61f3513b Bug 1540748 - part2 : add warning for negative adjusted time. r=jolin
As the purpose of adjusting time is to make the start of the playback to align to zero, so the result should not be negative.

However, we can't always ensure the demuxed start time is correct, the decoded first frame sample time might be different with the time demuxer provides.

Even if we try to update the start time when we get the first decoded sample, there is still a problem because a decoder might return samples with different order, which means the first frame the decoder returns is probably not a real first frame.

Therefore, using warning to help us knows how many this situaion would be.

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

--HG--
extra : moz-landing-system : lando
2019-04-29 21:44:06 +00:00
Alastor Wu 7d5891752c Bug 1540748 - part1 : Android decoder should throw an error when the decoded sample's time is smaller than the time of first demuxed sample. r=jolin,jya
Considering that the audio sample's time is always increased, the decoded sample's time decoder returns should always be equal or larger than its demuxed time.

When the decoded sample's time is smaller than the time of first demuxed sample, that time would probably cause a problem so we should  throw an error for that.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 17:58:05 +00:00
Alastor Wu 01946df64d Bug 1540748 - part0 : mark functions const. r=jya
There functions won't change any internal variables, so they should be marked as const.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 00:51:54 +00:00
Shane Caraveo 5f24a04aa2 Bug 1548177 support incognito flag in request filtering r=kmag,robwu
Differential Revision: https://phabricator.services.mozilla.com/D29446

--HG--
extra : moz-landing-system : lando
2019-05-02 16:23:03 +00:00
Robin Templeton fa340ddad3 Bug 1527902 - Enable javascript.options.bigint by default r=jandem,kmag
Differential Revision: https://phabricator.services.mozilla.com/D29182

--HG--
extra : moz-landing-system : lando
2019-05-02 19:19:00 +00:00
Brian Grinstead 787d9413a8 Bug 1500626 - Convert <menuitem> bindings to a Custom Element r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D9322

--HG--
extra : moz-landing-system : lando
2019-05-02 19:28:18 +00:00
Bogdan Tara 86cbef62d0 Backed out 2 changesets (bug 1510569) for crashtests/1419902.html failures CLOSED TREE
Backed out changeset 13c5249d66a7 (bug 1510569)
Backed out changeset a6ad4039d785 (bug 1510569)
2019-05-02 21:30:20 +03:00
Alastor Wu b0343f16e5 Bug 1546655 - Skip 'flac-s24.flac' and 'opus-mapping2.webm' in test_streams_element_capture.html r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D29594

--HG--
extra : moz-landing-system : lando
2019-05-02 17:48:33 +00:00
Nika Layzell 7798ff2db3 Bug 1540733 - Create a new IPCBlobInputStreamChild actor when migrating, r=baku
Differential Revision: https://phabricator.services.mozilla.com/D27970

--HG--
extra : moz-landing-system : lando
2019-05-02 16:18:51 +00:00
Barret Rennie b32c02517c Bug 1510569 - Port onStateChange notifications inside WebProgressChild.jsm to C++ r=baku,kmag
We now also only access the document when the state is
nsIWebProgress::STATE_STOP. The comments in the previous code indicated that
touching the document inside the event handler when the state is not STATE_STOP
would result in the content creating a new about:blank document to retrieve the
values from. However, it then went on to do this in another location, causing a
document to be created whenever we received an onStateChange event. This should
no longer occur.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 16:20:34 +00:00
Nathan Froyd 482490a2df Bug 1548562 - require `nsThread::Init` to take a name; r=baku
There's no good reason why we should let unnamed threads through this interface.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 16:05:50 +00:00
Emilio Cobos Álvarez b3d6b2d368 Bug 1547851 - Ensure we have a pres shell to send events to by the time load ends. r=mconley
See the regressing bug for similar fixes that were needed in other tests.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 13:54:03 +00:00
Emilio Cobos Álvarez ad082043b5 Back out changeset 0e9ee7d2188b (bug 1541233) as per bug discussion. 2019-05-02 21:50:57 +02:00
Andrew Osmond b99b7a1925 Bug 1546505 - Remove ImageBitmapUtils and ImageBitmapColorUtils as it is dead code. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D28986
2019-05-02 14:06:14 -04:00
Brian Hackett a2325f1a73 Bug 1392408 Part 4 - Report stacks to net monitor when opening XHRs from worker, r=bzbarsky.
--HG--
extra : rebase_source : a939b6d209398787c794686775e00a76940bb52c
2019-04-19 07:20:13 -10:00
Brian Hackett c992de738f Bug 1392408 Part 3 - Report stacks to net monitor when loading worker scripts, r=bzbarsky.
--HG--
extra : rebase_source : 0511ac369eab87485c38e4db81542994b6a52876
2019-04-19 07:19:38 -10:00
Brian Hackett aaf5e5ee86 Bug 1392408 Part 2 - Encapsulate threadsafe main/worker stacks in WorkerStackHolder, r=bzbarsky.
--HG--
extra : rebase_source : b8950ea78f32091627f2de7241402c058aef3fa0
2019-04-19 07:18:38 -10:00
Brindusan Cristian 9deae973cd Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-05-02 18:33:18 +03:00
Brindusan Cristian 8f1402e37c Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-05-02 12:56:28 +03:00
Haik Aftandilian 58067ff840 Bug 1548406 - Part 1 - Simplify MacSandboxInfo and sandbox type enums r=handyman
Replace the MacSandboxType_Plugin sandbox type with MacSandboxType_Flash and MacSandboxType_GMP so that there is a 1:1 association between MacSandboxType values and sandbox policies.

Remove the MacSandboxPluginType enum. Instead of having different MacSandboxPluginTypes, we will just have MacSandboxType_GMP. We only use GMP for two plugin types, Widevine and OpenH264, and they only differ in that Widevine requires accss to the WindowServer.

Remove the MacSandboxPluginInfo struct and move the two needed fields pluginPath and pluginBinaryPath to MacSandboxInfo.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 07:04:44 +00:00
Noemi Erli d4e8ffb875 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-05-02 07:40:07 +03:00
Noemi Erli 54a0234766 Backed out 6 changesets (bug 1540573) for failures in test_CSP.html
Backed out changeset 599e6e06599d (bug 1540573)
Backed out changeset bf725b7daa5b (bug 1540573)
Backed out changeset 814c94b26028 (bug 1540573)
Backed out changeset 3496ca48f6e0 (bug 1540573)
Backed out changeset 2c4303b175ec (bug 1540573)
Backed out changeset b49cd2b191ae (bug 1540573)
2019-05-02 06:41:33 +03:00
Cosmin Sabou a884fb99d8 Backed out 4 changesets (bug 1320404) for xperf failures on permissions.sqlite-journal.
Backed out changeset fbacf18b6532 (bug 1320404)
Backed out changeset fed7c475d75c (bug 1320404)
Backed out changeset 557b586f774a (bug 1320404)
Backed out changeset 5a20b5f43280 (bug 1320404)
2019-05-02 04:51:18 +03:00
Mike Conley a51a8650de Bug 1533955 - Fire oop-browser-crashed event again if a subframe crashes. r=nika
This also adds an isTopFrame attribute to the FrameCrashedEvent binding, which
returns true if the frame that crashed was the top-most one.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 20:04:50 +00:00
Chris Pearce ce390c7a4f Bug 1540573 - P6. Use frugal preloading of media data when on cellular, otherwise aggressive. r=jya
We're allowed to take some liberties as to what the default value and behaviour
we assume for the 'preload' attribute on HTMLMediaElement by the spec. On
desktop we assumed preload="metadata", while on mobile we assumed the default
of preload="none" to save data. On mobile we also assumed that preload="auto"
meant preload="metadata".

I think it makes sense to instead of always assuming that data on Android is
always expensive, we can instead detect if we're running on a cellular connection,
and preload frugally then, otherwise aggressively.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 23:48:21 +00:00
Chris Pearce 4c240bf871 Bug 1540573 - P5. Only "always throttle" media download to the readahead on cellular connections. r=jya
Normally when downloading media data we throttle the download only if we're
ahead of the read cursor more than the "readahead limit", and if we estimate
that the connection is fast enough that we'll be able to download at a rate
fast enough to playback in real time if we resume it later.

On mobile we additionally override this so that we always throttle the download
once we're ahead of the read cursor by the readahead limit. This is to save
data.  I think we can relax this to only do this override if we're on a
cellular connection; if we're on WiFi we can assume data is cheap.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 23:48:17 +00:00
Chris Pearce 217bd1680c Bug 1540573 - P4. Use larger MediaCache sizes when on cellular connection. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D26233

--HG--
extra : moz-landing-system : lando
2019-05-01 23:48:13 +00:00
Chris Pearce 8ad76b6460 Bug 1540573 - P3. Expose network link type on ContentChild for use in content process. r=snorp
In GeckoView the nsINetworkLinkService doesn't work in the content process, as
we don't seem to have an AndroidBridge there, so just maintain the network
connection type on the ContentChild.

(I had considered keeping this on the NeckoChild, but the creation of that is
initiated from the content process side, and there's not an easy and clean way
to have the parent process send us the connection type after construction of
the NeckoParent, other than have the NeckoChild request it either
synchronously, or doing it async and hoping it's not asked for the value before
the response comes in.)

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

--HG--
extra : moz-landing-system : lando
2019-05-01 23:46:23 +00:00
Andrea Marchesini 36718d66c8 Bug 1320404 - Remove appId from origin attributes - part 2 - NO_APP_ID UNKNOWN_APP_ID, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29354

--HG--
extra : moz-landing-system : lando
2019-05-01 23:21:54 +00:00
Andrea Marchesini 7e61125d8f Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod
Differential Revision: https://phabricator.services.mozilla.com/D29353

--HG--
extra : moz-landing-system : lando
2019-05-01 23:21:45 +00:00
Alastor Wu b8d3f16ea7 Bug 1535005 - part2 : add test. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D29095

--HG--
extra : moz-landing-system : lando
2019-05-01 23:02:38 +00:00
Alastor Wu b8c30ffe3c Bug 1535005 - part1 : no need to update 'mLastTimeMarchesOnCalled' in 'DidSeek()' r=jya
According to spec [1],  `mLastTimeMarchesOnCalled` is used to represent the `last time` in step3. It's used to record last time we run `TimeMarchOn()`, so there is no need to upate it on `DidSeek()`.

[1] https://html.spec.whatwg.org/multipage/media.html#time-marches-on

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

--HG--
extra : moz-landing-system : lando
2019-05-01 23:16:42 +00:00
Jean-Yves Avenard 703b321635 Bug 1532867 - Force unsigned arithmetic. r=gerald
"For negative a, the behavior of a << b is undefined." https://en.cppreference.com/w/cpp/language/operator_arithmetic

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

--HG--
extra : moz-landing-system : lando
2019-05-01 07:20:23 +00:00
Jean-Yves Avenard da336c5aa4 Bug 1532849 - Prevent arithmetic overflow. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D29461

--HG--
extra : moz-landing-system : lando
2019-05-01 23:13:34 +00:00
Jean-Yves Avenard 8926b1a54d Bug 1534156 - Get around int32_t to float rounding error. r=bryce
float(INT32_MAX); gets compiled into 2.14748365E+9 using clang, which is slightly bigger than INT32_MAX, as such 2.14748365E+9 <= INT32_MAX will return true (as INT32_MAX gets converted to a float)

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

--HG--
extra : moz-landing-system : lando
2019-05-01 23:11:56 +00:00
Andrea Marchesini ce5667fa03 Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - dom.largeAllocation.forceEnable, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29527

--HG--
extra : moz-landing-system : lando
2019-05-01 21:49:17 +00:00
Andrea Marchesini 7bc0fed6d6 Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - dom_presentation_testing_simulate_receiver, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29526

--HG--
extra : moz-landing-system : lando
2019-05-01 21:48:55 +00:00
Andrea Marchesini f50233ec54 Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - dom.script_loader.bytecode_cache.strategy, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29525

--HG--
extra : moz-landing-system : lando
2019-05-01 21:11:48 +00:00
Andrea Marchesini ff333370f8 Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - browser.contentblocking.rejecttrackers.control-center.ui.enabled, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29524

--HG--
extra : moz-landing-system : lando
2019-05-01 21:11:31 +00:00
Andrea Marchesini da4c1080ef Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - dom.script_loader.bytecode_cache.enabled, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29523

--HG--
extra : moz-landing-system : lando
2019-05-01 21:11:17 +00:00
Andrea Marchesini 81a8b494c1 Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - browser.autofocus, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29522

--HG--
extra : moz-landing-system : lando
2019-05-01 21:10:56 +00:00
Andrea Marchesini 19f484d03e Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - dom.placeholder.show_on_focus, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29521

--HG--
extra : moz-landing-system : lando
2019-05-01 21:10:41 +00:00
Andrea Marchesini 4426f8f63b Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - network.http.tailing.enabled, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29520

--HG--
extra : moz-landing-system : lando
2019-05-01 21:10:31 +00:00
Andrea Marchesini bd4c6a48e5 Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - dom.requestIdleCallback.enabled, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29519

--HG--
extra : moz-landing-system : lando
2019-05-01 21:10:13 +00:00
Andrea Marchesini dafbe56cc8 Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - dom.input.skip_cursor_move_for_same_value_set, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29518

--HG--
extra : moz-landing-system : lando
2019-05-01 21:10:08 +00:00
Andrea Marchesini 2af86f5ef5 Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - layout.css.getBoxQuads.enabled, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29517

--HG--
extra : moz-landing-system : lando
2019-05-01 21:09:58 +00:00
Andrea Marchesini 033f3e0374 Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - dom.animations-api.core.enabled, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29516

--HG--
extra : moz-landing-system : lando
2019-05-01 21:09:53 +00:00
Andrea Marchesini 02a6bdd26c Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - ui.use_activity_cursor, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29515

--HG--
extra : moz-landing-system : lando
2019-05-01 21:09:49 +00:00
Andrea Marchesini 79d0eaf58e Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - privacy.donottrackheader.enabled, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29514

--HG--
extra : moz-landing-system : lando
2019-05-01 21:09:44 +00:00
Andrea Marchesini 12bfdbfca0 Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - dom.performance.enable_notify_performance_timing, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29513

--HG--
extra : moz-landing-system : lando
2019-05-01 21:09:31 +00:00
Andrea Marchesini 24453a25e0 Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - dom.event.handling-user-input-time-limit, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29512

--HG--
extra : moz-landing-system : lando
2019-05-01 21:09:14 +00:00
Andrea Marchesini d0958f284f Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - privacy.window.maxInnerWidth/Height, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29511

--HG--
extra : moz-landing-system : lando
2019-05-01 21:09:09 +00:00
Andrea Marchesini aeb75d8ede Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - dom.forms.autocomplete.formautofill, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29510

--HG--
extra : moz-landing-system : lando
2019-05-01 21:09:05 +00:00
Andrea Marchesini dc41e899af Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - dom.enable_frame_timing, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29509

--HG--
extra : moz-landing-system : lando
2019-05-01 21:08:54 +00:00
Andrea Marchesini 08f2cb38b0 Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - security.mixed_content.upgrade_display_content, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29508

--HG--
extra : moz-landing-system : lando
2019-05-01 21:08:45 +00:00
Andrea Marchesini 3ffd8f658f Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - dom.enable_performance_navigation_timing, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29507

--HG--
extra : moz-landing-system : lando
2019-05-01 21:08:40 +00:00
Andrea Marchesini cdc5dc80cf Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - dom.enable_resource_timing, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29506

--HG--
extra : moz-landing-system : lando
2019-05-01 21:08:36 +00:00
Andrea Marchesini 54d87e9690 Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - dom.enable_performance, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29505

--HG--
extra : moz-landing-system : lando
2019-05-01 21:06:59 +00:00
Andrea Marchesini a97f12548d Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - dom.allow_cut_copy, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29504

--HG--
extra : moz-landing-system : lando
2019-05-01 21:06:58 +00:00
Andrea Marchesini 86ad9a53ed Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - full-screen-api.allow-trusted-requests-only, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29502

--HG--
extra : moz-landing-system : lando
2019-05-01 21:06:10 +00:00
Andrea Marchesini d7929086f3 Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - full-screen-api.unprefix.enabled, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29501

--HG--
extra : moz-landing-system : lando
2019-05-01 21:06:01 +00:00
Andrea Marchesini 54e6e5339e Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - full-screen-api.enabled, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29500

--HG--
extra : moz-landing-system : lando
2019-05-01 21:39:01 +00:00
Emilio Cobos Álvarez 27fc6a03c9 Bug 1545430 - Implement selector-matching for ::part(). r=heycam
Also fairly straight-forward. This may get more complicated when we do part
forwarding, if any.

I've opened https://github.com/w3c/csswg-drafts/issues/3841 in what I think
would be a cleaner model for forwarding.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 17:28:23 +00:00
Andreea Pavel 4fea4aeb28 Merge mozilla-central to autoland. on a CLOSED TREE 2019-05-01 19:05:19 +03:00
Andreea Pavel accc389b66 Merge mozilla-inbound to mozilla-central. a=merge 2019-05-01 18:56:07 +03:00
Emilio Cobos Álvarez 81f4733d9e Bug 1548057 - followup: Unbust opt builds. r=me
CLOSED TREE
2019-05-01 17:01:56 +02:00
Emilio Cobos Álvarez 069fbaa157 Bug 1548057 - Properly unregister the resize observer helpers when the shell goes away. r=dholbert,boris
Need to write a test for this. Also, as a matter of preventive measure, null out
mOwner when it dies.

That may matter in the case where the controller dies while the observer is
getting notified. In that case, somebody still keeps a reference to the
controller. Right now is fine because nothing will touch it again (the
destructor doesn't), but that's not great, and it's better to just clear the
pointer.

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

--HG--
extra : moz-landing-system : lando
2019-04-30 19:44:55 +00:00
Emily Toop 177efc3267 Bug 1547100 - Enable GV StorageManager testing in Mochitests. r=asuth
We want to start exposing the storage manager (`navigator.storage.persist`) for GeckoView enabled apps, but continue not exposing it in Fennec. To enable this a new entry type for Fennec only (different from generic Android) is added to allow us to continue to exclude Fennec from the tests while enabling the tests for other Android builds.

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

--HG--
extra : moz-landing-system : lando
2019-04-30 19:20:49 +00:00
Sylvestre Ledru e226046cb8 Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
# ignore-this-changeset

Depends on D28954

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

--HG--
extra : moz-landing-system : lando
2019-05-01 08:47:10 +00:00
Joel Maher 6611f95ab0 Bug 1546459 - remove subsuite=clipboard from manifests. r=ahal
remove subsuite=clipboard from manifests

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

--HG--
extra : moz-landing-system : lando
2019-05-01 08:16:44 +00:00
Joel Maher f526511a8a Bug 1514425 - disable webpayment tests as we do not currently ship this feature. r=marcosc,edenchuang
disable webpayment tests as we do not currently ship this feature

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

--HG--
extra : moz-landing-system : lando
2019-05-01 06:59:03 +00:00
Jim Porter fab76875af Bug 1493225, part 4 - Cancel content JS when navigating through history to prevent hangs r=smaug
Add tests to verify the behavior of the previous patches.

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

--HG--
extra : moz-landing-system : lando
2019-04-30 23:32:01 +00:00
Jim Porter a480304779 Bug 1493225, part 3 - Cancel content JS when navigating through history to prevent hangs r=smaug
This patch adds an ID to ensure that we avoid canceling content JS if the next
page already started loading by the time we're ready to try canceling the JS.

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

--HG--
extra : moz-landing-system : lando
2019-04-30 23:31:46 +00:00
Jim Porter f9d5e48623 Bug 1493225, part 2 - Cancel content JS when navigating through history to prevent hangs r=smaug
In this part, we pass along the navigation type (and index for when using the
dropdown on the back/forward buttons). This allows us to check if there's a
top-level load "between" the start and end pages.

The patch might look a bit strange, since we're passing the navigation
operation to two places from RemoteWebNavigation.js (the normal message passing
that existed before this patch and the HangMonitor channel in this patch). This
is primarily to make it easier to stop passing the navigation info along the
HangMonitor channel once session history is uplifted into the parent process.
At that point, the check for whether there's a top-level load could happen in
TabParent (I think).

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

--HG--
extra : moz-landing-system : lando
2019-04-30 23:31:36 +00:00
Jim Porter 04d397e55f Bug 1493225, part 1 - Cancel content JS when navigating through history to prevent hangs r=smaug
This patch passes a message through the HangMonitor channel when navigating
through history to cancel content JS that could hang the chrome JS in the
content process responsible for history navigation. If the content JS is
actually canceled, this also disables the BF cache for the current page, since
it could end up in an inconsistent state due to the JS cancellation.

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

--HG--
extra : moz-landing-system : lando
2019-04-30 23:56:17 +00:00
Steve Fink 8484af2fa6 Bug 1547782 - Implement GCPolicy<T>::isValid for Gecko specializations r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D29302

--HG--
extra : moz-landing-system : lando
2019-04-30 21:48:32 +00:00
Emilio Cobos Álvarez 9027ab34a7 Bug 1514655 - Always wrap plain text documents. r=bzbarsky
This matches other UAs.

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

--HG--
extra : moz-landing-system : lando
2019-04-30 19:41:40 +00:00
Geoff Brown f21fe0f170 Bug 1532097 - Skip test_fetch_basic_http_sw_empty_reroute.html on geckoview for frequent intermittent failures; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D28747

--HG--
extra : moz-landing-system : lando
2019-04-30 19:25:35 +00:00
Andreas Pehrson e8b6f83dce Bug 1538727 - Move TrackListener and track-PrincipalChangeObserver removal to Stop(). r=bryce
These are added in start, and we get into unexpected state if they notify us
after Stop() (when MediaEncoder shuts down and internally removes the tracks
it is encoding) but before Shutdown() when we remove the listeners. This is not
symmetrical. The proper thing to do is to remove these listeners in Stop() as
well.

Depends on D29080

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

--HG--
extra : moz-landing-system : lando
2019-04-30 18:39:21 +00:00
Andreas Pehrson 7485192753 Bug 1538727 - Add crashtest. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D29080

--HG--
extra : moz-landing-system : lando
2019-04-30 18:39:11 +00:00
Dan Minor 4d0f83f387 Bug 1497559 - Remove Application from mediaCaptureWindowState; r=jib
Differential Revision: https://phabricator.services.mozilla.com/D28093

--HG--
extra : moz-landing-system : lando
2019-04-30 15:06:23 +00:00
Coroiu Cristina 3b1ccb8045 Merge mozilla-central to inbound a=merge 2019-05-01 07:27:22 +03:00
Olli Pettay 8450c835d5 Bug 1548146 - Tweak sLastForgetSkippableCycleEndTime handling to be able to check two tasks within < 1ms, r=mccr8
--HG--
extra : rebase_source : a4d82ac6cbac8d58b091565cb8ccc4c12d71fcde
2019-05-01 01:41:06 +03:00
Coroiu Cristina 02cf69641a Merge mozilla-central to inbound a=merge 2019-05-01 00:58:36 +03:00
Nas 64ccd51b14 Bug 1542906 - Remove a useless variable in PointerEventHandler.cpp. r=emilio 2019-04-30 21:55:48 +02:00
Jan-Ivar Bruaroey 6b8d3b7ad8 Bug 1335740 - Update wpt & mochitests to work w/[SecureContext] navigator.mediaDevices. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D20425

--HG--
rename : testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.html.ini => testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html.ini
rename : testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.html => testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html
extra : moz-landing-system : lando
2019-04-30 15:20:53 +00:00
Jan-Ivar Bruaroey 51b1caf0cd Bug 1335740 - getUserMedia() Add 2 prefs to control A) NotAllowedError in http (pref'd on), and B) [SecureContext] navigator.mediaDevices (pref'd off) r=bzbarsky,pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D19549

--HG--
extra : moz-landing-system : lando
2019-04-30 15:20:59 +00:00
Bryce Van Dyk 11a3061e0d Bug 1540580 - Add crashtest for WebM with 0 sized samples. r=jya
Depends on D25846

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

--HG--
extra : moz-landing-system : lando
2019-04-30 15:12:49 +00:00
Bryce Van Dyk 378a61073b Bug 1540580 - WebM demuxer skips empty samples. r=jya
The mp4 demuxer already does this, so have the WebM case follow suit. This
avoids asserts with creating 0 size shmems in the case where the demuxer is
being used with the remote data decoder.

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

--HG--
extra : moz-landing-system : lando
2019-04-30 15:12:30 +00:00
Mike Conley 4988b53733 Bug 1541233 - Stop loading userContent.css in the parent process. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D28677

--HG--
extra : moz-landing-system : lando
2019-04-30 14:51:19 +00:00
Andrea Marchesini 0e59341306 Bug 1547057 - HTMLIFrameElement must always set the default origin for FeaturePolicy, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D29002

--HG--
extra : moz-landing-system : lando
2019-04-29 12:01:33 +00:00
Ehsan Akhgari 408ff64e4d Bug 1547889 - Part 3: Require the caller of the AntiTrackingCommon::IsFirstPartyStorageAccessGrantedFor(nsIPrincipal*) API pass in a cookie setting object; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D29321

--HG--
extra : moz-landing-system : lando
2019-04-30 14:27:43 +00:00
Ehsan Akhgari c541551107 Bug 1547397 - Part 3: Move the permission manager code to extensions/permissions; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D29116

--HG--
rename : extensions/cookie/nsPermission.cpp => extensions/permissions/nsPermission.cpp
rename : extensions/cookie/nsPermission.h => extensions/permissions/nsPermission.h
rename : extensions/cookie/nsPermissionManager.cpp => extensions/permissions/nsPermissionManager.cpp
rename : extensions/cookie/nsPermissionManager.h => extensions/permissions/nsPermissionManager.h
rename : extensions/cookie/test/.eslintrc.js => extensions/permissions/test/.eslintrc.js
rename : extensions/cookie/test/browser.ini => extensions/permissions/test/browser.ini
rename : extensions/cookie/test/browser_permmgr_sync.js => extensions/permissions/test/browser_permmgr_sync.js
rename : extensions/cookie/test/browser_permmgr_viewsrc.js => extensions/permissions/test/browser_permmgr_viewsrc.js
rename : extensions/cookie/test/gtest/PermissionManagerTest.cpp => extensions/permissions/test/gtest/PermissionManagerTest.cpp
rename : extensions/cookie/test/gtest/moz.build => extensions/permissions/test/gtest/moz.build
rename : extensions/cookie/test/moz.build => extensions/permissions/test/moz.build
rename : extensions/cookie/test/unit/test_permmanager_cleardata.js => extensions/permissions/test/unit/test_permmanager_cleardata.js
rename : extensions/cookie/test/unit/test_permmanager_default_pref.js => extensions/permissions/test/unit/test_permmanager_default_pref.js
rename : extensions/cookie/test/unit/test_permmanager_defaults.js => extensions/permissions/test/unit/test_permmanager_defaults.js
rename : extensions/cookie/test/unit/test_permmanager_expiration.js => extensions/permissions/test/unit/test_permmanager_expiration.js
rename : extensions/cookie/test/unit/test_permmanager_getAllForURI.js => extensions/permissions/test/unit/test_permmanager_getAllForURI.js
rename : extensions/cookie/test/unit/test_permmanager_getAllWithTypePrefix.js => extensions/permissions/test/unit/test_permmanager_getAllWithTypePrefix.js
rename : extensions/cookie/test/unit/test_permmanager_getPermissionObject.js => extensions/permissions/test/unit/test_permmanager_getPermissionObject.js
rename : extensions/cookie/test/unit/test_permmanager_idn.js => extensions/permissions/test/unit/test_permmanager_idn.js
rename : extensions/cookie/test/unit/test_permmanager_load_invalid_entries.js => extensions/permissions/test/unit/test_permmanager_load_invalid_entries.js
rename : extensions/cookie/test/unit/test_permmanager_local_files.js => extensions/permissions/test/unit/test_permmanager_local_files.js
rename : extensions/cookie/test/unit/test_permmanager_matches.js => extensions/permissions/test/unit/test_permmanager_matches.js
rename : extensions/cookie/test/unit/test_permmanager_matchesuri.js => extensions/permissions/test/unit/test_permmanager_matchesuri.js
rename : extensions/cookie/test/unit/test_permmanager_migrate_4-7.js => extensions/permissions/test/unit/test_permmanager_migrate_4-7.js
rename : extensions/cookie/test/unit/test_permmanager_migrate_4-7_no_history.js => extensions/permissions/test/unit/test_permmanager_migrate_4-7_no_history.js
rename : extensions/cookie/test/unit/test_permmanager_migrate_5-7a.js => extensions/permissions/test/unit/test_permmanager_migrate_5-7a.js
rename : extensions/cookie/test/unit/test_permmanager_migrate_5-7b.js => extensions/permissions/test/unit/test_permmanager_migrate_5-7b.js
rename : extensions/cookie/test/unit/test_permmanager_migrate_6-7a.js => extensions/permissions/test/unit/test_permmanager_migrate_6-7a.js
rename : extensions/cookie/test/unit/test_permmanager_migrate_6-7b.js => extensions/permissions/test/unit/test_permmanager_migrate_6-7b.js
rename : extensions/cookie/test/unit/test_permmanager_migrate_7-8.js => extensions/permissions/test/unit/test_permmanager_migrate_7-8.js
rename : extensions/cookie/test/unit/test_permmanager_notifications.js => extensions/permissions/test/unit/test_permmanager_notifications.js
rename : extensions/cookie/test/unit/test_permmanager_removeall.js => extensions/permissions/test/unit/test_permmanager_removeall.js
rename : extensions/cookie/test/unit/test_permmanager_removebytype.js => extensions/permissions/test/unit/test_permmanager_removebytype.js
rename : extensions/cookie/test/unit/test_permmanager_removebytypesince.js => extensions/permissions/test/unit/test_permmanager_removebytypesince.js
rename : extensions/cookie/test/unit/test_permmanager_removeforapp.js => extensions/permissions/test/unit/test_permmanager_removeforapp.js
rename : extensions/cookie/test/unit/test_permmanager_removepermission.js => extensions/permissions/test/unit/test_permmanager_removepermission.js
rename : extensions/cookie/test/unit/test_permmanager_removesince.js => extensions/permissions/test/unit/test_permmanager_removesince.js
rename : extensions/cookie/test/unit/test_permmanager_subdomains.js => extensions/permissions/test/unit/test_permmanager_subdomains.js
rename : extensions/cookie/test/unit/xpcshell.ini => extensions/permissions/test/unit/xpcshell.ini
extra : moz-landing-system : lando
2019-04-30 14:06:53 +00:00
Christoph Kerschbaumer 2a85494d00 Bug 1547712: Remove unused variable nsIAddonPolicyService aps from Document.cpp. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D29202

--HG--
extra : moz-landing-system : lando
2019-04-30 14:11:57 +00:00
Dan Minor 522725a730 Bug 1497559 - Remove application capture support; r=ng
This removes all references to application capture except from MediaSourceEnum.
That was left in place so as to not change the enumerated values used
for WEBRTC_GET_USER_MEDIA_TYPE telemetry.

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

--HG--
extra : moz-landing-system : lando
2019-04-26 16:35:39 +00:00
Emilio Cobos Álvarez edde08a7cb Bug 1547985 - Use rust types for vertical-align. r=mats
The previous commit removed the dependence on the discriminant value, so we
don't need to keep discriminants different from text-align anymore.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 13:08:34 +00:00