716907 Commits

Author SHA1 Message Date
Nika Layzell
60f3afe23e Bug 1649477 - Part 3: Handle ReceiveRawMessage generically, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D82102
2020-07-08 14:22:22 +00:00
Nika Layzell
4d6fb8dcc5 Bug 1649477 - Part 2: Unify JSActor manager logic, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D82101
2020-07-08 14:22:22 +00:00
Nika Layzell
b141d76834 Bug 1649477 - Part 1: Move JSActor related files into their own directory, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D82100
2020-07-08 14:22:22 +00:00
Nika Layzell
f0b027c089 Bug 1650204 - Part 2: Add dummy AutoAnnotateCrashReport definitions, r=gsvelto
It appears as though I missed these in the first step, and didn't catch the bug
on try.

Differential Revision: https://phabricator.services.mozilla.com/D82649
2020-07-08 16:32:41 +00:00
Christoph Kerschbaumer
87f4fb171f Bug 1651002: Do not report mixed content errors to the console for preloads. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D82723
2020-07-08 16:01:47 +00:00
Henrik Skupin
f8fbd2e85e Bug 1651312 - [remote] Fix invalid data type checks in browser-chrome tests. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D82678
2020-07-08 13:47:22 +00:00
Junior Hsu
acc77fd89e Bug 1649965 - only waiting for main thread OnStartRequestSent for LOAD_DOCUMENT_NEEDS_COOKIE, r=mayhemer,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D80682
2020-07-08 15:47:36 +00:00
Mitchell Hentges
c8d28df64b Bug 1646832: Use NoopErrorReporter for build team members r=rstewart
register_sentry() should always return an error-reporter implementation.

Differential Revision: https://phabricator.services.mozilla.com/D82600
2020-07-07 21:39:59 +00:00
Alexandre Poirot
2bffbc8732 Bug 1625027 - Use Browser Element's ID instead of Browsing Context ID. r=jdescottes,nchevobbe
This allows to better support navigating to a new BrowsingContext within the same Tab.
Overall, framework codebase is tracking a Browser Element and should use browserId.
Targets may end up being specific to one BrowsingContext/WindowGlobal,
so they may rather use browsingContextID.

Differential Revision: https://phabricator.services.mozilla.com/D81862
2020-07-08 14:23:16 +00:00
Julian Descottes
b225cf5e85 Bug 1647366 - Add a test for Inspect Element with nested remote frames r=rcaliman,ochameau
Depends on D80910

Differential Revision: https://phabricator.services.mozilla.com/D80911
2020-07-08 14:24:06 +00:00
Julian Descottes
c32dffdf40 Bug 1647366 - Re-enable context menu tests that were skipped for fission r=ochameau,perftest-reviewers,Bebe
Depends on D80909

Differential Revision: https://phabricator.services.mozilla.com/D80910
2020-07-08 14:12:33 +00:00
Julian Descottes
58fcf13c2e Bug 1647366 - Check parent browsing context ids to find a valid BrowsingContextTarget r=ochameau,rcaliman
WatcherFront's `getBrowsingContextTarget` can be called for a browsing context id which doesn't match an existing DevTools target.

For the following frame hierarchy:
```
root (example.com)
  frame1 (example.org)
    frame2 (example.org)
```

Both frame1 and frame2 have the same origin and will run in the same process. This means that devtools will only create a single BrowsingContextTarget for both.
But each frame has its own browsing context id, and the BrowsingContextTargetActor by default will only know about the browsing context id of the topmost frame (frame 1).

If we try to directly get the browsing context target for frame2's bc ID, the current implementation will not find anything.
This can easily happen with the "Inspect Element" feature which will extract the browsing context id from a contentDomReference.
See the following method will on the inspector front: https://searchfox.org/mozilla-central/rev/a87a1c3b543475276e6d57a7a80cb02f3e42b6ed/devtools/client/fronts/inspector.js#178

Differential Revision: https://phabricator.services.mozilla.com/D80909
2020-07-08 14:49:31 +00:00
James Willcox
43c90527a5 Bug 1641597 - Add document.allowDeprecatedTls for error pages r=geckoview-reviewers,NeilDeakin,smaug,esawin
Differential Revision: https://phabricator.services.mozilla.com/D78365
2020-07-08 15:37:18 +00:00
Sebastian Streich
8ccf28a8ba Bug 1614969 - Check download with MixedContentBlocker r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D73302
2020-07-08 15:25:43 +00:00
Emilio Cobos Álvarez
c3f3931f8c Bug 1645773 - Make sure to reflow when author specified borders / backgrounds are changed if we're themed. r=jfkthame
As author-specified-background/border changes can change the effective
border and padding of form controls.

