Commit Graph

679313 Commits

Author SHA1 Message Date
Andreas Pehrson
53d52cde4e Bug 1172394 - Refactor how DecodedStream is set up. r=padenot
This patch removes the responsibility of js-facing MediaStreamTracks from the
MediaDecoder stack, and moves the machinery for setting up DecodedStream to
higher order functions like state mirroring and watchables.

OutputStreamManager is completely gone, since it was designed to manage
MediaStreamTracks across multiple output streams for a single decoder,
on main thread. HTMLMediaElement took over its task in the previous patch.

The MediaDecoderStateMachine now has three control points for capturing:
- mOutputCaptured, which, if true, will capture all decoded data into
  mOutputTracks. If this is set, but mOutputTracks is empty, we are still
  waiting for tracks, and DecodedStream will not play any data. When tracks are
  set, a new DecodedStream is created that will play data through
  SourceMediaTracks piped into mOutputTracks.
- mOutputTracks, which is the set of tracks data is captured into, for
  forwarding to all the output tracks the media element is managing. This set of
  tracks is managed by the MediaDecoder owner, and must contain one audio track
  if the decoder is decoding audio, and one video track if the decoder is
  decoding video. It may be empty since output can be captured before metadata
  is loaded, or playback has ended.
- mOutputPrincipal, which is the principal of the decoded data. All data sent
  into SourceMediaTracks is tagged with this principal.

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

--HG--
extra : moz-landing-system : lando
2019-11-13 08:55:39 +00:00
Andreas Pehrson
5b1bea60b3 Bug 1172394 - Merge MediaStream and MediaDecoder track sources. r=padenot
This reworks how media element captureStream works by removing the differences
between MediaStream and MediaDecoder capture. MediaDecoder capture will be
refactored so that ownership of MediaStreamTracks lies with the media element
instead of the OutputStreamManager. The internal MediaDecoder parts happen in a
later patch.

The new API for capturing a MediaDecoder involves a boolean on/off toggle, the
output tracks the decoder pipes data to, and the principal that data is tagged
with. If capturing is on but there are no output tracks, playback will not
happen, to ensure that no data gets accidentally skipped in the output tracks
while captured.

This also changes the logic for setting up MediaElementTrackSources in
HTMLMediaElement so it's triggered by the WatchManager and thus run in tail
dispatched runnables.

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

--HG--
extra : moz-landing-system : lando
2019-11-13 08:55:29 +00:00
Andreas Pehrson
ed705988de Bug 1172394 - Make dom::MediaTrack lifetime spec compliant. r=bryce
This makes us forget tracks at the right times. The spec also says no
removetrack events should be fired because of this, yet it seems to be something
other user agents do:
https://wpt.fyi/results/media-source/mediasource-avtracks.html

This is of low importance however, since MediaTracks are prefed off by default.

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

--HG--
extra : moz-landing-system : lando
2019-11-13 08:48:16 +00:00
Andreas Pehrson
9112bdefc4 Bug 1172394 - Don't remove dom::MediaTracks on chained metadata updates. r=padenot
HTMLMediaElement avoid creating new tracks in MetadataLoaded when it has already
created some, so there should be no side effect to this patch.

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

--HG--
extra : moz-landing-system : lando
2019-11-13 08:48:03 +00:00
Andreas Pehrson
baa9f1296f Bug 1172394 - Perform some forgotten Stream -> Track renaming in DecodedStream. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D52036

--HG--
extra : moz-landing-system : lando
2019-11-13 08:47:48 +00:00
Tom Schuster
a5780f4f42 Bug 1589895 - Add default JavaScript MIME type for .mjs used for ES modules. r=bzbarsky
Seems like this is the recommended MIME type for the JavaScript module system:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules#Basic_example_structure

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

--HG--
extra : moz-landing-system : lando
2019-11-13 19:12:02 +00:00
Victor Porof
7ef335726f Bug 1594995 - Part 5: Use a safe-mode database for test_cert_storage_preexisting.js, r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D52320

