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

82354 Коммитов

Автор SHA1 Сообщение Дата
Jeff Gilbert 2f84637131 Bug 1540357 - Fix implicit int truncation in dom/canvas's dom/* includes. r=qdot
Depends on D25496

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

--HG--
extra : moz-landing-system : lando
2019-04-02 17:00:45 +00:00
Jeff Gilbert 5c3e425117 Bug 1540357 - Force -Werror for and fix implicit int truncation in dom/canvas. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D25495

--HG--
extra : moz-landing-system : lando
2019-04-02 17:00:41 +00:00
Tarek Ziadé fbf4fdacfb Bug 1527620 - Add youtube streaming tests - r=whimboo
This patch introduces a new marionette media test along
with a Youtube test.

To run the Youtube streaming test locally:

./mach marionette-test dom/media/test/marionette/test_youtube.py -vv --gecko-log -

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

--HG--
extra : moz-landing-system : lando
2019-04-02 15:09:47 +00:00
Thomas Wisniewski c57ed64e58 Bug 1120171 - remove support for XMLHttpRequest moz-chunked-arraybuffer response type; r=baku
remove support for XMLHttpRequest moz-chunked-arraybuffer response type

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

--HG--
extra : moz-landing-system : lando
2019-04-02 15:16:40 +00:00
Brindusan Cristian 759809db7d Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-04-02 18:49:21 +03:00
Brindusan Cristian b2cbe5adc9 Merge inbound to mozilla-central. a=merge 2019-04-02 18:47:16 +03:00
Gerald Squelart e1bd1f5588 Bug 1429613 - Using upgraded Variant::match where appropriate - r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D24891

--HG--
extra : moz-landing-system : lando
2019-04-02 11:53:55 +00:00
Gerald Squelart e2d15a1cfb Bug 1429613 - Variant matcher callbacks renamed from `match` to `operator()` - r=froydnj
Mechanical change from Matcher::match(...) to Matcher::operator()(...).
This will now permit the use of generic lambdas, and facilitate the
implementation of multi-lambda match.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 11:53:47 +00:00
Narcis Beleuzu 36a6694a8b Backed out changeset 304b957afe29 (bug 1527620) for marionette-media failures on test_youtube.py. CLOSED TREE 2019-04-02 11:19:26 +03:00
Tarek Ziadé 0d09d08c72 Bug 1527620 - Add youtube streaming tests - r=whimboo
This patch introduces a new marionette media test along
with a Youtube test.

To run the Youtube streaming test locally:

./mach marionette-test dom/media/test/marionette/test_youtube.py -vv --gecko-log -

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

--HG--
extra : moz-landing-system : lando
2019-04-02 07:38:41 +00:00
Alex Chronopoulos df730bd21e Bug 1540231 - Stop dispatching a task to the TaskQueue when we are already in it. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D25576

--HG--
extra : moz-landing-system : lando
2019-04-01 22:05:48 +00:00
Karl Tomlinson 943896b43c Bug 1539039 keep WorkletGlobalScope as long as its Worklet is usable r=baku
Depends on D25353

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

--HG--
extra : moz-landing-system : lando
2019-04-01 16:54:58 +00:00
Karl Tomlinson d0133206f2 bug 1539039 notify WorkletImpl before WorkletThread shutdown on xpcom shutdown r=baku
This gives WorkletImpl a chance to send a message to release worklet thread
objects.

This is used only for PaintWorklet until PaintWorklet uses its own threads.

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

--HG--
extra : moz-landing-system : lando
2019-04-01 16:51:18 +00:00
Karl Tomlinson d0778fd087 Bug 1539039 shutdown worklet from AudioContext::Shutdown() r=padenot
On process shutdown, the MSG is shut down (and so are other threads) before
the final main thread cycle collection, and so we can't depend on unlink to
notify the worklet before MSG shutdown.

Depends on D25351

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

--HG--
extra : moz-landing-system : lando
2019-03-29 16:11:59 +00:00
Karl Tomlinson bf17f21d5d Bug 1539039 finish worklet before destination stream is destroyed r=padenot
AudioDestinationNode, AudioContext, and Worklet are part of the same cycle.
Any of these may be unlinked before another.
The unlink process for this cycle is the notification that the worklet will no
longer be used, but the worklet uses the destination stream to send a message
to release graph thread objects and so must do this before the stream is
destroyed.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 16:12:08 +00:00
Jeff Walden feb28d4555 Bug 1539690 - Make a JS::RegExpFlag public API for flag bits, and make a JS::RegExpFlags flag-set abstraction. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D25177

