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

86581 Коммитов

Автор SHA1 Сообщение Дата
John Dai 98aa8fdbb8 Bug 1518442 - Part 1: Implement FormDataEvent interface; r=smaug,edgar
Differential Revision: https://phabricator.services.mozilla.com/D43985

--HG--
extra : moz-landing-system : lando
2019-09-06 09:47:27 +00:00
Frederic Wang 00ac838800 Bug 1577660 - Rename `HTMLOrSVGOrXULElementMixin` to `HTMLOrForeignElement`. r=bzbarsky
This commit renames `HTMLOrSVGOrXULElementMixin` to `HTMLOrForeignElement` and
actually makes it a mixin. dataset, tabIndex and blur() are moved from
HTMLElement, SVGElement and XULElement into this new mixin. As a consequence,
a few extended attributes for these interfaces are modified and the dataset
attribute is added to the XULElement one. However, none of these changes are
web-observable.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 07:46:46 +00:00
Mirko Brodesser 60543b4b41 Bug 1578668: part 6) Reorder conditions using `mHasWrittenCellsForRow`. r=hsivonen
To remove the obscurity of the conditions.

Depends on D44654

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

--HG--
extra : moz-landing-system : lando
2019-09-05 08:00:18 +00:00
Mirko Brodesser 890f0eefbc Bug 1578668: part 5) Add `CurrentLine::HasContentOrIndentationHeader`. r=hsivonen
Depends on D44653

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

--HG--
extra : moz-landing-system : lando
2019-09-05 07:57:39 +00:00
Mirko Brodesser 3f8b66401f Bug 1578668: part 4) Factor out `CreateLineOfDashes`. r=hsivonen
Depends on D44652

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

--HG--
extra : moz-landing-system : lando
2019-09-05 07:57:08 +00:00
Mirko Brodesser d7ccce23f3 Bug 1578668: part 3) Add `IsSignatureSeparator`. r=hsivonen
Depends on D44651

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

--HG--
extra : moz-landing-system : lando
2019-09-05 07:56:31 +00:00
Mirko Brodesser d81a92135a Bug 1578668: part 2) Move `nsPlainTextSerializer::FlushLine` to `nsPlainTextSerializer::OutputManager::Flush`. r=hsivonen
Depends on D44650

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

--HG--
extra : moz-landing-system : lando
2019-09-05 07:55:48 +00:00
Mirko Brodesser d481f91e1a Bug 1578668: part 1) Remove some code redundancy in `nsPlainTextSerializer::EndLine`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D44650

--HG--
extra : moz-landing-system : lando
2019-09-05 07:53:55 +00:00
Karl Tomlinson 7afa4a3d2a Bug 1578623 use 1 for first line number of worklet scripts r=baku
This is consistent with what the Web Console expects.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 02:02:59 +00:00
Karl Tomlinson 22391aabe8 Bug 1578623 remove documentation for non-existent parameter r=bholley
This comment has been obsolete since
https://hg.mozilla.org/mozilla-central/rev/cf4859464f9ea5c3bb44e35d328c13d02114f13a#l2.31
where it was clarified at
https://hg.mozilla.org/mozilla-central/rev/cf4859464f9ea5c3bb44e35d328c13d02114f13a#l5.75

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

--HG--
extra : moz-landing-system : lando
2019-09-06 02:02:41 +00:00
Karl Tomlinson 6b19f33045 Bug 1578623 create worklet global with JSPrincipals having reference to WorkletImpl r=baku,bzbarsky
This will permit implementation of JSPrincipals::write().

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

--HG--
rename : dom/worklet/WorkletPrincipal.cpp => dom/worklet/WorkletPrincipals.cpp
rename : dom/worklet/WorkletPrincipal.h => dom/worklet/WorkletPrincipals.h
extra : moz-landing-system : lando
2019-09-06 02:01:44 +00:00
Ting-Yu Lin f0a1298eaa Bug 1308587 Part 1 - Manually remove "-moz" prefixed multi-column properties in some tests. r=dholbert
In the next part, the patch generated by a script removes "-moz" prefix
to all multi-column properties.

