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

702226 Коммитов

Автор SHA1 Сообщение Дата
Eden Chuang f519d74b3b Bug 1598131 - Propagate the browsingContext's COEP to the new created one in nsFrameLoader::Recreate r=farre
The COEP header needs to propagate to the new created BrowsingContext for process switching.

Differential Revision: https://phabricator.services.mozilla.com/D69936
2020-04-17 11:29:13 +00:00
Daniel Varga 53533d14b8 Backed out changeset a6904ec3d1e0 (bug 1347710) for causing Bug 1630860 a=backout 2020-04-17 13:01:21 +03:00
Henrik Skupin 5bffe12d30 Bug 1599413 - [remote] Add executeSoon to sync helper methods. r=remote-protocol-reviewers,jgraham
There are needs to delay the execution of code on the main thread
until the next tick of the event loop has happened.

Differential Revision: https://phabricator.services.mozilla.com/D71291
2020-04-17 09:08:30 +00:00
Emma Malysz aec6359182 Bug 1629376, Revert the fragment caching changes to ensure downloads are shown in Library menu. r=emilio
DownloadsSubview and DownloadsView do not inherit from custom elements and cannot rely on the static getFragment method.
The individual download list items all need to be cloned in order to display.

Differential Revision: https://phabricator.services.mozilla.com/D71204
2020-04-17 05:07:49 +00:00
Ciure Andrei 3593787658 Backed out changeset 894ebe92bdae (bug 1628052) for causing failure increase in bug 1358898 CLOSED TREE 2020-04-17 07:20:16 +03:00
Masayuki Nakano 9f7fb5bb0f Bug 1630168 - Make `HTMLEditor` stop adding same runnable method into the queue r=m_kato
When `HTMLEditor` is notified of content changes, it may add a runnable method
`HTMLEditor::OnModifyDocument` or `HTMLEditor::NotifyRootChanged` for each
notification. However, their code do not need running twice nor more. This
could cause performance issues on complicated web apps which sets `innerHTML`
at every key press.

Differential Revision: https://phabricator.services.mozilla.com/D71001
2020-04-16 15:15:26 +00:00
Andrei Oprea 3ef497088e Bug 1624309 - Add persistent storage for ExperimentStore r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D68215
2020-04-17 11:02:36 +00:00
Masayuki Nakano 5a3a0d40e7 Bug 1627175 - part 10: Move `HTMLEditor::GetEnclosingTable()` to `HTMLEditUtils` r=m_kato
Depends on D70883

Differential Revision: https://phabricator.services.mozilla.com/D70884
2020-04-16 14:53:54 +00:00
Marco Bonardo 6d1242bea3 Bug 1628288. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D71191
2020-04-17 09:59:23 +00:00
AbdallahAfify 725fd3f4a8 Bug 1629431 - Use bool true instead of int 1. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D71244
2020-04-17 09:57:24 +00:00
Daniel Varga 23fb36c6a8 Backed out changeset d64c9eb2f326 (bug 1624309) for causing brwoser-chrome failures at toolkit/components/normandy/test/browser/browser_actions_MessagingExperimentAction.js
CLOSED TREE
2020-04-17 13:50:07 +03:00
Daniel Varga ca80197a2f Backed out 4 changesets (bug 1605209) for causing browser-chrome failures at dom/ipc/tests/JSWindowActor/browser_crash_report.js
CLOSED TREE

Backed out changeset 6eb1cc169dbf (bug 1605209)
Backed out changeset d81b566ad94f (bug 1605209)
Backed out changeset e0e6dbf1d48d (bug 1605209)
Backed out changeset 289f5bbac1ae (bug 1605209)
2020-04-17 13:49:04 +03:00
Daniel Varga e99eb8477c Backed out 2 changesets (bug 1625942) for causing devtools failures at devtools/client/netmonitor/test/browser_net_reload-markers.js
CLOSED TREE

