Expected: can see three lists of detail views. Actual: can only see the first one; inspecting the DOM reveals that all three of the nested list views have the same ID (in my case, view3)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ValueSerializer { | |
class Delegate { | |
/* | |
* Delegate serializes the module content and returns an ID representing it. | |
* Using v8::WasmCompiledModule::GetTransferrableModule is recommended for efficiency, | |
* but a V8 client could do something else (like store the wire bytes, or store | |
* a URL to remote server that hosts wasm modules, or something else). | |
*/ | |
virtual Maybe<uint32_t> GetWasmCompiledModuleId( | |
Isolate* isolate, Local<WasmCompiledModule> wasm_module); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Local<DictionarySchema> DictionarySchema::New(Isolate* v8_isolate, | |
Local<Value> keys[], | |
int keyCount) { | |
i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate); | |
ENTER_V8_NO_SCRIPT_NO_EXCEPTION(isolate); | |
i::Handle<i::DictionarySchema> schema = i::DictionarySchema::New(isolate, keyCount); | |
for (int i = 0; i < keyCount; i++) { | |
Handle<Object> key = Utils::OpenHandle(keys[i]); | |
uint32_t array_index; | |
Utils::ApiCheck(key->IsName() || key->ToArrayIndex(&array_index), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace { | |
class V8ParsingBuffer { | |
public: | |
V8ParsingBuffer(std::vector<v8::Local<v8::Value>> values, v8::Isolate* isolate) | |
: values_(values), isolate_(isolate) {} | |
void AddNull() { values_.push_back(v8::Null(isolate)); } | |
std::nullptr_t GetParsedArgumentBuffer() { return nullptr; } | |
void AddParsedArgument(v8::Local<v8::Value> value) { values_->push_back(value); } | |
private: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [[ "$(git symbolic-ref HEAD)" = "refs/heads/master" ]]; then | |
echo "Refusing to commit on master." >&2 | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TestFontSelector : public FontSelector { | |
public: | |
static PassRefPtr<TestFontSelector> create(const String& path) | |
{ | |
WebUnitTestSupport* unitTestSupport = Platform::current()->unitTestSupport(); | |
String filePath = unitTestSupport->webKitRootDir() + path; | |
RefPtr<SharedBuffer> fontBuffer = static_cast<PassRefPtr<SharedBuffer>>(unitTestSupport->readFromFile(filePath)); | |
return adoptRef(new TestFontSelector(FontCustomPlatformData::create(fontBuffer.get()))); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Source/core/rendering/TextPainter.cpp b/Source/core/rendering/TextPainter.cpp | |
index 3901813..4133ea0 100644 | |
--- a/Source/core/rendering/TextPainter.cpp | |
+++ b/Source/core/rendering/TextPainter.cpp | |
@@ -178,6 +178,8 @@ static bool graphicsContextAllowsTextBlobs(GraphicsContext* context) | |
return !context->strokeGradient() && !context->strokePattern() && !context->fillGradient() && !context->fillPattern(); | |
} | |
+static unsigned long g_totalBlobsPainted = 0; | |
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<script src="foam/core/bootFOAM.js"></script> | |
<link rel="stylesheet" href="foam/core/foam.css"> | |
<script> | |
MODEL({ | |
name: 'Gadget', | |
properties: ['id', 'inventor'], | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<script src="foam/core/bootFOAM.js"></script> | |
<link rel="stylesheet" href="foam/core/foam.css"> | |
<script> | |
MODEL({ | |
name: 'Widget', | |
properties: ['gizmo'], | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <unistd.h> | |
int main(int argc, char* argv[]) { | |
uid_t uid = (uid_t) atoi(argv[1]); | |
setuid(uid); | |
execl("/bin/sh", "sh", (char*) 0); | |
return 1; | |
} |