However, some of the tests already have standard multi-column properties
specified. To avoid duplicating CSS multi-column rules in these
files (after applying the next part), I manually remove the prefixed
rules beforehand as many as possible.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 21:32:05 +00:00
Andreea Pavel fc4e538be5 Merge mozilla-central to autoland on a CLOSED TREE 2019-09-06 00:59:25 +03:00
Andreea Pavel 40d6bdbeac Bug 1578636 - disable test on fission r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D44883
2019-09-05 22:29:24 +03:00
Dorel Luca 3f262058ba Backed out changeset e2927c8227d9 (bug 1578231) for Browser-chrome failures browser/base/content/test/performance/browser_preferences_usage.js 2019-09-05 14:47:53 +03:00
Christoph Kerschbaumer 4e4f4a0bf6 Bug 1578231: Hardcode whitelist of about: pages where we can not apply a CSP. r=jkt
Differential Revision: https://phabricator.services.mozilla.com/D44617

--HG--
extra : moz-landing-system : lando
2019-09-05 09:44:13 +00:00
Dorel Luca 97d9dbf374 Backed out changeset 4035fee4dd33 (bug 1538042) for Mochitest failures in toolkit/components/windowcreator/test/test_nsFind.html 2019-09-05 12:21:18 +03:00
Mirko Brodesser b0573c2b86 Bug 1578188: part 6) Overload `OutputManager::Append`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D44387

--HG--
extra : moz-landing-system : lando
2019-09-04 13:30:25 +00:00
Mirko Brodesser b10fb35c3c Bug 1578188: part 5) Move `CreateQuotesAndIndent` to `CurrentLine`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D44386

--HG--
extra : moz-landing-system : lando
2019-09-04 13:30:09 +00:00
Mirko Brodesser b242474d51 Bug 1578188: part 4) Move `ResetCurrentLineContentAndIndentationHeader` to `CurrentLine::ResetContentAndIndentationHeader`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D44385

--HG--
extra : moz-landing-system : lando
2019-09-04 13:29:59 +00:00
Mirko Brodesser 8141bbdc56 Bug 1578188: part 3) Add `nsPlainTextSerializer::CurrentLine`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D44384

--HG--
extra : moz-landing-system : lando
2019-09-04 13:29:48 +00:00
Mirko Brodesser 546f74b5dc Bug 1578188: part 2) Use default constructor for `CurrentLineContent`. r=hsivonen
Simplifies a following refactoring.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 13:29:39 +00:00
Mirko Brodesser dc15294eb0 Bug 1578188: part 1) Remove `outputQuotes` variable for clarity. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D44382

--HG--
extra : moz-landing-system : lando
2019-09-04 13:29:27 +00:00
Andrea Marchesini f7c969c97f Bug 1571686 - Check if the ReadableStream object exists before using it in BodyStream, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D44726

--HG--
extra : moz-landing-system : lando
2019-09-04 21:15:41 +00:00
Dorel Luca ec62854d68 Backed out changeset 890bcaee9b7d (bug 1529068) for causing massive tier2 failures on central in dom/security/test/csp/test_navigate_to.html. CLOSED TREE 2019-09-05 09:47:35 +03:00
Nika Layzell db13e103ae Bug 1579121 - Remove nested content process code from ContentParent::NotifyTabDestroying, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D44850

--HG--
extra : moz-landing-system : lando
2019-09-05 20:44:42 +00:00
Thomas Nguyen 6945142351 Bug 1548087 - enumerateDevices should only expose devices which are allowed to use by FeturePolicy r=baku,jib
Differential Revision: https://phabricator.services.mozilla.com/D42958

