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

666350 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 919bb7ded3 Bug 1571530 - Cleanup slightly SheetComplete, and use the right boolean to notify. r=heycam
This is mostly straight-forward cleanup, but there's a behavior change which
was an oversight from bug 1386840, the regular mObservers stuff didn't pass the
right thing (was passing only mWasAlternate rather than whether it was
deferred).

I think that as a result, only in XML documents (since nsXMLContentSink is the
only thing that adds itself as a global CSS loader observer that ever looks at
this boolean), we may end up breaking this assert:

https://searchfox.org/mozilla-central/rev/9ae20497229225cb3fa729a787791f424ff8087b/dom/base/nsContentSink.cpp#183

(If there are any sheets with non-matching media queries and such).

But I couldn't find a test-case that broke it (tried SVG / XHTML), and in other
documents like pure XML you cannot specify a media query...

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

--HG--
extra : moz-landing-system : lando
2019-08-16 10:56:16 +00:00
Emilio Cobos Álvarez 36d3f1e1b9 Bug 1571530 - Cleanup confusing lifetime of SheetLoadData. r=heycam
Saving a refcount bump is not worth the churn. Use a proper RefPtr<>
everywhere instead of manual refcounting, and don't make DoSheetComplete call
NS_RELEASE unconditionally.

Also, make clear by using references where null is expected or not.

Also, properly use a RefPtr in mPendingDatas, since they are strong pointers,
in fact.

Finally, remove some unused macros from nsCSSValue of which this code was the
last consumer.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 10:56:09 +00:00
Emilio Cobos Álvarez 588365a846 Bug 1571530 - Don't use nsBaseHashtable in the CSS loader. r=heycam
It's a refptr hashtable, really.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 10:56:07 +00:00
Emilio Cobos Álvarez 6779b66f01 Bug 1571530 - Remove various bool arguments in sheet loader APIs. r=heycam
They're bad, specially if they do vastly different thing in overloaded
functions, like aUseSystemPrincipal and aIsPreload. :)

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

--HG--
extra : moz-landing-system : lando
2019-08-16 10:56:05 +00:00
Emilio Cobos Álvarez 2353359865 Bug 1571530 - Make Loader APIs return a Result. r=heycam
On the fence on this one, but I do think it's nicer.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 10:56:03 +00:00
Emilio Cobos Álvarez 353176ffe4 Bug 1571530 - Move inline sheet creation somewhere else that isn't CreateSheet. r=heycam
It doesn't do much for them.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 10:55:56 +00:00
Emilio Cobos Álvarez 70e10752be Bug 1571530 - Cleanup CreateSheet so that it returns its arguments rather than having outparams. r=heycam
Also, it's infallible, so no need to have an error state.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 10:55:54 +00:00
Emilio Cobos Álvarez 6c780690be Bug 1571530 - Factor out the stylesheet cache bits. r=heycam
Just moving code around but hopefully the new code is nicer :)

Also fix a regression I introduced in D40691 where the parsing mode wouldn't be
checked for XUL sheets.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 10:55:50 +00:00
Henrik Skupin 0945291ada Bug 1574155 - [wdspec] Use different top-level domains for cross-site iframe tests. r=webdriver-reviewers,ato
Using a different subdomain as host for an iframe source doesn't actually
qualify for a cross-site origin. Instead the TLD has to be different.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 10:54:32 +00:00
Jan Odvarko 9f9e2d3cf4 Bug 1572396 - Introduce Search button in the Net panel toolbar; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D42080

--HG--
extra : moz-landing-system : lando
2019-08-16 10:42:59 +00:00
chrmod 47fa3b6cf0 Bug 1562844 - Use correct tabId in Raptor r=robwu,rwood
More info: https://bugzilla.mozilla.org/show_bug.cgi?id=1562844#c9

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

--HG--
extra : moz-landing-system : lando
2019-08-15 20:02:33 +00:00
Csoregi Natalia 07cae55cd2 Merge inbound to mozilla-central. a=merge 2019-08-15 22:34:31 +03:00
Csoregi Natalia 41813d2fc0 Merge autoland to mozilla-central. a=merge 2019-08-15 22:32:31 +03:00
Abdoulaye O. Ly 6088cf63bf Bug 1559244 - Step 3: Add test for crashing an oop iframe. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D38896

