Commit Graph

678224 Commits

Author SHA1 Message Date
Nihanth Subramanya
4ba289a597 Bug 1593984 - Set -moz-appearance: none on the milestone toolbarbutton. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D51886

--HG--
extra : moz-landing-system : lando
2019-11-05 18:20:12 +00:00
Julian Descottes
ef1bf374d0 Bug 1594023 - Log actorIDs instead of js objects in DevTools target-list r=ochameau
Depends on D51630

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

--HG--
extra : moz-landing-system : lando
2019-11-05 18:26:49 +00:00
Brian Grinstead
cd409fbd97 Bug 1594123 - Fix lookup of toolbarbutton-icon in TabsList r=mconley
document.getAnonymousElementByAttribute is dead code now, and even when it wasn't this would
have returned null ever since <toolbarbutton> stopped using XBL.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 18:22:38 +00:00
Jon Coppeard
ba3386ca9b Bug 1594061 - Make FinalizationGroups work correctly when called from a different realm r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D51856

--HG--
extra : moz-landing-system : lando
2019-11-05 18:12:09 +00:00
Jon Coppeard
72de7c7261 Bug 1593260 - Don't use remove_if for sweeping GCVector as the predicate can modify the elements r=anba
Differential Revision: https://phabricator.services.mozilla.com/D51786

--HG--
extra : moz-landing-system : lando
2019-11-05 15:42:19 +00:00
Edwin Takahashi
9a7b0768dc Bug 1592855 - run mach vendor aom with python3 r=dminor
Changes:
- update sections of `generate_sources_mozbuild.py` and `cmakeparser.py` to be python3 compatible
- change import of `urlparse` to be python3 compatible

Depends on D51414

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

--HG--
extra : moz-landing-system : lando
2019-11-04 20:31:43 +00:00
Edwin Takahashi
b66e852ab2 Bug 1592855 - run mach vendor python with python3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D51414

--HG--
extra : moz-landing-system : lando
2019-11-05 15:29:44 +00:00
Brian Grinstead
55642eb095 Bug 1594110 - Remove unused searchPrefsLink UI Tour target r=mak
Differential Revision: https://phabricator.services.mozilla.com/D51741

--HG--
extra : moz-landing-system : lando
2019-11-05 18:03:57 +00:00
Miko Mynttinen
9b72daa6e2 Bug 1554499 - Store WebRenderAnimationData using display item type as key r=jrmuizel
Depends on D50186

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

--HG--
extra : moz-landing-system : lando
2019-11-05 15:10:40 +00:00
Miko Mynttinen
f8659a8bef Bug 1554499 - Remove member variables that were previously only used to calculate per frame index r=mattwoodrow
Depends on D50185

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

--HG--
extra : moz-landing-system : lando
2019-11-05 15:10:20 +00:00
Miko Mynttinen
a131671571 Bug 1554499 - Add missing CalculatePerFrameIndex implementations r=mattwoodrow
Depends on D37804

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

--HG--
extra : moz-landing-system : lando
2019-11-05 15:09:53 +00:00
Alexis Beingessner
86bd968ca8 Bug 1554499 - Rename PerFrameKey -> PerFrameIndex for most methods r=mattwoodrow
This distinguishes better between the overloaded aspect of the PerFrameKey and the
actual mixed value.

Depends on D37803

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

--HG--
extra : moz-landing-system : lando
2019-11-05 15:09:04 +00:00
Alexis Beingessner
ffcc426ce5 Bug 1554499 - change ComputePerFrameKey to be a static method. r=mattwoodrow
This static method is assumed to have the same signature as the type's constructor,
and so we must have an implementation of ComputePerFrameKey for each constructor
a display item provides that is called by MakeDisplayItem. Notably this excludes
the MakeClone constructor for a lot of items.

There is a default varargs implementation on nsDisplayItem which everyone
inherits by default, so types which previously didn't overload this method
still don't need to.

Providing an implementation of ComputePerFrameKey on some display item type
shadows the varargs implementation, so one doesn't need to worry about overloading
one constructor but forgetting about another -- if you do, the compiler will only
see the overload and complain that the signature doesn't match.

