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

702286 Коммитов

Автор SHA1 Сообщение Дата
Ted Campbell b5509f347f Bug 1631258 - Cleanup includes and type decls for Stencil.h/BCEScriptStencil.h r=arai
Depends on D71470

Differential Revision: https://phabricator.services.mozilla.com/D71471
2020-04-20 02:10:32 +00:00
Ted Campbell d5f7239c4b Bug 1631258 - Cleanup SharedStencil.h header. r=arai
Fix the set of includes to be more precise, and remove references to
BaseScript type.

Depends on D71469

Differential Revision: https://phabricator.services.mozilla.com/D71470
2020-04-20 02:10:30 +00:00
Ted Campbell e9621fc76b Bug 1631258 - Reduce ImmutableScriptData dependencies in SharedStencil.h. r=arai
Cleanup the visibility of members and methods to better reflect what is and
isn't internal details. Move the XDR signature to exist only within the
JSScript.cpp file.

Depends on D71467

Differential Revision: https://phabricator.services.mozilla.com/D71469
2020-04-20 02:10:28 +00:00
Ted Campbell fd6587cdb3 Bug 1631258 - Move Immutable/MutableScriptDataEnum to StencilEnums.h. r=arai
Move the flag definitions to the enums header, but leave the wrapper types in
SharedStencil.h since they are less universal.

Differential Revision: https://phabricator.services.mozilla.com/D71467
2020-04-19 15:55:43 +00:00
Ted Campbell 1d323a8a9c Bug 1631258 - Rename TryNoteKind.h to StencilEnums.h. r=arai
Subsequent patches will move more of the enums from SharedStencil.h to this
file.

Differential Revision: https://phabricator.services.mozilla.com/D71466
2020-04-19 15:55:41 +00:00
Daniel Varga 0d3538392f Backed out 3 changesets (bug 1629490) fo causing reftest failures at layout/reftests/image/img-invalidation-local-transform-1.html
Backed out changeset de2ced51599d (bug 1629490)
Backed out changeset f997fe14a6a5 (bug 1629490)
Backed out changeset ba69034f5207 (bug 1629490)
2020-04-20 06:03:35 +03:00
Makoto Kato fa2567e7c8 Bug 1630645 - Add more inputmode tests for widget. r=masayuki
`inputmode` DOM API are in WPT, but I should add more tests for widget.

Differential Revision: https://phabricator.services.mozilla.com/D71248
2020-04-17 02:35:56 +00:00
Timothy Nikkel d265f352ce Bug 1629490. Add a crashtest and a mochitest. r=aosmond
The mochitest caught the issue of the second patch here so there is value in both it seems.

Differential Revision: https://phabricator.services.mozilla.com/D71484
2020-04-19 23:02:34 +00:00
Timothy Nikkel c176e9f9c4 Bug 1629490. In RasterImage invalidate if we get a non-empty dirty rect, don't ignore it if mFrameAdvanced is false. r=aosmond
We invalidate for more things than just frames advancing (if we are redecoding and still showing the same frame as before discarding for example). So there is no reason that the dirty rect and a frame being advanced should be linked.

Differential Revision: https://phabricator.services.mozilla.com/D71483
2020-04-19 23:01:33 +00:00
Timothy Nikkel a33a3202e6 Bug 1629490. The composited frame is now invalid for animated images that have finished. r=aosmond
This is actually a one line change. The rest is just removing unneeded parameters.

The composited frame used to be valid for animations that had finished because we saved a separate composited frame, and since the animation had finished it was the final frame, so it had to be valid to display.

Now we don't have a separate composited frame so we only have a valid frame to display if we've decoded up to the current frame. For non-finished animations RequestRefresh will clear mCompositedFrameInvalid, but for finished animations we have to clear it, the easiest place is when we know we are fully decoded.

This problem caused img.decode to never fulfill or reject because we never sent out any frame update notifications because mCompositedFrameInvalid was always false because mAnimationFinished was always true. So we didn't get the invalidation that flipping mCompositedFrameInvalid to false when a full decode finished would cause.

Differential Revision: https://phabricator.services.mozilla.com/D70838
2020-04-19 23:01:21 +00:00
Logan Smyth 3f0df745e5 Bug 1627712 - Consistently allow breakpoints in sources evaluated multiple times. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D70480
2020-04-15 20:11:32 +00:00
Gijs Kruitbosch 89b1bf2b4c Bug 1631117 - remove compartment's allowCPOWs flag, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D71415
2020-04-19 14:24:07 +00:00
Markus Stange ddece4ba4f Bug 1630895 - Infer categories for Java frames. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D71383
2020-04-17 23:30:10 +00:00
Tom Schuster 31c7a3bec0 Bug 1631133 - MToNumberInt32 does not directly map to CacheIR's GuardToInt32Index. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D71419
2020-04-18 17:28:42 +00:00
Jan de Mooij 976500d7ac Bug 1629791 part 13 - Auto-generate boilerplate for more ops. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D71322
2020-04-19 13:25:01 +00:00
Jan de Mooij 9b13ee4cec Bug 1629791 part 12 - Auto-generate boilerplate for more ops. r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D71320
2020-04-19 13:25:03 +00:00
Jan de Mooij 6be0e27b1e Bug 1629791 part 11 - Auto-generate boilerplate for more ops. r=iain
RawWordField had to be split in RawWordField (writer takes uintptr_t) and
RawPointerField (writer takes `const void*`).