--HG--
extra : moz-landing-system : lando
2019-08-15 19:28:13 +00:00
Abdoulaye O. Ly cbbacc1e6a Bug 1559244 - Step 2: Add support for crashing sub-frame. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D37780

--HG--
extra : moz-landing-system : lando
2019-08-15 19:51:42 +00:00
Abdoulaye O. Ly c671c61e37 Bug 1559244 - Step 1: make BrowserTestUtils@crashBrowser function work with JSWindowActor. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D37318

--HG--
extra : moz-landing-system : lando
2019-08-15 19:28:16 +00:00
Nazım Can Altınova a35427a236 Bug 1574187 - Stabilize profilerOverhead data in profile json. r=gerald
Depends on D42285

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

--HG--
extra : moz-landing-system : lando
2019-08-16 12:18:01 +00:00
Nazım Can Altınova 6eb786c0d4 Bug 1574187 - Add a samples object that contains all the samples in profilerOverhead. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D42285

--HG--
extra : moz-landing-system : lando
2019-08-16 12:17:29 +00:00
Jason Laster ac1bd5ecbb Bug 1573890 - Simplify logpoint messages. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D41990

--HG--
extra : moz-landing-system : lando
2019-08-16 14:55:35 +00:00
Andrew Halberstadt 4eac89c065 Bug 1568277 - [ci] Add an experimental SETA optimize strategy and task to run it r=tomprince
These "shadow scheduler" tasks will generate artifacts per-push on autoland.
Basically, given the scheduling algorithms defined in
TASKGRAPH_OPTIMIZE_STRATEGIES, which tasks *would* have been scheduled on this
push.

This will allow us to download the artifacts and run comparisons against the
baseline to see whether things like code coverage or machine learning are
making the situation better or worse.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 14:46:40 +00:00
Andrew Halberstadt fa8c3bb64c Bug 1568277 - [taskgraph] Add ability to redirect |mach taskgraph|'s output to a file, r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D42172

--HG--
extra : moz-landing-system : lando
2019-08-16 14:27:14 +00:00
Andrew Halberstadt ced1bc5442 Bug 1568277 - [taskgraph] Merge SETA implementation with optimization strategy r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D41012

--HG--
rename : taskcluster/taskgraph/util/seta.py => taskcluster/taskgraph/optimize/seta.py
extra : moz-landing-system : lando
2019-08-16 14:27:12 +00:00
Andrew Halberstadt edd90ef680 Bug 1568277 - [taskgraph] Pass push and time intervals into SETA.is_low_value_task r=tomprince
This will allow us to easily tweak these values from the optimization strategy.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 14:27:08 +00:00
Andrew Halberstadt 4a606dff00 Bug 1568277 - [taskgraph] Ensure user specified optimization strategies update instead of replace the default ones r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D40205

--HG--
extra : moz-landing-system : lando
2019-08-16 14:26:08 +00:00
Andrew Halberstadt 7828bae0b4 Bug 1568277 - [taskgraph] Create optimize strategy aliases for the 'test' kind r=tomprince
This allows test tasks to declare a static optimization name, which can then be
swapped in and out from the optimize code without needing to update the
transforms. This will make it easier to change optimization strategies or run
experimental ones.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 14:26:01 +00:00
Andrew Halberstadt 91d4452d2e Bug 1568277 - [taskgraph] Split optimize strategies out into a separate file r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D40203

--HG--
rename : taskcluster/taskgraph/optimize.py => taskcluster/taskgraph/optimize/__init__.py
extra : moz-landing-system : lando
2019-08-16 14:25:47 +00:00
Andrew Halberstadt 83e584f864 Bug 1568277 - [taskgraph] Move 'taskgraph.transforms.job.import_all' to a utility function r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D41011

--HG--
extra : moz-landing-system : lando
2019-08-16 14:25:40 +00:00
Andrew Halberstadt a8971c3b49 Bug 1568277 - [taskgraph] Use a 'register_strategy' decorator in optimize.py r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D40202

