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

91408 Коммитов

Автор SHA1 Сообщение Дата
Simon Giesecke b0852dd36d Bug 1617170 - Pull up parts of FileManager that are used by FileInfo into FileManagerBase. r=janv,dom-workers-and-storage-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D65115

--HG--
extra : moz-landing-system : lando
2020-03-16 09:50:38 +00:00
Simon Giesecke cbe93e61b5 Bug 1617170 - Make AsyncDeleteFile a member function of FileManager. r=janv,dom-workers-and-storage-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D65114

--HG--
extra : moz-landing-system : lando
2020-03-16 09:49:47 +00:00
Simon Giesecke 41aad46d13 Bug 1617170 - Get rid of CustomCleanupCallback and replace by call into FileManager. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D64345

--HG--
extra : moz-landing-system : lando
2020-03-16 09:48:46 +00:00
Simon Giesecke 4ee6a1b89b Bug 1617170 - Make GetFileForFileInfo a non-static member function. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D64344

--HG--
extra : moz-landing-system : lando
2020-03-16 09:48:02 +00:00
Ciure Andrei 032b6f7c89 Backed out 2 changesets (bug 1620778) for causing test_autocomplete_mac_caret.xhtml failures
Backed out changeset 66f97d1cf94a (bug 1620778)
Backed out changeset eda75d901f4c (bug 1620778)
2020-03-15 16:04:36 +02:00
Emilio Cobos Álvarez 749ef068e9 Bug 1620778 - Fix interaction of up/down keys with autocomplete and <input type=number>. r=masayuki,smaug
Differential Revision: https://phabricator.services.mozilla.com/D66011

--HG--
extra : moz-landing-system : lando
2020-03-15 12:11:09 +00:00
Zibi Braniecki 3f8c67d7fd Bug 1560038 - Switch uses of FluentBundle to use fluent-rs. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D57403

--HG--
extra : moz-landing-system : lando
2020-03-14 22:14:13 +00:00
Christoph Kerschbaumer af63b804a6 Bug 1508292: Implement Sec-Fetch-*. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D66283

--HG--
extra : source : a0508ae6c037928981ac2733860b6ec84d7069ec
2020-03-14 17:28:41 +00:00
Brindusan Cristian 11cc2fbf73 Backed out changeset a0508ae6c037 (bug 1508292) for sm bustage.
--HG--
extra : rebase_source : 0db77cae1e8115c19dbaa6d556b30890909ed996
2020-03-14 22:40:55 +02:00
Christoph Kerschbaumer bc8997ee18 Bug 1508292: Implement Sec-Fetch-*. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D66283

--HG--
extra : moz-landing-system : lando
2020-03-14 17:28:41 +00:00
Olli Pettay a5de11adec Bug 1502529, compress touchmoves on IPC layer, r=masayuki
The patch adds similar to mousemove compression on IPC layer.
https://searchfox.org/mozilla-central/rev/49ed791eec93335abfe6c2880f84c324e73e47e6/dom/ipc/PBrowser.ipdl#764-774
Touch events can't be compressed all the time, because each touch event
may contain changes to several touches.
To disable compression in some cases, another IPC message is sent.
The messages have exactly the same arguments, but by changing the message type,
compression is disabled for that message on IPC layer.

The patch tries to take rather conservative approach by disabling compression
in many cases. Compression is enabled only if the same touches are being changed,
or old touches and some new touch are changed (so the changed touches are a superset of the old touches).


The patch does not do anything with PointerEvent.getCoalescedEvents(). That implementation
would be quite a bit different and riskier for the next coming Fenix release.

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

--HG--
extra : moz-landing-system : lando
2020-03-11 00:31:31 +00:00
Jeff Gilbert a6207b9e02 Bug 1621523 - Revendor WebGL CTS with new test.
Also remark failures.

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

--HG--
extra : moz-landing-system : lando
2020-03-14 08:11:52 +00:00
Jeff Gilbert f612c0ba89 Bug 1621523 - WebGL: Don't Present on no-op Resize. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D66827

--HG--
extra : moz-landing-system : lando
2020-03-14 08:27:28 +00:00
Emilio Cobos Álvarez 29762bfdad Bug 1621273 - Value attribute changes can affect step validity even if the input value doesn't change. r=smaug
If the actual input value didn't change, we'd skip updating form validity, but
that's not always correct because GetStepBase() depends on the value attribute.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 21:59:27 +00:00
Razvan Maries 39c5161f74 Backed out 2 changesets (bug 1621523) for perma failures on perma failures on test_2_conformance2__rendering__framebuffer-render-to-layer.html. CLOSED TREE
Backed out changeset 12e09fef3c3f (bug 1621523)
Backed out changeset c997932b6bfe (bug 1621523)
2020-03-14 03:18:42 +02:00
Razvan Maries a2e3903c68 Backed out changeset c0235b7bddcc (bug 1621415) for Mochitest perma failures on test_printpreview.xhtml. CLOSED TREE 2020-03-14 02:52:09 +02:00
Jeff Gilbert 2e250c45f3 Bug 1621523 - Revendor WebGL CTS with new test.
Differential Revision: https://phabricator.services.mozilla.com/D66828

--HG--
extra : moz-landing-system : lando
2020-03-14 00:33:06 +00:00
Jeff Gilbert 75333bbd2c Bug 1621523 - WebGL: Don't Present on no-op Resize. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D66827

--HG--
extra : moz-landing-system : lando
2020-03-14 00:33:04 +00:00
Ed Lee acb960676c Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub
Differential Revision: https://phabricator.services.mozilla.com/D66128

--HG--
extra : moz-landing-system : lando
2020-03-13 23:38:52 +00:00
sotaro 403f1b2a11 Bug 1622142 - Disable recycle allocator usage for av1 video for now r=nical
When WebRender is not used, recycle allocator usage for av1 video  causes rendering problem.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 20:42:01 +00:00
Razvan Maries a34f5e0ded Backed out 2 changesets (bug 1560038) for perma failures on browser_application_panel_list-single-worker.js. CLOSED TREE
Backed out changeset 7cd88f40fc85 (bug 1560038)
Backed out changeset 54dbe282c9ac (bug 1560038)
2020-03-14 00:43:41 +02:00
Erik Nordin b6f5189943 Bug 1621415 - Ensure adopted styles are applied when printing r=emilio
- Add functionality to clone adopted style sheets for printing.
- Add reftest to ensure that the document's adopted styles show in print.
- Add reftest to ensure that a shadow root's adopted styles show in print.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 21:20:22 +00:00
Kartikaya Gupta 6d4a82e018 Bug 1617427 - Add a DOMWindowUtils API to disable APZ on a particular element. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D66424

--HG--
extra : moz-landing-system : lando
2020-03-13 19:56:33 +00:00
Zibi Braniecki a67d7debed Bug 1622149 - Switch away from NS_ERROR_DOM_* in DOMLocalization. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D66706

--HG--
extra : moz-landing-system : lando
2020-03-13 17:36:53 +00:00
Zibi Braniecki 44eca5f333 Bug 1560038 - Switch uses of FluentBundle to use fluent-rs. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D57403

--HG--
extra : moz-landing-system : lando
2020-03-11 23:29:05 +00:00
Boris Zbarsky cf6ef6a24b Bug 1467437. Align with other browsers and the spec for whether hashchange and popstate events bubble. r=smaug
I think I caught all the places in our tree that add event listeners for these
events on a non-Window (and hence depend on bubbling behavior), but I'm a
little worried about what happens if webextensions do bareword
addEventListener() for these events...

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

--HG--
extra : moz-landing-system : lando
2020-03-13 17:45:50 +00:00
Mirko Brodesser ec9cb4d8ef Bug 1622199: annotate `Selection::AddRangeAndSelectFramesAndNotifyListeners` with `MOZ_CAN_RUN_SCRIPT`. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D66759

--HG--
extra : moz-landing-system : lando
2020-03-13 15:46:13 +00:00
Mihai Alexandru Michis 75355611d1 Backed out changeset 46dfbb4de902 (bug 1620242) for causing failures in test_x-frame-options.html
CLOSED TREE
2020-03-13 18:24:03 +02:00
Mihai Alexandru Michis bc46756805 Backed out changeset 93abc56ef420 (bug 1599131) for causing failures in frame-ancestors-from-serviceworker.https.html 2020-03-13 18:23:15 +02:00
Tom Schuster ff852cea9c Bug 1621817 - Remove nsIScriptError.strictFlag. r=remote-protocol-reviewers,mccr8,whimboo
I am not sure if you are okay with reviewing all those test changes.
Sadly it's not that easy to search through our huge JavaScript code
base for some generic name like 'isStrict'.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 16:12:16 +00:00
Boris Zbarsky 5f4e3407d8 Bug 1591100. Fix the form submission URL for the empty-query case. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D66721

--HG--
extra : moz-landing-system : lando
2020-03-13 11:46:26 +00:00
JulianWels d5b073f588 Bug 1620242 - Basic implementation for HTTPS Only Mode. r=ckerschb,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D62590

