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

706571 Коммитов

Автор SHA1 Сообщение Дата
Tom Schuster c585c049dc Bug 1635958 - Warp: Transpile GuardIsNull/Undefined. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D74460
2020-05-11 08:51:22 +00:00
Simon Giesecke e6422e2afd Bug 1626570 - Remove obsolete copy enabling machinery. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D72176
2020-05-11 08:23:03 +00:00
Simon Giesecke 2a7be3ea65 Bug 1626570 - Make nsTArray non-copyable. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D73686
2020-05-11 08:22:45 +00:00
Simon Giesecke 007d920362 Bug 1626570 - Improve handling of copying arrays in dom/bindings/. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D72341
2020-05-11 08:22:37 +00:00
Simon Giesecke bc5cc237af Bug 1626570 - Improve handling of copying arrays in toolkit/mozapps/. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D73818
2020-05-11 08:22:25 +00:00
Simon Giesecke da93ce54da Bug 1626570 - Improve handling of copying arrays in dom/workers/. r=dom-workers-and-storage-reviewers,ytausky
Differential Revision: https://phabricator.services.mozilla.com/D73668
2020-05-11 08:22:17 +00:00
Simon Giesecke fdd762b2fb Bug 1626570 - Improve handling of copying arrays in dom/serviceworkers/. r=dom-workers-and-storage-reviewers,ytausky
Differential Revision: https://phabricator.services.mozilla.com/D73664
2020-05-11 08:22:14 +00:00
Simon Giesecke 828e4c9c4e Bug 1626570 - Improve handling of copying arrays in dom/xslt/. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D73661
2020-05-11 08:21:08 +00:00
Simon Giesecke 200e2d6504 Bug 1626570 - Improve handling of copying arrays in dom/gamepad/. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D73649
2020-05-11 08:20:52 +00:00
Simon Giesecke c3067cb5c7 Bug 1635364 - Make netwerk/dns build outside unified build environment. r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D73800
2020-05-11 08:20:34 +00:00
Christoph Kerschbaumer c65e97cd1c Bug 1635365: Move field mixed content IsSecure from BrowsingContext to WindowContext. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D74269
2020-05-11 08:11:17 +00:00
Andrea Marchesini 2927c5611c Bug 1585941 - Split browser_blockingIndexedDbInWorkers.js, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D74519
2020-05-11 08:04:46 +00:00
Andrea Marchesini 0f4efcecab Bug 1633197 - WebSocket bufferedAmount must be unsigned long long (uint64_t), r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D74558
2020-05-11 07:44:10 +00:00
Sylvestre Ledru 8305e1a99e no bug - contribution doc: Document how to install moz-phab r=glob DONTBUILD
Depends on D74437

