Commit Graph

7 Commits

Author SHA1 Message Date
Boris Zbarsky
67d015d59c Bug 1257037 part 9. Get rid of the concept of mainthread callbacks or worker callbacks; just codegen all the callbacks. r=khuey 2016-07-08 00:37:54 -04:00
Gregory Szorc
301c133f5c Bug 1280326 - Stop monkeypatching os.path.exists; r=ted
MockedOpen monkeypatches os.path.exists. Changes to MockedOpen
since this test code was written have made it more robust
making the extra monkeypatching in the test not necessary.

This change may not fix the test failure reported in the bug.
But at least it makes the test code simpler.

MozReview-Commit-ID: BnUr08leope

--HG--
extra : rebase_source : d8d721392c88883fddf7959ca40ea194f91483c9
2016-06-24 13:41:49 -07:00
Andrea Marchesini
f8c59929b9 Bug 1282851 - Remove DummyInterfaceWorkers, r=khuey 2016-06-29 08:00:39 +02:00
Samy Dindane
2bb5a0bda9 Bug 1142609 - Fix PEP 8 E128 warnings in dom/bindings's Python code. r=peterv
--HG--
extra : rebase_source : 5e48d4117aef833012765a532973db211a756071
2015-08-10 18:26:29 +02:00
Gregory Szorc
16abb7de9c Bug 979665 - Properly detect WebIDL type changes; r=froydnj
This patch fixes a bug in WebIDL code generation that could be triggered
if an input file changed locations but the original file remained on
disk. When computing the set of source .webidl files to perform code
generation on, we failed to prune files that were no longer part of the
active set of input files. References to files in old locations would
get pulled in to the regeneration set, leading to a cryptic KeyError
during code generation.

--HG--
extra : rebase_source : 23f1b973133960cfa954d44b20175fc7a369169a
2014-03-05 23:21:02 -08:00
Gregory Szorc
c2b654599f Bug 950370 - Capture WebIDL example interfaces in moz.build; r=glandium
Previously, the set of WebIDL example interfaces to build was hardcoded
in the mozwebidlcodegen Python package. Unfortunately, the example
interfaces in that set were dependent on test-only bindings files,
resulting in build failures when tests were disabled (because those
test-only bindings were defined in a test directory).

In this patch, we now declare example interfaces in moz.build files
so the set of example interfaces lives next to the set of defined
bindings files. The example interfaces are defined in a test moz.build
file - in the same file declaring the bindings files that contain the
interfaces - so the example interfaces only get picked up if the
corresponding bindings are defined.

We could probably switch WebIDL moz.build variables to use lists with
flags. That would be good followup fodder. For now, let's fix the build.

--HG--
extra : rebase_source : 00070a6d560625bc84ab9b10d6848ea037f8f5ed
extra : amend_source : 0890ecef444ba58533fcfaa333773d78deafd7f3
2013-12-15 11:43:47 -08:00
Gregory Szorc
0dd4e7e164 Bug 928195 - Part 3: Consolidate all WebIDL Python logic into mozwebidl module; r=bz, froydnj
--HG--
extra : rebase_source : 050f1c3eb3bccdf369164be4e58c59fa71c19060
2013-11-18 13:02:11 -08:00