--HG--
extra : moz-landing-system : lando
2019-09-05 20:09:28 +00:00
Thomas Nguyen b21cdcbc87 Bug 1548087 - Move IsActivelyCapturingOrHasAPermission out of devices iteration. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D43395

--HG--
extra : moz-landing-system : lando
2019-09-05 17:04:48 +00:00
Alex Chronopoulos 0cfc13adee Bug 1575026 - Remove an assert on Windows. r=bryce
The assert verifies that there is only one preferred device. On windows it is expected to have more than one preferred device so it is removed.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 17:17:33 +00:00
Razvan Maries 10dbfc585c Backed out changeset e18ae5f66cac (bug 1550058) for causing Android build bustages. CLOSED TREE
--HG--
rename : dom/events/ShortcutKeyDefinitionsForBrowserCommon.h => dom/xbl/builtin/ShortcutKeyDefinitionsForBrowserCommon.h
rename : dom/events/ShortcutKeyDefinitionsForEditorCommon.h => dom/xbl/builtin/ShortcutKeyDefinitionsForEditorCommon.h
rename : dom/events/ShortcutKeyDefinitionsForTextAreaCommon.h => dom/xbl/builtin/ShortcutKeyDefinitionsForInputCommon.h
rename : dom/events/ShortcutKeys.cpp => dom/xbl/builtin/ShortcutKeys.cpp
rename : dom/events/ShortcutKeys.h => dom/xbl/builtin/ShortcutKeys.h
rename : dom/events/android/ShortcutKeyDefinitions.cpp => dom/xbl/builtin/android/ShortcutKeyDefinitions.cpp
rename : dom/events/win/moz.build => dom/xbl/builtin/android/moz.build
rename : dom/events/emacs/ShortcutKeyDefinitions.cpp => dom/xbl/builtin/emacs/ShortcutKeyDefinitions.cpp
rename : dom/events/mac/ShortcutKeyDefinitions.cpp => dom/xbl/builtin/mac/ShortcutKeyDefinitions.cpp
rename : dom/events/unix/ShortcutKeyDefinitions.cpp => dom/xbl/builtin/unix/ShortcutKeyDefinitions.cpp
rename : dom/events/win/ShortcutKeyDefinitions.cpp => dom/xbl/builtin/win/ShortcutKeyDefinitions.cpp
rename : dom/events/GlobalKeyListener.cpp => dom/xbl/nsXBLWindowKeyHandler.cpp
rename : dom/events/GlobalKeyListener.h => dom/xbl/nsXBLWindowKeyHandler.h
2019-09-05 20:31:59 +03:00
Dave Townsend 3a36964e63 Bug 1550058: Move most keyboard shortcut handling out of XBL. r=masayuki
Most of our keyboard shortcut handling is handled by nsXBLWindowKeyHandler along
with nsXBLPrototypeHandler. With the impending removal of XBL this needs to
change.

This patch moves nsXBLWindowKeyHandler to dom/events/GlobalKeyListener and copies
nsXBLPrototypeHandler to dom/events/KeyEventHandler. Windows, text elements and
XUL <keyset> are changed to use the new copies and anything unnecessary for
those is stripped out.

XBL handler elements still remain using the existing nsXBLPrototypeHandler path.
Some of the code is ripped out there to make it compile. There is probably a
lot more that can be removed but since the whole of XBL is likely gone soon I'm
not sure it is worth cleaning that up much.

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

