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

93316 Коммитов

Автор SHA1 Сообщение Дата
alwu 4b2dd52882 Bug 1640826 - fix marco error r=bryce
`MDSM_ERROR_MARKER` should take 3 arguments, and we miss the last argument when `MOZ_GECKO_PROFILE` is not defined.

Differential Revision: https://phabricator.services.mozilla.com/D76895
2020-05-26 18:04:44 +00:00
Agi Sferro c36e973433 Bug 1629113 - Move remaining services to components.conf. r=snorp,baku
Differential Revision: https://phabricator.services.mozilla.com/D75878
2020-05-26 07:44:52 +00:00
Emilio Cobos Álvarez ce1947b502 Bug 1640917 - Remove XBL mentions in layout. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D76846
2020-05-26 16:16:32 +00:00
Tim Huang 8d0fd9b1f8 Bug 1637226 - Part 3: Revert the assertion in ClientSource.cpp back to MOZ_DIAGNOSTIC_ASSERT. r=dimi
Depends on D76732

Differential Revision: https://phabricator.services.mozilla.com/D76733
2020-05-26 07:27:25 +00:00
Jon Coppeard ab181a2867 Bug 1529203 - Add tests to check that the module map is cleared when using document.open r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D21719
2020-05-26 14:06:28 +00:00
Emilio Cobos Álvarez 8a058b3bf3 Bug 1640907 - Remove some dead code in BindContext. r=edgar
I forgot to remove these in bug 1624359.

Differential Revision: https://phabricator.services.mozilla.com/D76844
2020-05-26 14:15:55 +00:00
Christoph Kerschbaumer 159f21fe04 Bug 1638826: Exempt pdfjs from being subject to CSP permits function. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D75787
2020-05-26 12:48:15 +00:00
Jonathan Kew 58d58635f7 Bug 1640119 - Pass shared-memory blocks for the font list as part of SetXPCOMProcessAttributes. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D76507
2020-05-26 09:30:17 +00:00
Yaron Tausky b5246d2cc5 Bug 1638170 - Don't dispatch buggy WorkerRunnables r=asuth,dom-workers-and-storage-reviewers,sg
This patch removes the dispatch of ReportGenericErrorRunnables when
a worker fails to start, since they were causing crashes and
weren't getting run anyway. It also adds an assertion that prevents
the creation of strong references to workers before they begin
their main loop.

Differential Revision: https://phabricator.services.mozilla.com/D76693
2020-05-26 11:38:58 +00:00
JulianWels 2cc2e49495 Bug 1625156 - Error page for HTTPS Only Mode. r=fluent-reviewers,ckerschb,nhnt11,flod,nika,johannh,mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D72129
2020-05-26 11:45:21 +00:00
Emilio Cobos Álvarez 8020f8fc08 Bug 1640400 - Remove dom.link.disabled_attribute.enabled. r=jwatt
We've shipped this since bug 1281135 (Firefox 68).

Differential Revision: https://phabricator.services.mozilla.com/D76677
2020-05-26 09:31:49 +00:00
Georg Koppen 1bda9aacdf Bug 1640707 - Make sure whitelist_onions is disabled in test_isOriginPotentiallyTrustworthy.js r=ckerschb
In Tor Browser dom.securecontext.whitelist_onions is true by default, so we need a small
patch for tests from bug 1382359 to pass. We would like to upstream that patch, which
is just making sure dom.securecontext.whitelist_onions is false before starting the test.

Differential Revision: https://phabricator.services.mozilla.com/D76726
2020-05-26 08:21:26 +00:00
Butkovits Atila 1d2238af48 Backed out 2 changesets (bug 1620679) for perma Reftest failure. CLOSED TREE
Backed out changeset 8190c67514cc (bug 1620679)
Backed out changeset 4ca2912d7421 (bug 1620679)
2020-05-26 10:58:42 +03:00
Butkovits Atila a2bda5fd7e Backed out 5 changesets (bug 1629113) for causing Geckoview perma failures. CLOSED TREE
Backed out changeset cd5c87a17008 (bug 1629113)
Backed out changeset 3729b2c288ba (bug 1629113)
Backed out changeset 2cd92d6c2998 (bug 1629113)
Backed out changeset 6d7c87f3c329 (bug 1629113)
Backed out changeset 2bcba09433b5 (bug 1629113)
2020-05-26 10:39:42 +03:00
Agi Sferro 398b7f2e76 Bug 1629113 - Move remaining services to components.conf. r=snorp,baku
Differential Revision: https://phabricator.services.mozilla.com/D75878
2020-05-26 04:14:12 +00:00
Matt Woodrow d347ab0ef5 Bug 1620679 - Don't fire load event from within Stop(). r=smaug
This matches what the spec says, and what blink does.

Differential Revision: https://phabricator.services.mozilla.com/D73994
2020-05-26 03:08:40 +00:00
Cameron McCormack 253234aaa1 Bug 1640545 - Make attribute substring selectors a little faster. r=emilio
In the common case of using case sensitive matching, improvements come from:

* for attributes backed by nsStringBuffers, not needing to AddRef/Release the
  string buffer
