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

663395 Коммитов

Автор SHA1 Сообщение Дата
Masayuki Nakano 765e91b497 Bug 1569902 - part 1: Stop using attribute to consider whether a `<br>` element is an editor bogus node or not r=m_kato,smaug
Editor creates a `<br>` element when it's root element is empty.
Then, it's stored by `TextEditRules::mBogusNode` and used for checking
whether the editor is empty quickly.  However, this `<br>` element has
`mozeditorbogusnode` attribute whose value is `true`.  However, adding or
removing the attribute is not cheap and web apps can refer such illegal
attribute.

Therefore, this patch makes `HTMLBRElement` take a specific flag whether
it's a bogus node or not.  However, this means that this hacky thing will be
exposed outside editor module.  For making what is the bogus node clearer,
this patch calls the such `<br>` elements as "padding `<br>` element for
empty editor".  So, this patch also includes a lot of renaming methods and
variables, and modifying related comments.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 05:44:40 +00:00
longsonr 2f71a4d42d Bug 1569474 - dispatch cut, copy and paste events to SVG graphics elements r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D39629

--HG--
extra : moz-landing-system : lando
2019-07-30 22:45:54 +00:00
Tom Ritter 41227282b4 Bug 1537955 - Do not spoof DevicePixelRatio for pdfs r=Ehsan
pdfs should not have a way to exfiltrate the true device pixel ratio,
so it is safe to provide the correct value, enabling them to be rendered
correctly.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 04:10:09 +00:00
James Teh e7f4ed385b Bug 1570848: When an OuterDocAccessible is constructed, send it as the parent COM proxy for its remote document (if any). r=MarcoZ
Normally, the OuterDocAccessible is created first and the DocAccessibleParent for a remote document is created after that.
So, we get the OuterDocAccessible and call DocAccessibleParent::SendParentCOMProxy when the DocAccessibleParent is constructed (BrowserParent::RecvPDocAccessibleConstructor).
However, sometimes, the OuterDocAccessible is created *after* the DocAccessibleParent.
This sometimes happens for extension popups, for example.
In that case, we previously never sent the parent COM proxy.
Aside from leaving the remote document with a null parent, this also meant we never sent any events for the document, since events are buffered for remote documents until the parent COM proxy is received.
This effectively left the remote document (e.g. extension popup) inaccessible.

Now, we also call SendParentCOMProxy in the OuterDocAccessible constructor.
Note that this doesn't result in duplicates because if the OuterDocAccessible was created first, there won't be a DocAccessibleParent for the remote document yet, so this code won't run.

That said, if the OuterDocAccessible is recreated (e.g. due to frame reconstruction), we may call SendParentCOMProxy again.
This should be okay, but it required an assertion in DocAccessibleChild::RecvParentCOMProxy to be tweaked.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 04:24:54 +00:00
Jared Wein 5b928e3826 Bug 1560433 - Enable about:logins for release builds. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D40310

--HG--
extra : moz-landing-system : lando
2019-08-01 23:56:55 +00:00
Ting-Yu Lin b14d39764b Bug 1548100 Part 2 - Fix the block-size of the column-rule by consuming available block-size. r=dbaron
After enabling column-span, ColumnSet becomes an anonymous child under
ColumnSetWrapperFrame. It doesn't need to handle border and padding,
containment, and non-auto block-size. ColumnSet's final block-size is
simply the union of ::-moz-column-content frames' rects.

However, we should extend ColumnSet's block-size to consume the
available block-size if the ColumnSetWrapper's block-size is constrained
so that the column rules are drawn to the block-end edge of the multicol
container.

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

--HG--
rename : testing/web-platform/meta/css/css-multicol/multicol-breaking-000.html.ini => testing/web-platform/meta/css/css-multicol/multicol-rule-nested-balancing-001.html.ini
rename : testing/web-platform/meta/css/css-multicol/multicol-breaking-000.html.ini => testing/web-platform/meta/css/css-multicol/multicol-rule-nested-balancing-002.html.ini
rename : testing/web-platform/meta/css/css-multicol/multicol-breaking-000.html.ini => testing/web-platform/meta/css/css-multicol/multicol-span-all-rule-001.html.ini
extra : moz-landing-system : lando
2019-08-01 22:48:55 +00:00
Ting-Yu Lin 346e3c704a Bug 1548100 Part 1 - Fix the height of column-rules in multicol-breaking-*-ref.html. r=dbaron
According to the spec, "A column rule is drawn in the middle of the
column gap with the endpoints at opposing content edges of the multicol
container." https://drafts.csswg.org/css-multicol-1/#column-gaps-and-rules

