Commit Graph

643834 Commits

Author SHA1 Message Date
Daisuke Akatsuka
e04d562a79 Bug 1505813: Open worker debugger at a tab. r=jdescottes
Depends on D24858

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

--HG--
extra : moz-landing-system : lando
2019-03-27 06:23:36 +00:00
Daisuke Akatsuka
71cd0a1028 Bug 1505813: Open extension debugger at a tab. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D24858

--HG--
extra : moz-landing-system : lando
2019-03-27 05:00:22 +00:00
Mark Banner
08ba3e8c7e Bug 1539284 - Remove some redundant functions from urlbar's head-common.js. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D24986

--HG--
extra : moz-landing-system : lando
2019-03-27 00:16:32 +00:00
Andreea Pavel
b305d1e13b Backed out changeset 2609a881de00 (bug 1450019) for failing gecko decision task on a CLOSED TREE 2019-03-27 08:59:55 +02:00
Johan Lorenzo
83c01531d3 Bug 1450019 - Upload snap to archive.m.o r=mtabara
Upload snap to archive.m.o

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

--HG--
extra : moz-landing-system : lando
2019-03-27 06:42:10 +00:00
Andreea Pavel
f95a48fa8d Backed out changeset 3ca83116916b (bug 1325778) for failing /test_insecure_form_field_autocomplete.html on a CLOSED TREE 2019-03-27 08:47:24 +02:00
Andreea Pavel
ef6f8bfbc1 Backed out 3 changesets (bug 1538508) for assertion failure at IPCMessageUtils.h on a CLOSED TREE
Backed out changeset 2fc1fe023957 (bug 1538508)
Backed out changeset ff707483b5d4 (bug 1538508)
Backed out changeset 8a573000a49d (bug 1538508)
2019-03-27 08:32:40 +02:00
Matthew Noorenberghe
edd6809d0c Bug 1533925 - Allow about: pages to be forced into the extension process. r=kmag
Some extensions want to implement about: pages and we want those pages to be loaded in the extension process, not in the web content process, so that:
1) a compromised web process won't get access to the about: page content
2) the extension page can use all the APIs that extension pages normally get, instead of only content script APIs.

Post-Fission we will need to know which extension process to choose.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 04:07:15 +00:00
Logan Smyth
3b56cb4de4 Bug 1535246 - Part 2: Handle new actors appearing in HTML files. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D24444

--HG--
extra : moz-landing-system : lando
2019-03-27 05:13:24 +00:00
Logan Smyth
9f513698e0 Bug 1535246 - Part 1: Ensure that changes to emptyLines are handled for both additions and removals. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D24443

--HG--
extra : moz-landing-system : lando
2019-03-27 05:12:54 +00:00
Cosmin Sabou
224fe6cff2 Merge mozilla-central to autoland. 2019-03-27 06:51:51 +02:00
Cosmin Sabou
3d469329a4 Merge mozilla-inbound to mozilla-central. a=merge 2019-03-27 06:45:13 +02:00
Jared Wein
9744745c60 Bug 1325778 - Check that the contents of the autocomplete popup match the tests expectations. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D24958

--HG--
extra : moz-landing-system : lando
2019-03-27 04:31:45 +00:00
Cosmin Sabou
3a5289bd45 Backed out 2 changesets (bug 1529774) for android mochitest failures on test_profile_worker.html.
Backed out changeset 334d8f9c9995 (bug 1529774)
Backed out changeset d3f27592a382 (bug 1529774)
2019-03-27 04:00:50 +02:00
Jeff Walden
9c165b28d3 Bug 1537536 - Forcibly generate Rust bindings for the JS::RootedValue typedef now that it happens the Rust bindings never themselves use the typedef. r=bustage
--HG--
extra : rebase_source : 171442f8da86a99ea0d6ad5b058825db2609705f
2019-03-26 16:32:42 -07:00
Daniel Varga
235478b934 Backed out 2 changesets (bug 1534211, bug 1533651) for xpcshell failure at devtools/client/responsive.html/test/unit/test_change_device.js on a CLOSED TREE
Backed out changeset 00f84bd04433 (bug 1534211)
Backed out changeset a36496b378c7 (bug 1533651)
2019-03-27 01:51:36 +02:00
J.C. Jones
d602553050 Bug 1539227 - land NSS 67c41e385581 UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : cd4c8d05e32ee16c9aaa1aeb23014b2299c100fd
2019-03-26 18:48:46 +00:00
Daniel Varga
e7a4bd4df8 Backed out changeset a64efd0aa9c1 (bug 1506693) for linting failure at /builds/worker/checkouts/gecko/browser/extensions/pdfjs/content/PdfStreamConverter.jsm:224:3. on a CLOSED TREE
--HG--
extra : rebase_source : 9ecf8d24a35268f71b0a47b6594c9cf0f0a06b5d
2019-03-27 00:33:31 +02:00
Jan Varga
4f522073b2 Bug 1534211 - Remove a static constructor; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D24965
2019-03-26 21:06:18 +01:00
Jan Varga
0e82d62b37 Bug 1533651 - Clear LocalStorage and SessionStorage in nsGlobalWindowInner::FreeInnerObjects; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D24934
2019-03-26 18:31:16 +01:00
Nico Grunbaum
32257b8b2e Bug 1531494 - remove all unimplemented RTCStats types from the WebIDL and prune related dead code r=bwc,smaug
This removes all the unimplemented RTCStats types from RTCStatsReport.webidl and deletes the related code

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