* for attributes backed by atoms, not needing to run the destructor of an
  nsDependentAtomString
* for prefix and suffix attribute selectors, using memcmp instead of the
  slower StringBeginsWith/StringEndsWith (which read a character at a
  time and call a virtual function on the comparator object)
* for the substring attribute selector, using std::search(), which also
  avoids virtual function calls on a comparator object

Attribute selector performance is important on pages with many links
with ad blocker extensions that use such selectors installed.

On my machine, this drops total time spent loading the single page HTML
spec

* under Gecko_AttrHasPrefix from 2.69 s to 1.25 s
* under Gecko_AttrHasSubstring from 1.06 s to 0.30 s

Differential Revision: https://phabricator.services.mozilla.com/D76643
2020-05-25 22:26:09 +00:00
Honza Bambas 07f63ad409 Bug 1637039 - Notify script preload when the loading channel synchronously fails to open, remove a used script preload from Document, r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D76364
2020-05-25 18:39:11 +00:00
Nika Layzell 73d17519e7 Bug 1639367 - Clean up TabContext logic for PBrowser, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D76055
2020-05-21 22:38:44 +00:00
Masatoshi Kimura 9c7a29b17e Bug 1531851 - Make WebAudio GC tests more reliable. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D76590
2020-05-25 18:04:58 +00:00
Nika Layzell e6a9e27a19 Bug 1637088 - Delay creating BrowserBridgeChild until after new PBrowser has been created, r=farre,emilio
Differential Revision: https://phabricator.services.mozilla.com/D75614
2020-05-25 06:06:30 +00:00
sefeng f2affadce6 Bug 1324958 - Implement <dialog> focusing steps r=smaug
Spec: https://html.spec.whatwg.org/multipage/interactive-elements.html#dialog-focusing-steps

Differential Revision: https://phabricator.services.mozilla.com/D74923
2020-05-25 14:57:25 +00:00
Nicolas Silva bdabdf112f Bug 1635016 - Remove the rest of the SetTransactionLogging glue. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D74866
2020-05-18 12:11:33 +00:00
Emilio Cobos Álvarez 6989efb908 Bug 1640605 - Remove some now-unneeded casts / type-checks. r=edgar
IsInNativeAnonymousSubtree and IsRootOfNativeAnonymousSubtree are
exposed in nsINode, so we don't need to make sure to call them on
nsIContent objects.

Depends on D76681

Differential Revision: https://phabricator.services.mozilla.com/D76682
2020-05-25 11:46:43 +00:00
Emilio Cobos Álvarez 89958b377a Bug 1640605 - Remove IsInAnonymousSubtree / IsRootOfAnonymousSubtree. r=edgar
In favor of the NativeAnonymous versions which they forward to.

Done automatically with:

  rg -l 'IsInAnonymousSubtree' | xargs sed -i 's/IsInAnonymousSubtree/IsInNativeAnonymousSubtree/g'

And removing the function definitions afterwards.

Differential Revision: https://phabricator.services.mozilla.com/D76681
2020-05-25 11:43:51 +00:00
Narcis Beleuzu 31ca1d2605 Backed out changeset 2b4796470c0b (bug 1638826) for wpt failure on form-action-src-javascript-blocked.sub.html . CLOSED TREE 2020-05-25 13:52:24 +03:00
Emilio Cobos Álvarez 1ed9a59aaf Bug 1640158 - Remove useless principal-passing in the CSS loader. r=ckerschb
The only caller that passes that principal is the only caller that calls
into LoadSheet with a loader that has a document anyway.

And the principal we're passing is Document::NodePrincipal(), which is
what we'd end up using anyway, so the new code is exactly equivalent, as
far as I can tell.

Differential Revision: https://phabricator.services.mozilla.com/D76469
2020-05-25 09:42:01 +00:00
Sylvestre Ledru 615c83d723 Bug 1519636 - Reformat recent changes to the Google coding style r=andi
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D76451
2020-05-25 07:42:38 +00:00
Christoph Kerschbaumer 00cb73739d Bug 1638826: Make CSP permits function (e.g. restricting base-uri) consult subjectCSP before enforcing CSP. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D75787
2020-05-25 08:24:09 +00:00
Christoph Kerschbaumer 6ae4ad1947 Bug 1422284 - Upgrade insecure requests should only apply to top-level same-origin redirects. r=baku,valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D75259
2020-05-25 08:14:10 +00:00
Gijs Kruitbosch 38b061ef45 Bug 1638373 - remove js/ipc now that CPOWs are dead, r=mccr8
Depends on D76597

Differential Revision: https://phabricator.services.mozilla.com/D76598
2020-05-24 18:47:04 +00:00
Dorel Luca a94d31585c Backed out changeset 1334652d0ec4 (bug 1640280) for build bustage in workspace/obj-build/dist/include/mozilla/dom/Document.h. CLOSED TREE 2020-05-25 01:31:54 +03:00
longsonr cdcace5073 Bug 1640280 - Extend autofocus to SVGGraphicsElement r=emilio
Note we're still limited to markup only because of bug 662496
so we don't pass the web platform tests for this feature.
Chrome has implemented support per
https://www.chromestatus.com/feature/5654905853313024
In SVG only SVGGraphicsElements are focusable.