--HG--
extra : moz-landing-system : lando
2019-08-16 14:25:28 +00:00
Andrew Halberstadt 18543d0ff5 Bug 1568277 - [taskgraph] Remove some dead code in optimize.py r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D40201

--HG--
extra : moz-landing-system : lando
2019-08-16 14:25:21 +00:00
Jeff Muizelaar 82fe69f5d0 Bug 1571969. Stop running all the QR tests as virtual-with-gpu. r=jmaher
This uses the layers.d3d11.enable-blacklist pref to allow running WebRender on WARP.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 14:34:00 +00:00
dleblanccyr 7a91ae4044 Bug 1572085 - Adds functionality to show long hex. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41599

--HG--
extra : moz-landing-system : lando
2019-08-15 19:15:48 +00:00
Csoregi Natalia 058a6017fc Backed out changeset ee3e55708782 (bug 1570840) for breaking Netflix and Flash on Mac Nightly. a=backout 2019-08-15 22:00:21 +03:00
Matthew Noorenberghe 4f572e67ba Bug 1570372 - Add a newSavedLogin CFR trigger for when a login is saved from a doorhanger. r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D42074

--HG--
extra : moz-landing-system : lando
2019-08-15 18:48:14 +00:00
Jeff Muizelaar 5da9e3a7b5 Bug 1571969. Stop running all the QR tests as virtual-with-gpu. r=jmaher
This uses the layers.d3d11.enable-blacklist pref to allow running WebRender on WARP.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 22:43:48 +00:00
Michal Novotny 2624e66847 Bug 1544757 - Failed assertion MOZ_ASSERT(mRaceCacheWithNetwork || !(mTransactionPump && mCachePump) || mCachedContentIsPartial), r=mayhemer
When revalidated cache entry is used, normally the sequence is:
 OnStartRequest(mTransactionPump)
 OnStopRequest(mTransactionPump)
 OnStartRequest(mCachePump)
 OnStopRequest(mCachePump)

When doing cross process redirect, the call to OnStopRequest(mTransactionPump) might get delayed, so we can still have mTransactionPump in OnStartRequest(mCachePump).

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

--HG--
extra : rebase_source : c4887343fa6ac95695df3b456f761c4ad3217511
extra : source : 3feee5147ab0c9a7647f920bb0dde9950c836bed
2019-08-16 10:40:41 +00:00
Tim Nguyen b87dea9443 Bug 1571747 - Handle removeAllLogins notification in about:logins. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D42389

--HG--
extra : moz-landing-system : lando
2019-08-17 21:40:14 +00:00
Olli Pettay 26c09ef05a Bug 1574223, make touchstart/move passive by default also when using event handlers, not only event listeners, r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D42235

--HG--
extra : moz-landing-system : lando
2019-08-16 15:18:46 +00:00
Frédéric Wang 3aec893f88 Bug 1574087. Make MathML length, dir, display, displaystyle and mathvariant case insensitive. r=emilio
See https://github.com/mathml-refresh/mathml/issues/22

* mathml/relations/css-styling/attribute-mapping-001.html (length, dir)
* mathml/relations/html5-tree/display-1.html (display)
* mathml/relations/css-styling/displaystyle-1.html (displaystyle)
* mathml/relations/css-styling/displaystyle-2.html (displaystyle)
* mathml/relations/css-styling/mathvariant-case-sensitivity.html (mathvariant)

layout/reftests/bugs/355548-3.xml has been updated now that units are case
insensitive.

Note:
* mathml/relations/css-styling/attribute-mapping-002.html also checks
  case insensitiveness of mathvariant and displaystyle but for now we map
  these attributes to internal -moz-* CSS properties.
* mathcolor and mathbackground values are already case insensitive, this
  is verified by mathml/relations/css-styling/attribute-mapping-001.html

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

--HG--
extra : moz-landing-system : lando
2019-08-15 18:44:36 +00:00
Itiel 47760e669d Bug 1573791 - Fix Accessibility tabs dropdown checkmark for RTL users r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D42220