--HG--
rename : dom/security/test/csp/file_redirect_report.sjs => dom/security/test/https-only/file_redirect.sjs
rename : dom/security/test/csp/file_upgrade_insecure.html => dom/security/test/https-only/file_upgrade_insecure.html
rename : dom/security/test/csp/file_upgrade_insecure_server.sjs => dom/security/test/https-only/file_upgrade_insecure_server.sjs
rename : dom/security/test/csp/file_upgrade_insecure_wsh.py => dom/security/test/https-only/file_upgrade_insecure_wsh.py
extra : moz-landing-system : lando
2020-03-13 14:25:08 +00:00
Christoph Kerschbaumer 5ea63e55c7 Bug 1599131: Remove carve outs for downloads within x-frame-options when fission enabled. r=smaug,mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D65949

--HG--
extra : moz-landing-system : lando
2020-03-13 14:20:20 +00:00
Jan Varga a87575bf55 Bug 1619592 - Rationalize PersistenceTypeTo* and PersistenceTypeFrom* methods; r=dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D65937

--HG--
extra : moz-landing-system : lando
2020-03-13 12:55:20 +00:00
Boris Zbarsky 4417c6c9cc Bug 1622032. Improve some error messages in nsINode. r=nika
In particular, improve the error message for replaceChild when the two arguments get switched.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 03:50:04 +00:00
Emilio Cobos Álvarez 5e3adf766b Bug 1401657 - Make editor value changes always notify. r=masayuki
Not doing so is unsound in some cases, see the two referenced bugs.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 02:29:48 +00:00
Cosmin Sabou 6521fbdd1e Backed out changeset 7cfecff122d2 (bug 1440212) for causing Bug 1622140.
CLOSED TREE
2020-03-13 04:08:45 +02:00
Eden Chuang 6d01e92f36 Bug 1407276 - Avoid creating InterceptedHttpChannel if the service worker has no fetch event handler r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D64092

--HG--
extra : moz-landing-system : lando
2020-03-12 20:53:28 +00:00
Sebastian Streich 332641fa44 Bug 1621307 - Remove Geturi in txMozillaStylesheetCompiler r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D66249

--HG--
extra : moz-landing-system : lando
2020-03-12 19:47:54 +00:00
Ricky Stewart 13aa77e4a5 Bug 1619460 - ensure subsequent runs of `./mach build-backend` under Python 3 produce consistent results r=dmajor
Dictionary iteration under Python 3 is in an inherently unpredictable order, and while we try to keep DEFINES ordered through the use of OrderedDicts, if at any point we populate DEFINES directly or indirectly while iterating through the contents of a non-ordered dictionary, the order of the DEFINES (and therefore the contents of the output Makefile) will be nondeterministic as well. This patch makes a number of changes to ensure that we only ever populate DEFINES in a deterministic fashion. (Note that in Python 3.7 and later, the built-in dict class actually has deterministic ordering, so these changes are technically only necessary until our minimum Python version becomes 3.7.)

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

--HG--
extra : moz-landing-system : lando
2020-03-12 21:05:26 +00:00
Edgar Chen 5fb541e9be Bug 1621934 - Remove test_pointerevent_setpointercapture_relatedtarget-manual.html; r=smaug
Depends on D66570

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

--HG--
extra : moz-landing-system : lando
2020-03-12 19:20:02 +00:00
Boris Zbarsky 16a5db7bc2 Bug 1440212 part 2. Add the ability to fire the load event on a frame element async from the load event on the window inside if they are in different docgroups. r=nika
Behind a pref for now.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 18:45:36 +00:00
Boris Zbarsky 5f4fd391ec Bug 1440212 part 1. Remove the always-true aIsTrusted argument of FireFrameLoadEvent. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D35599

--HG--
extra : moz-landing-system : lando
2020-03-11 22:29:53 +00:00
Erik Nordin 17dbae2125 Bug 1613511 - Disallow @import rules for all Constructable StyleSheets functions r=emilio
- Add enum AllowImportRules to CSS parsing.
- `replaceSync()` will skip over @import rules and continue parsing.
- `replace()` will skip over @import rules and continue parsing.
- `insertRule()` will throw a syntax error on @import rules.
- Modify WPT test cases to reflect these changes.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 18:11:09 +00:00
Anny Gakhokidze a1eb5446db Bug 1546759 - Do not update session history entries in BC when it is discarded, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D66519

--HG--
extra : moz-landing-system : lando
2020-03-12 14:14:40 +00:00
Anurag Aggarwal 45b0a79f3d Bug 1536103 - Fixed mach doc warnings.r=firefox-source-docs-reviewers,championshuttler,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D66462

--HG--
extra : moz-landing-system : lando
2020-03-12 17:20:15 +00:00
Narcis Beleuzu 4437350f38 Backed out changeset 1f0cfca78242 (bug 1619460) perf regression in automation, req by rstewart. CLOSED TREE
--HG--
extra : rebase_source : ef3f1ce03bc9fdedb81d33ede68f9925f447ba32
2020-03-12 19:37:27 +02:00
Neil Deakin 8d3992adb0 Bug 1558520, rework remote controller to use JSWindowActor instead of having the browser have a controller, r=smaug
When searching for the controller for a command in nsWindowRoot::GetControllerForCommand, look for a focused browsing context instead and get the controller through the Controllers actor associated with that browsing context. When a command update occurs in a window in the child process, send the list of commands to the parent process along with the browsing context for that window. The parent will pass this information to the controllers actor. As long as we can get the right currently focused browsing context descendant, we can get the correct command state and invoke commands through the right actor.

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

--HG--
rename : toolkit/modules/RemoteController.jsm => toolkit/actors/ControllersParent.jsm
extra : moz-landing-system : lando
2020-03-12 16:47:57 +00:00
Jon Coppeard 782a91ebba Bug 1613095 - Unlink more Document fields r=mccr8
I removed traverse and unlink for mChannel and mLayoutHistoryState since the initial review said these were unnecessary.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 15:06:36 +00:00
David Parks c2bab68f43 Bug 1430907: Part 1 - Remove AudioSession from Windows content process r=kinetik
AudioSession, which handles things like making sure that the volume slider in the system tray has the right name and icon and is aligned for all processes, is not needed in content processes any longer since bug 1432303 remoted audio use away from content.

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

--HG--
extra : moz-landing-system : lando
2020-03-11 14:51:48 +00:00
Perry Jiang 7a9d3317b1 Bug 1617993 - Add CheckedUnsafePtr to some SharedWorker classes r=dom-workers-and-storage-reviewers,sg
Depends on D64302

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

--HG--
extra : moz-landing-system : lando
2020-03-12 16:10:03 +00:00
Simon Giesecke 6223cfb160 Bug 1618121 - Make CheckedUnsafePtr a literal type and trivially copyable if checking is disabled, and add get member function. r=dom-workers-and-storage-reviewers,edenchuang
Differential Revision: https://phabricator.services.mozilla.com/D64302

--HG--
extra : moz-landing-system : lando
2020-03-12 15:04:18 +00:00
Perry Jiang 0e90b8bb8b Bug 1147178 - remove InternalResponse::mTerminationReason r=dom-workers-and-storage-reviewers,sg
The termination reason doesn't exist in the Fetch spec anymore. The member
variable isn't ever used either.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 08:50:22 +00:00
Edgar Chen 5d9d891ff2 Bug 1621930 - Remove test_pointerevent_pointerout_received_once-manual.html; r=smaug
Depends on D66569

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

--HG--
extra : moz-landing-system : lando
2020-03-12 15:02:04 +00:00
Edgar Chen 9ac8f6cdb0 Bug 1621925 - Remove test_pointerevent_pointermove_on_chorded_mouse_button-manual.html; r=smaug
Depends on D66568

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

--HG--
extra : moz-landing-system : lando
2020-03-12 15:01:46 +00:00
Edgar Chen 9e5b1f713a Bug 1621922 - Remove test_pointerevent_pointermove_isprimary_same_as_pointerdown-manual.html; r=smaug
Depends on D66567

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

--HG--
extra : moz-landing-system : lando
2020-03-12 15:01:38 +00:00
Edgar Chen e8539f63f0 Bug 1621918 - Remove test_pointerevent_pointermove-manual.html; r=smaug
Depends on D66566

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

--HG--
extra : moz-landing-system : lando
2020-03-12 15:01:22 +00:00
Edgar Chen 53aed7aafa Bug 1621912 - Remove test_pointerevent_pointerleave_descendants-manual.html; r=smaug
Depends on D66565

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

--HG--
extra : moz-landing-system : lando
2020-03-12 15:01:15 +00:00
Edgar Chen e2dbf77853 Bug 1621909 - Remove test_pointerevent_pointerleave_descendant_over-manual.html; r=smaug
Depends on D66564

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

--HG--
extra : moz-landing-system : lando
2020-03-12 15:01:02 +00:00
Edgar Chen 5c98de2a6d Bug 1621831 - Remove test_pointerevent_lostpointercapture_for_disconnected_node-manual.html; r=smaug
Depends on D66562

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

--HG--
extra : moz-landing-system : lando
2020-03-12 14:53:00 +00:00
Edgar Chen cf26fb4712 Bug 1621830 - Remove test_pointerevent_element_haspointercapture-manual.html; r=smaug
Depends on D66561

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

--HG--
extra : moz-landing-system : lando
2020-03-12 14:52:12 +00:00
Edgar Chen cbe66c6e97 Bug 1621829 - Remove test_pointerevent_capture_mouse-manual.html; r=smaug
Depends on D66560

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