--HG--
rename : dom/xbl/nsXBLWindowKeyHandler.cpp => dom/events/GlobalKeyListener.cpp
rename : dom/xbl/nsXBLWindowKeyHandler.h => dom/events/GlobalKeyListener.h
rename : dom/xbl/nsXBLPrototypeHandler.cpp => dom/events/KeyEventHandler.cpp
rename : dom/xbl/nsXBLPrototypeHandler.h => dom/events/KeyEventHandler.h
rename : dom/xbl/builtin/ShortcutKeyDefinitionsForBrowserCommon.h => dom/events/ShortcutKeyDefinitionsForBrowserCommon.h
rename : dom/xbl/builtin/ShortcutKeyDefinitionsForEditorCommon.h => dom/events/ShortcutKeyDefinitionsForEditorCommon.h
rename : dom/xbl/builtin/ShortcutKeyDefinitionsForInputCommon.h => dom/events/ShortcutKeyDefinitionsForInputCommon.h
rename : dom/xbl/builtin/ShortcutKeyDefinitionsForInputCommon.h => dom/events/ShortcutKeyDefinitionsForTextAreaCommon.h
rename : dom/xbl/builtin/ShortcutKeys.cpp => dom/events/ShortcutKeys.cpp
rename : dom/xbl/builtin/ShortcutKeys.h => dom/events/ShortcutKeys.h
rename : dom/xbl/builtin/android/ShortcutKeyDefinitions.cpp => dom/events/android/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/android/moz.build
rename : dom/xbl/builtin/emacs/ShortcutKeyDefinitions.cpp => dom/events/emacs/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/emacs/moz.build
rename : dom/xbl/builtin/mac/ShortcutKeyDefinitions.cpp => dom/events/mac/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/mac/moz.build
rename : dom/xbl/builtin/unix/ShortcutKeyDefinitions.cpp => dom/events/unix/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/unix/moz.build
rename : dom/xbl/builtin/win/ShortcutKeyDefinitions.cpp => dom/events/win/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/win/moz.build
extra : moz-landing-system : lando
2019-09-05 16:51:27 +00:00
Coroiu Cristina 5f190b63ff Backed out 2 changesets (bug 1548087) for wpt failures at audio-output/setSinkId.https.html on a CLOSED TREE
Backed out changeset 6f9782261d63 (bug 1548087)
Backed out changeset 044e224f7011 (bug 1548087)
2019-09-05 20:00:26 +03:00
Andrea Marchesini 96fabacc4e Bug 1578341 - MultipartBlobImpl must exclude empty Blobs when creating the inputStream, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D44849

--HG--
extra : moz-landing-system : lando
2019-09-05 15:20:44 +00:00
Coroiu Cristina 9683a17a37 Backed out changeset d2867a062f45 (bug 1574480) for browser-chrome failures at browser/base/content/test/general/browser_offlineQuotaNotification.js on a CLOSED TREE 2019-09-05 18:38:42 +03:00
Nika Layzell 0354cad681 Bug 1577711 - Part 2: Perform frame static clone after parent static clone, r=smaug
This is done by delaying the code within nsFrameLoader::CreateStaticClone until
after the document has been created. The nsFrameLoader is re-discovered using
the subframe BrowsingContext's mEmbedderElement.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 14:55:19 +00:00
Nika Layzell 245b18cd39 Bug 1577711 - Part 1: Revert calling SetDocument earlier during clone from 1568055, r=smaug
This change was causing issues with images not displaying and iframes not
displaying correctly after multiple print preview calls.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 14:55:11 +00:00
Thomas Nguyen db7ab2a061 Bug 1548087 - enumerateDevices should only expose devices which are allowed to use by FeturePolicy r=baku,jib
Differential Revision: https://phabricator.services.mozilla.com/D42958

--HG--
extra : moz-landing-system : lando
2019-09-05 14:53:07 +00:00
Thomas Nguyen 90fbbba220 Bug 1548087 - Move IsActivelyCapturingOrHasAPermission out of devices iteration. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D43395

--HG--
extra : moz-landing-system : lando
2019-09-05 14:53:07 +00:00
James Willcox ea5c701029 Bug 1343678 - Enable web push pref for GeckoView r=geckoview-reviewers,droeh,smaug,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D41288

--HG--
extra : moz-landing-system : lando
2019-09-05 13:59:32 +00:00
Christoph Kerschbaumer 4144eb70e4 Bug 1578231: Hardcode whitelist of about: pages where we can not apply a CSP. r=jkt
Differential Revision: https://phabricator.services.mozilla.com/D44617