Differential Revision: https://phabricator.services.mozilla.com/D71309
2020-04-19 14:59:18 +00:00
Cosmin Sabou d270e895dc Bug 1631256 - Delete expected failure for win32 devedition window.open test. r=arai
DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D71465
2020-04-19 14:30:56 +00:00
Bogdan Tara d85d017286 Backed out 3 changesets (bug 1629791) for bustages complaining about CacheIR.h CLOSED TREE
Backed out changeset 0bede83bebb6 (bug 1629791)
Backed out changeset ef3ad9976f50 (bug 1629791)
Backed out changeset 31756f82b699 (bug 1629791)
2020-04-19 16:21:01 +03:00
Jan de Mooij c33ca7a1ac Bug 1629791 part 13 - Auto-generate boilerplate for more ops. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D71322
2020-04-17 15:07:34 +00:00
Jan de Mooij d24b36ece1 Bug 1629791 part 12 - Auto-generate boilerplate for more ops. r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D71320
2020-04-18 00:23:47 +00:00
Jan de Mooij da23affa12 Bug 1629791 part 11 - Auto-generate boilerplate for more ops. r=iain
RawWordField had to be split in RawWordField (writer takes uintptr_t) and
RawPointerField (writer takes `const void*`).

Differential Revision: https://phabricator.services.mozilla.com/D71309
2020-04-18 07:23:17 +00:00
Anthony Ramine cf2f0bb18e Bug 1631232 - Always upgrade existing weak child references in the rule tree. r=emilio
Just because we didn't find a child when read-locking a node children list
doesn't mean it still won't exist while we wait to upgrade the read lock
into a write lock to create the child.

This cherry-picks https://github.com/servo/servo/pull/26220

MANUAL PUSH: So that I can preserve reviewer information.
2020-04-19 12:25:55 +02:00
MahakBansal a1891f468b Bug 1574991 - Remove "In Browser Element" from about:cache.r=baku
Differential Revision: https://phabricator.services.mozilla.com/D70898
2020-04-14 16:45:22 +00:00
aarushivij d67f3a91f3 Bug 1587870 - [Protections Panel] Add level of protection next to 'Protection Settings' r=johannh,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D70521
2020-04-19 09:27:39 +00:00
aarushivij a4d62e09a4 Bug 1615938 - Thin font-weight on 'Created/last modified/last uesd' area. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D71290
2020-04-19 06:10:53 +00:00
Karl Tomlinson 2aa7834c10 Bug 1628842 give up on reporting off-main-thread exceptions when global creation fails r=baku
and there is no fallback global available.

I assume there is little value in attempting to create another global if a
previous attempt failed.

Differential Revision: https://phabricator.services.mozilla.com/D71152
2020-04-17 04:10:43 +00:00
Karl Tomlinson b73b39f7a4 Bug 1628842 reject Worklet#addModule() promise with DOM UnknownError on failure to create global r=baku
The UnknownError is chosen based on
https://heycam.github.io/webidl/#unknownerror and suspected OOM.