Backed out changeset 4255bd054e34 (bug 1625942)
Backed out changeset 743e1ce65e06 (bug 1625942)
2020-04-17 13:39:11 +03:00
Andrei Oprea aab36ed374 Bug 1624309 - Add persistent storage for ExperimentStore r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D68215
2020-04-16 17:16:23 +00:00
sumagnadas 74de3ae4a1 Bug 1622687 - toolkit/crashreporter/: Make it flake8 compliant r=gsvelto,rstewart
Made the files in toolkit/crashreporter flake8 compliant
And some finishing touches in the symbolstore.py file for readability

Differential Revision: https://phabricator.services.mozilla.com/D68691
2020-04-16 14:40:31 +00:00
Yoshi Cheng-Hao Huang a44b1a30b1 Bug 1628201 : Use MOZ_NEVER_INLINE to prevent linking error on windows pgo build. r=dmajor
Filed Bug 1630189 for the weird linking error on windows pgo build and
use MOZ_NEVER_INLINE to prevent it.

Differential Revision: https://phabricator.services.mozilla.com/D71162
2020-04-16 17:36:55 +00:00
Yoshi Cheng-Hao Huang e68b3996b2 Bug 1628201: HelperThreadTaskHandler should use UniquePtr for mOffThreadTask. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D70155
2020-04-16 10:57:02 +00:00
Masayuki Nakano 1ee4f00529 Bug 1627175 - part 8: Move `EditorBase::IsContainer()` to `HTMLEditUtils` r=m_kato
It's a virtual method which always returns true if `TextEditor`.  Therefore,
we can move it into `HTMLEditUtils` and we can make the only caller of
`EditorBase` check `IsTextEditor()` instead.

Depends on D70880

Differential Revision: https://phabricator.services.mozilla.com/D70882
2020-04-16 10:32:26 +00:00
Andreea Pavel fad2d44798 Backed out changeset f055b35804d7 (bug 1630655) for multiple failures regarding/IOInterposer on a CLOSED TREE 2020-04-17 07:04:19 +03:00
Cameron McCormack e91f99f8e1 Bug 1616411 - Part 7: Tests. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D70277
2020-04-17 02:57:49 +00:00
Cameron McCormack 78281a4d72 Bug 1616411 - Part 6a: Make OrientedImage::GetFrameAtSize return an appropriately sized surface. r=tnikkel
We need this since nsLayoutUtils::SurfaceFromElement expects the
returned frame size to be correct, and we are now wrapping a source
element's image with an OrientedImage.

Differential Revision: https://phabricator.services.mozilla.com/D71243
2020-04-17 02:57:46 +00:00
Cameron McCormack 557c7a0ed7 Bug 1616411 - Part 6: When -moz-element references an image, use the target orientation. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D70276
2020-04-17 02:57:44 +00:00
Cameron McCormack 613c789b01 Bug 1616411 - Part 5: Make naturalWidth/naturalHeight getters take RasterImage orientation handling into account. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D70275
2020-04-17 02:57:36 +00:00
Cameron McCormack 8ab9b44ae1 Bug 1616411 - Part 4a: Make SurfaceCache aware that native image sizes can be affected by orientation. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D70983
2020-04-17 02:57:34 +00:00
Cameron McCormack 1bb5699b04 Bug 1616411 - Part 4: Make nsLayoutUtils::OrientImage undo any automatic RasterImage orientation when required. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D70274
2020-04-17 02:57:32 +00:00
Cameron McCormack ca0466aa78 Bug 1616411 - Part 3: Make RasterImage deal with and apply image orientation. r=tnikkel
This makes EXIF orientation metadata honored by default.

Introduce OrientedPixel and UnorientedPixel typed rects and sizes and
use them throughout RasterImage so that we don't confuse which we want.

The reason for doing this rather than having the imgLoader wrap every
RasterImage it creates with an OrientedImage is that returning the
wrapper messes with various notifications, as OrientedImage is not an
ImageResource.

(It would be even better if the JPEG decoder could decode to imgFrames
handling the EXIF orientation itself, but that's a more complicated
change.)

Differential Revision: https://phabricator.services.mozilla.com/D70273
2020-04-17 02:57:30 +00:00
Cameron McCormack b23892c97a Bug 1616411 - Part 2: Don't bother passing in the size to OrientedImage::OrientSurface. r=tnikkel
We can get the size from the surface directly.