--HG--
extra : moz-landing-system : lando
2019-03-26 17:21:02 +00:00
violet
c9809c7c5a Bug 1469155 - Add overloading for std::nullptr_t for RangedPtr equality operator r=froydnj
Templated pointer can't match |nullptr|, we should add overloading for
std::nullptr_t specifically to be able to support |nullptr|.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 19:10:24 +00:00
Cosmin Sabou
6dc6fb4506 Bug 1529774 - Fix Android webrender bustages. r=glandium 2019-03-27 03:25:27 +02:00
Masayuki Nakano
db43e47173 Bug 1536366 - Make PresShell::EventHandler::PrepareToDispatchEvent() call TouchManager::PreHandleEvent() instead of PresShell::EventHandler::HandleEventWithCurrentEventInfo() r=smaug
The only caller of `TouchManager::PreHandleEvent()` is
`PresShell::EventHandler::HandleEventWithCurrentEventInfo()` which is guaranteed
that it never handles untrused event by bug 1536353.  Therefore, we can make
`PresShell::EventHandler::PrepareToDispatchEvent()` call it instead.  That's
better place from the point of view of semantics and making
`PresShell::EventHandler::PrepareToDispatchEvent()` simpler.

Note that this may cause changing the score of a telemetry probe,
"INPUT_EVENT_QUEUED_APZ_TOUCH_MOVE_MS" because it will include the time of
the runtime cost of `TouchManager::PreHandleEvent()` when the event is an
`eTouchMove` event and handled by APZ.  However, this was expired in 60.
So, we don't meet any changes with this patch actually.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 01:08:23 +00:00
Glenn Watson
9b399ba2a8 Bug 1539048 - Support segment rendering for pictures in WR. r=kvark
On some low end GPUs, clip mask rendering can be a significant
GPU cost. One way to reduce this is to support segment rendering
on more primitive types, to reduce the size of clip masks.

This patch adds support for pictures that have clip masks
to take part in segment rendering. This can significantly
reduce the number of fragments that must be drawn into a clip
mask for off-screen picture surfaces.

In future, WR can take advantage of segment rendering to use
clip mask shaders that handle only a single corner at a time.
This will be a further significant performance win to clip mask
render time.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 21:25:31 +00:00
Cosmin Sabou
d3aa170d5a Backed out changeset bbb6a31ebf07 (bug 1528674) for webrender crashtests and reftests failures.
--HG--
extra : rebase_source : 083b18e419d18de6a13d7a22e482f995adee1b00
2019-03-27 02:15:39 +02:00
Cosmin Sabou
3c71fa6b4d Backed out changeset 084974858a7b (bug 1527704) for xpcshell failures on test_remove.js.
--HG--
extra : rebase_source : e6067e8aef9c5ffb7438e33ac75963a76a3d4d21
2019-03-27 02:11:22 +02:00
dOn'tReallycAre
2823fecb3a Bug 1353767 - BufferList methods that can OOM should all be MOZ_MUST_USE. r=billm
The Pickle methods can use MOZ_ALWAYS_TRUE because the BufferList is
infallible, so the WriteBytes calls will never fail.
2019-03-26 13:24:00 +02:00
André Bargull
3b306926a8 Bug 1526394: Treat self-hosted functions the same as non-interpreted functions in Debugger code. r=jorendorff 2019-03-26 12:27:54 -07:00
Nico Grunbaum
bb330040b4 Bug 1512281 - Adding pref to turn off WebRTC RTCP reception for tests r=dminor
Adds a pref to turn off WebRTC RTCP reception for tests, and an associated mochitest.
Once fixed the RTCP regression should cause the mochitest to unexpectedly pass

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