--HG--
extra : moz-landing-system : lando
2020-03-12 14:51:49 +00:00
Edgar Chen 96c57ab3c0 Bug 1621828 - Remove test_pointerevent_setpointercapture_disconnected-manual.html; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D66560

--HG--
extra : moz-landing-system : lando
2020-03-12 14:51:32 +00:00
Tom Tung 130b9fec28 Bug 1619910 - P2 - Collect the success rates of upgrades from indexedDB/ and storage/persistent/ directory; r=janv,dom-workers-and-storage-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D65469

--HG--
extra : moz-landing-system : lando
2020-03-11 12:52:04 +00:00
Tom Tung f73f17be94 Bug 1619910 - P1 - Change MaybeUpgradeFrom* to UpgradeFrom*; r=janv,dom-workers-and-storage-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D65523

--HG--
extra : moz-landing-system : lando
2020-03-11 12:51:26 +00:00
Oana Pop Rus e07c2cf135 Backed out 2 changesets (bug 1618121, bug 1617993) for build bustages in CheckedUnsafePtr.h on a CLOSED TREE
Backed out changeset 2658800d6c78 (bug 1617993)
Backed out changeset 6e0a1c83694c (bug 1618121)
2020-03-12 16:59:41 +02:00
Perry Jiang 4fa1ae607b Bug 1617993 - Add CheckedUnsafePtr to some SharedWorker classes r=dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D64199

--HG--
extra : moz-landing-system : lando
2020-03-12 09:50:55 +00:00
Simon Giesecke d29259a248 Bug 1618121 - Make CheckedUnsafePtr a literal type and trivially copyable if checking is disabled, and add get member function. r=dom-workers-and-storage-reviewers,edenchuang
Differential Revision: https://phabricator.services.mozilla.com/D64302

--HG--
extra : moz-landing-system : lando
2020-03-12 13:48:18 +00:00
Narcis Beleuzu 02dfadf8c9 Backed out 2 changesets (bug 1618121, bug 1617993) for assertion failure at nsTArray.h . CLOSED TREE
Backed out changeset e4d228335a49 (bug 1617993)
Backed out changeset b874484bdeb7 (bug 1618121)
2020-03-12 11:40:00 +02:00
Perry Jiang 20b5709c6a Bug 1617993 - Add CheckedUnsafePtr to some SharedWorker classes r=dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D64199

--HG--
extra : moz-landing-system : lando
2020-02-27 10:03:32 +00:00
Simon Giesecke b118d306ad Bug 1618121 - Make CheckedUnsafePtr a literal type and trivially copyable if checking is disabled, and add get member function r=dom-workers-and-storage-reviewers,edenchuang
Differential Revision: https://phabricator.services.mozilla.com/D64302

--HG--
extra : moz-landing-system : lando
2020-03-10 15:50:16 +00:00
Boris Zbarsky 4e0a47195b Bug 1621835. Make imgINotificationObserver::Notify a void method, since no one examines its return value anyway. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D66513

--HG--
extra : moz-landing-system : lando
2020-03-12 04:25:34 +00:00
Boris Chiou 014b6a5b9e Bug 1621174 - Fix error handling for setting KeyframeEffect.pseudoElement. r=birtles,smaug
We should throw a DOMException SyntaxError when setting pseudoElement a
syntactically invalid string or an unsupported pseudo.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 00:34:46 +00:00
Christoph Walcher f652209a3e Bug 1616964 - Remove support for "loadAsInteractiveData" in XMLDocument r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D63774

--HG--
extra : moz-landing-system : lando
2020-02-24 17:46:04 +00:00
Mihai Alexandru Michis 795c7787a3 Backed out changeset 3552ac882d4f (bug 1621835) for causing bustages.
CLOSED TREE
2020-03-12 04:15:33 +02:00
Boris Zbarsky e5766424b8 Bug 1621835. Make imgINotificationObserver::Notify a void method, since no one examines its return value anyway. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D66513

--HG--
extra : moz-landing-system : lando
2020-03-12 01:46:16 +00:00
sotaro 2e6730be8d Bug 1618429 - Add RecycleAllocator support to ImageContainer for RDD process r=nical
Differential Revision: https://phabricator.services.mozilla.com/D64508

--HG--
extra : moz-landing-system : lando
2020-03-11 10:52:48 +00:00
Gerald Squelart 9e0576b94c Bug 1620515 - Replace BlocksRingBuffer::EntryReader/Writer with ProfileBufferEntryReader/Writer - r=canaltinova
The new ProfileBufferEntryReader/Writer are now used everywhere, including in
the profilers and tests.
The old EntryReader/Writer have been removed.

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

--HG--
extra : moz-landing-system : lando
2020-03-11 21:59:19 +00:00
Mihai Alexandru Michis a3ed8c38b3 Backed out changeset 396cfd215808 (bug 1560038) for causing dt failures in browser_application_panel_list-single-worker.js
CLOSED TREE
2020-03-12 00:32:24 +02:00
Nika Layzell 35b2d7c259 Bug 1616992 - Add a WindowContext getter to nsGlobalWindowInner, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D65624

--HG--
extra : moz-landing-system : lando
2020-03-06 13:53:00 +00:00
Emilio Cobos Álvarez bc4a01830f Bug 1620941 - Fix the visibility hit-testing code. r=miko
Don't use nsDisplayEventReceiver for visibility hit testing, and fix the "stop
when we hit an opaque item" to actually work.

Depends on D66403

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

--HG--
extra : moz-landing-system : lando
2020-03-11 18:09:08 +00:00
Emilio Cobos Álvarez 845a727028 Bug 1620941 - Cleanup nsDOMWindowUtils::NodesFromRect. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D66403

--HG--
extra : moz-landing-system : lando
2020-03-11 14:39:28 +00:00
Simon Giesecke d8537d4388 Bug 1617170 - Remove some local helper classes. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D64343

--HG--
extra : moz-landing-system : lando
2020-03-11 16:49:15 +00:00
Simon Giesecke f28bafa279 Bug 1617170 - Split StructuredCloneReadInfo into parent- and child-specific classes. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D64131

--HG--
extra : moz-landing-system : lando
2020-03-11 17:30:33 +00:00
Simon Giesecke 67ee010253 Bug 1617170 - Removed duplication in Helper::Invalidate* functions. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D64129

--HG--
extra : moz-landing-system : lando
2020-03-11 17:06:28 +00:00
Simon Giesecke 1fabf7b51c Bug 1617170 - Encapsulate StructuredCloneReadInfo members. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D64078

--HG--
extra : moz-landing-system : lando
2020-03-11 17:20:05 +00:00
Simon Giesecke ec9babdc85 Bug 1617170 - Move DECLARE_USE_COPY_CONSTRUCTORS for StructuredCloneReadInfo to dom/indexedDB/IndexedDatabase.h r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D65293

--HG--
extra : moz-landing-system : lando
2020-03-11 16:53:20 +00:00
Zibi Braniecki 7c466415ee Bug 1560038 - Switch uses of FluentBundle to use fluent-rs. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D57403

--HG--
extra : moz-landing-system : lando
2020-03-11 15:42:07 +00:00
Razvan Maries 76c870f876 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2020-03-11 18:45:40 +02:00
Razvan Maries 1055887a2e Backed out changeset d32be4ed8786 (bug 1407276) for causing bug 1609665 to spike. a=backout 2020-03-11 18:38:18 +02:00
Henri Sivonen bff89673d8 Bug 1620174 - Avoid reading mActiveWindow from a content process in RaiseWindow. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D66193

--HG--
extra : moz-landing-system : lando
2020-03-11 15:10:33 +00:00
Henri Sivonen 6276ea07ae Bug 1620172 - Use GetActiveBrowsingContext for full screen auto-exit. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D66009

--HG--
extra : moz-landing-system : lando
2020-03-11 16:00:45 +00:00
Henri Sivonen 9a9dc18395 Bug 1620946 - Indicate content-process use of mActiveWindow in comments. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D65951

--HG--
extra : moz-landing-system : lando
2020-03-11 15:10:21 +00:00
Henri Sivonen e699c29100 Bug 1615548 - Blur OOP iframes when focus moves to chrome. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D65090

--HG--
extra : moz-landing-system : lando
2020-03-11 15:10:19 +00:00
Zibi Braniecki 4cf04c19e6 Bug 1560038 - Add FluentBundle. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D54325

--HG--
extra : moz-landing-system : lando
2020-03-11 15:37:39 +00:00
Zibi Braniecki 312c9d7359 Bug 1560038 - Add FluentMessage and FluentPattern. r=emilio,smaug
Differential Revision: https://phabricator.services.mozilla.com/D54324

--HG--
extra : moz-landing-system : lando
2020-03-11 15:36:56 +00:00
Zibi Braniecki 51c9856f7e Bug 1560038 - Add FluentResource. r=emilio,smaug
Differential Revision: https://phabricator.services.mozilla.com/D54323

--HG--
extra : moz-landing-system : lando
2020-03-11 15:42:33 +00:00
Paul Adenot ae95e91636 Bug 1619607 - When attempting to create an AudioWorkletNode with non-existing processor, throw InvalidStateError. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D65109