Differential Revision: https://phabricator.services.mozilla.com/D76546
2020-05-24 21:04:14 +00:00
Olli Pettay 1d2d27759a Bug 1615564, clearing timeouts should be O(1),
Differential Revision: https://phabricator.services.mozilla.com/D76630
2020-05-24 20:59:08 +00:00
Neil Deakin 31f934aecf Bug 1640245, remove frame script and message manager from workers tests, r=baku
Differential Revision: https://phabricator.services.mozilla.com/D76518
2020-05-23 03:20:07 +00:00
Neil Deakin 7d5d797ff3 Bug 1640240, remove message manager usage from browser_test_focus_after_modal_state.js, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D76517
2020-05-22 19:03:02 +00:00
Narcis Beleuzu 34d12babb2 Backed out 5 changesets (bug 1602757, bug 1612063) for marionette failures on test_crash.py
Backed out changeset 232da017dc6a (bug 1602757)
Backed out changeset 32851bed1929 (bug 1602757)
Backed out changeset 1c6a6bfaaeef (bug 1602757)
Backed out changeset 45e22f062bce (bug 1612063)
Backed out changeset a7d7edf158a4 (bug 1602757)
2020-05-23 23:45:59 +03:00
Randell Jesup 2208332d44 Bug 1602757: disable process caching/preallocation while testing browser_resource_uri r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D76534
2020-05-23 05:07:53 +00:00
Randell Jesup b70bc6db7b Bug 1612063: Disable test_peerConnection_relayOnly.html due to raciness r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D74677
2020-05-23 18:51:40 +00:00
Randell Jesup ec264a9a49 Bug 1602757: add preallocation cache for webIsolated (fission) processes r=nika,smaug
Differential Revision: https://phabricator.services.mozilla.com/D69589
2020-05-23 05:37:26 +00:00
Denis Palmeiro 4479f6b01c Bug 1637802 - Replace ScriptEvaluation profiler marker with compilation & execution markers for bytecode, module, binast, and text sources. r=smaug
Replace ScriptEvaluation profiler marker with compilation & execution markers for bytecode, module, binast, and text sources.

Differential Revision: https://phabricator.services.mozilla.com/D75223
2020-05-23 18:22:49 +00:00
Emilio Cobos Álvarez a361d764b1 Bug 1639057 - Simplify Bug 426082.html to not depend on paint events. r=mstange
I removed some outlines in gtk which causes some repaints not to show
up. However I think this test should be simplified a bit instead.

When this test landed in bug 426082, snapshots and such were the only
way to test this because it was a widget hack, effectively. Nowadays,
that "forward hover and active state from label to labeled element"
happens at the event state manager level, and thus we can test it much
more easily using simple selector-matching.

Differential Revision: https://phabricator.services.mozilla.com/D76602
2020-05-23 17:26:56 +00:00
Emilio Cobos Álvarez a42bfa75a9 Bug 1156934 - Notify all content processes when LookAndFeel changes. r=jesup
This should fix the issue for preallocated processes that still don't
host any document, and also send a few less IPC messages.

Differential Revision: https://phabricator.services.mozilla.com/D76537
2020-05-23 14:28:40 +00:00
Daosheng Mu 433f122bcc Bug 1538805 - Send GamepadAdded events to the later GamepadEventChannels. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D74769
2020-05-23 03:14:42 +00:00
Jonathan Kingston f34d7b951e Bug 1557386 - Testing CORS content and errors for beacon. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D75804
2020-05-22 11:51:46 +00:00
Eden Chuang 501eb4718d Bug 1603168 - Reject Cache.match and Cache.matchAll if the response doesn't match the caller context coep r=dom-workers-and-storage-reviewers,perry
Differential Revision: https://phabricator.services.mozilla.com/D70020
2020-05-23 01:44:58 +00:00
sefeng 67c1284c8c Bug 1637307 - Push/Pop dialog to top layer when needed r=smaug,emilio
This patch completes the top layer requirement for showModal()
Spec: https://html.spec.whatwg.org/multipage/interactive-elements.html#dom-dialog-showmodal

Differential Revision: https://phabricator.services.mozilla.com/D74922
2020-05-23 01:45:33 +00:00
Edgar Chen 3c8a28b7ab Bug 1638806 - Do not update sLastMouseRemoteTarget for eMouseExitFromWidget event; r=smaug
Firing eMouseExitFromWidget means we are leaving a specific remote target, then
we should not update sLastMouseRemoteTarget. Otherwise the subsequent event
might trigger sending eMouseExitFromWidget again.

Differential Revision: https://phabricator.services.mozilla.com/D75916
2020-05-22 20:12:25 +00:00
Mihai Alexandru Michis 37ef8a125d Backed out changeset a845717e4d10 (bug 1482279) for causing multiple failures.
CLOSED TREE
2020-05-23 02:22:20 +03:00
Masatoshi Kimura 0701e89b7e Bug 1482279 - Stop using Cu.forcePermissiveCOWs() in SpecialPowers. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D74641
2020-05-22 21:46:25 +00:00