--HG--
extra : moz-landing-system : lando
2019-03-25 18:20:05 +00:00
J.C. Jones
ee356ad019 Bug 1537552 - Web Authentication - isUserVerifyingPlatformAuthenticatorAvailable should return false r=keeler
The WebAuthn spec changed from the days of https://bugzilla.mozilla.org/show_bug.cgi?id=1406468#c1.

Now the spec says, if there are no user-verifying platform authenticators available [0]:

>  Otherwise, the promise is resolved with the value of `false`

...so we should resolve false instead of never resolving.

[0] https://w3c.github.io/webauthn/#abortoperation

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

--HG--
extra : moz-landing-system : lando
2019-03-26 23:42:28 +00:00
Cameron McCormack
349f8a0865 Bug 1538045 - use MAP_FAILED instead of (void*)-1 in shared_memory_posix.cc. r=jld
Differential Revision: https://phabricator.services.mozilla.com/D24458

--HG--
extra : moz-landing-system : lando
2019-03-26 22:06:18 +00:00
Coroiu Cristina
5b81e1ad0b Backed out 10 changesets (bug 1535442) for mochitest failure at dom/presentation/tests/mochitest/test_presentation_1ua_sender_and_receiver_inproc.html
Backed out changeset fe0c1f8b519b (bug 1535442)
Backed out changeset 96249192254a (bug 1535442)
Backed out changeset 8342491a4e91 (bug 1535442)
Backed out changeset 53556fae6a9b (bug 1535442)
Backed out changeset 94781a70cd20 (bug 1535442)
Backed out changeset d31a37ebf804 (bug 1535442)
Backed out changeset 490575f0e834 (bug 1535442)
Backed out changeset 32f8c041f72d (bug 1535442)
Backed out changeset 124cf9c814eb (bug 1535442)
Backed out changeset 2326906f1874 (bug 1535442)

--HG--
extra : rebase_source : 98fb05156463cf79634c219eea60870ac22b3a12
2019-03-27 01:19:57 +02:00
Paul Bone
766127bc4a Bug 1539031 - (part 3) Set the GC modes from prefs with the new mode r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D24851

--HG--
extra : moz-landing-system : lando
2019-03-26 16:57:41 +00:00
Paul Bone
b0496498f4 Bug 1539031 - (part 2) Add a incremental non-zonal mode r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D24850

--HG--
extra : moz-landing-system : lando
2019-03-26 23:18:05 +00:00
Paul Bone
ce0c450e03 Bug 1539031 - (part 1) Rename JSGC_MODE_INCREMENTAL r=jonco
Since this mode covers both incremental and zonal GC, let's rename it to
reflect that.  JSGC_MODE_ZONE_INCREMENTAL.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 16:57:40 +00:00
Drew Willcoxon
c707227057 Bug 1538293 - Make autofilling the placeholder allow changes in case. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D24593

--HG--
extra : moz-landing-system : lando
2019-03-26 22:59:14 +00:00
Thomas Daede
017147c0f4 Bug 1520163 - Remove nasm debian package. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D20041

--HG--
extra : moz-landing-system : lando
2019-03-26 00:05:00 +00:00
Dana Keeler
13b7c3537c bug 1529044 - intermediate certificate caching: import on a background thread to not block certificate verification r=mgoodwin
Apparently importing a certificate into the NSS certificate DB is slow enough to
materially impact the time it takes to connect to a site. This patch addresses
this by importing any intermediate certificates we want to cache from verified
connections on a background thread (so the certificate verification thread can
return faster).

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

--HG--
extra : moz-landing-system : lando
2019-03-26 15:56:32 +00:00
Gijs Kruitbosch
19b3a61aa7 Bug 1462911 - allow for new overflown items to be the first item in the overflow list, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D24944

--HG--
extra : moz-landing-system : lando
2019-03-26 19:14:27 +00:00
Mike Hommey
b5706992db Bug 1537641 - Make MIDL use clang-cl as a preprocessor. r=dmajor
Using clang-cl as a preprocessor fails with:
```
In file included from z:\build\build\src\accessible\ipc\win\handler\HandlerData.idl:8:
z:\build\build\src\accessible\ipc\win\handler/AccessibleHandler.h(27,8): error: pasting formed 'Accessible2_3.', an invalid preprocessing token [-Winvalid-token-paste]
import NEWEST_IA2_IDL;
       ^
z:\build\build\src\accessible\ipc\win\handler/AccessibleHandler.h(15,24): note: expanded from macro 'NEWEST_IA2_IDL'
                       ^
z:\build\build\src\accessible\ipc\win\handler/AccessibleHandler.h(14,22): note: expanded from macro 'IDLFOR'
                     ^
z:\build\build\src\accessible\ipc\win\handler/AccessibleHandler.h(13,36): note: expanded from macro '__GENIDL'
                                   ^
1 error generated.
midl : command line error MIDL1003 : error returned by the C preprocessor (1)
```

