Commits (16)
-
dalecurtis authored
DCHECKs showed the front and back timestamps drifting by a few microseconds, likely due to repeated accumulation errors (since we're doing double*int64 -> repeated addition). I also cleaned up some code which was only used for tests to avoid accumulating unnused values in production. No new tests since code gen will affect the accumulation errors. BUG=481640 TEST=existing tests all pass. Review URL: https://codereview.chromium.org/1233963002 Change-Id: Ib7e2ac0d036fc61171c0f6ca8ecc5ad827352d70 Cr-Commit-Position: refs/heads/master@{#338726} Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
dfb14a33 -
Kai Koehne authored
The GL binding DCHECK has been useful for making sure drivers are supplying the correct functions, but oftentimes we can work around missing functions so we do not want to DCHECK by default all the time. This CL moves the binding DCHECK validation behind a flag for generate_bindings.py (--validate-bindings). Task-number: QTBUG-49400 Change-Id: I27da763c682d05f29be8d168d33ee17af3412fd0 Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com>
50d9885b -
Allan Sandfeld Jensen authored
The non-at __NR_unlink syscall like non-at access and open syscalls is not defined on AArch64 linux. Change-Id: I31dfebc1e6f9898a4c4926a99579f868e03a65a1 Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com>
30b059a8 -
Allan Sandfeld Jensen authored
Arm64 assembly must like arm assembly be compiled by gcc. Change-Id: I7a77f79e3359ead6d643519ded0b2a08ffc867ae Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com>
7ef85bb5 -
Allan Sandfeld Jensen authored
Fix possible map::end() dereference in AppCacheUpdateJob triggered by a compromised renderer. BUG=551044 Review URL: https://codereview.chromium.org/1418783005 Change-Id: Ie3f90de5a5d6e85767a49ac7d8b8f05a8c6335f8 Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com>
65863153 -
Allan Sandfeld Jensen authored
AppCache: Use WeakPtr<> to fix a potential uaf bug. BUG=554908 Review URL: https://codereview.chromium.org/1441683004 Change-Id: Ic5eb64a34a7e0d373428789b8571e6f3a2fc96e9 Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com>
8f2a12d6 -
Allan Sandfeld Jensen authored
AppCache: fix a browser crashing bug that can happen during updates. BUG=558589 Review URL: https://codereview.chromium.org/1463463003 Change-Id: I3388d5be9cf2286e9ca4b93fd2077072799ab7da Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com>
04187ac0 -
Allan Sandfeld Jensen authored
Block javascript: document navigations during page dismissal events. This basically reflects the logic from FrameLoader::startLoad. Before this patch, javascript: document navigations could be performed during page dismissal events. This could be problematic, especially that dismissal events prevent loaders from being stopped or detached. This patch adds a bail-out condition to FrameLoader::replaceDocumentWhileExecutingJavaScriptURL. BUG=556724 Review URL: https://codereview.chromium.org/1451123002 Change-Id: Ifcb3dfd1d962c3338a3703def3b84432b58cfa5b Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com>
ead7aa70 -
Allan Sandfeld Jensen authored
Version 4.7.80.20 (cherry-pick) Merged c227dd5734efa41e4973c834c910bb684a9e1998 Refactor array construction for map, filter BUG=chromium:544991 LOG=N TBR=littledan@chromium.org Review URL: https://codereview.chromium.org/1431073002 . Change-Id: I496e926de9a10b4bedc658dd6d62d47c7e1620ed Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com>
45c49480 -
Allan Sandfeld Jensen authored
Version 4.7.80.23 (cherry-pick) Merged 6df9a1db8c85ab63dee63879456b6027df53fabc Merged a7e50a5e06b2c7edd7915df774769c9add42be27 Merged ee9020ddd90900ecb29abc4f5e9e78151f630906 [JSON stringifier] Correctly load array elements. [JSON stringifier] Reintroduce fast path with bail out to slow path. Serializer: attach alignment to deferred objects. BUG=chromium:523919,chromium:554946,chromium:554946 LOG=N TBR=hablich@chromium.org Review URL: https://codereview.chromium.org/1458813002 . Change-Id: Ie83c8947e4b6a86861af18d3208a155dd87b42c3 Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com>
e6d125be -
mdempsky authored
Verified that both of the fixes mentioned in README.chromium were fixed in upstream. Upstream used a slightly different approach to detecting whether "prefix_size + expanded_size + 1" overflows in pngrutil.c, but their solution looks okay too. TBR=darin@chromium.org BUG=532758 Review URL: https://codereview.chromium.org/1372313004 Change-Id: I719050787bb1b4ce76bc09799c6b9973d379c0db Cr-Commit-Position: refs/heads/master@{#351445} Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
05c50913 -
mdempsky authored
TBR=darin@chromium.org BUG=560291 Review URL: https://codereview.chromium.org/1467263003 Change-Id: Ib657b0ea8f9ed7fbe0d285872ee15a717736acab Cr-Commit-Position: refs/heads/master@{#362298} Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
19305590 -
Allan Sandfeld Jensen authored
avcodec/vp8: Do not use num_coeff_partitions in thread/buffer setup The variable is not a constant and can lead to race conditions Fixes: repro.webm (not reproducable with FFmpeg alone) Change-Id: I7c06ed12eed7342235cca11bfe144d58c04dbc63 Found-by:
Dale Curtis <dalecurtis@google.com> Tested-by:
Dale Curtis <dalecurtis@google.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc> Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com>
305688ea -
Allan Sandfeld Jensen authored
CSP source *.x.y should not match host x.y This fixes a minor CSP bug where a source in a source list with a wildcard was matching more liberally than it should have. It was matching a source of the form *.x.y to host x.y when, in fact, it should only be matching subdomains. BUG=534542 TBR=mkwst@chromium.org Review URL: https://codereview.chromium.org/1367933003 Change-Id: I23d40470297011fa485dcb29c809ebdca8ef929c Cr-Commit-Position: refs/heads/master@{#350629} Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com>
1824c706 -
Allan Sandfeld Jensen authored
Don't allow navigations in Document::detach. When navigating to a javascript: URL, Blink detaches the original Document. This process may detach plugin elements, causing a nested message loop to run. Document::detach() creates a ScriptForbiddenScope to prevent script from breaking invariants. Since plugins were detached synchronously, any script trying to execute in the nested message loop would be blocked. However, the fix for https://crbug.com/524120 defers plugin updates to happen outside the ScriptForbiddenScope. Thus, it is now possible to attach a *new* Document with a synchronous navigation while the old Document is being detached. BUG=546545 Review URL: https://codereview.chromium.org/1444183003 Change-Id: I05e50e1b343b7fdc38e332aa17b561534531de47 Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com>
24622264 -
Allan Sandfeld Jensen authored
Fix an optimisation in ContainerNode::notifyNodeInsertedInternal TBR=ochang@chromium.org BUG=544020 Review URL: https://codereview.chromium.org/1420653003 Change-Id: I397ca8da475d34fa599ad297334e59eaaab7d920 Cr-Commit-Position: refs/heads/master@{#355240} Reviewed-by:
Michael Brüning <michael.bruning@theqtcompany.com>
5f1afda2
Showing