-
jdm
tdelacour: so the resource is the Request
-
jdm
or mmm, possibly the Response here
-
jdm
yeah, that will be the response
-
jdm
tdelacour: no, we don't have direct access to any window or documents in this code. however, requests do have an origin field which is what we can compare against
-
ajeffrey
as it happens, it's the type declaration that's wrong, the uses are all consistent, and they're all void* anyway.
-
jdm
tdelacour: additionally the "fetch redirection chain" is the same as
doc.servo.org/net_traits/request/st…t.Request.html#structfield.url_list if i'm not mistaken
-
tdelacour
jdm: ok makes sense
-
jdm
ajeffrey: awkward!
-
jdm
typedefs, not even once
-
tdelacour
jdm: have to bail on the wifi for a bit rn but will take a look at these later & see if I can get started! tyvm
-
jdm
thanks for looking into it :)
-
BitBot
[Github] (servo/rust-offscreen-rendering-context) [issue] asajeffrey opened #135: Type declaration for egl NativeGLContextHandle doesn't match its use -
git.io/fjCCT
-
ajeffrey
Okay I do not understand this...
-
ajeffrey
-
ajeffrey
I'm calling egl::egl::MakeCurrent(dpy=0x1, draw=0x400013b56100, read=0x400013b56100, ctx=0x4000138550e0)
-
ajeffrey
but then on the same thread, with no itervening call to eglmakeCurrent
-
ajeffrey
native_context is 0xaaaac4529c74
-
ajeffrey
I iz confuzzled
-
BitBot
[Github] (servo/servo) [issue] jdm opened #23358: servo-tc-mac3 doesn't pass the gstreamer check -
git.io/fjCCs
-
BitBot
[Github] (servo/webrender) [PR] bors-servo merged #3635 into master: Sync changes from mozilla-central -
git.io/fjnvN
-
BitBot
[Github] (servo/servo) [PR] jdm requested #23359 merge into master: Add libffi to pkgconfig's search path. -
git.io/fjCCB
-
BitBot
[Github] (servo/servo) [PR] jdm closed #22856: Add optional ANGLE support to glutin port -
git.io/fhHRE
-
BitBot
[Github] (servo/servo) [PR] jdm reopened #22856: Add optional ANGLE support to glutin port -
git.io/fhHRE
-
» jdm disembarks
-
ajeffrey
Oh noes...
-
ajeffrey
-
ajeffrey
the caller args are not the same as the callee params.
-
ajeffrey
this is not going to make for fun debugging :(
-
ajeffrey
standups: The horror the horror. (In this case trying to debug mystery errors creating an EGL context).
-
crowbot
Status submitted successfully.
-
lqd
wow
-
BitBot
[Github] (servo/servo) [issue] jdm opened #23360: Intermittent failure in /xhr/open-url-multi-window-5.htm -
git.io/fjCWr
-
BitBot
[Github] (servo/servo) [PR] bors-servo merged #22856 into master: Add optional ANGLE support to glutin port -
git.io/fhHRE
-
BitBot
[Github] (servo/media) [issue] ferjm opened #258: Move some setup methods to Player construction -
git.io/fjC0j
-
BitBot
[Github] (servo/media) [PR] bors-servo merged #257 into master: Add API for disabling video track -
git.io/fjCTb
-
BitBot
[Github] (servo/media) [PR] ferjm closed #253: Allow player example to build on macOS. -
git.io/fjcWu
-
BitBot
[Github] (servo/media) [issue] bors-servo closed #251: Build broken on Mac -
git.io/fjcCh
-
BitBot
[Github] (servo/media) [PR] bors-servo merged #255 into master: PlayerGLContext does not need to be thread aware -
git.io/fjCT7
-
taskcluster
Task "Servo daily: macOS x64: WPT update. On failure, ping: SimonSapin, nox, emilio" complete with status 'failed'. Inspect:
tools.taskcluster.net/tasks/HNFnLpQ_Tem6dh_eMWfLyA
-
BitBot
[Github] (servo/media) [issue] ceyusa opened #259: Enhance the arguments handling in player example -
git.io/fjCu2
-
BitBot
[Github] (servo/servo) [issue] jdm opened #23361: Scope error for linux build task when creating new docker image build task -
git.io/fjCzp
-
jdm
SimonSapin: does
servo/servo #23361 make sense to you?
-
crowbot
Issue #23361: Scope error for linux build task when creating new docker image build task -
servo/servo #23361
-
SimonSapin
-
SimonSapin
… but I don’t understand how we could get the second stack "during handling the above exception"
-
SimonSapin
since the `except` block I linked is apparently not on the stack
-
jdm
SimonSapin: yeah, the first stack just ends in the middle of decisionlib which is weird
-
jdm
but I don't understand how there's a taskcluster client in play that doesn't have the right scope
-
SimonSapin
but if we ignore that, you’re trying to start a nightly task from a github push
-
jdm
oh, so normal github push tasks don't use clients that have secret access?
-
SimonSapin
on github pushes, the taskcluster-github service reads .taskcluster.yml and creates tasks with scopes from the corresponding "branch" role:
tools.taskcluster.net/auth/roles/re…ub.com%2Fservo%2Fservo%3Abranch%3A*
-
SimonSapin
-
jdm
aha
-
BitBot
[Github] (servo/servo) [issue] jdm closed #23361: Scope error for linux build task when creating new docker image build task -
git.io/fjCzp
-
SimonSapin
jdm: we can always add more scopes to the branch role, but to test daily tasks I’d prefer to use change GIT_REF and use the Trigger button on
tools.taskcluster.net/hooks/project-servo/daily
-
jdm
yep, makes sense
-
SimonSapin
so that we also test that the hook has sufficent scopes
-
SimonSapin
“CSS 2 does not define when a UA may put said element next to the float or by how much said element may become narrower.”
-
SimonSapin
fun times
-
jdm
nice
-
Gankro
nox: god i hate the attitude of rfc/internals randos
-
nox
Gankro: lol
-
nox
Gankro: I almost wrote a longer comment but decided to keep it short.
-
BitBot
[Github] (servo/servo) [PR] bors-servo merged #23349 into master: No need to clone again the raw data. -
git.io/fjCUq
-
pylbrecht
jdm: hi, I think I'm done with
servo/servo #23322 but you might want to take a look before merging.
-
crowbot
PR #23322: Create performance resource timing entry for synchronous network fetch -
servo/servo #23322
-
nox
Gankro: I don't even understand what they mean by "separate enums" tbh
-
nox
s/separate/different/
-
pylbrecht
jdm: and regarding
servo/servo #22957 is there anything I can read to understand the underlying process? I'm not yet familiar with gl rendering and stuff.
-
crowbot
Issue #22957: Use Pathfinder for 2d canvas rendering -
servo/servo #22957
-
Gankro
nox: i think maybe they want you to use the same enum for everything which is,,, not
-
pylbrecht
jdm: (besides the code)
-
nox
Gankro: Oh, "C-like enum of all properties" * "enum of all the possible values"?
-
jdm
pylbrecht: reasonable question. I don't necessarily have any resources for you, but I do have an alternate opportunity which is very similar but doesn't involve anything GL related.
-
jdm
pylbrecht: I just learned about
github.com/jrmuizel/raqote yesterday, which theoretically should be possible to just drop in instead of the current use of azure
-
jdm
it's a fully-rust 2d graphics software rendering library
-
pylbrecht
jdm: so I only have to replace the azure code? I remember it being only in one file so far
-
jdm
that would allow us to stop relying on rust-azure and skia entirely
-
jdm
yeah
-
pylbrecht
jdm: that sounds like a more welcomed solution to my problem
-
jdm
:)
-
paul
I'm spending way too much time on that python urllib3 issue...
-
paul
-
crowbot
Issue #181: ImportError: No module named urllib3 -
servo/mozjs #181
-
paul
It's possible that I did something wrong when installing python and/or virtualenv. But I reinstalled, clobbered, deleted cached directories, with no luck
-
paul
help?
-
paul
I initially made a mistake, where I tried to run mach from a msys2 shell. I'm wondering if this could have installed a bad package somewhere. But I think I deleted most of the cached directories.
-
jdm
yuck
-
jdm
paul: my next suggestion would be to make a local clone of mozjs, check out the right revision, and see if you can build that
-
paul
ok
-
BitBot
[Github] (servo/servo) [PR] jdm requested #23362 merge into master: Move magicleap builds to taskcluster -
git.io/fjCwR
-
larsberg
paul: I've definitely run into things like that when either python3 or the msys python were in the PATH, as some of the build tools seem to grab whatever python.exe they happen to find in the moment. I have also burned wayyyyy too much time on python-related issues with Windows setup.
-
larsberg
I did just provision a brand new Windows box from scratch (this week!) and built servo on windows cleanly.
-
paul
larsberg: yes. I'm 99% sure this is what's happening. I installed msys2, and might have polluted my python packages somehow
-
larsberg
I ran the C++ desktop app setup (
github.com/microsoft/windows-dev-box-setup-scripts ) then installed the stuff per the servo/servo instructions. I did have to remove python3 from the PATH, as it was installed by that setup script
-
paul
larsberg: I'm building from a clean `cmd` now, but having a hard time to get back to a clean state
-
larsberg
I did not install msys2/cygwin, as that can be a bit of a nightmare to fully isolate (though I *did* do it once...)
-
BitBot
[Github] (servo/servo) [PR] Darkspirit requested #23363 merge into master: More https -
git.io/fjCrK
-
paul
larsberg: what shell do you use now on Windows?
-
larsberg
paul: just cmd.exe
-
ajeffrey
larsberg: old skule
-
paul
on my other windows laptop I use msys2 with a special tmux tab that strips all the non-windows path from PATH. This always worked. Until this week...
-
larsberg
ajeffrey: I'm 👀 for that new windows terminal they announced at build...
-
BitBot
[Github] (servo/mozjs) [issue] gravaton opened #182: Build Issues on Windows 10 -
git.io/fjCoU
-
jdm
paul: I use conemu when I want something fancier than cmd
-
larsberg
-
paul
I'm gonna settle for cmd for building, and msys2 for vim/tmux/git
-
paul
I love how over the top this is:
youtube.com/watch?v=8gw0rXPMMPE
-
BitBot
[Github] (servo/mozjs) [issue] paulrouget closed #181: ImportError: No module named urllib3 -
git.io/fjcGj
-
ajeffrey
Meanwhile, the issue I was having ^ with gdb showing that caller arguments != callee params turns out to be an issue with gdb printing, not with the ABI/calling convention.
-
ajeffrey
Yay, I guess.
-
ajeffrey
Back to printf debugging :/
-
BitBot
[Github] (servo/webrender) [PR] moz-gfx requested #3638 merge into master: Sync changes from mozilla-central -
git.io/fjCoZ
-
larsberg
paul: I totally agree! I thought we went a bit overboard with the firefox reality "commercial" but that terminal short was incredible
-
jdm
ajeffrey: yikes
-
jdm
love to not trust my tools
-
ajeffrey
jdm: yay for printf!
-
nox
ajeffrey: gdb! is the new printf fyi
-
nox
dbg* ugh
-
eijebong
nox: Does dbg! work with non Debug types ?
-
nox
eijebong: Don't think so.
-
eijebong
:/
-
nox
eijebong: But those are bad types anyway.
-
eijebong
It would be nice if it could gen some implementations when used
-
ajeffrey
nox: on magicleap, stdout is /dev/null, so it's actually info! rather than printf!
-
jdm
ajeffrey: not anymore. I landed a commit that redirected stdout to logcat iirc
-
jdm
-
crowbot
PR #23300: Magic Leap developer ergonomic improvements -
servo/servo #23300
-
ajeffrey
jdm: oh that's right, yay I can use printf! again!
-
BitBot
[Github] (servo/servo) [issue] bors-servo closed #23150: Synchronous network fetch does not create performance resource timing entry -
git.io/fjIen
-
BitBot
[Github] (servo/servo) [PR] bors-servo merged #23322 into master: Create performance resource timing entry for synchronous network fetch -
git.io/fjnBF
-
BitBot
[Github] (servo/servo) [PR] jdm requested #23364 merge into master: Use llvm toolchain for android build -
git.io/fjCod
-
jdm
standups: lots of taskcluster migration work; standardizing android build on llvm toolchain.
-
crowbot
Status submitted successfully.
-
jdm
standups: provisioned servo-tc-mac4 and managed CI queue.
-
crowbot
Status submitted successfully.
-
runarberg
Hey. I am seeing if I'm up to taking on the CSS3 extensions to `attr()` (
servo/servo #22265), but I can’t get the `attr()` function to work at all. It looks like it is behind a `gecko` feature flag. How do I turn on that feature flag? Whenever I do `./mach build -d --features gecko` I get and error stating there is no such feature.
-
crowbot
Issue #22265: Implement CSS Values 3 extensions to attr() -
servo/servo #22265
-
jdm
runarberg: where's the feature flag use?
-
runarberg
-
runarberg
btw, I'm a new (potential) contributor ;)
-
jdm
runarberg: I think the most useful thing to do here is file an issue with a testcase with attr() that doesn't work, and I'll CC some people who should be able to provide some pointers to get started
-
jdm
attr looks complex enough that I'm getting lost trying to figure out how it would fit in
-
jdm
runarberg: unless #22265 actually covers the feature entirely that we're talking about
-
crowbot
Issue #22265: Implement CSS Values 3 extensions to attr() -
servo/servo #22265
-
runarberg
jdm: So not a good first issue :D #22265 is actually just about the extension to the function (that is adding the optional `type` and fallback; i.e. `background-color: attr(data-background color, rebeccapurple)`)
-
crowbot
Issue #22265: Implement CSS Values 3 extensions to attr() -
servo/servo #22265
-
runarberg
jdm: But if I can create a test with the original syntax that fails, I’ll create an issue regarding that.
-
jdm
yeah, that would be great :)
-
runarberg
thanks +1
-
maharsh312
jdm: I tried deleting the file but it leads to crashing of one more test case
-
jdm
maharsh312: sure, but it's the actual output that appears in the terminal that's interesting
-
maharsh312
jdm: yes the output in the terminal is something weird
-
maharsh312
-
jdm
maharsh312: only `mach.bat test-wpt tests\wpt\web-platform-tests\offscreen-canvas` should be necessary now
-
jdm
maharsh312: it's probably easiest to run only the single test that's crashing, though
-
maharsh312
jdm: the above command does not work in windows
-
jdm
maharsh312: what is the output?
-
jdm
maharsh312: oh, you are probably still using a revision that is older than
servo/servo #23174
-
crowbot
PR #23174: Add default paths for WPT tests -
servo/servo #23174
-
jdm
maharsh312: if you rebase on top of a recent master it should work
-
jdm
(after rebuilding, of course0
-
maharsh312
jdm: Okay I will try that
-
jdm
anyways, if you keep using your current command line that works, that should also be fine
-
BitBot
[Github] (servo/media) [PR] ferjm requested #260 merge into master: [WIP] Allow simultaneous playback of audio and video streams -
git.io/fjC6L
-
BitBot
[Github] (servo/mozjs) [issue] jdm closed #182: Build Issues on Windows 10 -
git.io/fjCoU
-
jdm
so close to being able to turn on two more tc mac builders
-
» jdm eyes the remaining buildbot jobs anxiously
-
jdm
sevo-mac7 is next in line for being paved over
-
jdm
taking 70 minutes to build servo is not acceptable
-
jdm
ah good, it had a rogue test process spinning
-
maharsh312
jdm: which single test would give me an idea about the crash?
-
jdm
maharsh312: the one that I commented on in the review
-
BitBot
[Github] (servo/servo) [issue] bors-servo closed #23358: servo-tc-mac3 doesn't pass the gstreamer check -
git.io/fjCCs
-
BitBot
[Github] (servo/servo) [PR] bors-servo merged #23359 into master: Add libffi to pkgconfig's search path. -
git.io/fjCCB
-
jdm
woooo
-
maharsh312
jdm: It passes after I delete the .ini file
-
jdm
maharsh312: that seems like a nice improvement
-
maharsh312
jdm: So what's the next step?
-
jdm
maharsh312: update the test results with the new expected behaviour and see if any are still crashing
-
BitBot
[Github] (servo/servo) [issue] runarberg opened #23365: CSS attr() function not working -
git.io/fjC6A
-
runarberg
jdm: how is this?
servo/servo #23365
-
crowbot
Issue #23365: CSS attr() function not working -
servo/servo #23365
-
runarberg
there was already a failing wpt-test that I just pointed out in the issue
-
maharsh312
jdm: For all of the test right? (Using servo.log)
-
BitBot
[Github] (servo/servo) [issue] jdm opened #23366: New mac taskcluster builders don't have gstreamer installed until first build completed -
git.io/fjCif
-
jdm
maharsh312: yes
-
jdm
runarberg: great, thanks!
-
BitBot
[Github] (servo/euclid) [issue] jrmuizel opened #339: Add some type safety around empty rects -
git.io/fjCiW
-
BitBot
[Github] (servo/euclid) [PR] aosmond requested #340 merge into master: make intersects check for empty rects -
git.io/fjCiH
-
BitBot
[Github] (servo/webrender) [PR] bors-servo merged #3638 into master: Sync changes from mozilla-central -
git.io/fjCoZ
-
maharsh312
jdm: Tests are still crashing. I ran the offscreen-canvas test and updated it using update-wpt
-
jdm
maharsh312: what does crashing mean, in this case?
-
jdm
the output from a single test that is crashing is the interesting bit
-
maharsh312
-
maharsh312
jdm: yes, as it said test passed and one unexpected result
-
jdm
I recommend finding a single test that is crashing, removing its ini file, and getting the output from running it
-
maharsh312
-
maharsh312
jdm: Running the test opens a servo window saying test passed
-
jdm
maharsh312: sure, and you said that that test passes. since other tests are crashing, I'm saying that you should find one of those tests and look at its output.
-
maharsh312
jdm: Okay!
-
maharsh312
jdm: Did it with 2d.transformation.setTransform.nonfinite.html. Error Log:
gist.github.com/maharsh312/4c0009406553e04a02038a82830af67d
-
jdm
maharsh312: that doesn't look like a crash to me
-
jdm
that would be an expected failure because you haven't implemented the setTransform API
-
maharsh312
jdm: Yes
-
maharsh312
jdm: But it was crashing before I deleted the ini file
-
jdm
that doesn't make sense to me :)
-
jdm
the ini file won't change the behaviour of the test
-
jdm
all it does is allow the testrunner to decide if the behaviour is expected or not
-
maharsh312
jdm: I'll check it once again
-
maharsh312
jdm: I did it with offscreen-canvas/compositing/2d.composite.canvas.lighter.html and there is no output. Servo windows opens and closes by itself.
-
maharsh312
jdm: I checked the ini file before deleting it. It was expected to be crashed
-
jdm
maharsh312: what's the output when you run offscreen-canvas/compositing/2d.composite.canvas.lighter.html without an ini file?
-
maharsh312
jdm:https://gist.github.com/maharsh312/e0ee50a5dbe23ac4ac65493b9bc3da87
-
jdm
maharsh312: hmm. what if you run two tests in the same mach command, like 2d.transformation.setTransform.nonfinite.html and 2d.composite.canvas.lighter.html?
-
ajeffrey
Grr, been banging my head all morning about magicleap failing to create a shared EGL context.
-
BitBot
[Github] (servo/euclid) [PR] aosmond closed #340: make intersects check for empty rects -
git.io/fjCiH
-
ajeffrey
Calling eglCreateContext results in error code EGL_BAD_CONTEXT.
-
ajeffrey
AFAICT if I call eglCreateContext in the main thread, then all is well, but over in the webGL thread it fails.
-
maharsh312
-
jdm
aha, now we're talking!
-
jdm
I mean, that's a super weird error but the crashes make sense now!
-
jdm
maharsh312: did you end up rebasing and rebuilding? if so, you could try adding `--binary-arg=--angle` to the command.
-
maharsh312
jdm: I did rebase and I will rebuild
-
maharsh312
jdm: "--binary-arg=--angle" this command should be used during build?
-
jdm
maharsh312: no, when running the tests
-
maharsh312
jdm: I will build and run the command
-
jdm
Manishearth: I see that you deleted a ton of old branches recently
-
ajeffrey
emilio: any clues why I might be getting EGL_BAD_CONTEXT from eglCreateContext in offscreen_gl_context?
-
jdm
ajeffrey:
stackoverflow.com/questions/3973241…-between-opengl-contexts-on-android mentions "EGL_BAD_CONTEXT is generated if share_context is not an EGL rendering context of the same client API type as the newly created context and is not EGL_NO_CONTEXT."
-
ajeffrey
jdm: yeah, but they're both created with EGL_CONTEXT_CLIENT_VERSION 3 :/
-
jdm
mmm
-
avadacatavra
standups: submitted ethics paper to arxiv
-
crowbot
Status submitted successfully.
-
ajeffrey
the config and attribs are the same
-
jdm
ajeffrey: you might see if anybody in #gfx is familiar with EGL pitfalls?
-
ajeffrey
jdm: will do
-
ajeffrey
Looks like this might be a threading issue? If I create the shared context on the main thread it's fine, it just fails if I create the shared context in the web GL thread.
-
» jdm wonders if we can't have a webgl thread in immersive applications
-
ajeffrey
jdm: the webgl thread is also the thread which processes a lot of webvr, getting rid of it will be painful.
-
jdm
indeed
-
jdm
I'm assuming that creating a context on one thread means it can't be used on another thread
-
ajeffrey
jdm: this works in landscape mode, which is what confuses me :/
-
jdm
if that's not the case, that would be a pleasant surprise
-
ajeffrey
jdm: my understanding is that EGL contexts have thread affinity.
-
ajeffrey
I could be wrong of course :/
-
ajeffrey
standups: Fighting eglCreateContext.
-
crowbot
Status submitted successfully.
-
Manishearth
jdm: oh did i break something?
-
Manishearth
i was deleting my branches
-
Manishearth
tried to make sure i didnt delete anything important
-
jdm
Manishearth: no, it just makes the output of the github closed PRs sorted by date updated confusing
-
Manishearth
oh lol
-
Manishearth
whoops
-
jdm
because stuff that merged in the past 2 weeks is intermixed with stuff that merged in 201t6
-
Manishearth
as it should be
-
jdm
huh, github package registry
-
larsberg
yeah, watching that too. only saw the `npm` replacement example but... 🤔
-
larsberg
no rust/cargo... yet
-
maharsh312
-
jdm
maharsh312: what was the full command?
-
maharsh312
"./mach.bat test-wpt tests\wpt\web-platform-tests\offscreen-canvas\transformations\2d.transf
-
maharsh312
ormation.setTransform.nonfinite.html tests\wpt\web-platform-tests\offscreen-canvas\compositing\2d.composite.canvas.lighter.html --binar
-
maharsh312
y-arg=--angle"
-
jdm
oh, hmm, I see why this happens on windows
-
maharsh312
-
jdm
-
jdm
it should be a much quicker build this time
-
-
crowbot
Issue #20365: Headless rendering doesn't work on windows -
servo/servo #20365
-
maharsh312
jdm: I'll try
-
jdm
maharsh312: ok, so the bad news here is that it is impossible to run more than one test at a time on windows in servo's current setup, and I don't see that changing in the short term.
-
jdm
maharsh312: so we can make use of CI to run the tests, then download the logs and update the expected results from that. or you can use a linux environment for your work, possibly in a virtual machine.
-
maharsh312
jdm: I'll try to use linux once again in another laptop. If its not possible I'll try the CI option
-
» jdm -> groceries
-
pcwalton
standups: Formulated a plan with nical for images, gradients, and clips in Pathfinder.
-
crowbot
Status submitted successfully.
-
BitBot
[Github] (servo/webrender) [PR] moz-gfx requested #3639 merge into master: Sync changes from mozilla-central -
git.io/fjCML
-
ajeffrey
standups: Unsafe code guidelines work
-
crowbot
Status submitted successfully.
-
Manishearth
-
crowbot
Issue #636: Simplification: Enable single-canvas inline, defer desktop mirroring -
immersive-web/webxr #636
-
Manishearth
this seems to be more your wheelhouse than mine
-
Manishearth
comments greatly appreciated
-
ajeffrey
Manishearth: interesting...
-
Manishearth
standups: look at XR test stuff
-
crowbot
Status submitted successfully.
-
Manishearth
standups: some XR spec work
-
crowbot
Status submitted successfully.
-
Manishearth
standups: read through rust-webvr backend APIs
-
crowbot
Status submitted successfully.
-
Manishearth
standups: review
servo/media #260
-
crowbot
PR #260: [WIP] Allow simultaneous playback of audio and video streams -
servo/media #260
-
crowbot
Status submitted successfully.