There's only one place using the NEWEST_IA2_IDL and accompanying
macros, we can just avoid the issue altogether by expanding it manually
(and it's not like the macro buys much, the other arm of the __midl ifdef
has a #include "Accessible2_3.h" that doesn't use the macro either,
presumably for the same reason).

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

--HG--
extra : moz-landing-system : lando
2019-03-26 16:29:17 +00:00
Andrew Swan
745c949fa8 Bug 1535182 Remove BaseElementMixin and MozElementMixin from window global r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D24828

--HG--
extra : moz-landing-system : lando
2019-03-26 21:43:13 +00:00
Geoff Brown
8e20f2334b Bug 1534858 - Include minidumpwriter.exe in windows artifacts; r=chmanchester
Test automation code assumes crashinject.exe is available on Win32:
  https://searchfox.org/mozilla-central/rev/7abb9117c8500ed20833746c9f8e800fce3a4688/build/automation.py.in#356
and minidumpwriter.exe on Windows when there is a 32/64 bit mismatch between python and the application build:
  https://searchfox.org/mozilla-central/rev/7abb9117c8500ed20833746c9f8e800fce3a4688/testing/mozbase/mozcrash/mozcrash/mozcrash.py#428
so I think these should be available for Windows tests, and I suspect they have only been left out accidentally.

I will file a new bug to get minidumpwriter working on aarch64.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 21:51:51 +00:00
Yoshi Cheng-Hao Huang
b520674b78 Bug 1521732 - Part 7: remove AutoValueVector and AutoObjectVector. r=sfink
Remove legacy AutoValueVector and AutoObjectVector.

Depends on D23187

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

--HG--
extra : moz-landing-system : lando
2019-03-25 06:39:32 +00:00
Yoshi Cheng-Hao Huang
de26884559 Bug 1521732 - Part 6: rust binding for RootedObjectVector. r=sfink
use RootedObjectVector in rust glue code.

Depends on D23186

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

--HG--
extra : moz-landing-system : lando
2019-03-25 06:39:30 +00:00
Yoshi Cheng-Hao Huang
7f012345b7 Bug 1521732 - Part 5: RootedObjectVector. r=sfink,jonco
s/AutoObjectVector/RootedObjectVector/g

Depends on D23185

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

--HG--
extra : moz-landing-system : lando
2019-03-26 14:00:51 +00:00
Alastor Wu
9a32fc38c2 Bug 1537554 - part3 : do not collect negative length cue for other cues. r=jya
Cue might have negative length because user can set cue's end time via `TextTrackCue`'s API and the spec doesn't have strong restriction that the end time should be equal or larger than the start time of the cue.

As the negative length cue won't be displayed, we have no need to add it to the `other cues`.

[1] https://html.spec.whatwg.org/multipage/media.html#dom-texttrackcue-endtime

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

--HG--
extra : moz-landing-system : lando
2019-03-27 04:02:35 +00:00
Alastor Wu
2cd2a3b167 Bug 1537554 - part2 : let track track handle adding current cue and other cue if it's not disable. r=jya
According to the spec [1], `current cues` and `other cues` should only contain cues from `hidden` or `showing` text tracks.

In this patch, text track would be responsible to add `current cues` and `other cues` to the cues list by calling `GetCurrentCuesAndOtherCues()`.

If the text track is disabled, then it won't add any cues to the cues list.

In addition, in order to reduce the size of `other cues` (as actually we don't need to process all cues in the `other cues`), we use the time interval to only get the cues which are overlapping with the time interval.

[1] https://html.spec.whatwg.org/multipage/media.html#time-marches-on

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

--HG--
extra : moz-landing-system : lando
2019-03-26 07:50:50 +00:00
Alastor Wu
90bc3f5218 Bug 1537554 - part1 : add debug logs. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D24473

--HG--
extra : moz-landing-system : lando
2019-03-26 02:52:22 +00:00
Yoshi Cheng-Hao Huang
813bbc9ed9 Bug 1521732 - Part 4: fix SM rust binging test. r=fitzgen
StackGCVector and RootedVector are partial template specialization and cause
cargo test failure. Bypass the classes by adding them to OPAQUE_TYPES.

Depends on D23184

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

--HG--
extra : moz-landing-system : lando
2019-03-25 06:39:25 +00:00