Therefore, the <div> that simulates column-rules in references should be
100px height.

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

--HG--
extra : moz-landing-system : lando
2019-08-01 22:48:57 +00:00
Razvan Maries 1fb298eac8 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-08-02 07:11:00 +03:00
Ciure Andrei d7ec6fb695 Backed out changeset 6862186e032b (bug 1570764) for causing toolchains bustages CLOSED TREE 2019-08-02 06:57:44 +03:00
Razvan Maries f57bfff083 Merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : dom/media/encoder/EncodedFrameContainer.h => dom/media/encoder/EncodedFrame.h
2019-08-02 06:50:08 +03:00
James Teh 07b13c72c3 Bug 1570038: When sending the parent COM proxy for a remote document, return early if the parent COM proxy can't be retrieved. r=yzen
Previously, we expected that we'd always be able to get the COM proxy for the parent (outer doc), so we crashed if it was null.
For an out-of-process iframe, this sometimes fails.
That is probably because the outer doc died in the embedder process, but the parent process hasn't received a message to remove it from the ProxyAccessible tree yet.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 03:40:14 +00:00
Tooru Fujisawa 405385fc8e Bug 1564365 - Ignore error after resolving async function promise. r=anba,jimb
Differential Revision: https://phabricator.services.mozilla.com/D38960

--HG--
extra : moz-landing-system : lando
2019-08-02 03:44:19 +00:00
Andreea Pavel 3b500e9fdd Backed out changeset 7a06c08bf267 (bug 1501886) for bc failures e.g. browser_window_menu_list.js on a CLOSED TREE 2019-08-02 05:44:47 +03:00
Nick Alexander aba3c8f154 Bug 1570764 - Include MOZ_SOURCE_* fields in GeckoView POM files. r=agi
Differential Revision: https://phabricator.services.mozilla.com/D40306

--HG--
extra : moz-landing-system : lando
2019-08-02 01:05:07 +00:00
Ciure Andrei 2a4fcddae1 Backed out changeset 7768b6a6cfc7 (bug 1568959) for ESlint failures CLOSED TREE 2019-08-02 03:18:31 +03:00
Ciure Andrei 78c513784e Backed out changeset 9ab4ca317e30 (bug 1570671) for causing VRManager.cpp bustages CLOSED TREE 2019-08-02 03:16:18 +03:00
Kristen Wright a2b49ee4f9 Bug 1570157 - Ensure there are enough JSContexts after calling SetFakeCPUCount. r=jandem
calling SetFakeCpuCount may cause GlobalHelperThreadState to create more threads than there are JSContexts in the list. This adds a function to check the length of the context list against the new thread count, and if there are not enough JSContexts, append more to the list.

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

--HG--
extra : moz-landing-system : lando
2019-08-01 16:04:46 +00:00
Barret Rennie 736ae2cbed Bug 1510569 - Prevent missing symbol errors during builds when adding new IPDL headers r=Ehsan
ipc_message_utils.h defines IPDLParamTraits on windows for some things like
HWND and HANDLE. However, it doesn't directly include windows.h on Windows to
include them. All other usages seem to rely on including base/process.h, which
does include windows.h and adds the appropriate typedefs.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 02:12:47 +00:00
Nathan Froyd 3f8bbdf042 Bug 1437452 - add makefile bits for cross-language PGO; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D36772

--HG--
extra : moz-landing-system : lando
2019-08-01 21:27:11 +00:00
Nathan Froyd 8118763f6a Bug 1569709 - add --enable-profile-{generate,use}=cross option; r=mshal
This change gives us the ability to selectively turn on cross-language
PGO, just like we have the ability to selectively turn on cross-language LTO.

There is room for things to go wrong here: it's not guaranteed that
`--enable-profile-generate=cross` will always be used with
`--enable-profile-use=cross`.  Nothing bad will happen in the sense that
the build will succeed, but it's possible that we miss out on
optimizations on the Rust side.  Either we fail to generate profile data
for the Rust code, or the Rust compiler fails to use the profile data.

In the future, we may want to default to cross-language PGO to avoid
these kind of mismatches.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 00:57:46 +00:00
André Bargull 65de414a0c Bug 1570278 - Part 2: Reimport test262 files. r=jonco
Depends on D40087

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