--HG--
extra : moz-landing-system : lando
2020-03-11 14:45:12 +00:00
shindli b02b3a6e1a Backed out changeset a08637fb30c8 (bug 1143478) for causing bustages in /builds/worker/checkouts/gecko/ipc/mscom/Registration.cpp CLOSED TREE
--HG--
rename : mfbt/CompactPair.h => mfbt/Pair.h
2020-03-11 14:30:54 +02:00
Tom Schuster 00218dcac0 Bug 1275508 - Remove JavaScript werror from browser. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D66255

--HG--
extra : moz-landing-system : lando
2020-03-11 12:20:21 +00:00
Chris Fronk a27e438c2d Bug 1143478 - Rename mozilla::Pair to CompactPair. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D64511

--HG--
rename : mfbt/Pair.h => mfbt/CompactPair.h
extra : moz-landing-system : lando
2020-03-11 12:18:13 +00:00
Paul Adenot dc3afac772 Bug 1621596 - Adjust one patch from bug 1598114 to land what was meant to be landing
Differential Revision: https://phabricator.services.mozilla.com/D66382

--HG--
extra : moz-landing-system : lando
2020-03-11 10:56:00 +00:00
Sylvestre Ledru 1c5c5caea7 Bug 1617369 - Reformat a rust test using rustfmt r=marco
Depends on D65902

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

--HG--
extra : moz-landing-system : lando
2020-03-10 09:27:56 +00:00
Mirko Brodesser 76ae1d169f Bug 1620952: part 9) Rename `nsFrameSelection::GetBatching` to `IsBatching`. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D66061

--HG--
extra : moz-landing-system : lando
2020-03-11 09:18:18 +00:00
Mirko Brodesser c8fbeec19d Bug 1620952: part 8) Rename `nsFrameSelection::IsDirty`. r=jfkthame
The new name is clearer.

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

--HG--
extra : moz-landing-system : lando
2020-03-11 09:18:10 +00:00
shindli 0b7c33c8d9 Backed out changeset 50af9d58c645 (bug 1619592) for causing build bustages in /builds/worker/checkouts/gecko/dom/quota/PersistenceType.cpp CLOSED TREE 2020-03-11 10:37:51 +02:00
Jan Varga a415028a3c Bug 1619592 - Rationalize PersistenceTypeTo* and PersistenceTypeFrom* methods; r=dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D65937

--HG--
extra : moz-landing-system : lando
2020-03-11 08:08:46 +00:00
Zibi Braniecki 275c56f717 Bug 1560038 - Switch Localization IDL to use UTF8String for L10nArgs r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D58858

--HG--
extra : moz-landing-system : lando
2020-03-11 07:17:07 +00:00
Mike Hommey 082a30140e Bug 1621518 - Fix build errors with -Werror=format-security with GCC. r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D66355

--HG--
extra : moz-landing-system : lando
2020-03-11 03:30:11 +00:00
Daniel Varga 8edab673d8 Backed out changeset d15b968aa6d1 (bug 1615297) for causing build bustage
CLOSED TREE

--HG--
extra : rebase_source : 4e525e82fb7f194d9b7eac0020932ed09ac005b7
2020-03-11 05:41:51 +02:00
Sebastian Streich 8284e0c407 Bug 1621004 -- Refactor nsNPAPIPlugin.cpp r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D66046

--HG--
extra : moz-landing-system : lando
2020-03-10 23:16:36 +00:00
Daniel Varga a2cbf61a81 Backed out 9 changesets (bug 1560038) for causing build bustage
CLOSED TREE

Backed out changeset 12069dae9b8d (bug 1560038)
Backed out changeset a0845cf79487 (bug 1560038)
Backed out changeset dc2406d01a63 (bug 1560038)
Backed out changeset 1b11616a5ee5 (bug 1560038)
Backed out changeset 06cdc27a39a7 (bug 1560038)
Backed out changeset a390456d9d26 (bug 1560038)
Backed out changeset 7e3d839a3e9d (bug 1560038)
Backed out changeset 0678db762fed (bug 1560038)
Backed out changeset 3b9b16532bf3 (bug 1560038)
2020-03-11 04:53:10 +02:00
Sebastian Streich 9638f7914f Bug 1620984 - CrashReport.cpp refactor r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D66007

--HG--
extra : moz-landing-system : lando
2020-03-10 19:34:42 +00:00
Sebastian Streich 1f23aca56c Bug 1615297 - Move Localstorage Keygen into Principal r=ckerschb,baku
Differential Revision: https://phabricator.services.mozilla.com/D62757

--HG--
extra : moz-landing-system : lando
2020-03-10 18:10:08 +00:00
Poren Chiang 0ab9bb5418 Bug 1336426 - Query selected text before calling word breaker. r=masayuki,m_kato
When triggering dictionary lookup in native macOS apps, the currently selected text is used if the cursor falls within the selection range. Since Bug 1275486 and Bug 425915 are yet to be implemented, this patch could at least give the user ability to manually mark their query first.

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

--HG--
extra : moz-landing-system : lando
2020-03-10 21:24:13 +00:00
Zibi Braniecki 4d2733ee86 Bug 1560038 - Switch uses of FluentBundle to use fluent-rs.
Differential Revision: https://phabricator.services.mozilla.com/D57403

Depends on D61048

--HG--
extra : rebase_source : 0be62fa98f0a91274c96a509eeafceb6da667894
2020-03-10 20:03:59 +02:00
Zibi Braniecki 0114269ceb Bug 1560038 - Add FluentBundle.
Differential Revision: https://phabricator.services.mozilla.com/D54325

Depends on D54324

--HG--
extra : rebase_source : 1e5118fcdaba1121b775c9afdee8264212c3a5e3
2020-03-10 14:16:07 +02:00
Zibi Braniecki 3d02e9e6cf Bug 1560038 - Add FluentMessage and FluentPattern.
Differential Revision: https://phabricator.services.mozilla.com/D54324

Depends on D54323

--HG--
extra : rebase_source : 24e514ce2b188735a869584e140bc8334d4ab5a6
2020-03-10 14:15:33 +02:00
Zibi Braniecki 8b91a599a2 Bug 1560038 - Add FluentResource.
Differential Revision: https://phabricator.services.mozilla.com/D54323

Depends on D56641

--HG--
extra : rebase_source : 1087ad4b1f401d942f3be65a1a215b0ef7d1a10e
2020-03-10 20:05:06 +02:00
Zibi Braniecki 42a7b711f8 Bug 1560038 - Switch Localization IDL to use UTF8String for L10nArgs
Differential Revision: https://phabricator.services.mozilla.com/D58858

Depends on D57401

--HG--
extra : rebase_source : 83e372046314c15b34b96ae354838910fd3f17f5
2020-03-10 20:04:55 +02:00
Tom Schuster 3946b3eaea Bug 1619177 - Remove remaining extra warnings code. r=tcampbell,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D65830

--HG--
extra : moz-landing-system : lando
2020-03-10 22:59:41 +00:00
Emilio Cobos Álvarez 16fa63e58f Bug 1621336 - Add a comment about the usage of LOAD_BACKGROUND. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D66309

--HG--
extra : moz-landing-system : lando
2020-03-10 21:39:40 +00:00
Kashav Madan 2dbd4a809e Bug 1578070 - Rename ClientOpenWindowInCurrentProcess and unskip test_openWindow.html, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D65232

--HG--
extra : moz-landing-system : lando
2020-03-10 20:27:49 +00:00
Kashav Madan 41ed32b21b Bug 1578070 - Use nsWindowWatcher::GetBrowsingContextByName in GeckoViewOpenWindow, r=farre
This also removes LaunchObserver, which was only needed for Fennec.

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

--HG--
extra : moz-landing-system : lando
2020-03-10 20:27:24 +00:00
Kashav Madan 5f18b14d6d Bug 1578070 - Use the parent process for Clients.openWindow(), r=nika,asuth
Differential Revision: https://phabricator.services.mozilla.com/D64392

--HG--
extra : moz-landing-system : lando
2020-03-10 20:27:01 +00:00
Kashav Madan a33f05c04e Bug 1578070 - Add ClientInfo to WindowGlobalParent, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D65230

--HG--
extra : moz-landing-system : lando
2020-03-10 20:25:57 +00:00
Kashav Madan b298b8e4cb Bug 1578070 - Only fire MozLayerTreeReady / MozLayerTreeCleared for top-level document paints, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D65026

--HG--
extra : moz-landing-system : lando
2020-03-10 20:25:44 +00:00
Kashav Madan c270a8d3e0 Bug 1578070 - Add a test, r=asuth
Opens a window from a service worker notification and attempts to call
`window.open` in that window. This crashes the content process that the first
window is running in.

Disabled by default for GeckoView, since test_openWindow.html is also disabled.

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

--HG--
extra : moz-landing-system : lando
2020-03-10 20:25:42 +00:00
Tim Huang 6f555fd710 Bug 1621282 - Fix the issue that CookieJarSettings is not synced to the WindowContext. r=dimi,Ehsan
We sync the CookieJarSettings to the WindowContext in
Document::StartDocumentLoad(). This is incorrect because the inner
window hasn't been set to the document in
Document::StartDocumentLoad(). So, the CookieJarSettings doesn't be
synced properly to the WindowContext.

This patch fixes this issue by changing the place where we do the sync. It
changes it to do the sync at the end of
nsGlobalWindowOuter::SetNewDocument() where the inner window and the
window context are both ready for the document.

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

--HG--
extra : moz-landing-system : lando
2020-03-10 22:03:03 +00:00
Sebastian Streich 6803ec415d Bug 1621299 -- Remove unsused GetUri in nsContentPolicyUtils.h r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D66231