--HG--
rename : js/public/RegExp.h => js/public/RegExpFlags.h
extra : moz-landing-system : lando
2019-04-02 03:16:43 +00:00
Noemi Erli 5d1c793bad Backed out changeset 6ccad746f5d8 (bug 1456569) for Linting opt failure in TypedArray.js CLOSED TREE 2019-04-02 05:40:09 +03:00
Noemi Erli 1416a50250 Backed out changeset 6f8d311064d9 (bug 15396900) for bustages in bug1033946.js CLOSED TREE 2019-04-02 05:38:56 +03:00
Eden Chuang 72b79c6fbd Bug 1442778 - Add "chromeContext" parameter to console API and console service messages. r=smaug
1. Adding a new attribute chromeContext in ConsoleEvent
2. Adding a new boolean attribute isFromChromeContext in nsIConsoleMessage
3. Sending IsFromChromeContext to the parent process

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

--HG--
extra : moz-landing-system : lando
2019-04-01 22:42:34 +00:00
Robin Templeton d1fd3eb1c9 bug 1456569 - Implement BigInt64 and BigUint64Array. r=wingo,jwalden,sfink
Differential Revision: https://phabricator.services.mozilla.com/D12581

--HG--
extra : moz-landing-system : lando
2019-04-01 22:22:28 +00:00
Jeff Walden c6c6107545 Bug 1539690 - Make a JS::RegExpFlag public API for flag bits, and make a JS::RegExpFlags flag-set abstraction. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D25177

--HG--
rename : js/public/RegExp.h => js/public/RegExpFlags.h
extra : moz-landing-system : lando
2019-04-02 02:07:50 +00:00
J.C. Jones bfdf3e2380 Bug 1540378 - Web Authentication: Fix teardown during cycle collection r=keeler,mccr8
In Bug 1448408 ("Don't listen to visibility events"), it became possible to
close a tab without a visibility event to cause transactions to cancel. This
is a longstanding bug that was covered up by the visibility events. This patch
updates the cycle collection code to ensure that transactions get cleared out
safely, and we don't proceed to RejectTransaction (and subsequent code) on
already-cycle-collected objects.

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

--HG--
extra : moz-landing-system : lando
2019-04-01 23:13:26 +00:00
Edwin Gao 1981282937 Bug 1538785 - disable additional plugin tests for window10-aarch64 r=jmaher
Disable for windows10-aarch64 the following:

- test_bug1165981

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

--HG--
extra : moz-landing-system : lando
2019-04-01 21:41:06 +00:00
Olli Pettay ab42137d71 Bug 1538794, add AnonymousContent.getTargetIdForEvent to be able to detect the event target in anonymous content, r=baku
Differential Revision: https://phabricator.services.mozilla.com//D24955

--HG--
extra : rebase_source : 85fd7443f018b0733826f316e3d79eaa93bac02d
extra : amend_source : c330a92b8c237c6464afb279ef9ffe69e4ce3baa
2019-03-26 21:40:29 +02:00
Paul Adenot 5bbebfe445 Bug 1541030 - Don't resume or suspend when the AudioContext is offline or shutdown.
Differential Revision: https://phabricator.services.mozilla.com/D25777

--HG--
extra : moz-landing-system : lando
2019-04-02 14:10:04 +00:00
Byron Campen [:bwc] e5bd78effc Bug 1536631 - Part 7: Fix some test-cases that were expecting InvalidStateError when they should have been expecting InvalidModificationError. r=jib
Rebasing on top of bug 1531110 found some more bugs, and more bad tests.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 13:10:01 +00:00
Byron Campen [:bwc] 4104b621d6 Bug 1536631 - Part 6: Fix the error type that a couple of mochitests are expecting. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D25151

--HG--
extra : moz-landing-system : lando
2019-04-02 13:09:46 +00:00
Byron Campen [:bwc] ead957036e Bug 1536631 - Part 2: Construct errors based on changes in part 1. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D25147

--HG--
extra : moz-landing-system : lando
2019-04-02 13:08:35 +00:00
Byron Campen [:bwc] f90be4b8f4 Bug 1536631 - Part 1: Pass the necessary information to JS to build the appropriate errors to reject with. r=smaug,jib
Differential Revision: https://phabricator.services.mozilla.com/D25146

--HG--
extra : moz-landing-system : lando
2019-04-02 13:08:18 +00:00
Paul Adenot 653464a0cf Bug 1375562 - Allow suspending, resuming and closing an AudioContext without triggering the statechange event and dealing with Promises. r=karlt
This allows suspending and resuming the context from the debugger without having
observable side-effects.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 11:10:02 +00:00
Emilio Cobos Álvarez 19c116ce06 Bug 1537575 - Cleanup generic font-family handling. r=jfkthame
To be more similar between Rust and C++. This introduces GenericFontFamily and
exposes that plus FontFamilyNameSyntax to C++, using that where appropriate
instead of plain uint8_t as we were doing.

As a follow-up, as discussed on IRC with Jonathan, we can remove the -moz-fixed
family, and turn it just into an alias of Monospace.

The only non-trivial change is the MatchType changes, but they're ok I think.
The code already assumed at most one CSS generic, and the struct still takes 8
bits. I've verified that the relevant tests are passing (though try is closed).

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