--HG--
extra : moz-landing-system : lando
2019-08-01 12:33:47 +00:00
André Bargull 71ffc74a23 Bug 1570278 - Part 1: Add 'async' flag for asynchronous test262 tests. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D40087

--HG--
extra : moz-landing-system : lando
2019-08-01 12:33:47 +00:00
Oriol Brufau c673fb4990 Bug 1570279 - Some refactoring for test_objectgrips-17.js. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com//D40023

Depends on D40022

--HG--
extra : histedit_source : 4ec73841e798c5e3d8e5b194950ffa30824b8964
2019-07-31 17:25:30 +03:00
Oriol Brufau 8e65f8c891 Bug 1570279 - Reenable accidentally disabled checks in test_objectgrips-17.js. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com//D40022

--HG--
extra : histedit_source : 557166c573619cf669c717928acbe483f9430df8
2019-07-31 17:25:15 +03:00
Razvan Maries 518b15a876 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-08-02 01:52:58 +03:00
Razvan Maries 3ca183c1a2 Merge mozilla-inbound to mozilla-central a=merge 2019-08-02 00:21:57 +03:00
Dzmitry Malyshau 13c8d55d12 Bug 1570401 - WR early out on transformed ClipOut clips r=gw
Refactors get_clip_result_complex to cover ClipOut cases for rectangles as well
as Clip for non-repeated images.

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

--HG--
extra : moz-landing-system : lando
2019-08-01 02:07:21 +00:00
Timothy Nikkel 7184148ba0 Bug 1569215. In StackingContextHelper constructor pass parent scale to ChooseScale. r=jrmuizel
This might seem like we are including the parent scale twice because it is also included in mInheritedTransform but FrameLayerBuilder::ChooseScale only incorporates the passed in scale when combining it with a scale computed purely based on the local transform induced by this stacking context item.

This also fixes bug 1564698 and doesn't regress bug 1495163 (the only testcase I can still find for the regressing bug, bug 1415987).

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

--HG--
extra : moz-landing-system : lando
2019-08-01 02:03:19 +00:00
Daniel Holbert 76fa21ac46 Bug 1570520: Increase fuzzy threshold for reftests webkit-text-stroke-property-003.html and webkit-text-stroke-property-005.html. (no review, test-annotation-only)
Differential Revision: https://phabricator.services.mozilla.com/D40147

--HG--
extra : moz-landing-system : lando
2019-08-01 01:52:08 +00:00
Sylvestre Ledru 2505df426c Bug 1566336 - Build clang from git rather than subversion. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D38361

MANUAL PUSH: avoid closing autoland while clang rebuilds.
2019-08-01 07:26:55 +09:00
Csoregi Natalia f17b58a4c2 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-08-01 00:58:03 +03:00
Bogdan Tara 4f87c3bc2b Backed out changeset 4ba7a3e079e3 (bug 1566336) for static analysis bustage CLOSED TREE 2019-08-01 00:38:59 +03:00
Sylvestre Ledru 86692bad14 Bug 1566336 - Build clang from git rather than subversion. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D38361

MANUAL PUSH: avoid closing autoland while clang rebuilds.
2019-08-01 05:56:39 +09:00
J.C. Jones 8c9ade1d25 Bug 1564499 - land NSS 009a7163c80a UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : 6f459dfb1cd7238d9c4b258d41b8b411941acb6e
2019-07-31 20:20:02 +00:00
Kris Maglione 3c73ae7ca5 Bug 1570207: Part 2 - Remove skip-if/fail-if annotations for CanAccessItem failures. r=nika
MANUAL PUSH: Landing partial patch stack

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

--HG--
extra : rebase_source : 12c8295bb931269632417d3b5321e6c59c0ca61a
2019-07-31 18:54:54 -07:00
bbassi 1b6c07a4a6 Open in new tab with AltGr+Enter (Bug 1389739). r=adw
Before this change, AltGr+Enter wouldn't open url in new tab on non-English layouts on Windows. This happened because non-English layouts generated AltGr event on pressing right Alt key. Checking for this event in _whereToOpen function fixes the issue.

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