--HG--
extra : moz-landing-system : lando
2020-03-10 19:34:21 +00:00
Dimi Lee 5f1f00a746 Bug 1620602 - P3. Pass parent window's BrowsingContext to AllowAccessFor r=timhuang,Ehsan
This patch doesn't make ContentBlocking::AllowAccessFor fission
compatible. This is more like a prerequisite work.

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

--HG--
extra : moz-landing-system : lando
2020-03-10 20:28:42 +00:00
Dimi Lee 78a9f69d39 Bug 1620602 - P2. Make Document::MaybeAllowStorageForOpenerAfterUserInteraction fission-compatiable r=timhuang,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D65728

--HG--
extra : moz-landing-system : lando
2020-03-10 20:28:27 +00:00
Dimi Lee 30152690b4 Bug 1620602 - P1. Make Document::RequestStorageAccess API fission-compatible r=timhuang,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D65727

--HG--
extra : moz-landing-system : lando
2020-03-10 20:39:46 +00:00
Emilio Cobos Álvarez fe6176a591 Bug 1621333 - Ensure aspect-ratio applies to lazy-loaded images. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D66257

--HG--
extra : moz-landing-system : lando
2020-03-10 21:30:02 +00:00
Daniel Varga 22ab1c2ce6 Backed out 9 changesets (bug 1560038) for causing build bustages.
CLOSED TREE

Backed out changeset 350df98095f8 (bug 1560038)
Backed out changeset 56dd15fbeced (bug 1560038)
Backed out changeset 570aa7aaceb5 (bug 1560038)
Backed out changeset fc4da4a1c192 (bug 1560038)
Backed out changeset 7c69b0e5fd93 (bug 1560038)
Backed out changeset 1caf41590caf (bug 1560038)
Backed out changeset b4bf28bec6a8 (bug 1560038)
Backed out changeset e923de659c2b (bug 1560038)
Backed out changeset 7f1be4424898 (bug 1560038)
2020-03-10 22:22:40 +02:00
Zibi Braniecki e61d360bfc Bug 1560038 - Switch uses of FluentBundle to use fluent-rs. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D57403

--HG--
extra : moz-landing-system : lando
2020-03-10 18:03:59 +00:00
Zibi Braniecki fed784dcef Bug 1560038 - Add FluentBundle. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D54325

--HG--
extra : moz-landing-system : lando
2020-03-10 12:16:07 +00:00
Zibi Braniecki 9cffa798e1 Bug 1560038 - Add FluentMessage and FluentPattern. r=emilio,smaug
Differential Revision: https://phabricator.services.mozilla.com/D54324

--HG--
extra : moz-landing-system : lando
2020-03-10 12:15:33 +00:00
Zibi Braniecki 288da34db6 Bug 1560038 - Add FluentResource. r=emilio,smaug
Differential Revision: https://phabricator.services.mozilla.com/D54323

--HG--
extra : moz-landing-system : lando
2020-03-10 18:05:06 +00:00
Zibi Braniecki 603fc09fd5 Bug 1560038 - Switch Localization IDL to use UTF8String for L10nArgs r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D58858

--HG--
extra : moz-landing-system : lando
2020-03-10 18:04:55 +00:00
David Teller e251bcf21f Bug 1589493 - Testing ipc:content-shutdown's support for isLikelyOOM;r=gsvelto
Depends on D54700

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

--HG--
extra : moz-landing-system : lando
2020-03-03 21:16:00 +00:00
David Teller 54cacf1bc0 Bug 1589493 - Expose isLikelyOOM to Content crash handlers;r=gsvelto
Depends on D54129

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

--HG--
extra : moz-landing-system : lando
2020-03-03 10:24:37 +00:00
Christian Holler bea7d7549f Bug 1621323 - Disable an OOMing test for TSan and fix TSan OOM options. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D66252

--HG--
extra : moz-landing-system : lando
2020-03-10 16:22:25 +00:00
Ehsan Akhgari 8be66c7ac2 Bug 865004 - Add a crashtest based on the test case for the bug
Differential Revision: https://phabricator.services.mozilla.com/D66251

--HG--
extra : moz-landing-system : lando
2020-03-10 16:03:13 +00:00
Boris Zbarsky a2c83198eb Bug 1619114. Convert ThrowErrorMessage to using JS_ReportErrorNumberUTF8Array. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D65350

--HG--
extra : moz-landing-system : lando
2020-03-10 15:13:49 +00:00
Ehsan Akhgari c6394ae30b Bug 873335 - Add a crashtest based on the test case for the bug
Differential Revision: https://phabricator.services.mozilla.com/D66237

--HG--
extra : moz-landing-system : lando
2020-03-10 15:18:56 +00:00
Nathan Froyd 8b675e62c9 Bug 1621313 - remove stray semicolon in nsINode.cpp; r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D66238

--HG--
extra : moz-landing-system : lando
2020-03-10 15:18:19 +00:00
Ehsan Akhgari 125d74dc01 Bug 865550 - Add a crashtest based on the test case for the bug
Differential Revision: https://phabricator.services.mozilla.com/D66242

--HG--
extra : moz-landing-system : lando
2020-03-10 15:26:14 +00:00
Ricky Stewart 5a39034089 Bug 1619460 - ensure subsequent runs of `./mach build-backend` under Python 3 produce consistent results r=dmajor
Dictionary iteration under Python 3 is in an inherently unpredictable order, and while we try to keep DEFINES ordered through the use of OrderedDicts, if at any point we populate DEFINES directly or indirectly while iterating through the contents of a non-ordered dictionary, the order of the DEFINES (and therefore the contents of the output Makefile) will be nondeterministic as well. This patch makes a number of changes to ensure that we only ever populate DEFINES in a deterministic fashion. (Note that in Python 3.7 and later, the built-in dict class actually has deterministic ordering, so these changes are technically only necessary until our minimum Python version becomes 3.7.)

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

--HG--
extra : moz-landing-system : lando
2020-03-09 22:34:19 +00:00
Bogdan Tara fb2b3d4e41 Backed out 2 changesets (bug 1614933) for busages complaining about IdleSchedulerChild.cpp CLOSED TREE
Backed out changeset ff92f800a74e (bug 1614933)
Backed out changeset 5cee8f603ae4 (bug 1614933)
2020-03-10 17:21:55 +02:00
Sebastian Streich ed31ed4ef6 Bug 1621002 - Refactor ContentParent.cpp r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D66045

--HG--
extra : moz-landing-system : lando
2020-03-10 14:21:38 +00:00
Sebastian Streich 4b4a5382fa Bug 1621001 - Refactor DataTransfer.cpp r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D66044

--HG--
extra : moz-landing-system : lando
2020-03-10 14:30:58 +00:00
Gabriele Svelto 9336e8143b Bug 1614933 - Gather content processes' crash annotations at exception time instead of using IPC; r=froydnj
Crash annotations in content processes are currently sent over IPC via
shared memory buffers. To pave the way for the Rust rewrite of the exception
handler we are removing this code and gathering all the crash annotations
within the content processes themselves. This patch causes annotations to be
stored in the global table of each content process. They are then streamed
out to the parent process by the exception handler together with the
exception-time annotations.

This has a number of benefits:

* we have one less channel to exchange data between content processes and
  the parent process
* we save memory because we don't need to allocate the shared memory buffers
* annotations are faster because we don't stream them all out every time one
  changes
* we won't truncate annotations anymore if we run out of space in the shared
  segment.
* we don't need delayed annotations anymore, so we can get rid of the
  associated machinery

As I refactored the code I tried to adjust all the obsolete comments,
consolidate shared code and remove the redundant steps that were sometimes
present. In many places we had two entire crash annotation tables we merged to
change just a couple; that comes from the fact that historically we loaded
them from disk. Now it doesn't matter anymore and we can just go ahead and
change the ones we care about.

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

--HG--
extra : moz-landing-system : lando
2020-03-10 14:59:22 +00:00
Sebastian Streich 2ed0dc6ea9 Bug 1620684 - Refactor nsJSEnv r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D66042

--HG--
extra : moz-landing-system : lando
2020-03-10 14:21:03 +00:00
Paul Adenot 3a25af8174 Bug 1598114 - Never destroy `AudioTimelineEvent` from the render thread when it contains a valid pointer to an `AudioNodeTrack`, and assert it. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D64759

--HG--
extra : moz-landing-system : lando
2020-03-05 16:13:12 +00:00
Paul Adenot 31bc8ab686 Bug 1598114 - Compute the values for each AudioParamTimeline directly into the Float32Arrays and pass the object to `process`. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D63356

--HG--
extra : moz-landing-system : lando
2020-03-05 00:55:28 +00:00
Paul Adenot a67b86366f Bug 1598114 - Initialize the javascript objects necessary to pass the third parameter to `process`. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D63355

--HG--
extra : moz-landing-system : lando
2020-03-04 15:22:51 +00:00
Paul Adenot ae9705970c Bug 1598114 - Receive AudioParamTimeline events to the render thread. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D63354

--HG--
extra : moz-landing-system : lando
2020-03-04 15:22:48 +00:00
Paul Adenot 4651ad6731 Bug 1598114 - Implement `AudioWorkletNode.parameters`. r=karlt
This covers only the main thread part of this attribute.

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