Differential Revision: https://phabricator.services.mozilla.com/D74438
2020-05-11 07:59:47 +00:00
Mihai Alexandru Michis ee28f3da05 Backed out changeset f2508a6e4c53 (bug 1636572) for causing wpt failures in track-element/cors/*
CLOSED TREE
2020-05-11 10:47:22 +03:00
Masayuki Nakano e317a8bfb7 Bug 1622231 - Make `HTMLEditor::SetInlinePropertyAsAction()` override property if it's called for XUL `cmd_fontFace` with a magic value "tt" r=m_kato
`FontFaceStateCommand::SetState()` called
`HTMLEditor::SetInlinePropertyAsAction()` with `nsGkAtoms::tt` when given value
is "tt".
https://searchfox.org/mozilla-central/rev/bc5737c51b8da4e758cf4db0ddb606f0aea81a7d/editor/libeditor/HTMLEditorCommands.cpp#626-627

However, I accidentally not ported this to
`HTMLEditor::SetInlinePropertyAsAction()`.  Therefore, this patch restores the
old code for the magic value.

Differential Revision: https://phabricator.services.mozilla.com/D74379
2020-05-11 07:30:47 +00:00
Nikita Kozhemiakin 2158dd66ed Bug 1523544 - Change exoplayer2 package name. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D74068
2020-05-11 07:24:57 +00:00
Nicolas Chevobbe db468890fa Bug 1594750 - Distinguish workers in the TargetList. r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D73803
2020-05-11 07:13:57 +00:00
Dimi Lee dde23f5029 Bug 1628732 - Don't notify block decision when uri is chrome r=timhuang,baku
Differential Revision: https://phabricator.services.mozilla.com/D73867
2020-05-10 11:25:06 +00:00
alwu a997790dad Bug 1636572 - prevent start a non-necessary new load if we're running another load for the same URL. r=jya
This patch will do :
- prevent starting another new load if that load is the same as the currently running load

The advantage of doing so is to avoid running same process again, which is unnecessary

More details :
When applying patches from bug1633935, it exposed an issue of the previous load interfering the track element when a new load was started.
It happens on `test_texttrack_mode_change_during_loading.html`. In that test, the first load happens when we set the src to the track element [1] and the second load happens when we change the mode of the track element [2].

In this situation, the first load an the second load is actually the same, they are going to fetch data from the same resource. According to the step 1 in the spec [3], we should prevent running another load if there is another same running occurrence of this algorithm.

[1] https://searchfox.org/mozilla-central/rev/dc4560dcaafd79375b9411fdbbaaebb0a59a93ac/dom/media/test/test_texttrack_mode_change_during_loading.html#53
[2] https://searchfox.org/mozilla-central/rev/dc4560dcaafd79375b9411fdbbaaebb0a59a93ac/dom/media/test/test_texttrack_mode_change_during_loading.html#62
[3] https://html.spec.whatwg.org/multipage/media.html#start-the-track-processing-model

Differential Revision: https://phabricator.services.mozilla.com/D74514
2020-05-09 10:42:53 +00:00
Dmitry Bezhetskov 446160560b Bug 1599722 - Make Ion address stack arguments from FP r=lth,wingo
Make the WebAssembly ion compiler address incoming stack arguments from the frame pointer instead of from the stack pointer.

We have a plan to allow interstitial trampoline frames to be inserted between callers and callees, but only for cross-instance calls. This will mean offset to incoming stack arguments from SP is no longer a constant. The design has us instead address stack arguments from the frame pointer, as adding an interstitial trampoline frame won't modify the frame pointer.

Differential Revision: https://phabricator.services.mozilla.com/D73030
2020-05-11 05:53:52 +00:00
Henrik Skupin b87caead47 Bug 1636557 - [remote] Return class name and description for DOM nodes in Runtime.callFunctionOn and Runtime.evalute. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D74454
2020-05-09 15:06:30 +00:00
Emma Malysz 870c5c304f Bug 1610134: Part 2: Increase timeout pref that turns on late write checking r=dthayer
Increasing toolkit.asyncshutdown.report_writes_after to 40s to advance this investigation.

Differential Revision: https://phabricator.services.mozilla.com/D74159
2020-05-11 00:29:13 +00:00
Jean-Yves Avenard 28d4ac9c33 Bug 1634982 - Don't call DocumentChannelBridgeDisconnected when already being disconnected from the DocumentLoadListener. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D74517
2020-05-11 00:42:09 +00:00
Cameron McCormack 3ccaaa0422 Bug 1621773 - Gracefully handle errors creating shared memory UA style sheets. r=emilio
We still panic in a debug build, so that developers can notice when they
need to add a new static atom after modifying UA sheets.

We also add telemetry to note when this happens, add an app note to a
crash report, in case any crash later on occurs, and re-up the existing,
expired shared memory sheet telemetry probes so we can look at them
again.

Differential Revision: https://phabricator.services.mozilla.com/D73188
2020-05-11 00:11:45 +00:00
Glenn Watson 73cf21cd23 Bug 1636320 - Part 2 - Remove spatial node from clip interning. r=Bert
Previously, the spatial node index for a clip was stored as part
of the interning key.

However, if a new display list is sent where the clip has the same
transform, but the shape of the spatial-tree had changed (e.g.
due to a new transform being inserted due to a DOM change), this
could result in those clip(s) being detected as different. This
can cause unnecessary invalidations of picture cache tiles.

With this patch, the spatial node index is stored inside the
instance structures (ClipInstance and ClipChainNode), meaning that
picture cache tiles are no longer invalidated if the spatial
tree shape changes.

Differential Revision: https://phabricator.services.mozilla.com/D74363
2020-05-10 21:32:43 +00:00
Glenn Watson 0c7e6cd638 Bug 1636320 - Part 1 - Separate internal clip chains from public API. r=Bert
The public clip API allows clips to be defined with either
a parent hierarchy, or via a clip-chain display item where
a list of clips are provided.

The WR internals represent both of these as an internal
clip-chain, where clips are parented and stored in a
linked list (although the elements themselves are in
a contiguous array).

Previously, WR would convert the public clip nodes into
clip-chains as soon as the clips were defined. However,
this complicates many other parts of the code. For example,
we want to be able to re-parent clips to the root clip
node of an iframe, and we need to extract shared clips
that can be handled by parent surfaces.

With this change, clips defined in the public API are
mapped into a ClipTemplate. The internal clip-chains
that WR uses are not created until the primitive is
defined. With this change, we can easily insert or
modify how the primitive's clip-chain is created. In
this patch, the `ClipChainBuilder` is used to add
the iframe clip root to any primitives inside the
iframe. In future patches, it will also be used to
handle clips from redundant stacking contexts, which
will allow the removal of all the Push/PopClipChain
display items.

Differential Revision: https://phabricator.services.mozilla.com/D74347
2020-05-10 21:31:16 +00:00
Julian Descottes 9181073a32 Bug 1635467 - Test calling ResourceWatcher::unwatch for several resources r=nchevobbe
Depends on D72854

Differential Revision: https://phabricator.services.mozilla.com/D73904
2020-05-10 18:42:38 +00:00
Julian Descottes a61fda7ffd Bug 1625961 - Throw when calling ResourceWatcher::watch twice for the same type r=nchevobbe,ochameau
Depends on D72668

Differential Revision: https://phabricator.services.mozilla.com/D72854
2020-05-10 18:42:15 +00:00
Julian Descottes 0d4c2cbb28 Bug 1625961 - Use the ResourceWatcher API to fetch Root NodeFront r=ochameau,nchevobbe
Depends on D62625

Differential Revision: https://phabricator.services.mozilla.com/D72668
2020-05-10 18:41:58 +00:00
Razvan Maries 917859d20b Backed out 3 changesets (bug 1635467, bug 1625961) for mochitest perma failures at browser_harautomation_simple.js
Backed out changeset 1d258bab62d7 (bug 1635467)
Backed out changeset cf46002eefb0 (bug 1625961)
Backed out changeset c7757cea8327 (bug 1625961)
2020-05-10 19:01:23 +03:00
Julian Descottes 210bc20606 Bug 1635467 - Test calling ResourceWatcher::unwatch for several resources r=nchevobbe
Depends on D72854

Differential Revision: https://phabricator.services.mozilla.com/D73904
2020-05-10 14:40:58 +00:00
Julian Descottes e81a033d1d Bug 1625961 - Throw when calling ResourceWatcher::watch twice for the same type r=nchevobbe,ochameau
Depends on D72668

Differential Revision: https://phabricator.services.mozilla.com/D72854
2020-05-10 14:40:35 +00:00
Julian Descottes b65aacf37e Bug 1625961 - Use the ResourceWatcher API to fetch Root NodeFront r=ochameau,nchevobbe
Depends on D62625

Differential Revision: https://phabricator.services.mozilla.com/D72668
2020-05-10 14:40:22 +00:00
Sylvestre Ledru 45c60a761a Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D74530
2020-05-09 23:02:52 +00:00
Robert Helmer fa52bedc4b Bug 1634557 - add new browser.telemetry.submitEncryptedPing for Pioneer v2 r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D73525
2020-05-10 03:37:48 +00:00
Robert Helmer 38fd8fcb7a Bug 1634557 - add support to Telemetry for encrypted pings, for Pioneer v2 r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D73524
2020-05-10 03:37:30 +00:00
Emilio Cobos Álvarez 5e7fe01b59 Bug 1636731 - Use FunctionRef for animation generation enumeration. r=hiro
I see the allocation and deallocation of the std::function show up in
profiles.

Differential Revision: https://phabricator.services.mozilla.com/D74551
2020-05-10 02:17:47 +00:00
Nicklas Boman a9633edb83 Bug 1127565 - bootstrap.py not implemented for openSUSE r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D74544
2020-05-10 00:51:03 +00:00
Ed Lee 31791b1fce Bug 1628849 - Collect experiment telemetry related to password import suggestion r=MattN,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D73390
2020-05-10 00:49:59 +00:00
Masayuki Nakano 8c859f8589 Bug 1627175 - part 15: Create `HTMLEditUtils::GetFirstLeafChild()` instead of `EditorBase::GetLeftmostChild()` r=m_kato
This is used by `TextEditor::UndoAsAction()` too, so, it might be better to be
in `EditorUtils`.  However, it is completely designed for `HTMLEditor` and
ideally, `UndoAsAction` should be overridden by `HTMLEditor` too and
`TextEditor` should use faster path because of its content is in anonymous
subtree. But we don't have any merit to do that instead of avoiding virtual
call.

Differential Revision: https://phabricator.services.mozilla.com/D74362
2020-05-08 09:49:19 +00:00
Andrea Marchesini 8317bb8abb Bug 1632187 - Introduce nsICookieService::setCookieStringFromDocument - part 5 - extra cleanup, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D71978
2020-05-09 20:26:06 +00:00
Andrea Marchesini b5a4c16dc8 Bug 1632187 - Introduce nsICookieService::setCookieStringFromDocument - part 4 - remove nsICookieService::setCookieString, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D71977
2020-05-09 20:26:09 +00:00
Andrea Marchesini 3321630999 Bug 1632187 - Introduce nsICookieService::setCookieStringFromDocument - part 3 - remove nsICookieService::setCookieString from tests, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D71976
2020-05-09 22:28:53 +00:00
Andrea Marchesini 871dd4ea6a Bug 1632187 - Introduce nsICookieService::setCookieStringFromDocument - part 2 - implementation, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D71974
2020-05-09 20:26:13 +00:00
Andrea Marchesini 14236dd004 Bug 1632187 - Introduce nsICookieService::setCookieStringFromDocument - part 1 - CookieService::CanSetCookie without nsIChannel, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D71973
2020-05-09 20:26:04 +00:00
Sylvestre Ledru 8635d12634 no bug - contribution doc: Make it clear that mac bootstrap isn't for Windows r=marco
Differential Revision: https://phabricator.services.mozilla.com/D74524
2020-05-09 21:44:11 +00:00
Timothy Nikkel 756565b8c7 Bug 1636646. ifdef direct manipulation code so it's not compiled on mingw. r=aklotz
It seems like the build environment needs updating/modifying so it can handle this. But for now we unbreak the build.

Differential Revision: https://phabricator.services.mozilla.com/D74525
2020-05-09 21:38:55 +00:00
Coroiu Cristina b2935aef35 Backed out 5 changesets (bug 1632187) for xpcshell failures at netwerk/test/unit/test_proxyconnect.js
Backed out changeset c0e6dad41b74 (bug 1632187)
Backed out changeset 328ee0899987 (bug 1632187)
Backed out changeset cb775f75ff1f (bug 1632187)
Backed out changeset de6907618ac9 (bug 1632187)
Backed out changeset 1070e843071c (bug 1632187)
2020-05-09 23:22:06 +03:00
Andrea Marchesini 1857609938 Bug 1632187 - Introduce nsICookieService::setCookieStringFromDocument - part 5 - extra cleanup, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D71978
2020-05-09 19:03:47 +00:00