--HG--
extra : moz-landing-system : lando
2019-07-31 20:01:15 +00:00
Kris Maglione c563e8d733 Bug 1570207: Part 1 - Move CanAccess logic from DocShell to BrowsingContext. r=nika
This change is necessary in order to support named targeting of remote
BrowsingContexts, since the current arrangement only supports in-process
contexts. It also considerably simplifies the logic, since named targetting is
now restricted to the same TabGroup/BrowsingContextGroup, which in and of
itself guarantees that origin attributes will always match in the cases that
we care about.

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

--HG--
extra : rebase_source : 77795886ef762bd778ddd782608ffca294b7aee0
2019-07-31 11:40:39 -07:00
Kris Maglione 3b5587005e Bug 1566186: Part 1.1 - Disable failing mozbrowser test. r=me,test-only
--HG--
extra : rebase_source : f0c45cd5ea5516a220123ca1845aad73797c2b2e
2019-07-31 18:56:04 -07:00
Sebastian Streich 6917b697b8 Bug 1428473 Support X-Content-Type-Options: nosniff when navigating r=ckerschb,dragana,alchen
***
Apply Requested Revision

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

--HG--
extra : moz-landing-system : lando
2019-07-31 16:59:53 +00:00
Grisha Kruglov 33327053e3 Bug 1570496 - Forward-compatible treatment of 'action' WebChannel payload param r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40118

--HG--
extra : moz-landing-system : lando
2019-08-01 00:09:23 +00:00
Bogdan Tara 331634801e Backed out changeset bcdd64c29e02 (bug 1570496) for ES Lint failure on FxAccountsWebChannel.jsm CLOSED TREE 2019-08-01 02:44:24 +03:00
Ehsan Akhgari 29cce9a268 Bug 1569996 - Enable setting the default referrer policy for third-party tracking resources to strict-origin-when-cross-origin when Enhanced Tracking Protection is turned on; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D39885

--HG--
extra : moz-landing-system : lando
2019-07-31 10:50:20 +00:00
Marian Raiciof 58f4214273 Bug 1570335 - Changed the target indexes and binary-path in raptor.yml to fix the permanent raptor-youtube-playback-fenix failures due to timeouts. r=perftest-reviewers,davehunt
Differential Revision: https://phabricator.services.mozilla.com/D40055

--HG--
extra : moz-landing-system : lando
2019-07-31 16:13:55 +00:00
Aaron Klotz 12bdf4e7a1 Bug 1569756: Check for S_FALSE after calling IShellWindows::FindWindowSW; r=jmathies
`IShellWindows::FindWindowSW` may return the dreaded `S_FALSE`, so we need to
ensure that we're handling that.

I checked the remaining functions called by this code and none of the others
do this; this is the only call site that requires the check.

I'm not sure why we're seeing this error code. I added an explicit cast to
ensure that `CSIDL_DESKTOP` is being interpreted as an `int`, though I doubt
that this actually makes any difference.

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

--HG--
extra : moz-landing-system : lando
2019-07-31 15:31:07 +00:00
Benjamin Bouvier 927b2e3ce4 Bug 1570339: Skip wasm atomic fence if atomics aren't enabled/supported; r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D40054

--HG--
extra : moz-landing-system : lando
2019-07-31 16:05:47 +00:00
Mihai Alexandru Michis 148b452d46 Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
extra : rebase_source : e24b2bdb3f530fb48a6233a50dec4834b144d225
2019-07-31 18:53:51 +03:00
Mihai Alexandru Michis 981006bdf0 Merge inbound to mozilla-central. a=merge 2019-07-31 18:48:32 +03:00
Tim Nguyen b6d8cc41ad Bug 1569375 - Refactor browser panel CSS to reduce shadow DOM traversal after CE conversion. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D39594

--HG--
extra : moz-landing-system : lando
2019-07-31 15:22:08 +00:00
Mike Conley b0452cabd0 Bug 1555711 - Port RemotePrompt to a JS Window Actor to be Fission-compatible. r=NeilDeakin,layely
Differential Revision: https://phabricator.services.mozilla.com/D38189

--HG--
rename : browser/modules/RemotePrompt.jsm => browser/actors/PromptParent.jsm
extra : moz-landing-system : lando
2019-07-31 15:32:15 +00:00
Jon Coppeard f677505a74 Bug 1570333 - ImmutableTenuredPtr is supposed to be traced so it should only be used on the heap r=luke?
Differential Revision: https://phabricator.services.mozilla.com/D40052

--HG--
extra : moz-landing-system : lando
2019-07-31 14:51:20 +00:00