--HG--
extra : moz-landing-system : lando
2019-11-13 18:52:37 +00:00
Victor Porof
66c8eaefc1 Bug 1594995 - Part 4: Update cert_storage to use RKV in safe mode, r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D52319

--HG--
extra : moz-landing-system : lando
2019-11-13 11:53:03 +00:00
Victor Porof
e6fd5300ec Bug 1594995 - Part 3: Vendor newly added rust dependencies, r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D52318

--HG--
rename : third_party/rust/rkv/Cargo.lock => third_party/rust/rkv-0.10.2/Cargo.lock
extra : moz-landing-system : lando
2019-11-13 11:52:46 +00:00
Victor Porof
6e245fe362 Bug 1594995 - Part 2: Update RKV dependency to our safe-mode feature branch, r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D52317

--HG--
extra : moz-landing-system : lando
2019-11-13 11:52:28 +00:00
Victor Porof
3f5b086638 Bug 1594995 - Part 1: Update neqo dependencies to specify a rev instead of a version, and run ./mach vendor rust on a clean central tip, r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D52316

--HG--
extra : moz-landing-system : lando
2019-11-13 11:52:15 +00:00
Matthew Noorenberghe
a3e4e2346e Bug 1590622 - Prefer a domain match over a scheme match when deduping logins. r=sfoster
On an https: page it's more important to use the login was from the same hostPort than to use an https: login from a different subdomain.

This fixes autocomplete to show "From this website" and also fixes autofill in the event that there was a duplicate username+password combo saved on an different https: subdomain while previously saving that combo on the http: version of the same hostPort.

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

--HG--
extra : moz-landing-system : lando
2019-11-13 18:53:33 +00:00
Emilio Cobos Álvarez
019f75cee4 Bug 1595285 - Do not track TRANSITION_EMBED visits for link-coloring purposes. r=mak
Other browsers don't, plus it blocks work I want to do to query multiple links
at the same time.

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

--HG--
extra : moz-landing-system : lando
2019-11-13 16:36:09 +00:00
Gregory Mierzwinski
0db1b2484f Bug 1593942 - Provide browser name and version being tested in perfherder data. r=perftest-reviewers,stephendonner
This patch makes use of the new application section in the perfherder data to provide the browser name and version being tested.

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

--HG--
extra : moz-landing-system : lando
2019-11-11 18:43:58 +00:00
Michael Kaply
8b473b9f57 Bug 1497909 - Properly remove preview when pdf is disabled. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D14777

--HG--
extra : moz-landing-system : lando
2019-11-13 17:16:41 +00:00
Gijs Kruitbosch
e618913512 Bug 1558408 - fix fixup of host port URLs with querystrings or refs without forward slashes, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D52847

--HG--
extra : moz-landing-system : lando
2019-11-13 18:07:40 +00:00
Junior Hsu
35cf6bc398 Bug 1576153 - extend timeout to tolerate longer latency from socket layer, r=annevk
Extend timeout to ease intermittent at this moment. File Bug 1595848 for follow-up

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

--HG--
extra : moz-landing-system : lando
2019-11-13 12:58:09 +00:00
Luca Greco
fe059baf92 Bug 1596133 - AbuseReporter.queryAMOAddonDetails should normalize type 'statictheme' into type 'theme'. r=mixedpuppy
The addon details returned from the AMO API endpoint for webextensions static themes is type "statictheme",
but for an installed WebExtension static theme we expect addon.type to be "theme", and so
AbuseReporter.queryAMOAddonDetails should normalize the type received to ensure it matches what
Firefox expects.