--HG--
extra : moz-landing-system : lando
2020-03-05 00:49:09 +00:00
Paul Adenot 3902b2f19e Bug 1598114 - Pass the graph time to ProcessBlockOnPorts. r=karlt
This is necessary to then compute AudioParam values for the right time.

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

--HG--
extra : moz-landing-system : lando
2020-03-04 15:21:28 +00:00
Paul Adenot ebe89c5caa Bug 1598114 - Use char16_t for AudioParam names, since they can now be exposed to js and contain non-ascii values. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D63351

--HG--
extra : moz-landing-system : lando
2020-03-04 15:21:23 +00:00
Anny Gakhokidze 5986a2de44 Bug 1546759 - Change nsSHistory::WalkHistoryEntries to walk browsing context tree instead of doc shell tree, r=peterv,nika
WalkHistoryEntries function gets called by nsSHistory::CloneAndReplaceChild
and nsSHistory::SetChildHistoryEntry recursively, so those have to be moved
into the parent process. This eliminates many sync IPC calls.

To facilitate transition to a new session history design,
we are mirroring mOSHE and mLSHE SH entries from docshell to browsing context.
Whenever we update those entries in docshell, we will also update those in BC,
and vice versa.

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

--HG--
extra : moz-landing-system : lando
2020-03-10 14:28:22 +00:00
Ehsan Akhgari 84f555ba58 Bug 1228882 - Add a crashtest based on the test case for the bug
Differential Revision: https://phabricator.services.mozilla.com/D66224

--HG--
extra : moz-landing-system : lando
2020-03-10 13:54:45 +00:00
Mirko Brodesser b58f603d3f Bug 1620952: part 2) Remove `nsFrameSelection::Init`. r=jfkthame
Will allow to declare some members const.

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

--HG--
extra : moz-landing-system : lando
2020-03-10 12:41:05 +00:00
Mirko Brodesser a10d6cd0ba Bug 1620952: part 1) Construct `nsFrameSelection` as late as possible. r=jfkthame
Might allow to merge its constructor and its `Init` method.

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

--HG--
extra : moz-landing-system : lando
2020-03-10 12:41:03 +00:00
David Teller ecc51cfadf Bug 1605085 - Make ClientManagerService::OpenWindow use non-blocking GetNewOrUsedBrowserProcessAsync;r=baku
Differential Revision: https://phabricator.services.mozilla.com/D57779

--HG--
extra : moz-landing-system : lando
2020-03-10 12:19:33 +00:00
Christoph Kerschbaumer e28898c446 Bug 1620928: Remove unecessary null checks for loadinfo within ReferrerInfo. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65935

--HG--
extra : moz-landing-system : lando
2020-03-10 11:19:05 +00:00
Emilio Cobos Álvarez 745bf4d0a7 Bug 1621203 - Don't use IsEqualNode in nsFocusManager. r=smaug
There's no reason to.

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

--HG--
extra : moz-landing-system : lando
2020-03-10 11:30:51 +00:00
Xidorn Quan f5a0abc94a Bug 1621218 - Fix a typo in fullscreen scrollbar test.
Differential Revision: https://phabricator.services.mozilla.com/D66190

--HG--
extra : moz-landing-system : lando
2020-03-10 09:11:13 +00:00
Bogdan Tara db31d5b274 Backed out changeset 00ab51ea2723 (bug 1620778) for test_autocomplete_mac_caret.xhtml failures CLOSED TREE 2020-03-10 12:24:48 +02:00
Emilio Cobos Álvarez 49598c22ee Bug 1620778 - Fix interaction of up/down keys with autocomplete and <input type=number>. r=masayuki,smaug
Differential Revision: https://phabricator.services.mozilla.com/D66011

--HG--
extra : moz-landing-system : lando
2020-03-10 02:44:44 +00:00
Eden Chuang 0ae0e5703d Bug 1615630 - Call PaymentRequestManager::NotifyRequestDone() when PaymentShowActionResponse.status() is not PAYMENT_ACCEPTED before calling PaymentRequest::RespondShowPayment r=baku,alchen
Differential Revision: https://phabricator.services.mozilla.com/D65692

--HG--
extra : moz-landing-system : lando
2020-03-10 09:03:51 +00:00
Eden Chuang 47768c1ef1 Bug 1407276 - Avoid creating InterceptedHttpChannel if the service worker has no fetch event handler r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D64092