Differential Revision: https://phabricator.services.mozilla.com/D82689
2020-07-08 15:13:27 +00:00
André Bargull
307b94415a Bug 1650435: Add a testing function to expose some ICU configurations. r=jwalden
And add a test case to ensure we're using the latest tzdata version.

Differential Revision: https://phabricator.services.mozilla.com/D82201
2020-07-08 13:45:18 +00:00
Bogdan Tara
75881e8400 Backed out 6 changesets (bug 1625930) for test_eventemitter_basic.js failures CLOSED TREE
Backed out changeset 30a3da9f613c (bug 1625930)
Backed out changeset d4e4c3ddcc43 (bug 1625930)
Backed out changeset 0133d9c58323 (bug 1625930)
Backed out changeset 1c9cf53f2a89 (bug 1625930)
Backed out changeset f63839eff636 (bug 1625930)
Backed out changeset a6bef105a2c2 (bug 1625930)
2020-07-08 18:08:27 +03:00
Masayuki Nakano
03b956b20d Bug 1647556 - part 5-2: Implement another case of CreateWSFragmentForVisibleAndMiddleOfLine() r=m_kato
This patch implements the case that when the range is not start of hard line.

Differential Revision: https://phabricator.services.mozilla.com/D82277
2020-07-08 07:37:48 +00:00
Kyle Knaggs
967178f81b Bug 1645887 - Fix text copied by 'Copy to clipboard' and 'Copy source text' context menu items r=davidwalsh
This patch addresses the issue reported by [[ https://bugzilla.mozilla.org/show_bug.cgi?id=1645887 | Bug 1645887 ]] where the context menu items in the `Editor` were not copying the expected text to the clipboard.

Regarding the context menu in the `Editor` this patch modifies the menu items so that:

1. 'Copy to clipboard' => Copies the text that has been selected by a user to the clipboard.
2. 'Copy source text' => Copies all of the text from a source to the clipboard.

In addition to the above fix, this patch also modifies a related item in the `Tab` context menu so that:

1. The text for the ‘Copy to clipboard’ menu item is now replaced with ‘Copy source text’.

As with the context menu in the `Editor`, the pre-existing ‘Copy to clipboard’ menu item in the `Tab` copied all of the text from a source to the clipboard. However, instead of modifying the functionality of this menu item, the decision was made to replace the ‘Copy to clipboard’ text with ‘Copy source text’. This was done as the `Tab` and its context menu typically provides the user with general information about the file being displayed instead of being concerned with details such as the state of the editor.

{F2332380}

Differential Revision: https://phabricator.services.mozilla.com/D81887
2020-07-08 14:40:29 +00:00
Dan Minor
d8e1e4a499 Bug 1650945 - Fix error message in IIRFilterNode::Create; r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D82716
2020-07-08 14:05:33 +00:00
Andrei Oprea
9be974e02b Bug 1648179 - Add schema test coverage for CFRMessageProvider messages r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D80922
2020-07-07 21:57:48 +00:00
Bogdan Tara
c3980a7f22 Backed out changeset ccf92483269b (bug 1651297) for many fonts related failures CLOSED TREE 2020-07-08 17:27:04 +03:00
Shane Caraveo
cd94038ca6 Bug 1648815 Don't require builtin certificates for system addon update checks r=rpl,aswan
Differential Revision: https://phabricator.services.mozilla.com/D81587
2020-07-08 09:04:01 +00:00
Daisuke Akatsuka
8e979c2529 Bug 1625930: Add test getAllResources of ResourceWatcher API. r=ochameau
Depends on D78242

Differential Revision: https://phabricator.services.mozilla.com/D82150
2020-07-03 11:35:53 +00:00
Daisuke Akatsuka
77d64ed1e3 Bug 1625930: Add test ResourceWatcher for STYLESHEET type. r=ochameau
Depends on D78241

Differential Revision: https://phabricator.services.mozilla.com/D78242
2020-07-03 08:12:53 +00:00
Daisuke Akatsuka
38a7ac44c7 Bug 1625930: Apply ResourceWatcher to source map. r=ochameau
Depends on D78240

Differential Revision: https://phabricator.services.mozilla.com/D78241
2020-07-08 14:05:13 +00:00
Daisuke Akatsuka
899ed9d38e Bug 1625930: Apply ResourceWatcher to StyleEditor. r=ochameau
Depends on D78239

Differential Revision: https://phabricator.services.mozilla.com/D78240
2020-07-08 14:05:42 +00:00
Daisuke Akatsuka
124d4687f9 Bug 1625930: Implement ResourceWatcher for stylesheet. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D78239
2020-07-08 14:05:29 +00:00
Daisuke Akatsuka
2e741db198 Bug 1625930: Fire StyleSheetApplicableStateChanged event explicitly if the stylesheet is getten from the cache. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D81305
2020-07-08 14:05:42 +00:00
Rob Wu
5b710f89d1 Bug 1644757 - Add unit test for visibility of thumbnail requests to extensions r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D79143
2020-07-08 13:50:03 +00:00
Christian Holler
fcbc0dd643 Bug 1651243 - Remove leftover crashsymbols attribute from fuzzing debug job. r=truber
Differential Revision: https://phabricator.services.mozilla.com/D82683
2020-07-08 12:14:15 +00:00
Frederik Braun
9cf407544a Bug 1644671 - systemprincipal restrictions telemetry r=tjr,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D79142
2020-07-08 13:11:57 +00:00
Mike Conley
f91c7b29a6 Bug 1650243 - Don't accidentally restore the WebRTC global sharing indicator if it is minimized when changing streams. r=pbz
window.sizeToContent causes a minimized window to be restored, so we skip calling that if the
indicator is minimized. We call it instead once the indicator is restored.

Differential Revision: https://phabricator.services.mozilla.com/D82620
2020-07-08 09:34:39 +00:00
Toshihito Kikuchi
2810e91249 Bug 1639030 - Part 3: Roll-up patch to apply remaining mozilla changes to chromium sandbox. r=bobowen
This commit applies patches under security/sandbox/chromium-shim/patches/after_update/.

Differential Revision: https://phabricator.services.mozilla.com/D79561
2020-07-08 12:54:35 +00:00
Toshihito Kikuchi
0e041b91bd Bug 1639030 - Part 2: Roll-up of chromium sandbox update and patches to get a running browser. r=bobowen
This commit does:
- Sync files under security/sandbox/chromium/ with Chromium 81.0.4044.138
- Update files under security/sandbox/chromium-shim/
- Apply patches under security/sandbox/chromium-shim/patches/with_update/
- Add mozilla::AddWin32kLockdownPolicy to apply MITIGATION_WIN32K_DISABLE before SUBSYS_WIN32K_LOCKDOWN

Differential Revision: https://phabricator.services.mozilla.com/D79560
2020-07-08 12:54:33 +00:00
Toshihito Kikuchi
b7f3f014fe Bug 1639030 - Part 1: Update with_update and after_update patches. r=bobowen
This commit updates files under security/sandbox/chromium-shim/patches/
to prepare our codebase for Chromium sandbox update.  See patch files for
the details of each patch.

This also removes the following patches from with_update no longer needed.

1) update_chromium_linux_x86_syscalls.patch is included in
   b4f3df4e77
2) ifdef_out_ApplyMitigationsToCurrentThread.patch cannot be used because
   we use ApplyMitigationsToCurrentThread since the following commit.
   4bed2eb502