Differential Revision: https://phabricator.services.mozilla.com/D71256
2020-04-17 06:02:16 +00:00
Botond Ballo 0cc43ec735 Bug 1629732 - Fix non-unified build errors in layout/style. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D71454
2020-04-19 00:59:06 +00:00
jayati 1e9e57ecb6 Bug 1599729 - Remove security.identityblock.show_extended_validation pref and related UI code. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D67874
2020-04-18 22:45:24 +00:00
Edgar Chen 1835c415b7 Bug 1628186 - Mouse event on <select> elements should be composed; r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D71073
2020-04-17 16:25:34 +00:00
Andrea Marchesini 816c2719d8 Bug 1630947 - Update Reporting API - part 2 - tests for Workers, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D71318
2020-04-18 12:26:15 +00:00
Andrea Marchesini 3a6775ecf7 Bug 1630947 - Update Reporting API - part 1 - ReportingObserver in workers, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D71317
2020-04-18 12:25:57 +00:00
Neil Deakin c7e68f61b7 Bug 1614750, convert translation bar to use JSWindowActor, r=florian
Differential Revision: https://phabricator.services.mozilla.com/D67535
2020-04-18 12:15:10 +00:00
Neil Deakin 286aa3c732 Bug 1614750, support actors that can be enabled and disabled using a pref generally when registering them, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D67533
2020-04-18 12:14:38 +00:00
Andrei Oprea d88ff7e8b9 Bug 1616280 - Use shadow DOM to hide Remote L10n translations for from local translations r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D63895
2020-04-18 11:24:44 +00:00
Sylvestre Ledru af4a04d2c5 no bug - static analysis doc: Fix a trivial rst typo in the doc
Differential Revision: https://phabricator.services.mozilla.com/D71449
2020-04-18 10:55:15 +00:00
Marco Bonardo 5a7c296d45 Bug 1630996 - Adjust urlbar tokenizer mail regexp. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D71345
2020-04-17 19:00:25 +00:00
BWbwchen 07a153dd23 Bug 1629440 - Replace 1 by true in VPXDecoder.cpp. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D70681
2020-04-14 07:41:05 +00:00
Jon Coppeard f101de90f5 Bug 1630961 - Assert background sweeping has finished in incremental collections where possible r=sfink
The reason this didn't pass before is that the sweep task may be started for every group of zones, so a single instance finishing doesn't mean that we've finished sweeping all zones, and there may be more arenas to sweep in this case.

Depends on D71330

Differential Revision: https://phabricator.services.mozilla.com/D71332
2020-04-17 17:05:47 +00:00
Jon Coppeard 13bbf62e2d Bug 1630961 - Don't free LIFO data in background sweep task as this already happens in the background free task r=sfink
I think I meant to do this when I added the separate GCRuntime::freeTask, but as it stands both this and sweepTask try and free the LIFO data. This is unnecessary.

Depends on D71329

Differential Revision: https://phabricator.services.mozilla.com/D71330
2020-04-17 17:31:19 +00:00
Jon Coppeard b1f2f8e77a Bug 1630961 - Remove unused heurisitic to delaying GCs that may cause resets r=sfink
A while back we added a heuristic to delay a GC if it would cause a reset (bug 1367455), but it was turned off after it caused a performance regression and hasn't been reenabled since.

Telemetry shows that that only 0.2% of GCs get reset anyway so we should probably just remove this.

Depends on D71328

Differential Revision: https://phabricator.services.mozilla.com/D71329
2020-04-17 17:41:53 +00:00
Jon Coppeard 945c8c9758 Bug 1630961 - Remove INCREMENTAL_TOO_SLOW GC trigger as this case is also handled elsewhere r=sfink
This is checkd in the allocator on every allocation, but we also check this when we allocate a new arena in maybeAllocTriggerZoneGC. It's possible that this one will hit first if background sweeping reduces the heap threshold after the last arena was allocated, but this doesn't really make any difference.

Differential Revision: https://phabricator.services.mozilla.com/D71328
2020-04-17 17:32:00 +00:00
Tarek Ziadé 11b953d576 Bug 1630972 - [mozperftest] Put the cycles inside the browser layer r=sparky
Cycles belong to the browser layer

Differential Revision: https://phabricator.services.mozilla.com/D71335
2020-04-17 15:08:25 +00:00
Tarek Ziadé df5581830d Bug 1630586 - [mozperftest] refactor arguments r=sparky
Refactor out arguments

Differential Revision: https://phabricator.services.mozilla.com/D71168
2020-04-17 14:26:45 +00:00
Jan de Mooij 4b7c471785 Bug 1629791 part 10 - Auto-generate boilerplate for more ops. r=tcampbell
The PropertyNameField type behaves just like StringField, except the generated writer
method takes a PropertyName* instead of JSString* for better type safety.

Depends on D71283

Differential Revision: https://phabricator.services.mozilla.com/D71284
2020-04-17 19:27:37 +00:00
Jan de Mooij d92adf4cbf Bug 1629791 part 9 - Auto-generate boilerplate for more ops. r=evilpie
Depends on D71282

Differential Revision: https://phabricator.services.mozilla.com/D71283
2020-04-17 10:01:14 +00:00
Jan de Mooij bfd89ca76e Bug 1629791 part 8 - Auto-generate boilerplate for more ops. r=iain
Depends on D71281

Differential Revision: https://phabricator.services.mozilla.com/D71282
2020-04-17 14:54:26 +00:00
Jan de Mooij b70f907086 Bug 1629791 part 7 - Auto-generate boilerplate for more ops. r=tcampbell
Depends on D71280

Differential Revision: https://phabricator.services.mozilla.com/D71281
2020-04-17 19:13:34 +00:00
Jan de Mooij e63590e32b Bug 1629791 part 6 - Auto-generate boilerplate for more ops. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D71280
2020-04-17 14:46:52 +00:00