Differential Revision: https://phabricator.services.mozilla.com/D70272
2020-04-17 02:57:22 +00:00
Cameron McCormack 75f9b3902d Bug 1616411 - Part 1: Split out some helper methods from OrientedImage. r=tnikkel
RasterImage will make use of them.

Note that there is one bug fix in this patch, which is that
OrientedImage::OrientSurface now creates a surface of the correct size.

(Previously this code was creating a surface with the underlying
image's size, rather than the correctly oriented size.  But we must
not have been calling into that code with our current uses of
OrientedImage.)

Differential Revision: https://phabricator.services.mozilla.com/D70271
2020-04-17 02:57:20 +00:00
Doug Thayer 21c9b8214f Bug 1630655 - Actually advance lateWriteChecksStage to 3 r=erahm
The preprocessor does not handle "# ifdef" like the C preprocessor,
and I failed to test this appropriately after restructuring the
#if... clauses. This also reverts fastShutdownStage back to 1, so
we can be confident in the data we collect.

Differential Revision: https://phabricator.services.mozilla.com/D71190
2020-04-16 23:19:18 +00:00
Botond Ballo 6da7c16257 Bug 1629732 - Fix non-unified build errors in layout/mathml. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D71247
2020-04-17 01:43:08 +00:00
Ciure Andrei c95ead91a9 Backed out changeset c6490dad74ac (bug 1629376) for causing browser_toolbar_library_open_recent.js failures CLOSED TREE 2020-04-17 04:37:49 +03:00
David Teller 5435691b55 Bug 1605209 - Turn actor names into nsCString;r=nika
This should save (a little) memory and avoid quite a few conversions.

Differential Revision: https://phabricator.services.mozilla.com/D70341
2020-04-16 08:58:21 +00:00
David Teller acc935de46 Bug 1605209 - Extending BrowserTestUtils to allow out-of-stack crashing;r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D70191
2020-04-16 08:58:21 +00:00
David Teller b59500d568 Bug 1605209 - Testing JSWindowActor crash annotations;r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D70175
2020-04-16 08:05:45 +00:00
David Teller a6bda985ed Bug 1605209 - Annotate JSWindowActor's message exchanges to determine which actor is on the stack of a crash;r=gsvelto,nika
Differential Revision: https://phabricator.services.mozilla.com/D69993
2020-04-16 08:27:01 +00:00
Coroiu Cristina 71dbc5766d Backed out changeset 60f939d5d3bc (bug 1630607) for SM failure at workspace/breakpad-tools/libbreakpadinjector.so on a CLOSED TREE 2020-04-17 11:31:39 +03:00
Jeff Walden 3dddf97e18 Bug 1624266 - Add code to page/worker/worklet code so that the global "SharedArrayBuffer" property can be trivially omitted from their global objects by changing how a single C++ variable for each case is initialized. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D71253
2020-04-17 08:21:02 +00:00
Jeff Walden 1f028b4735 Bug 1624266 - Allow the SharedArrayBuffer global constructor property to be optionally omitted from a new global object. r=arai,baku
Differential Revision: https://phabricator.services.mozilla.com/D70990
2020-04-17 08:20:45 +00:00
Daisuke Akatsuka aee2e4a38a Bug 1625942: Add a browser test for document events ResourceWatcher. r=ochameau
Depends on D69329

Differential Revision: https://phabricator.services.mozilla.com/D71007
2020-04-17 08:14:51 +00:00
Daisuke Akatsuka 8253c44dc4 Bug 1625942: Introduce ResourceWatcher into network monitor to fetch DocumentEvents. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D69329
2020-04-17 08:13:23 +00:00
Jan de Mooij 6da7d28083 Bug 1630855 - Fix duplicate symbol error when building with --disable-cranelift. r=jwalden,bbouvier
Differential Revision: https://phabricator.services.mozilla.com/D71267
2020-04-17 08:07:21 +00:00
Jan de Mooij 314d1c8ea3 Bug 1629503 - Set the hasTryBlock flag for JSOp::TryDestructuring. r=arai
It's basically like a try-catch so we have to ensure we don't optimize away
the done/iter stack slots.