3) mingw_base_win_get_caller.patch is included in
   d8b73eb8f0
4) fix_incorrect_int_use_in_Kernel32BaseVersion.patch is fixed by
   https://hg.mozilla.org/mozilla-central/rev/dc9d71fb3bac807a37dbfba35d609ac4ffff1980
5) revert_removal_of_AlterEnvironment_on_Windows.patch is altered by adding
   environment_internal.h/cc as a different commit.
6) mingw_undefine_MemoryBarrier.patch is no longer needed as
   base::subtle::MemoryBarrier was removed by
   bdbaaf4e7e
7) public_siginfo_fields.patch is included in
   6bd491daaf

Differential Revision: https://phabricator.services.mozilla.com/D79558
2020-07-08 12:54:18 +00:00
Adam Vandolder
7c8221e962 Bug 1647794 - Add lazy Iterator Helper methods. r=jorendorff
The Iterator Helpers proposal defines 6 lazy synchronous iterator methods,
`map`, `filter`, `take`, `drop`, `asIndexedPairs`, and `flatMap`.
All of these methods are to return the newly defined builtin generators,
which we implement as self-hosted generators that are stored in an
internal slot and thus observably distinct from regular generators.

Differential Revision: https://phabricator.services.mozilla.com/D81743
2020-07-07 22:07:56 +00:00
Kershaw Chang
c87cb10f45 Bug 1527256 - P4: Enable about:networking tests r=dragana
Depends on D82320

Differential Revision: https://phabricator.services.mozilla.com/D82321
2020-07-08 10:28:53 +00:00
Kershaw Chang
39ecbeff00 Bug 1527256 - P3: Get HttpData from socket process r=dragana
Depends on D20355