--HG--
extra : moz-landing-system : lando
2019-09-05 14:22:09 +00:00
Paul Zuehlcke 99bfbf1328 Bug 1574480 - Updated browser.js and OfflineAppsChild.jsm to use PermissionManager principal methods. r=johannh,smaug
Differential Revision: https://phabricator.services.mozilla.com/D42620

--HG--
extra : moz-landing-system : lando
2019-09-05 13:37:55 +00:00
Brad Werth b9e615d3bd Bug 1538042 Part 2: Add tests of null character searches. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D25293

--HG--
extra : moz-landing-system : lando
2019-09-04 22:59:25 +00:00
Micah Tigley 4887367dee Bug 1322708 - Improve console warnings for unsupported media resource. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D44596

--HG--
extra : moz-landing-system : lando
2019-09-04 22:10:02 +00:00
Karl Tomlinson eb4179edc3 Bug 1558128 reject addModule() promise with AbortError on failure to parse worklet script and don't suppress SyntaxErrors r=baku
https://drafts.css-houdini.org/worklets/#fetch-and-invoke-a-worklet-script
requires that the addModule() promise is rejected with an "AbortError"
DOMException.  https://github.com/w3c/css-houdini-drafts/issues/509 proposes a
more specific error, but that has not been implemented in another browser.

StealExceptionFromJSContext() set ErrorCode to
NS_ERROR_INTERNAL_ERRORRESULT_JS_EXCEPTION if there was a pending exception
(or NS_ERROR_OUT_OF_MEMORY on failure to record the JS exception) or
NS_ERROR_UNCATCHABLE_EXCEPTION if there was no pending exception.
StealNSResult() converted NS_ERROR_INTERNAL_ERRORRESULT_JS_EXCEPTION to
NS_ERROR_DOM_INVALID_STATE_ERR.

Information about the error is lost on conversion of a SyntaxError to the
promise rejection, so allow the SyntaxError to be reported the console.

Depends on D44601

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

--HG--
extra : moz-landing-system : lando
2019-09-04 09:46:50 +00:00
Karl Tomlinson 9f067feb7f Bug 1558128 remove unused local variable r=baku
Depends on D44600

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

--HG--
extra : moz-landing-system : lando
2019-09-04 09:46:42 +00:00
Karl Tomlinson 289744e70a Bug 1558128 report errors from worklet scripts to console r=baku
There is no ErrorEvent dispatched to WorkletGlobalScope.
See also https://github.com/whatwg/html/issues/2611

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

--HG--
extra : moz-landing-system : lando
2019-09-04 09:46:41 +00:00
Emilio Cobos Álvarez 7df79853f9 Bug 1578700 - Change use counter setup to propagate the page use counters together. r=smaug
This is so that SetUseCounter is as cheap as possible.

This is in preparation for hooking the CSS use counters to telemetry. We want
CSS use counters to be fast and be propagated at once to the parent page. This
will make sure to use the same setup as everywhere else.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 23:36:21 +00:00
Emilio Cobos Álvarez e326de9e60 Bug 1578700 - Simplify SetDocumentUseCounter. r=smaug
It's just a bit flag, should be no need of checking whether the bit is set
before.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 22:10:40 +00:00
Emilio Cobos Álvarez cff66a7aaf Bug 1578700 - Rename a variable to better follow our coding style. r=smaug
It's a constant, not a global. This matches both the Mozilla and Google coding
styles so should hopefully be uncontroversial.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 21:47:57 +00:00
Gijs Kruitbosch 9f3a3e9669 Bug 1578709 - Only set flash only pref for those tests that need it, r=mconley,ahal
Differential Revision: https://phabricator.services.mozilla.com/D44648

--HG--
extra : moz-landing-system : lando
2019-09-04 22:12:39 +00:00