--HG--
extra : moz-landing-system : lando
2019-08-16 01:13:26 +00:00
Sebastian Streich c051155f99 Bug 1561056 - Pass CSP on Link-drop r=ckerschb,Gijs,farre
Differential Revision: https://phabricator.services.mozilla.com/D37563

--HG--
extra : moz-landing-system : lando
2019-08-15 18:44:00 +00:00
Patrick Brosset 210832d4e2 Bug 1568825 - 3 - Remove the nodePicker's dependency on highlighter and walker r=gl
Differential Revision: https://phabricator.services.mozilla.com/D41598

--HG--
extra : moz-landing-system : lando
2019-08-16 04:48:27 +00:00
Patrick Brosset b5f63e6ed7 Bug 1568825 - 2 - Moving the nodePicker singleton to the toolbox r=gl
Differential Revision: https://phabricator.services.mozilla.com/D41597

--HG--
extra : moz-landing-system : lando
2019-08-16 04:48:27 +00:00
Patrick Brosset ad1f96f8cf Bug 1568825 - 1 - Moving node-picker.js to the client r=gl
Differential Revision: https://phabricator.services.mozilla.com/D41596

--HG--
rename : devtools/shared/fronts/inspector/node-picker.js => devtools/client/inspector/node-picker.js
extra : moz-landing-system : lando
2019-08-16 04:48:26 +00:00
James Graham afb9b4d3d4 Bug 1573800 - Update incorrectly modified web-platform-tests metadata, a=testonly
MANUAL PUSH: wpt sync fixup

Differential Revision: https://phabricator.services.mozilla.com/D42140
2019-08-15 16:41:24 +01:00
Mihai Alexandru Michis 7a7b710020 Backed out changeset d8d687ca13f8 (bug 1571682) for causing spidermonkey bustages. CLOSED TREE 2019-08-15 18:16:16 +03:00
Benjamin Bouvier 8227aa48e2 Bug 1573098: Build Spidermonkey Rust's library unconditionally; r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D41992

--HG--
extra : moz-landing-system : lando
2019-08-15 15:06:07 +00:00
ffxbld 925db3aae7 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D42137

--HG--
extra : moz-landing-system : lando
2019-08-15 15:04:59 +00:00
Jon Coppeard 928e50ddcf Bug 1571682 - Make allocationSiteGroup fail cleanly on OOM r=tcampbell,jandem?
This should make this fail cleanly on OOM rather than crashing, which should make this crash go away (without reducing memory usage obviously). The problem was the lack of hasHash/ensureHash methods that we use to handle OOM when generating unique IDs for GC things. I also tidied the equivalent code for ObjectGroupRealm::NewEntry (FallibleHashMethods is already implemented for MovableCellHasher).

We could further improve this by giving each script an immutable hash code on creation if you think it's worth the tradeoff of storing this for every script.

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

--HG--
extra : moz-landing-system : lando
2019-08-15 14:21:35 +00:00
Marco Zehe 6801deffb6 Bug 1574082 - Improve the labelling of the table and radio buttons, r=mtigley
This adds some polish to the existing markup, making it all a bit more intuitive.

1. Associate the graph legend to the fake table so it becomes kind of the caption for that table for screen reader users. Screen reader users will then hear something like "Table showing a graph  of .." plus the table information they already get since bug 1573197 landed.

2. Actually combine the number and tab's title into a spoken label for screen readers on each radio button, and for the description, use the explanatory paragraph's content. That way, screen reader users can just tab and arrow to each item in focus mode and hear all the relevant information at once without having to skip back and forth between the elements.

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

--HG--
extra : moz-landing-system : lando
2019-08-15 14:29:48 +00:00
Emilio Cobos Álvarez e53cb2392a Bug 1567094 - Make WebRender look at visited dependent border colors. r=jrmuizel
We do have test coverage for this
(layout/style/test/test_visited_reftests.html), but it seems that that uses
snapshotWindow() / drawWindow() and that may not use the WR code paths? It seems
we may be missing a bit of test coverage there. Is this expected?

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

--HG--
extra : moz-landing-system : lando
2019-08-15 14:18:59 +00:00