Differential Revision: https://phabricator.services.mozilla.com/D82320
2020-07-08 10:29:01 +00:00
Kershaw Chang
3a97f39f6d Bug 1527256 - P2: Get DNSCacheEntries from socket process r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D20355
2020-07-08 10:29:03 +00:00
Kershaw Chang
907a9dedd4 Bug 1527256 - P1: Get SocketData from socket process r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D20354
2020-07-08 12:49:44 +00:00
Bogdan Tara
0867b964e2 Backed out 5 changesets (bug 1650996, bug 1649974) for hazard failures CLOSED TREE
Backed out changeset de5e55b59a31 (bug 1650996)
Backed out changeset 35faa46f46f1 (bug 1650996)
Backed out changeset 6f779a3875a8 (bug 1650996)
Backed out changeset fac1e5a07a6c (bug 1649974)
Backed out changeset 3c5157a9e872 (bug 1649974)
2020-07-08 16:07:56 +03:00
moz-wptsync-bot
a94d673341 Bug 1650429 - [wpt-sync] Update web-platform-tests to 5a8a43621be6bc5f94f3ccdc1ab9b2ad63e68428, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 5a8a43621be6bc5f94f3ccdc1ab9b2ad63e68428
wpt-type: landing
2020-07-08 12:52:54 +00:00
arthursonzogni
e75698a477 Bug 1649442 [wpt PR 24395] - [CSP] Add WPT tests for inheritance with window.open., a=testonly
Automatic update from web-platform-tests
[CSP] Add WPT tests for inheritance with window.open.

There are WPT tests about CSP inheritance when opening local-scheme.
This is tested for iframe. Testing for iframes is good, testing for
both iframes and opened window is better.

Initially, I wanted to reproduce bug 1073126, but failed to do so. I
still want to keep the tests.

Bug: chromium:1073126
Change-Id: I4c363037d556bf93f37d43dd5b84a1da608d5e44
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2274602
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#785017}

--

wpt-commits: 51f124152f8d1771382f4b2a8e4d386dd573755d
wpt-pr: 24395
2020-07-08 12:52:53 +00:00
moz-wptsync-bot
cef6e1029a Bug 1631350 [wpt PR 23104] - Update wpt metadata, a=testonly
wpt-pr: 23104
wpt-type: metadata
2020-07-08 12:52:52 +00:00
Alexey Shvayka
2420dcec26 Bug 1631350 [wpt PR 23104] - Introduce IdlInterface#should_have_interface_object() method, a=testonly
Automatic update from web-platform-tests
Introduce IdlInterface#should_have_interface_object() method (#23104)

Resolves #18827.
--

wpt-commits: 2979a2231328d641f7bf291b8484135ae262a2d5
wpt-pr: 23104
2020-07-08 12:52:52 +00:00
moz-wptsync-bot
eb8780f061 Bug 1650327 [wpt PR 24430] - Update wpt metadata, a=testonly
wpt-pr: 24430
wpt-type: metadata
2020-07-08 12:52:51 +00:00
Florian Rivoal
6c2fd015e0 Bug 1650327 [wpt PR 24430] - [mediaqueries] Confirm that invalid syntax is rejected, a=testonly
Automatic update from web-platform-tests
[mediaqueries] Confirm that invalid syntax is rejected (#24430)

Tests https://github.com/w3c/csswg-drafts/issues/2790
--

wpt-commits: b1d24b1a98699bf65855c6ee5d6140b5a24a7bf6
wpt-pr: 24430
2020-07-08 12:52:50 +00:00
Florian Rivoal
27c4d3b8ab Bug 1650337 [wpt PR 24432] - Test that deprecated media types don't match, a=testonly
Automatic update from web-platform-tests
Test that deprecated media types don't match (#24432)

Relates to https://github.com/w3c/csswg-drafts/issues/1751
--

wpt-commits: e422c23288d1d4d61f7a5ee0d0c919ac6834a627
wpt-pr: 24432
2020-07-08 12:52:50 +00:00
Florian Rivoal
71c527df51 Bug 1650328 [wpt PR 24431] - Add metadata to mediaquery case insensitivity test, a=testonly
Automatic update from web-platform-tests
Add metadata to mediaquery case insensitivity test (#24431)

See https://github.com/w3c/csswg-drafts/issues/2727
--

wpt-commits: 9bb4de40c0c6d46fd44e7f6c0001b760dd9c8eb8
wpt-pr: 24431
2020-07-08 12:52:49 +00:00