One slightly annoying result of this is that display items which previously
inherited an overloaded implementation from a superclass now must provide
their own manual implementations. Although as far as I could tell, all of
those cases had a trivial implementation of key=0 (the super class supported
custom keys but the subclasses didn't make use of it).

In those cases I just hardcoded key=0, but it's possible that it would be
better to call into the superclass' implementation to be more robust to changes.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 15:08:53 +00:00
Geoff Brown
0f2ca103da Bug 1592754 - Improve TV handling of modified reftest reference files; r=ahal
Replace the existing regex-based hack for recognizing reftest reference files
with a reliable method based on the reftest manifest.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 21:49:51 +00:00
Brendan Dahl
eafc9e3293 Bug 1470510 - Rename nsXULWindow and nsIXULWindow to AppWindow and nsIAppWindow. r=smaug
nsXULWindow is no longer XUL specific and is somewhat confusing name.

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

--HG--
rename : xpfe/appshell/nsXULWindow.cpp => xpfe/appshell/AppWindow.cpp
rename : xpfe/appshell/nsXULWindow.h => xpfe/appshell/AppWindow.h
rename : xpfe/appshell/nsIXULWindow.idl => xpfe/appshell/nsIAppWindow.idl
extra : moz-landing-system : lando
2019-11-05 17:56:28 +00:00
Brendan Dahl
ad00c07ebf Bug 1470510 - Merge nsWebShellWindow into nsXULWindow r=smaug
nsWebShellWindow is the only class that extends nsXULWindow and only
nsWebShellWindows are ever instantiated.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 17:56:27 +00:00
Gijs Kruitbosch
a81b239be2 Bug 1594025 - move 'this site is not deceptive' string into markup to allow help hamburger menu to copy it, r=flod,fluent-reviewers
The help view copies strings from the main menubar. When we moved the original DTD string
to ftl, there were performance implications for using it in browser.xhtml, so it was
only added once needed. The help view copies attributes from the items in the main menubar's
help menu, and so didn't copy the label for this item, resulting in the broken
behaviour.

To fix this, it's enough to have the string in the markup. As we've moved the other strings
into menubar.ftl, I'm taking the opportunity to move this string there, too, next to its
sibling string to report deceptive sites.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 17:40:47 +00:00
Gabriele Svelto
07eecc7380 Bug 1593966 - Add minimal support for the DW_FORM_GNU_ref_alt and DW_FORM_GNU_strp_alt operand forms in dump_syms r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D51801

--HG--
extra : moz-landing-system : lando
2019-11-05 17:45:58 +00:00
Junior Hsu
167a3b63a4 Bug 1544231 - add image/webp to default navigation value of the Accept header, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D51199

--HG--
extra : moz-landing-system : lando
2019-11-01 15:54:57 +00:00
Cosmin Sabou
69fb1e37a9 Bug 1591770 - Add expectations for the-autofocus-attribute/first.html on android and win. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D51785

--HG--
extra : moz-landing-system : lando
2019-11-05 17:32:46 +00:00
Geoff Brown
968cf06036 Bug 1592608 - Add more fields to ReftestManifest test descriptions; r=ahal,froydnj
Add test annotations to the ReftestManifest and TestResolver. For example, a
test description from the TestResolver might now contain 'skip-if': 'skiaContent';
similar to the content provided for manifestparser tests; this will allow
'mach test-info report' to filter tests based on reftest manifest test
annotations.
Also add the referenced-test field which identifies the test file associated
with test entries for reference files; this will allow test-verify to
run the correct reftest when only the reference file has been modified.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 17:09:41 +00:00
Simon Giesecke
3b6471eff2 Bug 1168606 - Fixed some log messages. r=ttung
Differential Revision: https://phabricator.services.mozilla.com/D49397

--HG--
extra : moz-landing-system : lando
2019-11-05 16:46:38 +00:00
Simon Giesecke
b6fc689caf Bug 1168606 - Do not use mContinueCalled for determining whether to cache a cursor response. r=ttung,asuth
Depends on D45674

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

--HG--
extra : moz-landing-system : lando
2019-11-05 16:46:31 +00:00
Simon Giesecke
c3c98789cd Bug 1168606 - Removed duplication between different BackgroundCursorChild::HandleResponse overloads. r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D45674

--HG--
extra : moz-landing-system : lando
2019-11-05 16:46:23 +00:00
Simon Giesecke
103f204d11 Bug 1168606 - Extract common function for discarding cached responses. r=ttung,asuth
Depends on D45308

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

--HG--
extra : moz-landing-system : lando
2019-11-05 16:46:10 +00:00
Simon Giesecke
688308e098 Bug 1168606 - Extract functions for accessing sort key into Cursor. r=ytausky,asuth
Depends on D44443

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

--HG--
extra : moz-landing-system : lando
2019-11-05 16:46:03 +00:00
Simon Giesecke
594fcf54d2 Bug 1168606 - Removed implicit conversion operator of CachedStatement. r=ttung,asuth
Depends on D44377

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

--HG--
extra : moz-landing-system : lando
2019-11-05 16:45:53 +00:00
Simon Giesecke
26aa312030 Bug 1168606 - Reduced duplication for handling sort key comparisons in SQL queries and improved type-safety. r=ttung,asuth
Depends on D44009

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

--HG--
extra : moz-landing-system : lando
2019-11-05 16:45:41 +00:00
Simon Giesecke
b09e7874fd Bug 1168606 - Add support for preloading key-only cursors. r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D44009

--HG--
extra : moz-landing-system : lando
2019-11-05 14:40:31 +00:00
Simon Giesecke
59cd698867 Bug 1168606 - Support preloading also for index cursors. r=ttung,asuth
Depends on D43252

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

--HG--
extra : moz-landing-system : lando
2019-11-05 14:40:35 +00:00
Simon Giesecke
9804c8f159 Bug 1168606 - Send extra records with every ObjectStoreCursorResponse if enabled by pref. r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D43252

--HG--
extra : moz-landing-system : lando
2019-11-05 14:40:37 +00:00
Simon Giesecke
b78110f986 Bug 1168606 - Introduce preference for maximum number of extra records to preload, defaulting to 0/off for now. r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D43466

--HG--
extra : moz-landing-system : lando
2019-11-05 14:40:33 +00:00
André Bargull
a580f8c700 Bug 1593801: Fix conditional load of BigInt digits. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D51797

--HG--
extra : moz-landing-system : lando
2019-11-05 15:28:34 +00:00
Ryan Hunt
4d03d80f48 Bug 1592783 - Update in-tree and spec-tests for trapping change. r=lth
This commit relies on a patch to the spec interpreter/tests to also make the
trapping change there [1] [2].

[1] https://github.com/eqrion/wasm-spec/tree/spidermonkey-tree-tests
[2] b467c3e4e3

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

--HG--
extra : moz-landing-system : lando
2019-11-05 15:27:34 +00:00
Ryan Hunt
dfd7ad632e Bug 1592783 - Change bulk-memory instructions to trap before writing. r=lth
This commit changes all bulk-memory instructions to perform up-front bounds
checks and trap if any access would be out-of-bounds before writing.

This affects:
 * memory.init,copy,fill
 * table.init,copy,fill
 * data segment instantiation (reduces to memory.init)
 * elem segment instantiation (reduces to table.init)

Spec issue: https://github.com/WebAssembly/bulk-memory-operations/issues/111

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

--HG--
extra : moz-landing-system : lando
2019-11-05 15:27:07 +00:00
Cosmin Sabou
75352339d2 Backed out 2 changesets (bug 1588817) for mochitest failures on test_presentation_datachannel_sessiontransport.
Backed out changeset 0dfb81870b77 (bug 1588817)
Backed out changeset 0ad3a238b0e8 (bug 1588817)

--HG--
extra : rebase_source : 7dd5002242fa2a1f670e208981c6cce03006817a
2019-11-05 18:44:01 +02:00
Alastor Wu
a35ea86333 Bug 1590864 - part3 : use 'notifyUserGestureActivation()' to activate document directly. r=edgar
I found that this test sometime would fail on the try server, and the reason is that the child document doesn't be activated correctly even if we have called `synthesizeMouseAtCenter()`.

In order to reduce the dependency of other modules, which might affect synthesizing event, we should use `notifyUserGestureActivation` to ensure that we indeed activate the document.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 09:37:26 +00:00
Alastor Wu
b077049e5f Bug 1590864 - part2 : enable test for Fission r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D51428

--HG--
extra : moz-landing-system : lando
2019-11-04 19:41:49 +00:00
Alastor Wu
230fbfc8d4 Bug 1590864 - part1 : get the user activation state from top-level browsing context. r=edgar
As `ApproverDocOf()` uses `docshell::GetInProcessSameTypeRootTreeItem()`, which is not compatible in Fission because we are not able to get the top document if we are in the remote process. Therefore, we should check browsering content directly instead, because the user activation state would be sync automatically for each top-level browsing context among different processes.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 16:41:16 +00:00
Jason Laster
decdfa79d9 Bug 1592718 - Enable WatchPoints in Nightly and DevEdition. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D51742

--HG--
extra : moz-landing-system : lando
2019-11-05 16:38:01 +00:00
Ted Campbell
0a584d961b Bug 1593486 - Cleanup ./mach jsapi-tests implementation r=sfink,froydnj
Standardize the jsapi-tests logic to match the other spidermonkey check
commands in testing/mach_commands.py.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 16:24:54 +00:00
Brian Hackett
5efbcaefb0 Bug 1594042 - Improve logpoint performance, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D51846

--HG--
extra : moz-landing-system : lando
2019-11-05 16:17:13 +00:00
Elliot Stirling
1c3c845ad9 Bug 1577192 - Adds a screenshot api using ScreenshotBuilder. r=geckoview-reviewers,snorp,rbarker
Differential Revision: https://phabricator.services.mozilla.com/D49293

--HG--
extra : moz-landing-system : lando
2019-11-05 16:15:09 +00:00
Andrew Sutherland
9f7be5494d Bug 1488583 - Remove unsupported, misleading "dom.indexedDB.enabled" preference r=ttung
There were 3 checks for this preference.  Prior to bug 1079355 which ignored the
pref for system principals, the checks were all straightforward pref checks.

The conditionals are somewhat confusing as written.  The main idea is the code
inside the blocks only executes if:
- The preference is disabled.
- The RV was success (we don't want to steal error handling, just prevent
  success.)
- We're not dealing with the system principal.

As such, I'm removing the full conditional blocks.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 08:13:45 +00:00
Tooru Fujisawa
be66409383 Bug 1591406 - Use infallible methods for already allocated Vector. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D50611

--HG--
extra : moz-landing-system : lando
2019-11-05 16:11:16 +00:00
Tooru Fujisawa
6bb9a09010 Bug 1591359 - Part 2: Rename HuffmanTableUnreachable to TableImplementationUninitialized. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D50598

--HG--
extra : moz-landing-system : lando
2019-11-05 16:11:16 +00:00
Tooru Fujisawa
222d884cf6 Bug 1591359 - Part 1: Separate HuffmanTableValue& array into TableStatus array and uninitialized GenericHuffmanTable array. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D50597

--HG--
extra : moz-landing-system : lando
2019-11-05 15:44:06 +00:00
Valentin Gosu
ed4b10d09c Bug 1584743 - Use data URL for services.settings.server in test_http2-proxy.js r=mayhemer
Using a data URL makes the request not use the proxy and so it will not mess up the session count

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

--HG--
extra : moz-landing-system : lando
2019-11-05 15:56:26 +00:00
Valentin Gosu
44081f03e7 Bug 1584397 - Make http2 proxy code execute in a separate process r=mayhemer
* Adds a new moz-http2-child.js file which gets spawned into a new process. When calling NodeServer.execute, the code gets passed to the existing moz-http2.js process which then sends it to be evaluated in the child process. Any crash in the child should not be able to kill the main node process.
* Moves the proxy creation code into test_http2-proxy.js
* Adds the new NodeServer.fork() and NodeServer.kill() static methods to spawn a new server
* Makes it easier to isolate a test's behaviour from another's. It also opens the way to moving some of the logic to individual unit tests, like we do for the proxy creation code, rather than keeping it all in moz-http2.js

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

--HG--
extra : moz-landing-system : lando
2019-11-05 15:51:43 +00:00
Dorel Luca
c8d81d0c68 Bug 1586686 = Disable test_triggeringprincipal_iframe_iframe_window_open.html on Linux64-fis-debug-webrender for frequent failures r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D51634

--HG--
extra : moz-landing-system : lando
2019-11-04 20:50:07 +00:00