--HG--
extra : moz-landing-system : lando
2020-03-10 06:41:31 +00:00
Jean-Yves Avenard 90a12ad8b8 Bug 1610375 - Never use the ContainerParser for media segments unless we have first received an init segment. r=bryce
An error will be returned should it occur, we keep the code flow as-is in order to closely follow the MSE spec steps (https://w3c.github.io/media-source/#sourcebuffer-segment-parser-loop)

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

--HG--
extra : moz-landing-system : lando
2020-03-10 06:02:02 +00:00
Brindusan Cristian 0af61b98f5 Bug 873229 - Fix ESlint failure. CLOSED TREE 2020-03-10 07:49:03 +02:00
Boris Zbarsky efddb6ab00 Bug 873229 test.
Differential Revision: https://phabricator.services.mozilla.com/D66181

--HG--
extra : moz-landing-system : lando
2020-03-10 05:32:25 +00:00
Hiroyuki Ikezoe 42615abfc2 Bug 1620867 - Move all InputTypes into mozilla::dom namespace. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D65918

--HG--
extra : moz-landing-system : lando
2020-03-10 01:12:26 +00:00
Ehsan Akhgari cde7e014c2 Bug 1620322 - Part 9: Move ContentBlockingLog to antitracking to keep all related code together in the same place; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65822

--HG--
rename : dom/base/ContentBlockingLog.cpp => toolkit/components/antitracking/ContentBlockingLog.cpp
rename : dom/base/ContentBlockingLog.h => toolkit/components/antitracking/ContentBlockingLog.h
extra : moz-landing-system : lando
2020-03-09 23:36:39 +00:00
Ehsan Akhgari 5200d034f5 Bug 1620322 - Part 8: Rename AntiTrackingCommon to ContentBlocking; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65821

--HG--
rename : toolkit/components/antitracking/AntiTrackingCommon.cpp => toolkit/components/antitracking/ContentBlocking.cpp
rename : toolkit/components/antitracking/AntiTrackingCommon.h => toolkit/components/antitracking/ContentBlocking.h
extra : moz-landing-system : lando
2020-03-09 23:36:39 +00:00
Ehsan Akhgari 4369044005 Bug 1620322 - Part 6: Refactor the code related to user interactions out of AntiTrackingCommon.cpp; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65819

--HG--
extra : moz-landing-system : lando
2020-03-09 23:36:35 +00:00
Ehsan Akhgari f6432b8584 Bug 1620322 - Part 5: Refactor the code for calculating the permission type string to AntiTrackingUtils; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65818

--HG--
extra : moz-landing-system : lando
2020-03-09 23:36:44 +00:00
Ehsan Akhgari 8e46ea55d2 Bug 1620322 - Part 2: Refactor the code for content blocking events and notifications out of AntiTrackingCommon.cpp; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65743

--HG--
extra : moz-landing-system : lando
2020-03-09 23:36:37 +00:00
Hiroyuki Ikezoe 2baddbcb2f Bug 1620865 - Drop ComputedStyle argument from AnimationValue::ComputeDistance. r=boris
It has not been used since we dropped the old style system.

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

--HG--
extra : moz-landing-system : lando
2020-03-09 18:44:22 +00:00
Narcis Beleuzu 0186cbe565 Backed out 8 changesets (bug 1620322) for bustages on nsContentSink.cpp . CLOSED TREE
Backed out changeset f41739c64dff (bug 1620322)
Backed out changeset be942a7f329e (bug 1620322)
Backed out changeset a916987c7c71 (bug 1620322)
Backed out changeset ead3484ffb5f (bug 1620322)
Backed out changeset 4e1e8b9afa1a (bug 1620322)
Backed out changeset 473bba698e5a (bug 1620322)
Backed out changeset 0e5e5d41597d (bug 1620322)
Backed out changeset 31b24d79db3d (bug 1620322)

--HG--
rename : toolkit/components/antitracking/ContentBlockingLog.cpp => dom/base/ContentBlockingLog.cpp
rename : toolkit/components/antitracking/ContentBlockingLog.h => dom/base/ContentBlockingLog.h
rename : toolkit/components/antitracking/ContentBlocking.cpp => toolkit/components/antitracking/AntiTrackingCommon.cpp
rename : toolkit/components/antitracking/ContentBlocking.h => toolkit/components/antitracking/AntiTrackingCommon.h
2020-03-09 22:18:36 +02:00
Ehsan Akhgari 8530d61140 Bug 1620322 - Part 9: Move ContentBlockingLog to antitracking to keep all related code together in the same place; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65822

--HG--
rename : dom/base/ContentBlockingLog.cpp => toolkit/components/antitracking/ContentBlockingLog.cpp
rename : dom/base/ContentBlockingLog.h => toolkit/components/antitracking/ContentBlockingLog.h
extra : moz-landing-system : lando
2020-03-09 18:12:42 +00:00
Ehsan Akhgari 5045d313c2 Bug 1620322 - Part 8: Rename AntiTrackingCommon to ContentBlocking; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65821

--HG--
rename : toolkit/components/antitracking/AntiTrackingCommon.cpp => toolkit/components/antitracking/ContentBlocking.cpp
rename : toolkit/components/antitracking/AntiTrackingCommon.h => toolkit/components/antitracking/ContentBlocking.h
extra : moz-landing-system : lando
2020-03-09 18:12:40 +00:00
Ehsan Akhgari a95fb737fd Bug 1620322 - Part 6: Refactor the code related to user interactions out of AntiTrackingCommon.cpp; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65819

--HG--
extra : moz-landing-system : lando
2020-03-09 18:12:35 +00:00
Ehsan Akhgari cc77a3232a Bug 1620322 - Part 5: Refactor the code for calculating the permission type string to AntiTrackingUtils; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65818

--HG--
extra : moz-landing-system : lando
2020-03-09 18:12:33 +00:00
Ehsan Akhgari 78677f7812 Bug 1620322 - Part 2: Refactor the code for content blocking events and notifications out of AntiTrackingCommon.cpp; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65743

--HG--
extra : moz-landing-system : lando
2020-03-09 18:12:26 +00:00
Andrew McCreight c5217006a9 Bug 1620705 - Don't send "memory-pressure" if ContentChild::mShuttingDown. r=smaug
Shutting down the process is going to free more memory than anything else we
could do, so don't delay it.

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

--HG--
extra : moz-landing-system : lando
2020-03-09 18:41:34 +00:00
Noemi Erli a48fac9e3b Backed out 8 changesets (bug 1620322) for causing bustages in ContentBlockingLog.cpp CLOSED TREE
Backed out changeset 3dcf513e36cb (bug 1620322)
Backed out changeset 46714855ce1d (bug 1620322)
Backed out changeset 0eb2b5f7322f (bug 1620322)
Backed out changeset 72d640fa0740 (bug 1620322)
Backed out changeset 4533bb4e5177 (bug 1620322)
Backed out changeset 659270edd419 (bug 1620322)
Backed out changeset 6802c18b1914 (bug 1620322)
Backed out changeset 60ff34db9f15 (bug 1620322)

--HG--
rename : toolkit/components/antitracking/ContentBlockingLog.cpp => dom/base/ContentBlockingLog.cpp
rename : toolkit/components/antitracking/ContentBlockingLog.h => dom/base/ContentBlockingLog.h
rename : toolkit/components/antitracking/ContentBlocking.cpp => toolkit/components/antitracking/AntiTrackingCommon.cpp
rename : toolkit/components/antitracking/ContentBlocking.h => toolkit/components/antitracking/AntiTrackingCommon.h
2020-03-09 19:19:41 +02:00
Bryce Seager van Dyk 5cbd62da48 Bug 1300390 - Add more assertions to MediaFormatReader to clarify threading model. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D65672

--HG--
extra : moz-landing-system : lando
2020-03-07 02:44:43 +00:00
alwu f1ffb8000a Bug 1620470 - part2 : add test. r=MeFisto94
Differential Revision: https://phabricator.services.mozilla.com/D65665

--HG--
extra : moz-landing-system : lando
2020-03-09 17:11:05 +00:00
alwu 14e789d818 Bug 1620470 - part1 : always use default metadata if we're in private browsing. r=MeFisto94
From [1], it shows why private browsing mode is something we should be aware of when we display metadata on the virtual control interface. But not just the default metadata we generate has this concern, we should also prevent to show the media session's metadata in private browsing in order not to expose website's information.

[1] https://searchfox.org/mozilla-central/rev/e7fc3314b0dfcc61fb7dc7a09f9555660a2eafc5/dom/media/mediasession/MediaSessionController.cpp#140-144

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

--HG--
extra : moz-landing-system : lando
2020-03-09 17:02:08 +00:00
alwu 2748adcf50 Bug 1615112 - part3 : add test. r=MeFisto94
Differential Revision: https://phabricator.services.mozilla.com/D65657

--HG--
extra : moz-landing-system : lando
2020-03-09 16:58:31 +00:00
alwu daa1390c63 Bug 1615112 - part2 : use default title and favicon to fill missing properties if needed. r=MeFisto94
We don't want to show empty information on the virtual control interface when media session's title and artwork are empty or doesn't be set properly. Therefore, in this situation, we should use default title and favicon icon instead.

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

--HG--
extra : moz-landing-system : lando
2020-03-07 12:58:30 +00:00
alwu 9faa8f0aa9 Bug 1615112 - part1 : create 'GetDefaultTitle()'. r=MeFisto94
We would use the default title in other places in the future, so make it as a separate function to re-use those code.

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

--HG--
extra : moz-landing-system : lando
2020-03-09 16:50:28 +00:00
Ehsan Akhgari 271a1e1e51 Bug 1620322 - Part 9: Move ContentBlockingLog to antitracking to keep all related code together in the same place; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65822

--HG--
rename : dom/base/ContentBlockingLog.cpp => toolkit/components/antitracking/ContentBlockingLog.cpp
rename : dom/base/ContentBlockingLog.h => toolkit/components/antitracking/ContentBlockingLog.h
extra : moz-landing-system : lando
2020-03-09 10:23:30 +00:00
Ehsan Akhgari 1195c302a4 Bug 1620322 - Part 8: Rename AntiTrackingCommon to ContentBlocking; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65821

--HG--
rename : toolkit/components/antitracking/AntiTrackingCommon.cpp => toolkit/components/antitracking/ContentBlocking.cpp
rename : toolkit/components/antitracking/AntiTrackingCommon.h => toolkit/components/antitracking/ContentBlocking.h
extra : moz-landing-system : lando
2020-03-09 10:23:07 +00:00
Ehsan Akhgari 300024b8c3 Bug 1620322 - Part 6: Refactor the code related to user interactions out of AntiTrackingCommon.cpp; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65819

--HG--
extra : moz-landing-system : lando
2020-03-09 10:22:14 +00:00
Ehsan Akhgari 2a4da9146f Bug 1620322 - Part 5: Refactor the code for calculating the permission type string to AntiTrackingUtils; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65818

--HG--
extra : moz-landing-system : lando
2020-03-09 10:21:15 +00:00
Ehsan Akhgari 4bc71d0112 Bug 1620322 - Part 2: Refactor the code for content blocking events and notifications out of AntiTrackingCommon.cpp; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65743

--HG--
extra : moz-landing-system : lando
2020-03-09 10:16:54 +00:00
Simon Giesecke eb97db8b21 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/xslt. r=smaug
Depends on D66035

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

--HG--
extra : moz-landing-system : lando
2020-03-09 15:23:57 +00:00
Simon Giesecke c4d02e267b Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/permission. r=smaug
Depends on D66034

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

--HG--
extra : moz-landing-system : lando
2020-03-09 14:48:10 +00:00
Simon Giesecke d152e69887 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/worklet. r=smaug
Depends on D66033

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

--HG--
extra : moz-landing-system : lando
2020-03-09 14:51:58 +00:00
Simon Giesecke 664f5a98ab Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/websocket. r=smaug
Depends on D66032

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

--HG--
extra : moz-landing-system : lando
2020-03-09 14:54:48 +00:00
Simon Giesecke 29f7669a77 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/webbrowserpersist. r=smaug
Depends on D66031

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

--HG--
extra : moz-landing-system : lando
2020-03-09 14:57:23 +00:00
Simon Giesecke ef9ca16ef2 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/webauthn. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D66031

--HG--
extra : moz-landing-system : lando
2020-03-09 15:47:39 +00:00
Simon Giesecke 630bef5140 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/system. r=smaug
Depends on D66029

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

--HG--
extra : moz-landing-system : lando
2020-03-09 15:02:09 +00:00
Simon Giesecke 0173f3b38f Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/simpledb. r=smaug
Depends on D66028

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

--HG--
extra : moz-landing-system : lando
2020-03-09 15:01:18 +00:00
Simon Giesecke 80de7dcd75 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/script. r=smaug
Depends on D66027

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

--HG--
extra : moz-landing-system : lando
2020-03-09 15:04:35 +00:00
Simon Giesecke 7c764ee1da Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/push. r=smaug
Depends on D66025

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

--HG--
extra : moz-landing-system : lando
2020-03-09 15:05:52 +00:00
Simon Giesecke d81853cb9d Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/promise. r=smaug
Depends on D66024

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

--HG--
extra : moz-landing-system : lando
2020-03-09 15:07:21 +00:00
Simon Giesecke 3cff2235e0 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/presentation. r=smaug
Depends on D66023

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

--HG--
extra : moz-landing-system : lando
2020-03-09 15:14:19 +00:00
Simon Giesecke 5e3c24c886 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/payments. r=smaug
Depends on D66022

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

--HG--
extra : moz-landing-system : lando
2020-03-09 15:17:16 +00:00
Simon Giesecke 8ebceba535 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/notification. r=smaug
Depends on D66021

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

--HG--
extra : moz-landing-system : lando
2020-03-09 15:17:39 +00:00
Simon Giesecke 06dddea97a Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/network. r=smaug
Depends on D66020

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

--HG--
extra : moz-landing-system : lando
2020-03-09 15:18:20 +00:00
Simon Giesecke 8c005fb878 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/midi. r=smaug
Depends on D66019

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

--HG--
extra : moz-landing-system : lando
2020-03-09 15:20:29 +00:00
Simon Giesecke f15d11445a Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/messagechannel. r=smaug
Depends on D66018

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

--HG--
extra : moz-landing-system : lando
2020-03-09 15:20:42 +00:00
Simon Giesecke 1ee2c28687 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/mathml. r=smaug
Depends on D66017

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

--HG--
extra : moz-landing-system : lando
2020-03-09 15:21:21 +00:00
Simon Giesecke 528890d1b8 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/jsurl. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D66017

--HG--
extra : moz-landing-system : lando
2020-03-09 14:35:34 +00:00
Sean Feng 8511f106a4 Bug 1612128 - Add a new label to BFCACHE_COMBO telemetry probe r=smaug
Add a new label to collect the number of BFCached documents that are not
the only top level documents in their BrowsingContextGroup.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 22:24:08 +00:00
Andrew Osmond 91b071ed14 Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel
gfx::Color is currently misused in many places. The DrawTargets expect
the color space to be in device space, e.g. what we are actually going
to draw using. Everything sitting above generally deals with sRGB, as
specified in CSS. Sometimes we missed the conversion from sRGB to device
space when issuing draw calls, and similarly sometimes we converted the
color to device space twice.

This patch splits the type in two. sRGBColor and DeviceColor now
represent sRGB and device color spaces respectively. DrawTarget only
accepts DeviceColor, and one can get a DeviceColor from an sRGBColor via
the ToDeviceColor helper API. The reftests now pass with color
management enabled for everything (e.g. CSS) instead of just tagged
raster images.

There will be a follow up patch to enable color management everywhere by
default on all supported platforms.

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

--HG--
extra : moz-landing-system : lando
2020-03-09 14:16:17 +00:00
Edgar Chen a14ba7926f Bug 1616278 - Remove test_pointerevent_lostpointercapture_is_first-manual.html; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D63254

--HG--
extra : moz-landing-system : lando
2020-03-09 12:16:05 +00:00
Jonathan Kew 3df4ab8b5e Bug 1620111 - Eliminate sync-IPC message ReadFontList, instead use SetXPCOMProcessAttributes to pass font list to the child process on Android. r=lsalzman,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D65742

--HG--
extra : moz-landing-system : lando
2020-03-09 12:27:45 +00:00
John Dai e1afc79aff Bug 1608010 - Support reversed range for <input type=time>; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D64416

--HG--
extra : moz-landing-system : lando
2020-03-09 12:46:46 +00:00
Masayuki Nakano c90d6c80b3 Bug 1569512 - Make `PresShell` ignore synthesized `mousemove` events coming from another process if the child process stores mouse location of synthesized mouse events for tests r=smaug
The reason of intermittent failure of `test_bug656379-2.html` is, synthesized
`mousemove` event coming from the parent process causes `mouseout` and
`mouseleave` events of the last synthesized `mousemove` in the test.  The
reason is, synthesized `mousemove` for tests makes `PresShell` in the content
process record the cursor location, but won't make it `PresShell` in the
parent process do it.  Therefore, parent process may synthesize `mousemove`
event for the system cursor position which does not match with the synthesized
mouse location in the content process.  Therefore, `:hover` state may be
updated unexpectedly.

This patch makes `WidgetEvent::mFlags` have a flag to indicate whether it
came from another process.  Then, makes `PresShell::HandleEvent()` ignore
synthesized `mousemove` events coming from another process only when the
recorded mouse location was set by a mouse event synthesized for tests.

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

--HG--
extra : moz-landing-system : lando
2020-03-05 21:34:28 +00:00
Jeff Gilbert 72e401a747 Bug 1620876 - Handle "//\n" webglsl comments. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D65929

--HG--
extra : moz-landing-system : lando
2020-03-09 03:19:25 +00:00
Timothy Nikkel e424589434 Bug 1620817. Invalidate when the BrowserChild gets a different visible rect. r=mattwoodrow
layout/reftests/bugs/370422-1.html changes the size of a fission iframe.

Bug 1615504 made sure the visible rect got to the child process. But there is still a failure mode where (I assume) all invalidations/painting of changing the document size in the iframe content process happens before the effects visible rect ipc msg arrives at the content process.

In this case we still need to invalidate even though we use the correct visible rect on the builder we need a dirty rect that includes the unveiled area.

Depends on D65888

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

--HG--
extra : moz-landing-system : lando
2020-03-08 22:19:10 +00:00
Mark Banner 2c4e35b0a6 Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D65509

--HG--
extra : moz-landing-system : lando
2020-03-08 21:45:16 +00:00
Yaron Tausky ca1e31ce93 Bug 1507180 - Add explanatory comment r=dom-workers-and-storage-reviewers,sg
Hopefully this comment would prevent a future contributor from
removing the copy operation.

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

--HG--
extra : moz-landing-system : lando
2020-03-05 09:36:39 +00:00
Simon Giesecke f66d2d1e91 Bug 1617170 - Replace GetFileReferencesHelper class by DispatchAndReturnFileReferences function. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D64076

--HG--
extra : moz-landing-system : lando
2020-03-07 09:36:59 +00:00
Simon Giesecke 6280440e9a Bug 1617170 - Unfriend FileInfo from FileManager and encapsulate access to mFileInfos. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D64346

--HG--
extra : moz-landing-system : lando
2020-03-07 10:06:39 +00:00
Simon Giesecke 071004fb63 Bug 1617170 - Added const at a few places. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D64342

--HG--
extra : moz-landing-system : lando
2020-03-07 09:34:31 +00:00
Simon Giesecke d8f8d659ae Bug 1617170 - Remove output parameter on GetStructuredCloneReadInfo* function, use Result instead. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D64077

--HG--
extra : moz-landing-system : lando
2020-03-07 09:34:03 +00:00
Simon Giesecke 3f03a15c43 Bug 1617170 - Replace sequence of ifs by switch. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D64075

--HG--
extra : moz-landing-system : lando
2020-03-07 09:52:12 +00:00
Simon Giesecke 328d63a507 Bug 1617170 - Extracted common WrapAsJSObject function. r=dom-workers-and-storage-reviewers,perry
Differential Revision: https://phabricator.services.mozilla.com/D64074

--HG--
extra : moz-landing-system : lando
2020-03-07 09:33:13 +00:00
Simon Giesecke f18dc19439 Bug 1617170 - Remove mysteriously named ResolveMysteryMutableFile function. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D64073

--HG--
extra : moz-landing-system : lando
2020-03-07 09:32:49 +00:00
Simon Giesecke 55974e9697 Bug 1617170 - Use Variant in StructuredCloneFile. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D63683

--HG--
extra : moz-landing-system : lando
2020-03-07 09:32:21 +00:00
Simon Giesecke 2c98fa92a7 Bug 1617170 - Encapsulate StructuredCloneFile. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D63681

--HG--
extra : moz-landing-system : lando
2020-03-07 09:31:48 +00:00
Mark Banner 15cfe23b88 Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2020-03-07 10:09:44 +00:00
Boris Zbarsky 2f1001ccab Bug 1496159 test.
Differential Revision: https://phabricator.services.mozilla.com/D65845

--HG--
extra : moz-landing-system : lando
2020-03-07 04:16:15 +00:00
Boris Zbarsky a48980ac8c Bug 1619112 part 6. Remove duplicated string array appender bits. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D65544

--HG--
extra : moz-landing-system : lando
2020-03-06 21:08:17 +00:00
Boris Zbarsky 00cd5d4380 Bug 1619112 part 5. Stop accepting nsAString in ErrorResult error-throwing. r=smaug
Callers should pass in UTF-8, since that's what the JS engine ends up with in the end anyway.

The various URL changes are because NS_NewURI converts incoming nsAString to
UTF-8 anyway.  So we might as well do that up-front and then use the UTF-8
string for both the NS_NewURI call and the error-reporting if it fails.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 21:08:02 +00:00
Boris Zbarsky b3ccd8dfb9 Bug 1619112 part 4. Remove some unnecessary string conversions in EME code. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D65540

--HG--
extra : moz-landing-system : lando
2020-03-06 21:06:01 +00:00
Boris Zbarsky f31fe5e910 Bug 1619112 part 3. Pass UTF8 strings to MaybeRejectWithType/RangeError promise methods. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D65539

--HG--
extra : moz-landing-system : lando
2020-03-06 21:05:48 +00:00
Boris Zbarsky c878a8bb26 Bug 1619112 part 2. Pass char literals instead of char16_t literals into ErrorResult throwing methods. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D65538

--HG--
extra : moz-landing-system : lando
2020-03-06 21:04:58 +00:00
Boris Zbarsky 8015d8dbc8 Bug 1619112 part 1. Change the internal storage for ErrorResult errors-with-messages to UTF8 strings. r=smaug
CStringArrayAppender is just a copy of StringArrayAppender with the incoming
types expanded to accept both wide and narrow strings.  Later patches will
remove the wide-string variants incrementally.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 20:54:56 +00:00
Boris Zbarsky ddfdf6585a Bug 1618011 part 11. Don't expose method names like __namedsetter to the web. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D65204

--HG--
extra : moz-landing-system : lando
2020-03-06 23:05:17 +00:00
Boris Zbarsky 8e25df76a8 Bug 1618011 part 10. Use a BindingCallContext for initializing AudioParamDescriptors. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D64891

--HG--
extra : moz-landing-system : lando
2020-03-06 23:05:17 +00:00