This fix is needed to ensure that reporting a "not installed" theme from AMO works as expected
(see https://github.com/mozilla/addons-frontend/issues/8762#issuecomment-553430081).

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

--HG--
extra : moz-landing-system : lando
2019-11-13 18:02:22 +00:00
Harry Twyford
eb45d1ab90 Bug 1593662 - Don't animate results. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D52643

--HG--
extra : moz-landing-system : lando
2019-11-13 17:57:43 +00:00
J.C. Jones
cac340f108 Bug 1410403 - Fixup, mark as fixed relevant WebCrypto Web Platform Tests UPGRADE_NSS_RELEASE CLOSED TREE
https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=success%2Ctestfailed%2Cbusted%2Cexception%2Crunnable&classifiedState=unclassified&searchStr=android%2C7.0%2Cx86-64%2Cdebug%2Cweb%2Cplatform%2Ctests%2Ctest-android-em-7.0-x86_64%2Fdebug-geckoview-web-platform-tests-e10s-2%2Cw%28wpt2%29&fromchange=72df434c8422366872d4050e9d9ba3e3121a4fbe&selectedJob=276033065

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

--HG--
extra : histedit_source : 3bb164d627397c692f6bcbd152075f2479c24c5c
2019-11-13 19:48:32 +02:00
Gurzau Raul
c169dfc73c Backed out changeset 97a383ec65b7 (bug 1591501) for failures at browser_discovery.js on a CLOSED TREE. 2019-11-13 21:39:22 +02:00
Gurzau Raul
1e2ebb9f42 Backed out 2 changesets (bug 1590167, bug 1575008) for lints failures at mapped_hyph.h on a CLOSED TREE.
Backed out changeset 4d16c3d62cfc (bug 1575008)
Backed out changeset 97b8c3759aae (bug 1590167)
2019-11-13 21:38:23 +02:00
Drew Willcoxon
c7fdbd70eb Bug 1595641 - Add a focus option to browser.urlbar.search and add a browser.urlbar.focus function. r=mak,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D52612

--HG--
extra : moz-landing-system : lando
2019-11-13 14:36:56 +00:00
Mark Striemer
bbfe79b8dd Bug 1591501 - Click category to go back to list in about:addons r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D51317

--HG--
extra : moz-landing-system : lando
2019-11-13 15:54:28 +00:00
Mark Banner
2949c4ab05 Bug 1593058 - Remove support for xbl in ESLint since xbl is almost removed now. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D52852

--HG--
extra : moz-landing-system : lando
2019-11-13 15:53:55 +00:00
Olli Pettay
0445a7c627 Bug 1595900 - CanonicalBrowsingContext::GetSessionHistory should be able to deal with in-process case too, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D52738

--HG--
extra : moz-landing-system : lando
2019-11-13 15:21:25 +00:00
Ionut Goldan
a7cd6b4895 Bug 1594330 - Fix GeckoProfile callback action r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D52826

--HG--
extra : moz-landing-system : lando
2019-11-13 15:57:27 +00:00
Gijs Kruitbosch
6d218c3a3a Bug 1594663 - ensure first plural form for blocked tracker count in English includes a plural form reference so its contents provide value when used as a fallback in other locales, r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D52855

--HG--
extra : moz-landing-system : lando
2019-11-13 17:09:47 +00:00
Narcis Beleuzu
a30e00cd9c Backed out changeset b73d74bcafda (bug 1595285) for multiple bc failures. CLOSED TREE 2019-11-13 18:31:41 +02:00
Narcis Beleuzu
f0fe67f321 Backed out changeset 70738ac7ba9b (bug 1595482) for xpcshell failures on test_responsiveness.js . CLOSED TREE 2019-11-13 18:28:31 +02:00
Brindusan Cristian
161ad8dbc8 Backed out changeset ffc59a6dfbd5 (bug 1595285) for bc failures at browser_editBookmark_tags_liveUpdate.js. CLOSED TREE 2019-11-13 18:03:55 +02:00
J.C. Jones
529346ab71 Bug 1410403 - Use id-ecPublicKey for ECDH key export from WebCrypto r=keeler
id-ecPublicKey is defined as the OID {iso(1) member-body(2) us(840)
ansi-x962(10045) keyType(2) ecPublicKey(1)}, and is the NSS default, so
remove the override code from CryptoKey.cpp that forced it to the legacy
id-ecDH code.

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

--HG--
extra : moz-landing-system : lando
2019-11-11 21:25:40 +00:00
J.C. Jones
9c614370ec Bug 1564509 - Remove DH from WebCrypto r=kjacobs,bzbarsky,keeler
Bug 1034856 added support for DH algorithms to WebCrypto, however the final
specification did not choose to include them, making Firefox the only browser
with support.

Bug 1539578 added telemetry to show usage, and it is extremely low (not
appearing on the graphs), which could be expected as Firefox is the only
supporting browser.

Since DH is an ongoing maintenance burden -- and overall cryptanalysis of DH
is progressing -- let's remove it.

Notice to unship went to dev-platform on 29 March 2019 with no objections. [0]

[0] https://groups.google.com/d/msg/mozilla.dev.platform/Ut3-eQmUdWg/O9w1et1aBgAJ

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

--HG--
extra : moz-landing-system : lando
2019-11-11 21:17:47 +00:00
Gian-Carlo Pascutto
b5c1d7951a Bug 1539133 - Explicitly say not being able to mmap is likely OOM. r=decoder,glandium
Differential Revision: https://phabricator.services.mozilla.com/D43929

--HG--
extra : moz-landing-system : lando
2019-11-12 00:04:46 +00:00
Bob Clary
7e08e9cc75 Bug 1595279 - disable windows10-aarch64 on mozilla-central and restrict try to --full, r=jmaher.
Differential Revision: https://phabricator.services.mozilla.com/D52838

--HG--
extra : moz-landing-system : lando
2019-11-13 14:55:45 +00:00
Gregory Mierzwinski
ef58a4bbbf Bug 1596102 - Disable vismet on browsertime. r=perftest-reviewers,rwood
This bug disables vismet for browsertime until the png/artifact issues are resolved.

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

--HG--
extra : moz-landing-system : lando
2019-11-13 15:36:20 +00:00
Mark Striemer
2f84b4696f Bug 1594196 - Fix badge positioning in about:addons r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D51924

--HG--
extra : moz-landing-system : lando
2019-11-13 15:31:28 +00:00
Brindusan Cristian
538d00b082 Backed out changeset 09a0252278f8 (bug 1594004) for bc failures at browser_about_cache.js. CLOSED TREE 2019-11-13 17:02:20 +02:00
Ryan Hunt
46927f72b2 Bug 1593736 - Rename ArgType_Double to ArgType_Float64. r=lth
Also shuffle constants and add a comment for clarity.

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

--HG--
extra : moz-landing-system : lando
2019-11-13 14:43:56 +00:00
Ryan Hunt
654182d675 Bug 1593736 - Give ArgType_General pointer semantics in Wasm builtin code. r=lth
After examining bug 1591047, I believe we should have added an Int32 type instead of changing the semantics of ArgType_General to be Int32. The reason is that the existing code assumes ArgType_General is pointer sized, and changing this is scary for all the existing uses. (e.g. simulator, MacroAssembler::appendSignatureType)

* Adds ArgType_Int32
* Changes ArgType_General -> ArgType_Int32, ArgType_Pointer -> ArgType_General for ABIFunctionTypes introduced in bug 1591047 (which are only used for Wasm instance calls).
* ToMirType(ArgType_General) -> MIRType::Pointer (should only affect wasm)
* ToMirType(ArgType_Int32) -> MIRType::Int32 (should only affect wasm)

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

--HG--
extra : moz-landing-system : lando
2019-11-13 14:43:43 +00:00
Emilio Cobos Álvarez
eafae9973a Bug 1595285 - Do not track TRANSITION_EMBED visits for link-coloring purposes. r=mak
Other browsers don't, plus it blocks work I want to do to query multiple links
at the same time.

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

--HG--
extra : moz-landing-system : lando
2019-11-12 05:06:36 +00:00
Emilio Cobos Álvarez
2ab66736e7 Bug 1595285 - Fix TestUtils.waitForCondition to not use setInterval. r=mak
The test that is timing out with these patches does something relatively simple:

  await TestUtils.waitForCondition(async function() {
    let color = await ContentTask.spawn(browserWindow, async function() {
      /* Do stuff... */
    });
    return color == something;
  });

  await closeWindow(browserWindow);

Turns out that this can intermittently leak the window due to waitForCondition
using setInterval. setInterval can schedule multiple tasks while awaiting for
the inner ContentTask.

What this means, is that we may still have a ContentTask awaiting us when we get
to close the window. Closing the window makes the ContentTask not finish, and
thus we leak a promise keeping alive the window in gPromises:

  https://searchfox.org/mozilla-central/rev/6566d92dd46417a2f57e75c515135ebe84c9cef5/testing/mochitest/BrowserTestUtils/ContentTask.jsm#24

Which means that we keep alive the window all the way until shutdown.

Fix it by ensuring that we only run one task at a time.

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

--HG--
extra : moz-landing-system : lando
2019-11-13 14:39:51 +00:00
Michael Froman
87e611dd7a Bug 1595657 - Add MediaQueue::Push that takes an already_AddRefed. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D52622

--HG--
extra : moz-landing-system : lando
2019-11-12 10:58:39 +00:00
Randell Jesup
f542396ff9 Bug 1595482: change "responsiveness" field to "eventDelay" in profiler r=canaltinova
We want the profiler UI to be able to know if the data can be used for
reconstructing the event delays, since it measures something different
from the old 16ms event injection.

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

--HG--
extra : moz-landing-system : lando
2019-11-13 14:21:52 +00:00
Andrew Halberstadt
0088767f88 Bug 1593820 - [try] Create a ./mach try --pernosco flag to opt-in to the Pernosco debugging service, r=jmaher
This gives developers the ability to request analysis from the Pernosco
service. When this flag is set, Pernosco will examine the push for relevant
failures, analyze them and then send a link to the generated report.

Previously developers needed to request access to a whitelist whereupon all
their try pushes were analyzed. Developers currently on this whitelist who
would like to opt-out can run |mach try --no-persnosco| to do so.

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

--HG--
extra : moz-landing-system : lando
2019-11-13 14:23:55 +00:00
Andreas Pehrson
5ae75b2bc1 Bug 1577505 - Don't assume media element's canplay task runs immediately. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D52808

--HG--
extra : moz-landing-system : lando
2019-11-13 14:02:58 +00:00
Julian Descottes
d80bec141d Bug 1543156 - Wait for the addon manager to start in DevTools addons xpcshell tests r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D52535

--HG--
extra : moz-landing-system : lando
2019-11-13 12:29:08 +00:00
Paul Adenot
f7f11a5637 Bug 1595819 - Limit the audio output channel count maximum reported value if RFP is enabled. r=tjr
Stereo output is what the immense majority of mobile and desktop users have.

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

--HG--
extra : moz-landing-system : lando
2019-11-13 12:24:11 +00:00
Razvan Caliman
f797900dfd Bug 1593944 - Test to ensure inactive CSS state does not linger when dependencies change. r=miker,pbro
Depends on D52560

- Adds a test to check that the steps for [Bug 1593944](https://bugzilla.mozilla.org/show_bug.cgi?id=1593944) no longer cause an issue.
- Introduces a new `updateDeclaration()` helper in `devtools/client/inspector/rules/test/shared.js` to simplify updating property names and values in one step.
- Updates `toggleDeclaration()` to remove unused `inspector` parameter; updates existing tests.

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

--HG--
extra : moz-landing-system : lando
2019-11-13 13:56:50 +00:00
Razvan Caliman
a07852b3fc Bug 1593944 - Emit event with StyleRuleActor as argument when its underlying CSS rule is updated. r=pbro
The fix for [Bug 1557689](https://bugzilla.mozilla.org/show_bug.cgi?id=1557689) created a situation in the [`Rule.onDeclarationsChanged()`](https://searchfox.org/mozilla-central/rev/6566d92dd46417a2f57e75c515135ebe84c9cef5/devtools/client/inspector/rules/models/rule.js#869-887) whereby the `isUsed` state of  client-side declarations was made to point to a fixed `isUsed` state received from the server, thus losing sync with the latest state of the `StyleRuleActor`. Until another "declarations-update" event was fired from the `StyleRuleActor`, the rule's declarations' `isUsed` flag would point to the state with which they were overwritten on the last event handler call.

As a reminder, the root cause of [Bug 1557689](https://bugzilla.mozilla.org/show_bug.cgi?id=1557689) was the inability force a "refresh" of the `StyleRuleFront` so it picked-up the latest `isUsed` state for its declarations when they depend on other declarations from other rules (ex: `justify-content: center` depends on `display:flex`). Therefore, the "declarations-updated" event was introduced with a payload of changed declarations to overwrite the client-side ones. It was convoluted, but it worked.

However, while investigating the cause of this newer bug [Bug 1593944](https://bugzilla.mozilla.org/show_bug.cgi?id=1593944), I discovered an unusual but perhaps expected side-effect: when dispatching an event over the protocol with a payload of the `StyleRuleActor`, its corresponding `StyleRuleFront` on the client would "refresh" automatically (meaning that, looking up state on the previous front reference would point to the latest state from the actor) . The client doesn't even need to use this payload to replace its previous front reference. Surprisingly, the client doesn't even need to explicitly listen to the event which carries the `StyleRuleActor`/`StyleRuleFront` reference. So long as a previous reference of the front exists on the client, it will point to the updated state of the actor. I haven't been able to identify whether this is a known and expected behavior, so I'm pinging @jdescottes and @ochameau to weigh in on the validity of these findings.

Relying on this behavior, the fix for both [Bug 1557689](https://bugzilla.mozilla.org/show_bug.cgi?id=1557689) and [Bug 1557689](https://bugzilla.mozilla.org/show_bug.cgi?id=1557689) involves simply emitting an event, "rule-updated", with the `StyleRuleActor` instance as payload whenever its internal state changes meaningfully so the corresponding front updates. The client will pick-up the latest `isUsed` state of declarations from its reference to the `StyleRuleFront`.


---

Another way to check this behavior and hypothesis is to do the following:
- In [`StyleRuleActor.setRuleText()`](https://searchfox.org/mozilla-central/rev/6566d92dd46417a2f57e75c515135ebe84c9cef5/devtools/server/actors/styles.js#1704) replace `return this` with `return null`; (this will no longer return the `StyleRuleActor` over the protocol; it's not explicitly used on the client anyway).
- In the spec, replace the [`setRuleText()`](https://searchfox.org/mozilla-central/rev/6566d92dd46417a2f57e75c515135ebe84c9cef5/devtools/shared/specs/styles.js#222) return value  with `RetVal("nullable:domstylerule")` so the protocol doesn't throw an error when getting the `null` from the actor.
- Make a build.
- Then, open the Inspector -> Rules View and change the value of a valid declaration, say: `display: block`, to something invalid, like `display: booo`. Notice that the declaration is no longer marked invalid with a warning sign. That's because the declaration's [`isValid`](https://searchfox.org/mozilla-central/rev/6566d92dd46417a2f57e75c515135ebe84c9cef5/devtools/server/actors/styles.js#1447) flag is set on the actor but it no longer syncs with the client which uses the corresponding front to render the declaration after the change. Not returning the `StyleRuleActor` over the protocol breaks this sync actor-front sync.

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

--HG--
extra : moz-landing-system : lando
2019-11-13 14:04:37 +00:00