--HG--
extra : moz-landing-system : lando
2019-04-01 21:47:59 +00:00
Cosmin Sabou 1a956a4090 Merge mozilla-central to autoland. CLOSED TREE 2019-04-02 01:03:10 +03:00
Cosmin Sabou 6f67a6f9e5 Merge mozilla-inbound to mozilla-central. a=merge 2019-04-02 00:55:55 +03:00
Neil Deakin fb8385861e Bug 1507004, get the contentDocument for all iframes, to ensure that the iframe is focusable, r=peterv 2019-04-01 09:09:04 -04:00
Oana Pop Rus 07960ab2da Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-04-01 13:03:45 +03:00
Oana Pop Rus efc7ca12d3 Merge autoland to mozilla-central. a=merge 2019-04-01 12:45:40 +03:00
Andreea Pavel c2f93b1a58 Backed out 2 changesets (bug 1539208) for causing bug 1540569 a=backout
Backed out changeset 7b17d77256be (bug 1539208)
Backed out changeset cec67adbdbb6 (bug 1539208)
2019-04-01 10:36:18 +03:00
Andrea Marchesini 1fb706a4f0 Bug 1540514 - Use NS_NewURIOnAnyThread in URL API, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D25534

--HG--
extra : moz-landing-system : lando
2019-03-31 17:21:17 +00:00
Sylvestre Ledru ef0bfc3822 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-03-31 15:12:55 +00:00
Bogdan Tara 2738efcf98 Merge inbound to mozilla-central. a=merge 2019-03-31 12:00:08 +03:00
Thomas Wisniewski e1236ec692 Bug 1411725 - have XHR responseURL use the final channel URL so the expected URLs for substituted protocols like web-extension: are returned; r=mayhemer
have XHR responseURL use the final channel URL so the expected URLs for substituted protocols like web-extension: are returned

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

--HG--
extra : moz-landing-system : lando
2019-03-31 01:31:12 +00:00
Narcis Beleuzu db7f220d5c Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-30 23:45:55 +02:00
Narcis Beleuzu d20e1695b0 Merge autoland to mozilla-central. a=merge 2019-03-30 23:43:56 +02:00
Emilio Cobos Álvarez 7d6f6c28d7 Bug 1536582 - Autogenerate Servo_ binding functions with cbindgen. r=boris
This depends on https://github.com/eqrion/cbindgen/pull/308. Other than that,
this should be ready to go.

There's still a bit more magic than what I'd like to eventually. I should be
able to make cbindgen not rename types if it doesn't know about them, or
something.

But this removes most of the manual binding function implementations (all but
the ones that are declared via macros, which cbindgen doesn't see across).

I need to give up on the _Drop functions taking an Owned<T> because of
instantiation order fiasco. In order to define DefaultDelete I need Owned to be
complete, but I cannot do it after including the generated file since some
declarations already instantiate the specialization. Oh well.

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

--HG--
rename : servo/components/style/cbindgen.toml => servo/ports/geckolib/cbindgen.toml
extra : moz-landing-system : lando
2019-03-30 20:18:33 +00:00
Masayuki Nakano 3e64f2c30d Bug 1539356 - Mark EditorBase::InsertNodeTransaction() as MOZ_CAN_RUN_SCRIPT r=m_kato
This patch marks `EditorBase::InsertNodeTransaction()` **and** its callers as `MOZ_CAN_RUN_SCRIPT`.

Unfortunately, this patch tells us that some `GetSomething()` methods may destroy the editor since `HTMLEditRules::GetNodesForOperation()`, `HTMLEditRules::GetNodesFromPoint()` and `HTMLEditRules::GetNodesFromSelection()` may change the DOM tree.  Additionally, initialization methods may destroy the editor since it may insert a bogus `<br>` node.

Note that this patch also removes some unused methods. I.e., they are not result of some cleaning up the code. This patch just avoids marking unused methods as `MOZ_CAN_RUN_SCRIPT`.

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

--HG--
extra : moz-landing-system : lando
2019-03-30 11:55:29 +00:00
Noemi Erli aca368bbe4 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-30 11:34:38 +02:00
Noemi Erli 73e1da0906 Merge inbound to mozilla-central. a=merge 2019-03-30 11:32:42 +02:00
Noemi Erli 1ab5dc40f6 Merge autoland to mozilla-central. a=merge 2019-03-30 11:31:35 +02:00
Chun-Min Chang 949167ee63 Bug 1500713: P4 - Return NullableTimeUnit from MP3TrackDemuxer::Duration(). r=jya
Differential Revision: https://phabricator.services.mozilla.com/D24302

--HG--
extra : moz-landing-system : lando
2019-03-29 23:38:29 +00:00
Chun-Min Chang 9a23c18c8f Bug 1500713: P3 - Prevent duration in GetBuffered from being overestimated. r=kinetik,jya
Depends on D19097

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

--HG--
extra : moz-landing-system : lando
2019-03-29 23:38:28 +00:00