Differential Revision: https://phabricator.services.mozilla.com/D71182
2020-04-17 08:07:21 +00:00
Jan de Mooij ec7ed448fd Bug 1629791 part 5 - Auto-generate CacheIRWriter and CacheIRCompiler code for a handful of ops. r=iain
For ops with the gen_boilerplate attribute, this auto-generates the writer and compiler
boilerplate code. The attribute has been added to some arbitrary ops to test this.

CacheIRWriter methods that return a new OperandId are not supported yet.

Initially I wanted to generate multiple header files and classes, but the current
approach works fine and is probably a bit easier to reason about. Because the
code generation itself is pretty simple it should be easy to experiment with different
codegen strategies in the future.

Differential Revision: https://phabricator.services.mozilla.com/D71153
2020-04-17 07:58:26 +00:00
Jan de Mooij 5323788e5b Bug 1629791 part 4 - Stop generating implementations forwarding to the base class. r=iain
For ops that are implemented in the base class, we used to generate an emitFoo
implementation in BaselineCacheIRCompiler and IonCacheIRCompiler that forwarded
to the base class method.

Now that we can easily codegen, it's nicer to generate a list of unshared ops
and use it so that we can call the base class methods directly. This generates
a lot less C++ code in the CacheIR compilers and is easier on the C++ compiler.

Eventually both the shared and unshared lists will be replaced with generated
boilerplate, but for now this is an improvement.

Differential Revision: https://phabricator.services.mozilla.com/D71140
2020-04-17 07:58:26 +00:00
Andrea Marchesini 1611112ee4 Bug 1629112 - Group console warnings about invalid sameSite cookie attributes, r=nchevobbe
Invalid sameSite cookie attributes generate console warning messages in the
wrong 'generic' category. In this patch, we put them under the 'sameSite'
category. We also rename the 'generic' category to 'oversize' because all the
remaining messages are about invalid cookie sizes.

Differential Revision: https://phabricator.services.mozilla.com/D70795
2020-04-17 07:56:45 +00:00
Masayuki Nakano 29b0030c60 Bug 1627175 - part 9: Move `HTMLEditor::GetBlock()` and `HTMLEditor::GetBlockNodeParent()` to `HTMLEditUtils` r=m_kato
This patch also names the former to `GetInclusiveAncestorBlockElement()` and
the latter to `GetAncestorBlockElement()` for consistency with modern DOM
API names.

Depends on D70882

Differential Revision: https://phabricator.services.mozilla.com/D70883
2020-04-16 14:19:18 +00:00
Benjamin Bouvier b507e26cf9 Bug 1630607: arm64: check that upper high bits are zero'd when boxing a 32-bit value; r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D71175
2020-04-17 06:05:38 +00:00
Bob Owen f03c78362b Bug 1630304: Remove invalid assertion in CanvasThreadHolder::StaticRelease. r=mattwoodrow
TaskQueues hold onto their nsIEventTarget (in this case mCanvasWorkers) until
after they resolve their shutdown promise, which is what causes
CanvasThreadHolder::StaticRelease to be submitted to the compositor thread.
So this assertion can't be guaranteed.

Differential Revision: https://phabricator.services.mozilla.com/D71176
2020-04-17 04:56:35 +00:00
Tom Prince 0c95cd8924 Bug 1630009: Update conditioned profile build dependencies; r=tarek
This make four changes:
- use shippable/pgo builds on win64 and android platforms
- use linux64 instead of linux to get test packages for out-of-tree tasks
- consistently use `build` as the dependency name in tasks
- use the geckodriver toolchain, rather than the one packed in tasks

Differential Revision: https://phabricator.services.mozilla.com/D70943
2020-04-17 07:00:48 +00:00
Chris Peterson 4a38e89842 Bug 1628961 - Replace "clang-format off" with semicolon workaround for clang-format bug 1629756. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D71138
2020-04-16 09:49:35 +00:00